/* ═══════════════════════════════════════════════════════
   GammaAlgo — Public Site CSS  (dashboard-matched theme)
   ═══════════════════════════════════════════════════════ */
@import url('https://api.fontshare.com/v2/css?f[]=clash-display@400,500,600,700&f[]=satoshi@400,500,600,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&display=swap');

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

:root {
  --bg:        #080612;
  --bg2:       #0F0C1F;
  --bg3:       #13102B;
  --bg4:       #0D0A20;
  --border:    rgba(91,46,255,0.18);
  --border2:   rgba(91,46,255,0.35);
  --text:      #F0ECFF;
  --muted:     #7B7599;
  --faint:     #3E3A5C;
  --green:     #00E5A0;
  --red:       #FF4D6A;
  --amber:     #FFD23F;
  --purple:    #5B2EFF;
  --violet:    #7B52FF;
  --pink:      #FF3EAD;
  --gold:      #FFD23F;
  --radius:    12px;
  --shadow:    0 4px 32px rgba(0,0,0,0.6);
  --font-head: 'Clash Display', 'SF Pro Display', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Inter', system-ui, sans-serif;
  --font-mono: 'DM Mono', 'SF Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 15px;
  min-height: 100vh;
}

/* noise texture overlay */
body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--text); }
img { max-width: 100%; }

h1,h2,h3,h4,h5 { font-family: var(--font-head); }

/* ── NAV ────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,6,18,0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 60px;
  display: flex; align-items: center; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 18px; font-weight: 700; color: var(--text);
  letter-spacing: -0.3px; flex-shrink: 0;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; color: var(--text); }
.nav-logo .spark { font-size: 22px; }
.nav-links {
  display: flex; align-items: center; gap: 4px; flex: 1;
}
.nav-links a {
  padding: 6px 14px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .15s, background .15s; text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text); background: rgba(91,46,255,0.12);
  text-decoration: none;
}
.nav-cta {
  margin-left: auto;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  padding: 8px 20px; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  transition: opacity .15s; text-decoration: none;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: .85; text-decoration: none; color: #fff; }
.nav-hamburger { display: none; cursor: pointer; color: var(--muted); font-size: 22px; margin-left: auto; }

/* ── PAGE HEADER ────────────────────────────────────── */
.page-hero {
  padding: 120px 24px 60px; text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(91,46,255,0.12) 0%, transparent 70%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(28px, 5vw, 46px); font-weight: 700; letter-spacing: -.5px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--text) 40%, var(--violet) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p { font-size: 16px; color: var(--muted); max-width: 540px; margin: 0 auto; }

/* ── HERO (home uses inline styles, this is fallback) ─ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  position: relative; overflow: hidden;
}
.hero-inner { position: relative; z-index: 1; max-width: 800px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(91,46,255,0.1); border: 1px solid rgba(91,46,255,0.3);
  border-radius: 20px; padding: 5px 14px; margin-bottom: 28px;
  font-size: 12px; font-weight: 600; color: var(--violet); letter-spacing: .5px;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 58px); font-weight: 700;
  line-height: 1.1; letter-spacing: -1px;
  background: linear-gradient(135deg, var(--text) 30%, var(--violet) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 20px;
}
.hero p { font-size: clamp(15px, 2vw, 18px); color: var(--muted); max-width: 580px; margin: 0 auto 36px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff; padding: 14px 32px; border-radius: 10px;
  font-weight: 700; font-size: 15px;
  transition: opacity .15s, transform .1s; text-decoration: none;
}
.btn-primary:hover { opacity: .9; transform: translateY(-1px); text-decoration: none; color: #fff; }
.btn-secondary {
  background: var(--bg3); color: var(--text);
  padding: 14px 32px; border-radius: 10px;
  font-weight: 600; font-size: 15px; border: 1px solid var(--border2);
  transition: background .15s; text-decoration: none;
}
.btn-secondary:hover { background: rgba(91,46,255,0.15); text-decoration: none; color: var(--text); }

/* ── TICKER BAR ─────────────────────────────────────── */
.ticker-bar {
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 12px 24px; overflow: hidden;
  display: flex; gap: 48px; white-space: nowrap;
}
.ticker-item { display: flex; align-items: center; gap: 10px; }
.ticker-sym { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .5px; font-family: var(--font-mono); }
.ticker-val { font-size: 14px; font-weight: 700; font-family: var(--font-mono); }
.up { color: var(--green); }
.dn { color: var(--red); }

/* ── SECTIONS ───────────────────────────────────────── */
section { padding: 80px 24px; position: relative; }
.section-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--violet); text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(24px, 4vw, 38px); font-weight: 700;
  letter-spacing: -.5px; margin-bottom: 14px; font-family: var(--font-head);
}
.section-sub {
  color: var(--muted); font-size: 16px; max-width: 560px;
  margin-bottom: 48px; line-height: 1.7;
}
.container { max-width: 1100px; margin: 0 auto; }
.center { text-align: center; }
.center .section-sub { margin: 0 auto 48px; }

