:root {
  --bg-primary: #050202;
  --bg-secondary: #1c0707;
  --surface: rgba(15, 5, 5, 0.9);
  --text-primary: #fff6f4;
  --text-muted: #d9b8b5;
  --accent-electric: #ffb49f;
  --accent-plasma: #bc4f4b;
  --accent-hot: #ff7a70;
  --border-color: rgba(255, 184, 181, 0.18);
  --max-width: 1200px;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 15% 20%, rgba(188, 79, 75, 0.28), transparent 45%),
    radial-gradient(circle at 85% 10%, rgba(255, 122, 112, 0.22), transparent 35%),
    var(--bg-primary);
  color: var(--text-primary);
  font-family: inherit;
  line-height: 1.6;
}

::selection {
  background: rgba(255, 122, 112, 0.35);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='0.5'%3E%3Cpath d='M0 0H80V80H0z'/%3E%3Cpath d='M0 40H80M40 0V80'/%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(5, 1, 1, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.logo {
  height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-primary);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 5rem 0 4rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-electric);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 1.5rem;
}

.hero p {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-electric), var(--accent-plasma));
  color: #04050b;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(51, 198, 255, 0.25);
}

.btn-ghost {
  border-color: var(--border-color);
  color: var(--text-primary);
  background: transparent;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(51, 198, 255, 0.25);
}

.hero-visual {
  position: relative;
  min-height: 320px;
  border-radius: 24px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 180, 159, 0.35), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(188, 79, 75, 0.3), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}

.hero-visual::after {
  inset: 20%;
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}

.node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-hot);
  box-shadow: 0 0 14px rgba(255, 122, 112, 0.85);
  animation: pulseNode 6s ease-in-out infinite;
}

.node.n1 { top: 30%; left: 25%; animation-delay: 0s; }
.node.n2 { top: 55%; left: 60%; animation-delay: 1.2s; }
.node.n3 { top: 20%; left: 70%; animation-delay: 2.4s; }
.node.n4 { top: 70%; left: 35%; animation-delay: 3.6s; }

@keyframes pulseNode {
  0% { transform: scale(0.85) translateY(0); opacity: 0.7; }
  35% { transform: scale(1.15) translateY(-3px); opacity: 1; }
  70% { transform: scale(0.95) translateY(2px); opacity: 0.85; }
  100% { transform: scale(0.9) translateY(0); opacity: 0.75; }
}

.section {
  margin: 4rem 0;
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(17, 6, 6, 0.95), rgba(5, 2, 2, 0.9));
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.section h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.section p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.pillars li {
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  background: rgba(5, 2, 2, 0.6);
}

.tech-stack {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(188, 79, 75, 0.15);
}

.tech-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.8;
}

.product-card {
  border-radius: 32px;
  padding: 3rem;
  background: linear-gradient(150deg, rgba(17, 4, 4, 0.95), rgba(60, 14, 13, 0.75));
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto;
  height: 120%;
  background: radial-gradient(circle, rgba(188, 79, 75, 0.35), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}

.product-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-plasma);
  margin-bottom: 1rem;
}

.product-card h3 {
  font-size: 2rem;
  margin: 0 0 1rem;
}

.product-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 640px;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.8rem;
}

.features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-primary);
}

.features li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-hot);
  box-shadow: 0 0 12px rgba(255, 122, 112, 0.6);
}

footer {
  padding: 2rem 1.5rem 3rem;
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--text-primary);
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover,
footer a:focus-visible {
  color: var(--accent-electric);
}

@media (max-width: 640px) {
  .site-header .inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .section {
    padding: 1.5rem;
  }

  .product-card {
    padding: 2rem;
  }
}
