/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0a0f;
  --surface: #111118;
  --surface-2: #18181f;
  --border: #1e1e28;
  --lime: #a8ff3e;
  --lime-dim: #7ab82e;
  --text: #f0f0f5;
  --text-muted: #64748b;
  --text-dim: #3d3d52;
  --pos: #4ade80;
  --neg: #f87171;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* === NAV === */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  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: 1.1rem;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.875rem; color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

/* === HERO === */
.hero {
  position: relative; overflow: hidden;
  padding: 100px 24px 80px;
  text-align: center;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 40%, transparent 100%);
}
.hero-content { position: relative; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(168,255,62,0.08);
  border: 1px solid rgba(168,255,62,0.2);
  border-radius: 100px;
  padding: 6px 16px; font-size: 0.8rem; color: var(--lime);
  margin-bottom: 28px; font-weight: 500; letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 24px;
}
.hero-highlight { color: var(--lime); }
.hero-sub {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 560px; margin: 0 auto 48px;
  line-height: 1.7;
}
.hero-metrics-strip {
  display: flex; align-items: center; justify-content: center; gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 40px;
  display: inline-flex;
}
.metric { text-align: center; padding: 0 28px; }
.metric-value {
  font-family: var(--font-head);
  font-size: 1.5rem; font-weight: 800; color: var(--lime);
}
.metric-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.05em; }
.metric-sep { width: 1px; height: 40px; background: var(--border); }