/* ── FEATURE GRID ───────────────────────────────────── */
.feature-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.feature-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px;
  transition: border-color .2s, transform .2s;
  position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(91,46,255,0.07) 0%, transparent 70%);
}
.feature-card:hover { border-color: rgba(91,46,255,0.45); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 16px;
  background: rgba(91,46,255,0.12); border: 1px solid rgba(91,46,255,0.2);
}
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; font-family: var(--font-head); }
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.badge-free { display: inline-block; background: rgba(0,229,160,.1); color: var(--green); border: 1px solid rgba(0,229,160,.2); border-radius: 4px; font-size: 10px; font-weight: 700; padding: 2px 7px; margin-top: 10px; letter-spacing: .5px; }
.badge-pro { display: inline-block; background: rgba(91,46,255,.1); color: var(--violet); border: 1px solid rgba(91,46,255,.2); border-radius: 4px; font-size: 10px; font-weight: 700; padding: 2px 7px; margin-top: 10px; letter-spacing: .5px; }

/* ── SIGNALS PREVIEW ────────────────────────────────── */
.signals-row { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.signal-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 10px;
  padding: 16px; position: relative; overflow: hidden;
}
.signal-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
}
.signal-card.green::before { background: var(--green); }
.signal-card.red::before { background: var(--red); }
.signal-card.amber::before { background: var(--amber); }
.signal-card.blue::before { background: var(--violet); }
.signal-label { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--faint); text-transform: uppercase; font-family: var(--font-mono); }
.signal-value { font-size: 22px; font-weight: 800; margin: 4px 0 2px; font-family: var(--font-mono); }
.signal-sub { font-size: 11px; color: var(--muted); }

/* ── PRICING TABLE ──────────────────────────────────── */
.pricing-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); max-width: 860px; margin: 0 auto; }
.pricing-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; position: relative; overflow: hidden;
}
.pricing-card.featured {
  border-color: rgba(91,46,255,0.6);
  box-shadow: 0 0 0 1px rgba(91,46,255,0.3), 0 8px 40px rgba(91,46,255,0.15);
}
.pricing-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), var(--violet));
  color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: 1px;
  padding: 3px 12px; border-radius: 10px; font-family: var(--font-mono);
}
.plan-name { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; font-family: var(--font-mono); }
.plan-price { font-size: 38px; font-weight: 700; letter-spacing: -1px; margin-bottom: 4px; font-family: var(--font-head); }
.plan-price span { font-size: 16px; font-weight: 500; color: var(--muted); }
.plan-period { font-size: 12px; color: var(--faint); margin-bottom: 24px; }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li { padding: 7px 0; font-size: 13px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.plan-features li:last-child { border-bottom: none; }
.plan-features .ck { color: var(--green); font-size: 14px; }
.plan-features .no { color: var(--faint); font-size: 14px; }
.plan-btn {
  display: block; text-align: center;
  padding: 12px; border-radius: 9px; font-weight: 700; font-size: 14px;
  transition: opacity .15s; text-decoration: none;
}
.plan-btn-primary { background: linear-gradient(135deg, var(--purple), var(--violet)); color: #fff; }
.plan-btn-secondary { background: var(--bg3); color: var(--text); border: 1px solid var(--border2); }
.plan-btn:hover { opacity: .85; text-decoration: none; }

/* ── STATS ROW ──────────────────────────────────────── */
.stats-row { display: flex; gap: 48px; flex-wrap: wrap; justify-content: center; margin-bottom: 64px; }
.stat { text-align: center; }
.stat-num {
  font-size: 40px; font-weight: 700; letter-spacing: -1px; font-family: var(--font-head);
  background: linear-gradient(135deg, var(--text) 50%, var(--violet) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: 12px; color: var(--muted); letter-spacing: .5px; }

/* ── STEPS ──────────────────────────────────────────── */
.steps-row { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.step { text-align: center; padding: 32px 24px; background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; }
.step-num {
  width: 44px; height: 44px;
  background: rgba(91,46,255,.12); border: 1px solid rgba(91,46,255,.3);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; color: var(--violet); margin: 0 auto 16px;
}
.step h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); }

/* ── LEARN PAGE ─────────────────────────────────────── */
.learn-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.learn-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; cursor: pointer;
  transition: border-color .2s, transform .15s;
  text-decoration: none; color: var(--text); display: block;
}
.learn-card:hover { border-color: rgba(91,46,255,.45); transform: translateY(-2px); text-decoration: none; color: var(--text); }
.learn-tag { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--violet); text-transform: uppercase; margin-bottom: 10px; font-family: var(--font-mono); }
.learn-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; font-family: var(--font-head); }
.learn-card p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.learn-time { font-size: 11px; color: var(--faint); margin-top: 14px; font-family: var(--font-mono); }

