:root {
  --bg: #0a0e1a;
  --bg-elevated: #111827;
  --bg-card: #151c2e;
  --fg: #e8eaf0;
  --fg-muted: #8b95a8;
  --fg-dim: #5a6478;
  --accent: #3b82f6;
  --accent-mid: #6366f1;
  --accent-bright: #818cf8;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --border: #1e293b;
  --border-light: #253049;
  --score-low: #ef4444;
  --score-mid: #f59e0b;
  --score-high: #22c55e;
  --seg-apple: #3b82f6;
  --seg-msft: #6366f1;
  --seg-nvda: #22c55e;
  --seg-other: #1e293b;
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* NAV */
.nav {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark { display: flex; }
.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--fg);
}
.nav-tag {
  font-size: 0.75rem;
  color: var(--fg-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  padding: 100px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--accent-bright);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 32px;
  letter-spacing: 0.02em;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 24px;
}
.hero-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lede {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* HERO VISUAL */
.hero-visual {
  max-width: 700px;
}
.overlap-demo {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px 20px;
  position: relative;
}
.etf-bar {
  margin-bottom: 16px;
}
.etf-bar:last-of-type {
  margin-bottom: 0;
}
.etf-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.bar-track {
  display: flex;
  height: 28px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
  gap: 2px;
}
.bar-segment {
  border-radius: 4px;
  transition: width 0.6s ease;
}
.seg-apple { background: var(--seg-apple); }
.seg-msft { background: var(--seg-msft); }
.seg-nvda { background: var(--seg-nvda); }
.seg-other { background: var(--seg-other); }
.overlap-callout {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  align-items: center;
  gap: 12px;
}
.callout-line {
  width: 3px;
  height: 32px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-bright));
  border-radius: 2px;
}
.callout-label {
  display: block;
  font-size: 0.75rem;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.callout-value {
  display: block;
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.legend {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.dot-apple { background: var(--seg-apple); }
.dot-msft { background: var(--seg-msft); }
.dot-nvda { background: var(--seg-nvda); }
.dot-other { background: var(--seg-other); }

/* PROBLEM */
.problem {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}
.problem-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.problem-label {
  font-size: 0.75rem;
  color: var(--score-low);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 16px;
}
.problem-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 56px;
  max-width: 600px;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.problem-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
}
.problem-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 12px;
}
.problem-desc {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* FEATURES */
.features {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-elevated);
}
.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.features-label {
  font-size: 0.75rem;
  color: var(--accent-bright);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 16px;
}
.features-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 56px;
}
.feature-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
}
.feature-icon {
  margin-bottom: 20px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.08);
  border-radius: var(--radius-sm);
}
.feature-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* SCORE */
.score {
  padding: 100px 24px;
  border-top: 1px solid var(--border);
}
.score-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.score-label {
  font-size: 0.75rem;
  color: var(--score-high);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 16px;
}
.score-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.score-desc {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}
.score-desc em {
  color: var(--fg);
  font-style: italic;
}
.score-levels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.level {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}
.level-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.level-low .level-dot { background: var(--score-low); }
.level-medium .level-dot { background: var(--score-mid); }
.level-good .level-dot { background: var(--score-high); }
.level-name {
  font-weight: 600;
  min-width: 70px;
}
.level-detail {
  color: var(--fg-muted);
}

/* Score visual */
.score-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.score-ring {
  position: relative;
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.score-ring svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.score-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, var(--score-mid), var(--score-high));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.score-sublabel {
  font-size: 0.85rem;
  color: var(--fg-muted);
  margin-top: 4px;
  font-weight: 500;
}
.score-insight {
  margin-top: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 3px solid var(--score-mid);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
  max-width: 300px;
  text-align: left;
}

/* CLOSING */
.closing {
  padding: 120px 24px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  text-align: center;
}
.closing-inner {
  max-width: 700px;
  margin: 0 auto;
}
.closing-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
}
.closing-desc {
  font-size: 1.05rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}
.closing-tags {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.tag {
  font-size: 0.8rem;
  color: var(--accent-bright);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.15);
  padding: 8px 18px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* FOOTER */
.footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--fg-muted);
}
.footer-note {
  font-size: 0.75rem;
  color: var(--fg-dim);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { padding: 60px 20px 48px; }
  .problem-grid { grid-template-columns: 1fr; }
  .feature-blocks { grid-template-columns: 1fr; }
  .score-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .score-visual { order: -1; }
  .nav-tag { display: none; }
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .closing-tags { gap: 8px; }
  .legend { gap: 12px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
  .problem-number { font-size: 2.5rem; }
  .score-ring { width: 180px; height: 180px; }
  .score-number { font-size: 3rem; }
}