/* ==========================================================================
   CremaONE — Total Coffee Platform
   Design tokens extracted from ad.cremaone.coffee for tonal continuity
   ========================================================================== */

:root {
  /* Core surfaces */
  --bg: #0A0A0B;
  --bg-elevated: #0E0E10;
  --surface: #141415;
  --surface-2: #1C1C1E;
  --surface-3: #26262A;
  --border: #2A2A2D;
  --border-bright: #3A3A3F;

  /* Text */
  --text: #EDEDEF;
  --text-secondary: #8E8E93;
  --text-tertiary: #5A5A60;

  /* Crema accent (warm) */
  --accent: #C4956A;
  --accent-bright: #E8B88A;
  --accent-glow: rgba(196, 149, 106, 0.15);
  --accent-dim: rgba(196, 149, 106, 0.35);

  /* Tech accent (data / blockchain / future) */
  --tech: #5B9DFF;
  --tech-bright: #8BB8FF;
  --tech-glow: rgba(91, 157, 255, 0.14);
  --tech-dim: rgba(91, 157, 255, 0.35);

  /* Success / active */
  --active: #4ade80;

  /* Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Type */
  --font-sans: 'Pretendard', 'Manrope', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', sans-serif;
  --font-serif: 'Noto Serif KR', 'Manrope', serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', ui-monospace, monospace;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Base reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent-dim); color: var(--text); }

/* ---- Scroll progress ---- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--tech));
  z-index: 100; transform-origin: left; transform: scaleX(0);
  transition: transform 0.15s linear;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  padding: 18px 0;
  background: rgba(10, 10, 11, 0.7);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), padding 0.3s var(--ease);
}
.nav.scrolled { padding: 12px 0; border-bottom-color: var(--border); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.nav-logo {
  font-family: var(--font-serif); font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 2px;
}
.nav-logo .one {
  color: var(--accent); font-family: var(--font-sans); font-weight: 800; font-size: 18px;
  letter-spacing: 0.06em;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta-group { display: flex; align-items: center; gap: 12px; }
.nav-login {
  color: var(--text-secondary); font-size: 14px; font-weight: 500;
  padding: 10px 16px; border-radius: var(--radius); transition: color 0.2s;
}
.nav-login:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: #0A0A0B;
  padding: 10px 18px; border-radius: var(--radius);
  font-size: 14px; font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--accent-bright); transform: translateY(-1px); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px 32px 40px;
  overflow: hidden;
}
.hero-scroll-hint {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-tertiary);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: scrollHint 2.4s var(--ease) infinite;
}
.hero-scroll-hint svg { opacity: 0.6; }
@keyframes scrollHint {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.6; }
  50% { transform: translate(-50%, 6px); opacity: 1; }
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 20% 15%, rgba(196, 149, 106, 0.10) 0%, transparent 60%),
    radial-gradient(50% 40% at 85% 85%, rgba(91, 157, 255, 0.08) 0%, transparent 60%),
    var(--bg);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 1;
  background-image:
    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: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 8px; border-radius: 100px;
  background: rgba(196, 149, 106, 0.08);
  border: 1px solid rgba(196, 149, 106, 0.2);
  color: var(--accent); font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em;
  margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 149, 106, 0.2);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 149, 106, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(196, 149, 106, 0); }
}
.hero h1 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--text);
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .en {
  display: block; font-family: var(--font-sans); font-weight: 300;
  font-size: 0.36em; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-tertiary); margin-top: 20px;
}
.hero-sub {
  font-size: 18px; color: var(--text-secondary); line-height: 1.6;
  margin: 0 0 40px; max-width: 520px;
}
.hero-cta { display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: var(--radius);
  background: var(--accent); color: #0A0A0B;
  font-size: 15px; font-weight: 600;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--accent-bright); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 149, 106, 0.3);
}
.btn-primary .arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text); font-size: 15px; font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: var(--border-bright); }

.hero-stats {
  display: flex; gap: 40px; padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stat-label { font-size: 12px; color: var(--text-tertiary); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.hero-stat-value { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--text); }
.hero-stat-value .unit { font-family: var(--font-sans); font-size: 14px; color: var(--text-secondary); margin-left: 4px; font-weight: 500; }

/* Hero visual (right side) — data ring / crema */
.hero-visual {
  position: relative; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   SECTION shared
   ========================================================================== */
.section {
  position: relative; padding: 140px 32px; overflow: hidden;
}
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 20px;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--accent);
}
.section-title {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 20px; color: var(--text);
  max-width: 800px;
}
.section-title .em { color: var(--accent); }
.section-title .em-tech { color: var(--tech); }
.section-sub {
  font-size: 18px; color: var(--text-secondary); line-height: 1.6;
  max-width: 640px; margin: 0 0 64px;
}

