:root {
  --bg-primary: #0a0b0f;
  --bg-secondary: #0f1118;
  --bg-card: #13151d;
  --bg-elevated: #1a1d28;
  --text-primary: #e8eaf0;
  --text-secondary: #8b90a0;
  --text-muted: #5a5f73;
  --accent: #4a7cff;
  --accent-glow: rgba(74, 124, 255, 0.15);
  --accent-soft: #3a5cc0;
  --sovereign-gold: #c4a35a;
  --sovereign-glow: rgba(196, 163, 90, 0.12);
  --border: rgba(255, 255, 255, 0.06);
  --border-accent: rgba(74, 124, 255, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.graph-node {
  position: absolute;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.08;
  animation: pulse 6s ease-in-out infinite;
}

.n1 { width: 300px; height: 300px; top: 10%; left: -5%; animation-delay: 0s; }
.n2 { width: 200px; height: 200px; top: 60%; right: -3%; animation-delay: 2s; }
.n3 { width: 150px; height: 150px; top: 30%; right: 20%; animation-delay: 4s; opacity: 0.05; }
.n4 { width: 100px; height: 100px; bottom: 20%; left: 15%; animation-delay: 1s; opacity: 0.06; }
.n5 { width: 250px; height: 250px; bottom: -5%; right: 40%; animation-delay: 3s; opacity: 0.04; }

.graph-edge {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.08;
  animation: edgePulse 8s ease-in-out infinite;
}

.e1 { width: 400px; top: 25%; left: 10%; transform: rotate(25deg); animation-delay: 0s; }
.e2 { width: 300px; top: 55%; right: 5%; transform: rotate(-15deg); animation-delay: 3s; }
.e3 { width: 350px; bottom: 30%; left: 30%; transform: rotate(40deg); animation-delay: 5s; }

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.06; }
  50% { transform: scale(1.15); opacity: 0.12; }
}

@keyframes edgePulse {
  0%, 100% { opacity: 0.05; }
  50% { opacity: 0.12; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid var(--sovereign-gold);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sovereign-gold);
  background: var(--sovereign-glow);
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 28px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent), var(--sovereign-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lede {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.hero-visual {
  position: relative;
  z-index: 2;
  margin-top: 56px;
}

.sovereign-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}

.lock-icon {
  font-size: 1.3rem;
  color: var(--sovereign-gold);
}

/* ===== PROBLEM ===== */
.problem {
  padding: 120px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}

.problem-stat {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 120px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(180deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.5;
}

.problem-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.problem-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.problem-highlight {
  color: var(--sovereign-gold) !important;
  font-weight: 400;
  font-style: italic;
}

/* ===== FEATURES ===== */
.features {
  padding: 120px 24px;
}

.features-header {
  max-width: 960px;
  margin: 0 auto 64px;
}

.features-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.features-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-elevated);
}

.feature-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ===== HOW ===== */
.how {
  padding: 120px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-inner {
  max-width: 720px;
  margin: 0 auto;
}

.how-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.how-text > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.how-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.how-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.detail-tag {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ===== CLOSING ===== */
.closing {
  padding: 140px 24px;
  text-align: center;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.closing-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 40px;
}

.closing-domain {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--sovereign-gold);
  padding: 10px 24px;
  border: 1px solid var(--sovereign-gold);
  border-radius: 100px;
  background: var(--sovereign-glow);
  letter-spacing: 0.02em;
}

/* ===== FOOTER ===== */
.site-footer {
  padding: 40px 24px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .problem-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .problem-stat {
    position: static;
    flex-direction: row;
    align-items: baseline;
    gap: 16px;
  }

  .stat-number {
    font-size: 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 28px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .how-detail {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .closing {
    padding: 80px 20px;
  }

  .problem, .features, .how {
    padding: 80px 20px;
  }
}