:root {
  --bg: #050510;
  --surface: #0a0a1a;
  --surface-2: #0f0f24;
  --border: #1a1a35;
  --fg: #e2e2f0;
  --fg-muted: #6b6b8f;
  --accent: #F59E0B;
  --accent-dim: #B47308;
  --accent-glow: rgba(245, 158, 11, 0.12);
  --accent-glow-strong: rgba(245, 158, 11, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* Ambient ring */
.ambient-ring {
  position: fixed;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  height: 80vw;
  max-width: 900px;
  max-height: 900px;
  border-radius: 50%;
  border: 1px solid rgba(245, 158, 11, 0.04);
  box-shadow: 0 0 200px rgba(245, 158, 11, 0.04), inset 0 0 200px rgba(245, 158, 11, 0.02);
  pointer-events: none;
  z-index: 0;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 20px 40px;
  backdrop-filter: blur(12px);
  background: rgba(5, 5, 16, 0.7);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--fg); }

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 40px 80px;
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--accent-dim);
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
  margin-left: auto;
  margin-right: auto;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px var(--accent);
}

.hero-apy {
  display: block;
  font-size: clamp(44px, 5.5vw, 80px);
  background: linear-gradient(135deg, #F59E0B 0%, #FCD34D 50%, #F59E0B 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  line-height: 1;
  margin-bottom: 8px;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-headline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-sub strong {
  color: var(--accent);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: #FBB93B;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 12px 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--fg);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--accent-dim);
  background: var(--accent-glow);
}

/* Hero proof strip */
.hero-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.proof-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.proof-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

.live-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #4ade80;
}

.live-dot-sm {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: blink 2s ease-in-out infinite;
}

/* Nav CTA */
.btn-nav {
  padding: 8px 20px;
  font-size: 13px;
  border-radius: 6px;
}

/* Large CTA button */
.btn-lg {
  padding: 16px 40px;
  font-size: 17px;
  border-radius: 10px;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* Yield comparison table */
.yield-compare {
  position: relative;
  z-index: 1;
  padding: 100px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-desc {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 560px;
  margin-top: 16px;
}

.compare-table-wrap {
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th {
  padding: 16px 24px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  color: var(--fg);
  font-weight: 500;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody tr:hover {
  background: var(--surface-2);
}

.row-ring {
  background: rgba(245, 158, 11, 0.04);
}

.row-ring:hover {
  background: rgba(245, 158, 11, 0.08) !important;
}

.protocol-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.protocol-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg-muted);
  flex-shrink: 0;
}

.ring-dot {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.tag-yes {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.cell-no {
  color: var(--fg-muted);
  opacity: 0.5;
}

.cell-partial {
  color: var(--fg-muted);
}

.cell-highlight {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.compare-footnote {
  max-width: 1200px;
  margin: 20px auto 0;
  font-size: 12px;
  color: var(--fg-muted);
  opacity: 0.7;
}

.compare-footnote a {
  color: var(--accent);
  text-decoration: none;
}

.compare-footnote a:hover {
  text-decoration: underline;
}

.cell-dim {
  color: var(--fg-muted);
  opacity: 0.6;
}

.compare-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.compare-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}

.compare-link:hover {
  color: #FBB93B;
  text-decoration: underline;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Why Ring cards */
.why-ring {
  position: relative;
  z-index: 1;
  padding: 120px 40px;
}

.section-header {
  max-width: 1200px;
  margin: 0 auto 64px;
}

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.15;
}

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

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 44px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.why-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}

.why-card:hover::before { opacity: 1; }

.why-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  opacity: 0.7;
}

.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid rgba(245, 158, 11, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent);
  transition: all 0.3s;
}

.why-card:hover .why-icon {
  background: var(--accent-glow-strong);
  border-color: rgba(245, 158, 11, 0.3);
  transform: scale(1.05);
}

.why-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.why-card p {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.7;
}

.why-card em {
  color: var(--fg);
  font-style: normal;
  font-weight: 600;
}

/* Protocol */
.protocol {
  position: relative;
  z-index: 1;
  padding: 120px 40px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.protocol-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.protocol-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.protocol-text p {
  color: var(--fg-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.protocol-features {
  list-style: none;
  margin-bottom: 40px;
}

.protocol-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--fg);
  margin-bottom: 14px;
}

.check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* Data block (protocol visual) */
.data-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
}

.data-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.data-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
}

.data-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 10px;
}

.data-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.data-value-chains {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.data-chain-sep {
  color: var(--fg-muted);
  font-weight: 400;
  font-size: 16px;
}

.data-footer {
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  text-align: center;
}

.data-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}

.data-link:hover {
  color: #FBB93B;
}

/* Closing CTA */
.closing-cta {
  position: relative;
  z-index: 1;
  padding: 140px 40px;
  text-align: center;
  overflow: hidden;
}

.closing-cta-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.closing-cta-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.closing-cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.closing-cta p {
  font-size: 18px;
  color: var(--fg-muted);
  line-height: 1.65;
}

.closing-disclaimer {
  margin-top: 20px;
  font-size: 13px;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* CTA Steps */
.cta-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.cta-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}

.cta-step-arrow {
  color: var(--fg-muted);
  opacity: 0.4;
  font-size: 18px;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 40px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--fg);
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--fg); }

.footer-copy {
  font-size: 13px;
  color: var(--fg-muted);
}

/* Scroll reveal animations */
.yield-compare,
.why-ring,
.protocol,
.closing-cta {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.yield-compare.visible,
.why-ring.visible,
.protocol.visible,
.closing-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .protocol-inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

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

  .nav {
    padding: 16px 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .btn-nav {
    display: none;
  }

  .hero {
    padding: 120px 20px 80px;
  }

  .yield-compare, .why-ring, .protocol, .closing-cta {
    padding: 80px 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .compare-table-wrap {
    margin: 0 -20px;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }

  .hero-proof {
    gap: 16px;
  }

  .compare-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-step-arrow {
    display: none;
  }

  .cta-steps {
    flex-direction: column;
    gap: 12px;
  }

  .cta-step {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .btn-nav {
    display: inline-flex;
  }

  .hero-proof {
    flex-wrap: wrap;
    gap: 20px;
  }

  .hero-apy {
    font-size: 40px;
  }

  .proof-divider {
    display: none;
  }

  .data-row {
    grid-template-columns: 1fr;
  }
}