/* ==========================================================================
   ECOSYSTEM HUB (interactive diagram)
   ========================================================================== */
.ecosystem {
  padding: 140px 32px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 50%, var(--bg) 100%);
}
.eco-stage {
  position: relative;
  aspect-ratio: 16/10; max-height: 720px; margin: 40px auto 0;
  max-width: 1100px;
}
.eco-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.eco-core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a1e17, #0f0a08 70%);
  border: 1px solid var(--accent-dim);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 60px rgba(196, 149, 106, 0.25), inset 0 0 30px rgba(196, 149, 106, 0.15);
  z-index: 5;
}
.eco-core::before {
  content: ''; position: absolute; inset: -8px; border-radius: 50%;
  border: 1px solid rgba(196, 149, 106, 0.15);
  animation: coreRing 4s var(--ease) infinite;
}
.eco-core::after {
  content: ''; position: absolute; inset: -20px; border-radius: 50%;
  border: 1px solid rgba(196, 149, 106, 0.08);
  animation: coreRing 4s var(--ease) infinite 1s;
}
@keyframes coreRing {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.eco-core-brand { font-family: var(--font-serif); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.eco-core-brand .one { color: var(--accent); font-family: var(--font-sans); font-weight: 800; font-size: 18px; letter-spacing: 0.06em; margin-left: 2px; }
.eco-core-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-tertiary); letter-spacing: 0.16em; margin-top: 8px; text-transform: uppercase; }

.eco-node {
  position: absolute; width: 220px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 3;
}
.eco-node-inner {
  position: relative;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 20px;
  transition: transform 0.35s var(--ease), border-color 0.25s, background 0.25s, box-shadow 0.35s var(--ease);
}
.eco-node:hover .eco-node-inner {
  transform: translateY(-6px);
  border-color: var(--accent);
  background: var(--surface-2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(196, 149, 106, 0.15);
}
.eco-node-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.eco-node-glyph {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(196, 149, 106, 0.1); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 15px; font-weight: 700;
}
.eco-node-tag {
  font-family: var(--font-mono); font-size: 10px; color: var(--text-tertiary);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.eco-node-title {
  font-family: var(--font-serif); font-size: 20px; font-weight: 700;
  margin: 0 0 6px; letter-spacing: -0.01em;
}
.eco-node-desc {
  font-size: 13px; color: var(--text-secondary); line-height: 1.5;
  margin: 0 0 14px;
}
.eco-node-audience {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px;
}
.eco-audience-chip {
  font-size: 11px; padding: 4px 10px; border-radius: 100px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  color: var(--text-secondary);
}
.eco-node-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--accent);
}
.eco-node-link .arrow { transition: transform 0.2s; }
.eco-node:hover .eco-node-link .arrow { transform: translateX(4px); }

/* Node positions */
.eco-node.tl { top: 15%; left: 18%; }
.eco-node.tr { top: 15%; left: 82%; }
.eco-node.bl { top: 85%; left: 18%; }
.eco-node.br { top: 85%; left: 82%; }

/* Connection lines animated */
.eco-line {
  fill: none; stroke: var(--border); stroke-width: 1;
  stroke-dasharray: 4 6;
  animation: dash 30s linear infinite;
}
.eco-line-flow {
  fill: none; stroke: var(--accent); stroke-width: 1.5;
  stroke-dasharray: 20 200;
  opacity: 0.6;
  animation: flow 6s linear infinite;
}
@keyframes dash { to { stroke-dashoffset: -100; } }
@keyframes flow { to { stroke-dashoffset: -220; } }

/* small orbital dots */
.eco-orbit-dot {
  fill: var(--accent); opacity: 0.7;
}