/* === DASHBOARD MOCK === */
.dash-section {
  padding: 20px 24px 80px;
  max-width: 1200px; margin: 0 auto;
}
.dash-wrapper { position: relative; }
.dash-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(168,255,62,0.06);
}
.dash-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }
.dash-title { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; }
.dash-controls { display: flex; gap: 8px; }
.ctrl { width: 10px; height: 10px; border-radius: 2px; }
.ctrl.green { background: rgba(168,255,62,0.3); }
.ctrl.yellow { background: rgba(251,191,36,0.3); }
.ctrl.red { background: rgba(248,113,113,0.3); }
.dash-body { display: flex; height: 520px; }
.dash-sidebar {
  width: 160px; flex-shrink: 0;
  background: var(--surface-2);
  border-right: 1px solid var(--border);
  padding: 16px 0;
  display: flex; flex-direction: column; gap: 4px;
}
.sidebar-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; font-size: 0.8rem; color: var(--text-muted);
  cursor: pointer; border-radius: 0;
}
.sidebar-item.active { color: var(--lime); background: rgba(168,255,62,0.06); border-right: 2px solid var(--lime); }
.dash-main {
  flex: 1; display: flex; flex-direction: column; overflow: hidden;
}
.dash-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(17,17,24,0.6);
}
.symbol-selector { display: flex; align-items: center; gap: 12px; }
.symbol-name { font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.symbol-price { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; }
.symbol-change { font-size: 0.75rem; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.symbol-change.pos { color: var(--pos); background: rgba(74,222,128,0.08); }
.timeframes { display: flex; gap: 4px; }
.tf { font-size: 0.7rem; padding: 4px 8px; border-radius: 4px; color: var(--text-muted); cursor: pointer; }
.tf.active { background: rgba(168,255,62,0.12); color: var(--lime); font-weight: 600; }
.dash-chart {
  flex: 1; display: flex; flex-direction: column; padding: 12px 16px; gap: 12px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.chart-grid {
  flex: 1; position: relative;
  background: repeating-linear-gradient(
    transparent 0px, transparent 24px,
    var(--border) 24px, var(--border) 25px
  ), repeating-linear-gradient(
    90deg, transparent 0px, transparent 59px,
    var(--border) 59px, var(--border) 60px
  );
}
.candles {
  display: flex; align-items: flex-end; gap: 4px;
  height: 100%; padding: 8px 0;
}
.candle {
  flex: 1; height: var(--h);
  min-height: 15%; border-radius: 2px 2px 0 0;
  position: relative;
}
.candle::before, .candle::after {
  content: ''; position: absolute;
  width: 1px; left: 50%; transform: translateX(-50%);
  background: inherit; opacity: 0.5;
}
.candle::before { top: -20%; height: 20%; }
.candle::after { bottom: -15%; height: 15%; }
.candle.green { background: var(--pos); }
.candle.green::before, .candle.green::after { background: var(--pos); }
.candle.red { background: var(--neg); }
.candle.red::before, .candle.red::after { background: var(--neg); }
.chart-label {
  position: absolute; bottom: 4px; right: 8px;
  font-size: 0.65rem; color: var(--text-dim);
  font-weight: 500;
}
.chart-indicators { display: flex; gap: 20px; padding: 4px 0; }
.indicator-row { display: flex; align-items: center; gap: 10px; flex: 1; }
.ind-label { font-size: 0.65rem; color: var(--text-muted); width: 40px; font-weight: 500; }
.ind-bar { flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.ind-fill { height: 100%; width: var(--w); background: var(--text-muted); border-radius: 2px; }
.ind-fill.pos { background: var(--pos); }
.ind-val { font-size: 0.7rem; color: var(--text-muted); width: 44px; text-align: right; font-weight: 600; }
.ind-val.pos { color: var(--pos); }
.dash-widgets { display: flex; gap: 12px; padding: 12px 16px; }
.widget { background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; padding: 12px; flex: 1; }
.widget-title { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; font-weight: 600; }
.signal-badge { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.signal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 6px var(--pos); }
.signal-text { font-size: 0.7rem; color: var(--pos); font-weight: 600; }
.signal-meta { font-size: 0.7rem; color: var(--text-muted); }
.pos-row { display: flex; align-items: center; gap: 8px; padding: 3px 0; }
.pos-sym { font-size: 0.75rem; font-weight: 700; width: 36px; }
.pos-side { font-size: 0.6rem; padding: 1px 5px; border-radius: 3px; font-weight: 700; }
.pos-side.long { background: rgba(74,222,128,0.1); color: var(--pos); }
.pos-side.short { background: rgba(248,113,113,0.1); color: var(--neg); }
.pos-pnl { font-size: 0.7rem; font-weight: 600; margin-left: auto; }
.pos-pnl.pos { color: var(--pos); }
.pos-pnl.neg { color: var(--neg); }
.pip-value { font-family: var(--font-head); font-size: 1rem; font-weight: 800; color: var(--pos); }
.pip-sub { font-size: 0.65rem; color: var(--text-muted); margin-top: 2px; }

/* === FEATURES === */
.features { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime); font-weight: 600; }
.section-title { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-top: 12px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.feature-card { background: var(--surface); padding: 32px 28px; }
.feature-icon { margin-bottom: 20px; }
.feature-title { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* === PHILOSOPHY === */
.philosophy { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 24px; }
.philosophy-inner { max-width: 720px; margin: 0 auto; }
.philosophy-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime); font-weight: 600; margin-bottom: 20px; }
.philosophy-title { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 28px; }
.philosophy-body { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.philosophy-rule { margin-top: 48px; display: flex; flex-direction: column; gap: 28px; }
.rule-item { display: flex; gap: 24px; align-items: flex-start; }
.rule-number { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--border); line-height: 1; flex-shrink: 0; width: 40px; }
.rule-item strong { color: var(--text); }
.rule-item > div { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* === PRICING === */
.pricing { padding: 80px 24px; max-width: 1200px; margin: 0 auto; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px 28px;
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: rgba(168,255,62,0.3);
  background: linear-gradient(180deg, rgba(168,255,62,0.04) 0%, var(--surface) 40%);
}
.price-tier { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.tier-badge { font-size: 0.6rem; font-weight: 600; background: rgba(168,255,62,0.12); color: var(--lime); padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.price-amount { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--lime); line-height: 1; margin-bottom: 8px; }
.price-amount span { font-size: 1.2rem; font-weight: 400; color: var(--text-muted); }
.price-tagline { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.price-features li { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--text-muted); }
.price-features li svg { flex-shrink: 0; }
.pricing-note { text-align: center; font-size: 0.8rem; color: var(--text-muted); }

/* === CLOSING === */
.closing {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.closing-inner { max-width: 600px; margin: 0 auto; }
.closing-headline { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 20px; }
.closing-body { font-size: 1rem; color: var(--text-muted); line-height: 1.7; }

/* === FOOTER === */
.footer { padding: 48px 24px 32px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 48px; margin-bottom: 48px; }
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1rem; margin-bottom: 12px; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 48px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 600; margin-bottom: 4px; }
.footer-col a { font-size: 0.85rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--text); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 24px; }
.footer-bottom p { font-size: 0.75rem; color: var(--text-dim); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-body { height: auto; }
  .dash-chart { min-height: 240px; }
}
@media (max-width: 600px) {
  .hero { padding: 72px 20px 60px; }
  .hero-metrics-strip { padding: 16px 24px; flex-direction: column; gap: 16px; }
  .metric-sep { width: 40px; height: 1px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-links { flex-wrap: wrap; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .nav-links { display: none; }
  .dash-widgets { flex-direction: column; }
}