:root {
  --bg: #0A0A0F;
  --bg-alt: #0F0F18;
  --surface: #1A1A24;
  --surface-2: #22222E;
  --lime: #B4FF00;
  --lime-dim: rgba(180, 255, 0, 0.15);
  --lime-glow: rgba(180, 255, 0, 0.08);
  --text: #E8E8F0;
  --text-dim: #6B6B80;
  --text-muted: #4A4A5C;
  --green: #00E676;
  --red: #FF4D6A;
  --yellow: #FFB800;
  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-sm: 6px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAV */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-dim);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180,255,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,255,0,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}
.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime-dim);
  border: 1px solid rgba(180,255,0,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse-dot 2s infinite;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 24px;
}
.headline-accent { color: var(--lime); }
.hero-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
}
.hero-stat { display: flex; flex-direction: column; gap: 2px; }
.stat-val {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--lime);
}
.stat-label {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--surface-2);
}

/* TERMINAL */
.pulse-terminal {
  background: #080810;
  border: 1px solid rgba(180,255,0,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(180,255,0,0.06), 0 24px 48px rgba(0,0,0,0.5);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--surface);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; }
.terminal-dot.red { background: #FF5F57; }
.terminal-dot.yellow { background: #FFBD2E; }
.terminal-dot.green { background: var(--lime); box-shadow: 0 0 6px var(--lime); }
.terminal-title {
  margin-left: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.terminal-body { padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.terminal-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--font-head);
  font-size: 12px;
  transition: background 0.2s;
}
.terminal-line:hover { background: var(--surface-2); }
.terminal-line.faded { opacity: 0.5; }
.t-time { color: var(--text-muted); min-width: 70px; }
.t-signal {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.t-signal.buy { background: rgba(0,230,118,0.15); color: var(--green); }
.t-signal.sell { background: rgba(255,77,106,0.15); color: var(--red); }
.t-signal.hold { background: rgba(255,184,0,0.1); color: var(--yellow); }
.t-pair { color: var(--text); min-width: 80px; }
.t-price { color: var(--text-dim); flex: 1; text-align: right; }
.t-pnl { font-weight: 600; }
.t-pnl.positive { color: var(--green); }
.t-pnl.negative { color: var(--red); }
.t-pnl.neutral { color: var(--text-muted); }
.terminal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-top: 1px solid rgba(255,255,255,0.04);
  background: var(--surface);
}
.tf-text { font-family: var(--font-head); font-size: 12px; color: var(--lime); font-weight: 600; }
.tf-status { display: flex; align-items: center; gap: 5px; font-family: var(--font-head); font-size: 11px; color: var(--text-dim); }
.tf-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: pulse-dot 1.5s infinite; }

/* WAVE BARS */
.hero-visual { display: flex; flex-direction: column; gap: 20px; }
.wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 60px;
  padding: 0 4px;
}
.wave-bar {
  flex: 1;
  height: var(--h);
  background: linear-gradient(to top, var(--lime), rgba(180,255,0,0.3));
  border-radius: 3px 3px 0 0;
  animation: wave-move var(--d) ease-in-out infinite alternate;
}
@keyframes wave-move {
  from { height: calc(var(--h) * 0.4); opacity: 0.5; }
  to { height: var(--h); opacity: 1; }
}

/* SECTION COMMON */
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--lime);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 560px;
  line-height: 1.7;
}

/* METRICS */
.metrics {
  padding: 80px 32px;
  background: var(--bg-alt);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.metrics-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.metric-card:hover { border-color: rgba(180,255,0,0.2); transform: translateY(-2px); }
.metric-card.featured { border-color: rgba(180,255,0,0.25); background: linear-gradient(135deg, var(--surface), rgba(180,255,0,0.04)); }
.mc-icon { margin-bottom: 16px; }
.mc-value {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--lime);
  margin-bottom: 4px;
}
.mc-label {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.mc-sub { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* HOW IT WORKS */
.how { padding: 100px 32px; }
.how-header { max-width: 1200px; margin: 0 auto 64px; }
.how-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.step {
  flex: 1;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.3s;
}
.step:hover { border-color: rgba(180,255,0,0.2); }
.step-connector {
  display: flex;
  align-items: center;
  padding-top: 40px;
  flex-shrink: 0;
}
.step-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.step-title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}
.step-desc { font-size: 14px; color: var(--text-dim); line-height: 1.7; margin-bottom: 20px; }
.step-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--lime-glow);
  color: var(--lime);
  border: 1px solid rgba(180,255,0,0.15);
}