/* ==========================================================================
   VALUES section
   ========================================================================== */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.value-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.35s var(--ease);
}
.value-card:hover { border-color: var(--border-bright); transform: translateY(-4px); }
.value-card-num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--text-tertiary); margin-bottom: 60px; display: block;
}
.value-card-title {
  font-family: var(--font-serif); font-size: 24px; font-weight: 700;
  margin: 0 0 14px; letter-spacing: -0.01em; line-height: 1.2;
}
.value-card-desc {
  font-size: 14px; color: var(--text-secondary); line-height: 1.65;
  margin: 0;
}
.value-card-icon {
  position: absolute; top: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(196, 149, 106, 0.08);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}

/* ==========================================================================
   ROADMAP — Seed to Cup network
   ========================================================================== */
.roadmap {
  padding: 140px 32px;
  background: var(--bg);
  position: relative;
}
.roadmap-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 80px; flex-wrap: wrap; gap: 40px; }
.roadmap-header .section-title, .roadmap-header .section-sub { margin-bottom: 0; }
.roadmap-header-text { max-width: 720px; }

.roadmap-network {
  position: relative;
  min-height: 620px;
  background:
    radial-gradient(ellipse at center, rgba(91, 157, 255, 0.06) 0%, transparent 70%);
  border-radius: var(--radius-xl);
  padding: 40px;
  overflow: hidden;
}
.roadmap-network::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(91, 157, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 157, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  pointer-events: none;
}
.roadmap-svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.rm-node {
  position: absolute; transform: translate(-50%, -50%);
  z-index: 3;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.6s var(--ease), transform 0.35s var(--ease);
}
.rm-node.active { opacity: 1; }
.rm-node-badge {
  width: 90px; height: 90px; border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: border-color 0.35s, box-shadow 0.35s;
}
.rm-node.active .rm-node-badge {
  border-color: var(--tech);
  box-shadow: 0 0 0 6px rgba(91, 157, 255, 0.08), 0 0 40px rgba(91, 157, 255, 0.3);
}
.rm-node.current .rm-node-badge {
  border-color: var(--accent);
  box-shadow: 0 0 0 6px rgba(196, 149, 106, 0.1), 0 0 40px rgba(196, 149, 106, 0.35);
  background: linear-gradient(135deg, #1f1712, var(--surface));
}
.rm-node-icon {
  color: var(--text-secondary); transition: color 0.35s;
}
.rm-node.active .rm-node-icon { color: var(--tech-bright); }
.rm-node.current .rm-node-icon { color: var(--accent-bright); }
.rm-node-tag {
  position: absolute; bottom: -32px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--text-tertiary); white-space: nowrap; text-transform: uppercase;
}
.rm-node.active .rm-node-tag { color: var(--tech); }
.rm-node.current .rm-node-tag { color: var(--accent); }

.rm-node-label {
  position: absolute; top: -50px; left: 50%; transform: translateX(-50%);
  text-align: center; white-space: nowrap;
}
.rm-node-label-ko {
  font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--text);
  letter-spacing: -0.01em;
}
.rm-node-label-en {
  font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary);
  letter-spacing: 0.1em; margin-top: 2px;
}

.rm-line-base { fill: none; stroke: var(--border); stroke-width: 1; }
.rm-line-active { fill: none; stroke: var(--tech); stroke-width: 1.5; }
.rm-packet { fill: var(--tech-bright); }

/* Detail panel */
.rm-detail {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  margin-top: 48px;
}
.rm-detail-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; min-height: 160px;
  transition: border-color 0.25s, background 0.25s;
  cursor: pointer;
}
.rm-detail-card:hover, .rm-detail-card.selected {
  border-color: var(--tech-dim); background: var(--surface-2);
}
.rm-detail-card.current-svc {
  border-color: var(--accent-dim);
}
.rm-detail-card.current-svc:hover, .rm-detail-card.current-svc.selected {
  border-color: var(--accent); background: var(--surface-2);
}
.rm-detail-idx { font-family: var(--font-mono); font-size: 11px; color: var(--text-tertiary); letter-spacing: 0.14em; margin-bottom: 8px; }
.rm-detail-title { font-family: var(--font-serif); font-size: 18px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.01em; }
.rm-detail-status { font-size: 11px; padding: 3px 8px; border-radius: 100px; font-weight: 600; display: inline-block; margin-bottom: 10px; }
.rm-detail-status.live { background: rgba(74, 222, 128, 0.15); color: var(--active); }
.rm-detail-status.coming { background: rgba(91, 157, 255, 0.15); color: var(--tech-bright); }
.rm-detail-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.55; margin: 0; }

