:root {
  --bg: #050810;
  --surface: #0a0d1a;
  --surface-2: #0f1324;
  --border: rgba(0, 255, 159, 0.12);
  --green: #00FF9F;
  --green-dim: rgba(0, 255, 159, 0.15);
  --green-glow: rgba(0, 255, 159, 0.08);
  --amber: #FF9500;
  --amber-dim: rgba(255, 149, 0, 0.15);
  --text: #e8eaf0;
  --text-dim: rgba(232, 234, 240, 0.45);
  --font-display: 'Syne', system-ui, sans-serif;
  --font-mono: 'DM Mono', monospace;
  --max-w: 1100px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* GRID LINES BG */
.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,255,159,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,159,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* HERO */
.hero {
  position: relative;
  padding: 100px 24px 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,255,159,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse 2s infinite;
}

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

.badge-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.hero-headline {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 24px;
}

.highlight {
  color: var(--green);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), transparent);
  border-radius: 2px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 400px;
  margin-bottom: 36px;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* TERMINAL WIDGET */
.terminal-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 60px rgba(0,255,159,0.06), 0 20px 60px rgba(0,0,0,0.5);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.t-dots { display: flex; gap: 6px; }
.tdot { width: 10px; height: 10px; border-radius: 50%; }
.tdot.red { background: #ff5f57; }
.tdot.yellow { background: #febc2e; }
.tdot.green { background: #28c840; }

.t-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  flex: 1;
}

.t-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--green);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 4px var(--green);
  animation: pulse 1.5s infinite;
}

.terminal-body { padding: 18px; }

.trade-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.trade-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  min-width: 70px;
}

.trade-pair {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  flex: 1;
}

.trade-action {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.trade-action.buy {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid var(--border);
}

.trade-value {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
}

.fee-earned {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--amber-dim);
  border: 1px solid rgba(255,149,0,0.2);
  border-radius: 8px;
  padding: 10px 14px;
  margin: 12px 0;
}

.fee-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--amber);
  letter-spacing: 0.1em;
}

.fee-amount {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 500;
  color: var(--amber);
}

.tx-log {
  margin: 12px 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.tx-line {
  display: flex;
  gap: 12px;
  padding: 4px 0;
}

.tx-time {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  min-width: 30px;
}

.tx-text {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
}

.chart-bar {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.chart-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 36px;
}

.bar {
  flex: 1;
  background: var(--green);
  opacity: 0.25;
  border-radius: 2px 2px 0 0;
  transition: all 0.3s;
}

.bar.active {
  opacity: 0.8;
  box-shadow: 0 0 6px var(--green);
}

/* SECTIONS */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 48px;
  max-width: 560px;
}

/* HOW IT WORKS */
.howitworks {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.step-card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

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

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}

.step-connector {
  display: flex;
  align-items: center;
  padding-top: 48px;
}

/* FEE MODEL */
.feemodel {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.feemodel-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feemodel-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 36px;
}

.fee-highlight {
  margin-bottom: 32px;
}

.fee-big {
  font-family: var(--font-mono);
  font-size: 80px;
  font-weight: 500;
  color: var(--amber);
  letter-spacing: -0.04em;
  line-height: 1;
}

.fee-sub {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.fee-facts { display: flex; flex-direction: column; gap: 12px; }

.fact {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dim);
}

.fact-check {
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 14px;
  flex-shrink: 0;
}

.fee-visual {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.fv-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.fv-bar-row {
  background: var(--surface-2);
  border-radius: 6px;
  height: 24px;
  margin-bottom: 8px;
  overflow: hidden;
}

.fv-bar {
  height: 100%;
  border-radius: 6px;
}

.fv-legend {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
}

.fv-pct {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}

.fv-income {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.fv-income-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dim);
}

.fv-income-num {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 500;
  color: var(--green);
}

.fv-note {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-dim);
  opacity: 0.5;
  margin-top: 12px;
}

/* WHY SOLANA */
.whysolana {
  padding: 96px 0;
  border-bottom: 1px solid var(--border);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 48px;
}

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

.stat-val {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.stat-lbl {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
}

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

.solana-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.solana-card-icon { margin-bottom: 14px; }

.solana-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.solana-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
}

/* VISION */
.vision {
  padding: 96px 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(0,255,159,0.03) 100%);
}

.vision-inner { max-width: 720px; }

.vision-headline {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}

.vision-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.vision-quote {
  margin-top: 48px;
  padding: 28px 32px;
  border-left: 3px solid var(--green);
  position: relative;
}

.vq-mark {
  position: absolute;
  left: -14px;
  top: -10px;
  font-size: 48px;
  color: var(--green);
  opacity: 0.3;
  line-height: 1;
  font-family: Georgia, serif;
}

.vision-quote p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  font-style: italic;
  margin-bottom: 10px;
}

.vq-attr {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* FOOTER */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.footer-built {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--green);
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-right { order: -1; }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-connector { display: none; }
  .feemodel-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .stats-row {
    grid-template-columns: 1fr;
  }
  .solana-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-meta { align-items: flex-start; }
  .fee-big { font-size: 56px; }
  .stat-val { font-size: 28px; }
}