/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #111118;
  --bg2:      #1A1A2E;
  --surface:  #1E1E30;
  --border:   rgba(255,255,255,0.07);
  --fg:       #F0EDE8;
  --fg-muted: #8A8799;
  --accent:   #F5A623;
  --accent-dim: rgba(245,166,35,0.15);
  --mint:     #4ADE80;
  --mint-dim: rgba(74,222,128,0.12);
  --radius:   12px;
  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── Typography ──────────────────────────────────────────── */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--fg);
  margin-bottom: 12px;
}

.section-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  max-width: 520px;
}

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

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.78rem;
  color: var(--fg-muted);
  border-left: 1px solid var(--border);
  padding-left: 16px;
}

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 32px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 50%, rgba(245,166,35,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(74,222,128,0.04) 0%, transparent 60%),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  font-weight: 500;
}

.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 24px;
}

.hero-accent {
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 440px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.meta-item {
  font-size: 0.78rem;
  color: var(--fg-muted);
  font-weight: 500;
}

.meta-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--border);
  display: inline-block;
}

/* ─── Hero Visual (Card Stack + Scan Ring) ─────────────────── */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px;
}

.card-stack {
  position: relative;
  width: 200px;
  height: 280px;
}

.mock-card {
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.mock-card-back {
  background: #252540;
  transform: rotate(6deg) translate(8px, 4px);
}

.mock-card-mid {
  background: #1e1e38;
  transform: rotate(2deg) translate(4px, 2px);
}

.mock-card-front {
  background: linear-gradient(160deg, #1E2A45 0%, #16162A 100%);
  box-shadow:
    0 40px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(245,166,35,0.15),
    inset 0 1px 0 rgba(255,255,255,0.05);
  transform: rotate(-1deg);
  overflow: hidden;
}

.mock-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 12px;
  position: relative;
}

.mock-art-window {
  flex: 1;
  border-radius: 8px;
  background:
    linear-gradient(135deg, #2a3a6e 0%, #1a2a4a 40%, #3d1a1a 100%);
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.mock-art-window::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(245,166,35,0.08) 60%, transparent 80%);
}

.mock-card-body {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 10px;
}

.mock-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--fg);
  margin-bottom: 2px;
}

.mock-card-sub {
  font-size: 0.65rem;
  color: var(--fg-muted);
  margin-bottom: 4px;
}

.mock-card-rarity {
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.mock-price-badge {
  position: absolute;
  top: -20px;
  right: -16px;
  background: var(--mint);
  color: #0a0a0a;
  border-radius: 8px;
  padding: 8px 14px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(74,222,128,0.3);
  z-index: 2;
}

.price-label {
  display: block;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.price-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
}

/* Scan ring */
.scan-ring {
  position: absolute;
  width: 260px;
  height: 340px;
  border: 2px solid rgba(245,166,35,0.25);
  border-radius: 18px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: scanPulse 3s ease-in-out infinite;
}

@keyframes scanPulse {
  0%, 100% { border-color: rgba(245,166,35,0.25); box-shadow: 0 0 0 0 rgba(245,166,35,0); }
  50% { border-color: rgba(245,166,35,0.5); box-shadow: 0 0 24px rgba(245,166,35,0.1); }
}

.scan-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--accent);
  border-style: solid;
}
.tl { top: -2px; left: -2px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.tr { top: -2px; right: -2px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.bl { bottom: -2px; left: -2px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.br { bottom: -2px; right: -2px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }

/* ─── Hero Ticker ──────────────────────────────────────────── */
.hero-ticker {
  border-top: 1px solid var(--border);
  background: var(--bg2);
  padding: 14px 0;
  overflow: hidden;
  margin-top: auto;
}

.ticker-track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
  font-size: 0.72rem;
  color: var(--fg-muted);
}

.ticker-track span { padding: 0 24px; }
.ticker-sep { color: var(--accent); opacity: 0.5; }

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── How ─────────────────────────────────────────────────── */
.how {
  padding: 120px 32px;
  max-width: 1100px;
  margin: 0 auto;
}

.steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 56px;
}

.step {
  flex: 1;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0.7;
}

.step-icon {
  margin-bottom: 16px;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--fg);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.step-connector {
  width: 40px;
  height: 1px;
  background: var(--border);
  flex-shrink: 0;
}

/* ─── Market ───────────────────────────────────────────────── */
.market {
  padding: 120px 32px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 48px 0 56px;
}

.stat {
  background: var(--surface);
  padding: 28px 24px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  line-height: 1.4;
}

.market-bars { max-width: 600px; }

.bar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.bar-label {
  font-size: 0.72rem;
  color: var(--fg-muted);
  width: 32px;
  flex-shrink: 0;
  font-weight: 500;
}

.bar-track {
  flex: 1;
  height: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(245,166,35,0.4), rgba(245,166,35,0.6));
  border-radius: 4px;
}

