/* ═══════════════════════════════════════════════════════════════════
   WhaleSync Sales Page
   Token system matched to the live app (styles.css):
   --bg-base, --accent-cyan, --accent-purple, --positive, --negative,
   glass panels at 28px radius, Inter font, gradient wordmark.
   ═══════════════════════════════════════════════════════════════════ */

:root {
  --bg-base: #030305;
  --bg-raised: #0a0a0f;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-strong: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --accent-cyan: #00f0ff;
  --accent-purple: #8a2be2;
  --text-main: #ffffff;
  --text-muted: #888899;
  --text-dim: #55556a;
  --positive: #00ff9d;
  --negative: #ff3366;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-main);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: rgba(0, 240, 255, 0.25); }

/* Subtle film-grain texture so the void background doesn't feel flat */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ─── NAV ─────────────────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(3, 3, 5, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text-main); }

.nav-cta {
  background: var(--text-main);
  color: #000;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.15);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  gap: 4px;
}

.nav-mobile a {
  padding: 14px 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--glass-border);
}

.nav-cta-mobile {
  margin-top: 12px;
  background: var(--text-main);
  color: #000 !important;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
}

.nav-mobile.open { display: flex; }

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 140px 32px 80px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  background: var(--glass-bg);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--positive);
  box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.6);
  animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.6); }
  70%  { box-shadow: 0 0 0 6px rgba(0, 255, 157, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 255, 157, 0); }
}

.hero-title {
  font-size: clamp(40px, 5.5vw, 68px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-title-accent {
  background: linear-gradient(100deg, var(--accent-cyan), var(--accent-purple) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text-main);
  color: #000;
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 16px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--glass-bg-strong);
}

.btn-full { width: 100%; }
.btn-large { padding: 20px 40px; font-size: 18px; }

.hero-microcopy {
  font-size: 13px;
  color: var(--text-dim);
}

/* ─── HERO VISUAL: live smart-money flow feed ────────────────────── */
.hero-visual {
  position: relative;
  height: 520px;
  border-radius: 28px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.flow-feed {
  position: relative;
  z-index: 2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  overflow: hidden;
}

.flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  font-family: var(--mono);
  font-size: 13px;
  animation: flow-in 0.5s ease both;
  opacity: 0;
}

@keyframes flow-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.flow-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.flow-dot.bullish { background: var(--positive); }
.flow-dot.bearish { background: var(--negative); }

.flow-symbol { font-weight: 600; color: var(--text-main); }
.flow-chain { color: var(--text-dim); font-size: 11px; }

.flow-value.bullish { color: var(--positive); }
.flow-value.bearish { color: var(--negative); }

/* ─── TRUST STRIP ─────────────────────────────────────────────────── */
.trust-strip {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px 80px;
  text-align: center;
}

.trust-label {
  font-size: 12px;
  font-family: var(--mono);
  color: var(--text-dim);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.trust-chains {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dim);
}

/* ─── SECTIONS (shared) ───────────────────────────────────────────── */
.section {
  position: relative;
  z-index: 2;
  padding: 100px 32px;
  border-top: 1px solid var(--glass-border);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-inner-narrow {
  max-width: 760px;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.section-eyebrow-accent { color: var(--accent-cyan); }

.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 720px;
}

.section-lead {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 56px;
}

/* ─── HOW IT WORKS ────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.step-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px 28px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.step-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-4px);
}

.step-mark {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.step-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── PRO SECTION ─────────────────────────────────────────────────── */
.section-pro {
  background: radial-gradient(ellipse 800px 500px at 30% 0%, rgba(138, 43, 226, 0.08), transparent),
              radial-gradient(ellipse 800px 500px at 70% 100%, rgba(0, 240, 255, 0.06), transparent);
}

.pro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.pro-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  transition: border-color 0.3s ease;
}

.pro-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
}

.pro-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(138, 43, 226, 0.12));
  border: 1px solid var(--glass-border);
  font-size: 18px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.pro-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.pro-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── PRICING ─────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.price-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 36px 32px;
}

.price-card-featured {
  background: linear-gradient(160deg, rgba(0, 240, 255, 0.06), rgba(138, 43, 226, 0.06));
  border-color: rgba(0, 240, 255, 0.25);
}

.price-card-badge {
  position: absolute;
  top: -12px;
  right: 28px;
  background: linear-gradient(100deg, var(--accent-cyan), var(--accent-purple));
  color: #000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
}

.price-card-head h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.price-card-featured .price-card-head h3 { color: var(--text-main); }

.price-tag { margin-bottom: 28px; }

.price-amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
}

.price-period {
  font-size: 15px;
  color: var(--text-muted);
  margin-left: 4px;
}

.price-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.price-features li {
  font-size: 14.5px;
  color: var(--text-muted);
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--positive);
  font-weight: 700;
}

.price-card-featured .price-features li { color: var(--text-main); }

.price-microcopy {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-dim);
  text-align: center;
}

/* ─── AFFILIATE ───────────────────────────────────────────────────── */
.section-affiliate {
  background: radial-gradient(ellipse 900px 500px at 50% 100%, rgba(0, 255, 157, 0.05), transparent);
}

.affiliate-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 64px;
}

.affiliate-step {
  flex: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 28px 24px;
}

.affiliate-step-num {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 16px;
}

.affiliate-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.affiliate-step p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.affiliate-arrow {
  color: var(--text-dim);
  font-size: 20px;
  flex-shrink: 0;
}

.affiliate-cta-row {
  display: flex;
  gap: 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.affiliate-stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.affiliate-stat-num {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(100deg, var(--positive), var(--accent-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.affiliate-stat-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── FAQ ─────────────────────────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}

.faq-item {
  border-bottom: 1px solid var(--glass-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--sans);
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
}

.faq-toggle {
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-dim);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  padding-bottom: 22px;
  max-width: 640px;
}

/* ─── FINAL CTA ───────────────────────────────────────────────────── */
.final-cta {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 140px 32px;
  border-top: 1px solid var(--glass-border);
  background: radial-gradient(ellipse 900px 500px at 50% 100%, rgba(138, 43, 226, 0.1), transparent);
}

.final-cta h2 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.final-cta p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ─── FOOTER ──────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--glass-border);
  padding: 56px 32px 40px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--text-main); }

.footer-fine {
  font-size: 12px;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 120px 24px 60px;
    gap: 48px;
  }

  .hero-visual { height: 420px; order: -1; }

  .steps-grid,
  .pro-grid,
  .pricing-grid { grid-template-columns: 1fr; }

  .affiliate-flow { flex-direction: column; }
  .affiliate-arrow { transform: rotate(90deg); }

  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 72px 20px; }
  .nav-inner { padding: 16px 20px; }
  .trust-chains { gap: 20px; font-size: 13px; }
  .affiliate-cta-row { gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}