/* PHILOSOPHY */
.philosophy {
  padding: 100px 32px;
  background: var(--bg-alt);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.philosophy-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.philo-body { font-size: 16px; color: var(--text-dim); line-height: 1.8; margin-bottom: 20px; }

/* CONTRAST CARD */
.contrast-card {
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.contrast-side { flex: 1; padding: 28px 24px; }
.contrast-divider {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--surface-2);
  border-left: 1px solid rgba(255,255,255,0.04);
  border-right: 1px solid rgba(255,255,255,0.04);
}
.cs-label {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  display: block;
  margin-bottom: 16px;
}
.cs-emotions { display: flex; flex-direction: column; gap: 12px; }
.emotion { display: flex; flex-direction: column; gap: 4px; }
.em-label { font-size: 11px; font-family: var(--font-head); font-weight: 500; color: var(--text-dim); }
.em-bar { height: 4px; background: var(--surface-2); border-radius: 2px; overflow: hidden; }
.em-fill { height: 100%; border-radius: 2px; }
.emotion.lose .em-fill { background: var(--red); }
.emotion.win .em-fill { background: var(--lime); }

/* EDGE */
.edge { padding: 100px 32px; }
.edge-header { max-width: 1200px; margin: 0 auto 56px; }
.edge-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.edge-item {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s;
}
.edge-item:hover { border-color: rgba(180,255,0,0.2); transform: translateY(-2px); }
.ei-icon { margin-bottom: 20px; }
.ei-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.ei-desc { font-size: 14px; color: var(--text-dim); line-height: 1.7; }

/* CLOSING */
.closing {
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.closing-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(180,255,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.closing-content { max-width: 760px; margin: 0 auto; position: relative; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.7;
}
.closing-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.cs-item { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.csi-val {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--lime);
}
.csi-label { font-size: 13px; color: var(--text-dim); }
.cs-sep { width: 1px; height: 48px; background: var(--surface-2); }

/* FOOTER */
.footer {
  padding: 48px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: var(--bg-alt);
}
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-tagline { font-size: 14px; color: var(--text-dim); margin-bottom: 20px; }
.footer-disclaimer { font-size: 12px; color: var(--text-muted); line-height: 1.6; max-width: 480px; margin: 0 auto; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .metrics-inner { grid-template-columns: repeat(2, 1fr); }
  .how-steps { flex-direction: column; }
  .step-connector { transform: rotate(90deg); padding: 0; }
  .philosophy-content { grid-template-columns: 1fr; gap: 48px; }
  .edge-grid { grid-template-columns: 1fr; }
  .closing-stats { gap: 24px; }
  .csi-val { font-size: 28px; }
}
/* DASHBOARD LINKS */
.nav-dash-link {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 8px 16px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-dash-link:hover {
  background: var(--lime-dim);
  border-color: rgba(180,255,0,0.3);
  color: var(--lime);
}

.dash-cta-btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: #0A0A0F;
  background: var(--lime);
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  margin-bottom: 48px;
  transition: all 0.2s;
  box-shadow: 0 0 24px rgba(180,255,0,0.25);
}
.dash-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(180,255,0,0.4);
}

@media (max-width: 600px) {
  .metrics-inner { grid-template-columns: 1fr; }
  .hero-stats-row { flex-wrap: wrap; gap: 20px; }
  .closing-stats { flex-direction: column; gap: 20px; }
  .cs-sep { width: 40px; height: 1px; }
  .hero { padding: 100px 20px 60px; }
  .how, .philosophy, .edge, .closing { padding: 60px 20px; }
}