/* ═══════════════════════════════════════════
   AXLE — Theme CSS
   ═══════════════════════════════════════════ */

:root {
  --bg-primary: #0d0f14;
  --bg-secondary: #111318;
  --bg-tertiary: #161920;
  --bg-card: #1a1d24;
  --teal: #00d4aa;
  --teal-dim: rgba(0, 212, 170, 0.12);
  --teal-glow: rgba(0, 212, 170, 0.06);
  --fg-primary: #f0f2f5;
  --fg-secondary: #a0a8b8;
  --fg-tertiary: #6b7280;
  --border: rgba(255,255,255,0.06);
}

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

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

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: 'Manrope', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 2px; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Syne', system-ui, sans-serif;
  line-height: 1.15;
  font-weight: 700;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg-primary);
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-tag {
  font-size: 12px;
  color: var(--fg-tertiary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Section shared ── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--fg-primary);
  margin-bottom: 48px;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(0,212,170,0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 80%, rgba(0,212,170,0.03) 0%, transparent 50%),
    var(--bg-primary);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 70%);
  pointer-events: none;
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--teal);
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(52px, 6.5vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg-primary);
  margin-bottom: 32px;
}

.teal { color: var(--teal); }

.hero-lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-secondary);
  max-width: 480px;
}

/* ── Orbital Visual ── */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.orbital-container {
  width: 360px;
  height: 360px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbital-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,212,170,0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-pulse 6s ease-in-out infinite;
}

.orbital-ring-1 { width: 200px; height: 200px; animation-delay: 0s; }
.orbital-ring-2 { width: 280px; height: 280px; animation-delay: 1.5s; border-color: rgba(0,212,170,0.08); }
.orbital-ring-3 { width: 360px; height: 360px; animation-delay: 3s; border-color: rgba(0,212,170,0.04); }

@keyframes ring-pulse {
  0%, 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.04); }
}

.orbital-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  animation: core-glow 4s ease-in-out infinite;
}

@keyframes core-glow {
  0%, 100% { filter: drop-shadow(0 0 16px rgba(0,212,170,0.4)); }
  50% { filter: drop-shadow(0 0 32px rgba(0,212,170,0.7)); }
}

.data-node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.data-node::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,170,0.4);
  animation: node-ping 3s ease-in-out infinite;
}

.data-node-1 { top: 10%; left: 55%; animation: float1 8s ease-in-out infinite; }
.data-node-2 { top: 70%; left: 80%; animation: float2 10s ease-in-out infinite; }
.data-node-3 { top: 85%; left: 30%; animation: float1 7s ease-in-out infinite reverse; }
.data-node-4 { top: 40%; left: 10%; animation: float2 9s ease-in-out infinite; }

@keyframes float1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(8px, -12px); }
  66% { transform: translate(-6px, 8px); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-10px, 8px); }
  66% { transform: translate(6px, -10px); }
}

@keyframes node-ping {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3); opacity: 0; }
}

/* ── Hero Stats ── */
.hero-stats {
  max-width: 1200px;
  margin: 60px auto 0;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 28px 36px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 2px;
  position: relative;
  z-index: 2;
}

.stat {
  flex: 1;
  padding: 0 24px;
}

.stat:first-child { padding-left: 0; }

.stat-value {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -1px;
}

.stat-label {
  font-size: 12px;
  color: var(--fg-tertiary);
  margin-top: 4px;
  line-height: 1.4;
}

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

/* ── Pillars ── */
.pillars {
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.pillar {
  background: var(--bg-card);
  padding: 48px 40px;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.pillar:hover {
  border-color: rgba(0,212,170,0.25);
  transform: translateY(-4px);
}

.pillar-icon {
  margin-bottom: 28px;
}

.pillar-title {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.pillar-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-secondary);
  margin-bottom: 24px;
}

.pillar-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-dim);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 2px;
}

/* ── Why Now ── */
.why-now {
  padding: 120px 0;
  background: var(--bg-primary);
}

.why-now-content {
  max-width: 540px;
  margin-bottom: 64px;
}

.why-now-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-now-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--fg-secondary);
}

.market-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.market-stat {
  background: var(--bg-secondary);
  padding: 32px 28px;
  transition: background 0.3s;
}

.market-stat:hover { background: var(--bg-tertiary); }

.market-value {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--fg-primary);
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.market-label {
  font-size: 12px;
  color: var(--fg-tertiary);
  line-height: 1.5;
}

/* ── Edge ── */
.edge {
  padding: 120px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.edge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.edge-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-secondary);
  margin-bottom: 48px;
  max-width: 520px;
}

.edge-points {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.edge-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.edge-point-marker {
  font-family: 'Syne', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  background: var(--teal-dim);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.edge-point strong {
  color: var(--fg-primary);
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.edge-point div:last-child {
  font-size: 14px;
  line-height: 1.65;
  color: var(--fg-secondary);
}

/* ── Edge Visual ── */
.edge-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  align-self: start;
  position: sticky;
  top: 100px;
}

.proof-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 28px 24px;
  text-align: left;
  transition: border-color 0.3s;
}

.proof-block:hover { border-color: rgba(0,212,170,0.2); }

.proof-block-wide { grid-column: span 2; }

.proof-number {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.proof-label {
  font-size: 12px;
  color: var(--fg-tertiary);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ── Closing ── */
.closing {
  padding: 140px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 48px;
}

.closing-decoration {
  margin-bottom: 48px;
  display: flex;
  justify-content: center;
}

.closing-decoration svg {
  animation: slow-spin 30s linear infinite;
}

@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.closing-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--fg-primary);
  margin-bottom: 28px;
  letter-spacing: -1px;
}

.closing-body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Footer ── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--fg-primary);
}

.footer-tagline {
  font-size: 14px;
  color: var(--fg-tertiary);
  flex: 1;
}

.footer-meta {
  font-size: 12px;
  color: var(--fg-tertiary);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .edge-grid { grid-template-columns: 1fr; gap: 48px; }
  .edge-visual { position: static; }
  .pillars-grid { grid-template-columns: 1fr; }
  .market-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav { padding: 16px 24px; }
  .hero { padding: 100px 24px 60px; }
  .section-inner { padding: 0 24px; }
  .hero-stats { flex-direction: column; gap: 20px; padding: 24px; }
  .stat-divider { width: 40px; height: 1px; }
  .market-stats { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .closing { padding: 80px 0; }
  .closing-inner { padding: 0 24px; }
}