.article-body { max-width: 740px; margin: 0 auto; }
.article-body h2 { font-size: 24px; font-weight: 700; margin: 36px 0 12px; font-family: var(--font-head); }
.article-body h3 { font-size: 18px; font-weight: 700; margin: 28px 0 10px; color: var(--violet); }
.article-body p { color: var(--muted); margin-bottom: 16px; line-height: 1.75; }
.article-body ul { color: var(--muted); padding-left: 20px; margin-bottom: 16px; }
.article-body li { margin-bottom: 8px; line-height: 1.7; }
.callout {
  background: rgba(91,46,255,.06); border-left: 3px solid var(--violet);
  padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0;
}
.callout p { color: var(--text); margin-bottom: 0; }
.warn-callout { background: rgba(255,210,63,.06); border-left: 3px solid var(--amber); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 24px 0; }
.warn-callout p { color: var(--text); margin-bottom: 0; font-size: 13px; }

/* ── MENTORSHIP ─────────────────────────────────────── */
.mentor-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.mentor-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 28px; }
.mentor-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; font-family: var(--font-head); }
.mentor-card p { font-size: 13px; color: var(--muted); }
.mentor-card .price { font-size: 26px; font-weight: 700; margin: 16px 0 4px; font-family: var(--font-head); }
.mentor-card .price span { font-size: 14px; color: var(--muted); font-weight: 400; }
.mentor-includes { list-style: none; margin: 14px 0 20px; }
.mentor-includes li { font-size: 13px; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--border); display: flex; gap: 10px; align-items: center; }
.mentor-includes li:last-child { border-bottom: none; }

/* ── CONTACT ────────────────────────────────────────── */
.contact-grid { display: grid; gap: 40px; grid-template-columns: 1fr 1fr; max-width: 860px; margin: 0 auto; }
.contact-info p { color: var(--muted); font-size: 14px; margin-bottom: 28px; line-height: 1.7; }
.contact-link { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; color: var(--text); text-decoration: none; margin-bottom: 12px; transition: border-color .15s; }
.contact-link:hover { border-color: rgba(91,46,255,.45); text-decoration: none; color: var(--text); }
.contact-link .icon { font-size: 20px; width: 36px; text-align: center; }
.contact-link strong { display: block; font-size: 14px; }
.contact-link span { font-size: 12px; color: var(--muted); }
.contact-form { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 32px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; font-family: var(--font-mono); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 14px;
  background: var(--bg); border: 1px solid var(--border2); border-radius: 8px;
  color: var(--text); font-size: 14px; outline: none;
  transition: border-color .2s;
  font-family: var(--font-body);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: rgba(91,46,255,.6); }
.form-group select option { background: var(--bg2); }
.submit-btn {
  width: 100%; padding: 13px;
  background: linear-gradient(135deg, var(--purple), var(--violet));
  border: none; border-radius: 9px; color: #fff;
  font-size: 15px; font-weight: 700; cursor: pointer;
  transition: opacity .15s; font-family: var(--font-head);
}
.submit-btn:hover { opacity: .9; }

/* ── DISCLAIMER BANNER ──────────────────────────────── */
.disclaimer {
  background: rgba(255,210,63,.04); border: 1px solid rgba(255,210,63,.15);
  border-radius: 10px; padding: 14px 20px; margin: 24px 0;
  font-size: 12px; color: var(--faint); line-height: 1.6;
}
.disclaimer strong { color: var(--amber); }

/* ── FOOTER ─────────────────────────────────────────── */
.site-footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 48px 24px 28px;
  position: relative; z-index: 1;
}
.footer-grid { display: grid; gap: 40px; grid-template-columns: 2fr 1fr 1fr 1fr; max-width: 1100px; margin: 0 auto 40px; }
.footer-brand p { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.6; max-width: 280px; }
.footer-col h4 { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: var(--faint); text-transform: uppercase; margin-bottom: 14px; font-family: var(--font-mono); }
.footer-col a { display: block; font-size: 13px; color: var(--muted); text-decoration: none; margin-bottom: 8px; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; font-size: 11px; color: var(--faint); max-width: 1100px; margin: 0 auto; line-height: 1.7; }
.footer-sebi { background: rgba(255,210,63,.04); border: 1px solid rgba(255,210,63,.1); border-radius: 8px; padding: 10px 16px; margin-top: 14px; font-size: 11px; color: var(--muted); }

/* ── PROSE / PRIVACY ────────────────────────────────── */
.prose { max-width: 740px; margin: 0 auto; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; color: var(--text); font-family: var(--font-head); }
.prose h3 { font-size: 17px; font-weight: 700; margin: 28px 0 10px; color: var(--violet); }
.prose p { color: var(--muted); font-size: 14px; line-height: 1.8; margin-bottom: 14px; }
.prose ul { color: var(--muted); padding-left: 20px; margin-bottom: 14px; font-size: 14px; }
.prose li { margin-bottom: 7px; line-height: 1.7; }
.prose a { color: var(--violet); }
.prose a:hover { color: var(--text); }

/* ── MOBILE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .nav-mobile-open .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--bg2); padding: 24px; gap: 4px;
    border-top: 1px solid var(--border); z-index: 99;
  }
  .nav-mobile-open .nav-cta { display: block; margin-top: 16px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-row { gap: 28px; }
  section { padding: 60px 20px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
  .pricing-grid { grid-template-columns: 1fr; }
}