/* ==========================================================================
   NUMBERS
   ========================================================================== */
.numbers {
  padding: 140px 32px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.numbers-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1280px; margin: 0 auto;
}
.number-cell {
  padding: 40px 0;
  border-right: 1px solid var(--border);
  padding-left: 32px;
}
.number-cell:first-child { padding-left: 0; }
.number-cell:last-child { border-right: none; }
.number-value {
  font-family: var(--font-serif); font-size: 64px; font-weight: 700;
  color: var(--text); line-height: 1; letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.number-value .unit { font-family: var(--font-sans); font-size: 22px; font-weight: 500; color: var(--accent); margin-left: 4px; }
.number-value.text-value { font-family: var(--font-serif); font-size: 44px; color: var(--accent); letter-spacing: 0.02em; }
.number-label { font-size: 13px; color: var(--text-secondary); letter-spacing: 0.02em; }

/* ==========================================================================
   PARTNERS (marquee)
   ========================================================================== */
.partners { padding: 100px 32px; }
.partners-eyebrow { text-align: center; margin-bottom: 40px; }
.partners-eyebrow .section-eyebrow { display: inline-flex; }
.partners-eyebrow .section-eyebrow::before { display: none; }
.partners-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}
.partners-track {
  display: flex; gap: 64px; width: fit-content;
  animation: marquee 40s linear infinite;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.partner-logo {
  flex-shrink: 0;
  font-family: var(--font-serif); font-size: 24px; font-weight: 700;
  color: var(--text-tertiary); letter-spacing: -0.01em;
  padding: 10px 32px;
  transition: color 0.2s;
}
.partner-logo:hover { color: var(--text-secondary); }

/* ==========================================================================
   CTA FOOTER
   ========================================================================== */
.cta-final {
  padding: 160px 32px;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(196, 149, 106, 0.1) 0%, transparent 60%),
    var(--bg);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(196, 149, 106, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 149, 106, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 60%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 60%);
}
.cta-final-inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.cta-final h2 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(40px, 5vw, 68px); line-height: 1.1; letter-spacing: -0.025em;
  margin: 0 0 24px;
}
.cta-final h2 .accent { color: var(--accent); }
.cta-final p { font-size: 18px; color: var(--text-secondary); margin: 0 0 48px; }
.cta-final-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: 80px 32px 40px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand-name {
  font-family: var(--font-serif); font-size: 28px; font-weight: 700;
  margin: 0 0 16px;
}
.footer-brand-name .one { color: var(--accent); font-family: var(--font-sans); font-weight: 800; font-size: 22px; letter-spacing: 0.06em; margin-left: 2px; }
.footer-tagline { font-size: 14px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 24px; max-width: 320px; }

.footer-col-title {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  color: var(--text-tertiary); text-transform: uppercase;
  margin: 0 0 20px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-family-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text-secondary);
  transition: border-color 0.2s;
}
.footer-family-btn:hover { border-color: var(--accent); color: var(--text); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: var(--text-tertiary); flex-wrap: wrap; gap: 16px;
}
.footer-legal a { color: var(--text-tertiary); margin-right: 20px; }
.footer-legal a:hover { color: var(--text-secondary); }

/* Reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 460px; margin: 0 auto; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .rm-detail { grid-template-columns: repeat(3, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .number-cell:nth-child(2) { border-right: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .eco-node { width: 190px; }
  .eco-node.tl { left: 22%; } .eco-node.tr { left: 78%; }
  .eco-node.bl { left: 22%; } .eco-node.br { left: 78%; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .section, .roadmap, .ecosystem, .numbers, .cta-final { padding: 100px 20px; }
  .hero { padding: 100px 20px 60px; }
  .values-grid { grid-template-columns: 1fr; }
  .rm-detail { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; gap: 0; }
  .number-cell { border-right: none !important; border-bottom: 1px solid var(--border); padding: 24px 0; }
  .number-cell:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .eco-stage { aspect-ratio: auto; min-height: 900px; }
  .eco-node { position: static; width: 100%; transform: none; margin-bottom: 16px; }
  .eco-core { position: static; transform: none; margin: 40px auto; }
  .eco-svg { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-stat { flex: 1 1 45%; }
  .roadmap-network { padding: 20px; min-height: auto; }
  .roadmap-svg, .rm-node { display: none; }
}
