/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #060A0F;
  --bg-2: #0A1420;
  --bg-card: #0D1A2B;
  --accent: #00FF94;
  --accent-dim: rgba(0, 255, 148, 0.12);
  --accent-glow: rgba(0, 255, 148, 0.08);
  --text: #E8F4F0;
  --text-muted: #6B8A7A;
  --text-dim: #3D5A4A;
  --border: rgba(0, 255, 148, 0.15);
  --border-dim: rgba(0, 255, 148, 0.07);
  --sol: #00FF94;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg); }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  background: rgba(6, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dim);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,148,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,148,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,255,148,0.07) 0%, transparent 70%);
}
.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 24px;
  color: var(--text);
}
.hero-headline em {
  color: var(--accent);
  font-style: normal;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.solana-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(0,255,148,0.06);
  border: 1px solid var(--border-dim);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.solana-badge svg { flex-shrink: 0; }

/* ===== NODE DASHBOARD MOCKUP ===== */
.node-dashboard {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 60px rgba(0,255,148,0.06), 0 20px 60px rgba(0,0,0,0.5);
}
.dashboard-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.dash-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
}
.dash-dot.active {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
.uptime {
  margin-left: auto;
  color: var(--accent);
  font-size: 11px;
}
.dashboard-metrics { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.metric-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.metric-value.sol { color: var(--accent); }
.metric-unit { font-size: 12px; color: var(--text-muted); font-weight: 400; }
.metric-bar {
  height: 3px;
  background: var(--border-dim);
  border-radius: 100px;
  overflow: hidden;
}
.metric-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(0,255,148,0.5), var(--accent));
  border-radius: 100px;
  animation: barGrow 2s ease-out forwards;
}
.sol-fill {
  background: var(--accent);
}
@keyframes barGrow {
  from { width: 0; }
}
.dashboard-wallet {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.wallet-label { font-size: 10px; color: var(--text-muted); }
.wallet-address { font-family: monospace; font-size: 12px; color: var(--text); margin-left: auto; }
.wallet-confirmed {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--accent);
}
.node-network-viz {
  position: relative;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.viz-node {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.4;
  animation: nodeGlow 3s ease-in-out infinite;
}
.viz-node.center {
  width: 18px;
  height: 18px;
  opacity: 1;
  box-shadow: 0 0 20px var(--accent);
  background: var(--accent);
  z-index: 2;
}
.viz-node.n1 { top: 20px; left: 30px; animation-delay: 0.5s; }
.viz-node.n2 { top: 10px; right: 40px; animation-delay: 1s; }
.viz-node.n3 { bottom: 15px; left: 60px; animation-delay: 1.5s; }
.viz-node.n4 { bottom: 20px; right: 30px; animation-delay: 2s; }
.viz-node.n5 { top: 40px; left: 50%; animation-delay: 2.5s; }
.viz-line {
  position: absolute;
  background: var(--accent);
  opacity: 0.15;
  transform-origin: left center;
}
@keyframes nodeGlow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.3); }
}

/* ===== STATS ===== */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
  padding: 48px 40px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.stat-block { flex: 1; padding: 0 32px; }
.stat-number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.stat-divider {
  width: 1px;
  height: 60px;
  background: var(--border-dim);
  flex-shrink: 0;
}

/* ===== SECTION SHARED ===== */
.section-header { margin-bottom: 56px; }
.section-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

/* ===== HOW IT WORKS ===== */
.how { padding: 100px 40px; max-width: 1200px; margin: 0 auto; }
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}
.step { padding: 0 20px; }
.step-number {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: var(--border-dim);
  letter-spacing: -3px;
  margin-bottom: 16px;
  line-height: 1;
}
.step-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }
.step-connector {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--border-dim), var(--accent), var(--border-dim));
  margin-top: 28px;
  flex-shrink: 0;
  align-self: start;
}

/* ===== FEATURES ===== */
.features { padding: 100px 40px; background: var(--bg-2); }
.features .section-header { max-width: 1200px; margin: 0 auto 56px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 14px;
  padding: 28px;
  position: relative;
  transition: border-color 0.3s;
}
.feature-card:hover { border-color: var(--border); }
.feature-card.featured { border-color: var(--border); background: linear-gradient(135deg, var(--bg-card), rgba(0,255,148,0.04)); }
.feature-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--accent);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 0 0 6px 6px;
  letter-spacing: 0.3px;
}
.feature-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--accent-dim);
  border: 1px solid var(--border-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.feature-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ===== ECONOMICS ===== */
.economics { padding: 100px 40px; }
.economics-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.economics-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.economics-title em { color: var(--accent); font-style: normal; }
.economics-sub { font-size: 15px; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; }
.econ-stats { display: flex; flex-direction: column; gap: 24px; }
.econ-stat { border-left: 2px solid var(--accent); padding-left: 16px; }
.econ-value {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.econ-desc { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Revenue visual */
.revenue-visual {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.rev-header {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.rev-flow {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}
.rev-source, .rev-dest {
  text-align: center;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 10px;
  flex: 1;
}
.rev-node {
  flex: 1.2;
  text-align: center;
  padding: 16px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.rev-node-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.rev-node-sub { font-size: 11px; color: var(--text-muted); }
.rev-arrow { padding: 0 12px; }
.rev-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.rev-amount { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--accent); }
.rev-streams { display: flex; flex-direction: column; gap: 10px; }
.stream-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.stream-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.stream-pct { margin-left: auto; font-size: 11px; color: var(--text-dim); }
.stream-highlight { color: var(--accent); }

/* ===== CLOSING ===== */
.closing {
  padding: 120px 40px;
  background: var(--bg-2);
  text-align: center;
  border-top: 1px solid var(--border-dim);
}
.closing-inner { max-width: 800px; margin: 0 auto; }
.closing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 32px;
}
.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
}
.closing-headline em { color: var(--accent); font-style: normal; }
.closing-sub { font-size: 17px; color: var(--text-muted); line-height: 1.7; margin-bottom: 40px; max-width: 560px; margin-left: auto; margin-right: auto; }
.closing-tagline {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ===== FOOTER ===== */
.footer { padding: 40px; border-top: 1px solid var(--border-dim); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.footer-tagline { font-size: 12px; color: var(--text-muted); margin-left: auto; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 11px; color: var(--text-dim); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .stats-inner { flex-wrap: wrap; }
  .stat-block { flex: 0 0 calc(50% - 16px); margin-bottom: 24px; }
  .stat-divider { display: none; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step-connector { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .economics-inner { grid-template-columns: 1fr; }
  .footer-tagline { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  .stats, .how, .features, .economics, .closing { padding: 60px 20px; }
  .nav { padding: 0 20px; }
  .hero-headline { font-size: 32px; }
  .section-title, .economics-title { font-size: 28px; }
  .node-dashboard { padding: 14px; }
  .metric-value { font-size: 18px; }
}