.bar-spike {
  background: linear-gradient(90deg, rgba(245,166,35,0.6), rgba(245,166,35,0.9));
}

.bar-current {
  background: linear-gradient(90deg, var(--accent), var(--mint));
}

.market-note {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 16px;
  font-style: italic;
}

/* ─── Pricing / Compare ────────────────────────────────────── */
.pricing {
  padding: 120px 32px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.compare-table {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
}

.compare-col-label { }

.compare-col {
  text-align: center;
  padding: 0 16px;
  border-left: 1px solid var(--border);
}

.compare-col-active {
  background: rgba(245,166,35,0.06);
}

.compare-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--fg-muted);
}

.compare-brand-active {
  color: var(--accent);
}

.compare-note {
  font-size: 0.68rem;
  color: var(--fg-muted);
  opacity: 0.7;
  margin-top: 2px;
}

.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}

.compare-row:last-child { border-bottom: none; }

.compare-feature {
  font-size: 0.85rem;
  color: var(--fg);
}

.compare-val {
  text-align: center;
  padding: 0 16px;
  border-left: 1px solid var(--border);
  font-size: 0.78rem;
}

.check { color: var(--mint); font-weight: 500; }
.check-warn { color: var(--fg-muted); opacity: 0.5; }

/* ─── Closing ─────────────────────────────────────────────── */
.closing {
  padding: 120px 32px;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  line-height: 1.15;
  margin-bottom: 16px;
}

.closing-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  margin-bottom: 32px;
}

.closing-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 0.78rem;
  color: var(--fg-muted);
}

.pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 6px var(--mint);
  animation: pulse 2s ease-in-out infinite;
}

/* ─── Footer ───────────────────────────────────────────────── */
.footer {
  padding: 40px 32px;
  border-top: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--fg);
  margin-bottom: 8px;
}

.footer-note {
  font-size: 0.72rem;
  color: var(--fg-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.footer-links {
  font-size: 0.72rem;
  color: var(--fg-muted);
  opacity: 0.5;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-sub { max-width: 100%; margin: 0 auto 32px; }
  .hero-meta { justify-content: center; }
  .hero-visual { height: 280px; }
  .card-stack { width: 160px; height: 220px; }
  .scan-ring { width: 200px; height: 260px; }
  .price-value { font-size: 1.1rem; }

  .steps { flex-direction: column; gap: 12px; }
  .step-connector { width: 40px; height: 1px; }

  .market-stats { grid-template-columns: repeat(2, 1fr); }

  .compare-header, .compare-row {
    grid-template-columns: 1.5fr 1fr 1fr;
    padding: 12px 16px;
  }

  .section-title { font-size: 1.8rem; }
  .nav-tagline { display: none; }
  .hero { padding-top: 100px; }
}

@media (max-width: 480px) {
  .market-stats { grid-template-columns: 1fr 1fr; }
  .stat-value { font-size: 1.5rem; }
}
