﻿/* ══════════════════════════════════════════════
   VORTEX LANDING PAGE — Complete styles
══════════════════════════════════════════════ */

/* ── NAVBAR ─────────────────────────────────── */
#navbar {
  position: fixed; top:0; left:0; right:0;
  z-index: 100; height: 64px;
  background: transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
#navbar.scrolled {
  background: rgba(12,12,18,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 48px; height: 100%;
  display: flex; align-items: center; gap: 40px;
}
.nav-logo {
  font-family: var(--font-serif); font-size: 1.2rem;
  color: rgba(255,255,255,.85); margin-right: auto;
  letter-spacing: -0.01em;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: .84rem; font-weight: 500;
  color: rgba(255,255,255,.55); text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover { color: rgba(255,255,255,.9); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.nav-hamburger {
  display: none; background: transparent; border: none;
  color: var(--text-secondary); cursor: pointer; padding: 4px;
}

/* Mobile nav */
.mobile-nav-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: var(--surface);
  display: flex; flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform .25s var(--ease);
}
.mobile-nav-overlay:not(.hidden) { transform: translateX(0); }
.mobile-nav-overlay.hidden { pointer-events: none; }
.mobile-nav-close {
  align-self: flex-end; background: transparent; border: none;
  color: var(--text-secondary); cursor: pointer; margin-bottom: 24px;
}
.mobile-nav-overlay a {
  font-family: var(--font-serif); font-size: 1.4rem;
  color: var(--text-primary); text-decoration: none;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}

/* ── AUTH BACKDROP ── */
#auth-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 299;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
#auth-backdrop.open { opacity: 1; pointer-events: all; }

/* ── AUTH DRAWER ── */
#auth-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 420px; max-width: 100vw;
  background: #fff;
  border-left: 1px solid #e8e5df;
  box-shadow: -12px 0 48px rgba(0,0,0,0.2);
  z-index: 300;
  display: flex; flex-direction: column;
  padding: 0;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  overflow-y: auto;
}
#auth-drawer.open { transform: translateX(0); }

.drawer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 28px 0; flex-shrink: 0;
}
.drawer-logo { font-family: var(--font-serif); font-size: 1.15rem; color: #0c0c0e; }
.drawer-top button {
  background: none; border: none; cursor: pointer;
  color: #9292a0; padding: 4px; border-radius: 6px;
}
.drawer-top button:hover { color: #0c0c0e; background: #f4f2ee; }

.drawer-tabs {
  display: flex; margin: 20px 28px 0;
  background: #f4f2ee; border-radius: 8px; padding: 4px; gap: 3px;
}
.dtab {
  flex: 1; padding: 8px; border: none; border-radius: 6px;
  font-family: var(--font-sans); font-size: 0.84rem; font-weight: 600;
  cursor: pointer; color: #9292a0; background: transparent; transition: all 0.15s;
}
.dtab.active { background: #fff; color: #0c0c0e; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

.drawer-form { padding: 22px 28px 32px; display: flex; flex-direction: column; }
.drawer-title { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; color: #0c0c0e; margin-bottom: 5px; }
.drawer-sub { font-size: 0.82rem; color: #9292a0; margin-bottom: 22px; }

.btn-google {
  width: 100%; padding: 11px; border: 1.5px solid #d4d0c8;
  border-radius: 8px; background: #fff; color: #1c1c24;
  font-family: var(--font-sans); font-size: 0.84rem; font-weight: 500;
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 16px; transition: border-color 0.15s, box-shadow 0.15s;
}
.btn-google:hover { border-color: #0c0c0e; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }

.or-divider {
  display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
}
.or-divider::before, .or-divider::after { content:''; flex:1; height:1px; background:#e8e5df; }
.or-divider span { font-size: 0.72rem; color: #9292a0; }

.drawer-form .field { margin-bottom: 14px; }
.drawer-form .field label { display:block; font-size:0.67rem; font-weight:700; color:#9292a0; text-transform:uppercase; letter-spacing:0.08em; margin-bottom:6px; }
.drawer-form .field input { width:100%; background:#f8f7f4; border:1.5px solid #e8e5df; border-radius:8px; color:#0c0c0e; padding:11px 14px; font-family:var(--font-sans); font-size:0.875rem; outline:none; transition:border-color 0.15s; box-sizing:border-box; }
.drawer-form .field input:focus { border-color:#4f46e5; background:#fff; }
.drawer-form .field input::placeholder { color:#c0c0cc; }

.forgot-link { font-size:0.72rem; color:#9292a0; cursor:pointer; text-decoration:underline; margin-bottom:16px; display:block; text-align:right; }
.form-error { background:#fef2f2; border:1px solid #fecaca; border-radius:8px; padding:10px 13px; font-size:0.8rem; color:#dc2626; margin-bottom:14px; }
.drawer-switch { text-align:center; margin-top:16px; font-size:0.8rem; color:#9292a0; }
.drawer-switch a { color:#0c0c0e; font-weight:600; cursor:pointer; text-decoration:underline; }
.drawer-terms { font-size:0.7rem; color:#c0c0cc; text-align:center; margin-top:12px; line-height:1.6; }
.drawer-terms a { color:#9292a0; }
.btn-full { width:100%; justify-content:center; margin-top:4px; }

.drawer-success {
  flex: 1; align-items:center; justify-content:center;
  text-align:center; gap:14px;
}
.success-spin {
  width:24px; height:24px; border-radius:50%;
  border:2px solid #e8e5df; border-top-color:#4f46e5;
  animation: spin 0.8s linear infinite; margin:8px auto;
}
@keyframes spin { to { transform:rotate(360deg); } }

/* ── HERO ─────────────────────────────────── */
/* ── HERO — Dark 2-column ────────────────── */
.s-hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 0 48px;
  background: #0C0C12;
  position: relative; overflow: hidden;
}

/* Subtle radial glow accents */
.hero-glow {
  position: absolute; pointer-events: none; border-radius: 50%;
  filter: blur(100px);
  animation: glowPulse 8s ease-in-out infinite;
}
.hero-glow-1 { width:600px; height:600px; top:-200px; left:-150px; background:rgba(99,102,241,.12); }
.hero-glow-2 { width:500px; height:500px; bottom:-180px; right:-120px; background:rgba(245,158,11,.08); animation-delay:-4s; }
@keyframes glowPulse {
  0%,100% { opacity:.6; }
  50% { opacity:1; }
}

.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px; opacity: 1;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 80%);
}

/* 2-column grid wrapper */
.hero-inner {
  display: grid; grid-template-columns: 1fr 1.1fr;
  gap: 48px; align-items: center;
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 100px 0; position: relative; z-index: 1;
}

/* Left column — text */
.hero-content { position: relative; z-index: 1; text-align: left; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1); border-radius: 999px;
  font-size: .72rem; font-weight: 600; color: rgba(255,255,255,.45);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 28px;
}
.hero-pill .icon-sm { color: rgba(255,255,255,.35); }

.hero-h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 400; letter-spacing: -.03em; line-height: 1.12;
  color: rgba(255,255,255,.92); margin-bottom: 22px;
}
.hero-h1 em { font-style: italic; color: rgba(255,255,255,.38); }

.hero-sub {
  font-size: .98rem; color: rgba(255,255,255,.42);
  line-height: 1.75; max-width: 460px; margin: 0 0 32px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.s-hero .btn-ghost {
  border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.55);
}
.s-hero .btn-ghost:hover {
  border-color: rgba(255,255,255,.3);
  color: rgba(255,255,255,.85);
}

.hero-proof {
  display: flex; align-items: center; gap: 10px;
  font-size: .8rem; color: rgba(255,255,255,.3);
}
.hero-proof strong { color: rgba(255,255,255,.55); }
.proof-avatars { display: flex; }
.pa {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid #0C0C12;
  background: #2a2a3a; color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: .55rem; font-weight: 700; margin-left: -8px;
}
.pa:first-child { margin-left: 0; }
.pa-2 { background: #3d3730; }
.pa-3 { background: #605a52; }
.pa-4 { background: #4a4560; }
.pa-5 { background: var(--indigo); color: #fff; }

/* ── HERO BROWSER MOCKUP (dark) ──────────── */
.hero-mockup {
  position: relative; width: 100%; z-index: 1;
}
.hero-float-badge {
  position: absolute;
  background: #1a1a28; border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm); padding: 8px 13px;
  font-size: .78rem; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  display: flex; align-items: center; gap: 7px;
  z-index: 10; white-space: nowrap;
  animation: floatBadge 4s ease-in-out infinite;
}
.hfb-warn { top: -14px; right: -10px; color: #FCA5A5; animation-delay: 0s; }
.hfb-ok   { bottom: 60px; left: -10px; color: #6EE7B7; animation-delay: -2s; }
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.browser-frame {
  background: #111119; border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.6);
  animation: mockupFloat 6s ease-in-out infinite;
}
@keyframes mockupFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.browser-chrome {
  background: #0e0e18; border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 10px 14px; display: flex; align-items: center; gap: 8px;
}
.bc-dot { width:10px; height:10px; border-radius:50%; display:inline-block; }
.bc-url {
  flex:1; max-width: 240px; margin: 0 auto;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06);
  border-radius: 6px; padding: 4px 12px;
  font-size: .7rem; color: rgba(255,255,255,.25);
  text-align: center; font-family: var(--font-mono);
}
.browser-body { display: grid; grid-template-columns: 160px 1fr; min-height: 320px; }

/* Mock sidebar — dark */
.mock-sidebar {
  background: #0e0e18; border-right: 1px solid rgba(255,255,255,.06);
  padding: 14px 10px; display: flex; flex-direction: column; gap: 2px;
}
.mock-logo {
  font-family: var(--font-serif); font-size: .9rem;
  color: rgba(255,255,255,.7); padding: 0 7px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: 6px;
}
.mock-section-label {
  font-size: .58rem; font-weight: 700; color: rgba(255,255,255,.18);
  text-transform: uppercase; letter-spacing: .1em;
  padding: 6px 7px 3px;
}
.mock-nav-item {
  display: flex; align-items: center; gap: 7px;
  padding: 6px 8px; border-radius: 7px;
  font-size: .72rem; color: rgba(255,255,255,.28);
  cursor: default;
}
.mock-nav-item.on {
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); font-weight: 600;
  position: relative;
}
.mock-nav-item.on::before {
  content: ''; position: absolute; left: -10px; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 14px; background: var(--indigo);
  border-radius: 0 2px 2px 0;
}
.mock-mirror-item {
  background: rgba(245,158,11,.08) !important;
  border: 1px solid rgba(245,158,11,.15);
  color: #FCD34D !important;
  margin-top: 4px;
}
.mock-ai-pill {
  margin-left: auto; background: rgba(245,158,11,.1); color: #FCD34D;
  border: 1px solid rgba(245,158,11,.2);
  font-size: .58rem; font-weight: 700;
  padding: 1px 5px; border-radius: 999px;
}

/* Mock dashboard — dark */
.mock-dash { padding: 14px; background: #0f0f1a; display: flex; flex-direction: column; gap: 10px; }
.mock-topbar { display: flex; align-items: center; justify-content: space-between; }
.mock-page-title { font-family: var(--font-serif); font-size: .85rem; color: rgba(255,255,255,.85); }
.mock-page-sub { font-size: .62rem; color: rgba(255,255,255,.28); margin-top: 1px; }
.mock-cta-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 5px 11px; background: var(--indigo); color: #fff;
  border: none; border-radius: 6px; font-size: .68rem; font-weight: 600; cursor: default;
}
.mock-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 7px; }
.mock-kpi {
  background: #1a1a28; border: 1px solid rgba(255,255,255,.07);
  border-radius: 9px; padding: 10px 11px;
  position: relative; overflow: hidden;
}
.mock-kpi::after {
  content:''; position:absolute; bottom:0;left:0;right:0;height:2px;
  border-radius: 0 0 9px 9px;
}
.mock-kpi-profit::after { background: #059669; }
.mock-kpi-blue::after   { background: var(--indigo); }
.mock-kpi-gold::after   { background: #D97706; }
.mock-kpi-dna::after    { background: rgba(255,255,255,.5); }
.mock-kpi-label { font-size:.6rem; font-weight:700; color:rgba(255,255,255,.28); text-transform:uppercase; letter-spacing:.08em; margin-bottom:5px; display:flex; align-items:center; gap:3px; }
.mock-kpi-label .icon-sm { color: rgba(255,255,255,.2); }
.mock-kpi-val { font-family:var(--font-mono); font-size:1.05rem; font-weight:500; color:rgba(255,255,255,.88); line-height:1; }
.mock-kpi-sub { font-size:.6rem; color:rgba(255,255,255,.28); margin-top:3px; }

/* Mirror strip — always black */
.mock-mirror-strip {
  background: #000 !important; border: 1px solid rgba(255,255,255,.07);
  border-radius: 9px; padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.mms-text { font-family:var(--font-serif); font-size:.72rem; color:rgba(255,255,255,.75); line-height:1.5; flex:1; }
.mms-text strong { color:#fff; }
.mms-good { color:#6EE7B7; }
.mms-bad  { color:#FCA5A5; }
.mms-dim  { color:rgba(255,255,255,.35); font-size:.62rem; }
.mms-nums { display:flex; gap:10px; flex-shrink:0; }
.mmsn-val { font-family:var(--font-mono); font-size:.82rem; font-weight:500; }
.mmsn-lbl { font-size:.55rem; color:rgba(255,255,255,.3); text-transform:uppercase; letter-spacing:.06em; margin-top:2px; }

/* Chart row + canvas fix */
.mock-chart-row { display:grid; grid-template-columns:1fr 130px; gap:8px; }
.mock-chart-card { background:#1a1a28; border:1px solid rgba(255,255,255,.07); border-radius:9px; padding:10px; }
.mock-card-label { font-size:.6rem; font-weight:700; color:rgba(255,255,255,.28); text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; }

/* ★ THE FIX: Chart.js canvas wrapper with fixed height prevents infinite growth */
.mock-chart-wrap { position: relative; height: 68px; }

.mock-setup-rows { display:flex; flex-direction:column; gap:6px; }
.msr { display:flex; align-items:center; gap:5px; }
.msr span:first-child { font-size:.62rem; color:rgba(255,255,255,.35); flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.msr-track { width:40px; height:4px; background:rgba(255,255,255,.08); border-radius:2px; flex-shrink:0; }

/* ── DARK PROBLEM SECTION ─────────────────── */
.s-dark { background: #111119; padding: 100px 48px; }
.container { max-width: 1200px; margin: 0 auto; }
.dark-eyebrow {
  font-size:.67rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.12em; color:rgba(255,255,255,.3); margin-bottom:32px;
  display:flex; align-items:center; gap:10px;
}
.dark-eyebrow::before { content:''; width:20px; height:1px; background:rgba(255,255,255,.2); }
.dark-layout { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.dark-title {
  font-family:var(--font-serif);
  font-size:clamp(1.8rem,3vw,2.6rem); font-weight:400;
  color:rgba(255,255,255,.88); line-height:1.2;
  letter-spacing:-.025em; margin-bottom:16px;
}
.dark-title em { font-style:italic; color:rgba(255,255,255,.35); }
.dark-sub { font-size:.9rem; color:rgba(255,255,255,.4); line-height:1.75; margin-bottom:28px; }
.dark-stat-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:1px; background:rgba(255,255,255,.06);
  border-radius:12px; overflow:hidden;
}
.dark-stat { background:rgba(255,255,255,.03); padding:22px; }
.ds-val { font-family:var(--font-serif); font-size:2rem; font-weight:400; line-height:1; margin-bottom:6px; }
.ds-lbl { font-size:.72rem; color:rgba(255,255,255,.28); line-height:1.6; }
.dark-right { display:flex; flex-direction:column; gap:12px; }
.dark-card {
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07);
  border-radius:12px; padding:18px 20px;
  display:flex; gap:16px; align-items:flex-start;
  transition:background .2s;
}
.dark-card:hover { background:rgba(255,255,255,.07); }
.dc-highlight { border-color:rgba(255,255,255,.15); }
.dc-num { font-family:var(--font-serif); font-size:1.2rem; color:rgba(255,255,255,.12); flex-shrink:0; min-width:24px; line-height:1; margin-top:2px; }
.dc-title { font-size:.88rem; font-weight:600; color:rgba(255,255,255,.75); margin-bottom:4px; }
.dc-body { font-size:.78rem; color:rgba(255,255,255,.32); line-height:1.65; }

/* ── MIRROR MOMENT SECTION ───────────────── */
.s-mirror { background: var(--ink); padding: 100px 48px; }
.mirror-eyebrow {
  font-size:.67rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.12em; color:rgba(255,255,255,.3); margin-bottom:20px;
  display:flex; align-items:center; gap:10px;
}
.mirror-eyebrow::before { content:''; width:20px; height:1px; background:rgba(255,255,255,.2); }
.mirror-title {
  font-family:var(--font-serif);
  font-size:clamp(2rem,4vw,3rem); font-weight:400;
  color:rgba(255,255,255,.88); line-height:1.2;
  letter-spacing:-.025em; margin-bottom:16px; max-width:700px;
}
.mirror-title em { font-style:italic; color:rgba(255,255,255,.4); }
.mirror-sub { font-size:.95rem; color:rgba(255,255,255,.4); line-height:1.75; max-width:580px; margin-bottom:48px; }

/* THE mirror card */
.mirror-card {
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r-lg); padding:40px 48px; margin-bottom:24px;
  position:relative; overflow:hidden;
}
.mirror-card::before {
  content:''; position:absolute; top:-60px; right:-60px;
  width:280px; height:280px; border-radius:50%;
  background:rgba(255,255,255,.02); pointer-events:none;
}
.mc-eyebrow {
  font-size:.62rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.12em; color:rgba(255,255,255,.25);
  margin-bottom:20px; display:flex; align-items:center; gap:8px;
}
.mc-eyebrow span { display:block; width:20px; height:1px; background:rgba(255,255,255,.2); }
.mc-headline {
  font-family:var(--font-serif);
  font-size:clamp(1.4rem,2.5vw,2rem); font-weight:400;
  color:rgba(255,255,255,.85); line-height:1.55; margin-bottom:28px;
}
.mc-good { color:#6EE7B7; }
.mc-bad  { color:#FCA5A5; }
.mc-plain { color:rgba(255,255,255,.4); font-size:85%; display:block; margin-top:10px; }
.mc-stats { display:flex; gap:14px; flex-wrap:wrap; position:relative; z-index:1; }
.mc-stat {
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r-sm); padding:13px 18px;
}
.mcs-val { font-family:var(--font-mono); font-size:1.2rem; font-weight:500; color:#fff; }
.mcs-val.mc-good { color:#6EE7B7; }
.mcs-val.mc-bad  { color:#FCA5A5; }
.mcs-lbl { font-size:.68rem; color:rgba(255,255,255,.3); margin-top:3px; text-transform:uppercase; letter-spacing:.06em; }

/* Pattern cards */
.mirror-patterns { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:20px; }
.mp-card {
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07);
  border-radius:var(--r); padding:22px;
  transition:background .2s;
}
.mp-card:hover { background:rgba(255,255,255,.07); }
.mp-num { font-size:.62rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.25); margin-bottom:8px; }
.mp-title { font-family:var(--font-serif); font-size:1rem; font-weight:400; color:rgba(255,255,255,.8); margin-bottom:8px; line-height:1.4; }
.mp-body { font-size:.8rem; color:rgba(255,255,255,.35); line-height:1.7; margin-bottom:14px; }
.mp-rule {
  background:rgba(255,255,255,.05); border-radius:var(--r-sm);
  padding:11px 13px; font-size:.78rem; color:rgba(255,255,255,.5); line-height:1.6;
}
.mp-rule strong { color:rgba(255,255,255,.8); }

/* DNA statement */
.mirror-dna {
  background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r); padding:28px 32px; margin-bottom:40px;
}
.dna-label { font-size:.67rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.3); margin-bottom:12px; }
.dna-text { font-family:var(--font-serif); font-size:1rem; font-weight:400; color:rgba(255,255,255,.6); line-height:1.8; }
.dna-text strong { color:rgba(255,255,255,.85); }

/* ── FEATURES ────────────────────────────── */
.s-features { background:var(--surface-2); padding:100px 48px; }
.s-eyebrow {
  font-size:.67rem; font-weight:700; text-transform:uppercase;
  letter-spacing:.12em; color:var(--text-tertiary); margin-bottom:14px;
  display:flex; align-items:center; gap:10px;
}
.s-eyebrow::before { content:''; width:20px; height:1px; background:var(--border-strong); }
.s-title {
  font-family:var(--font-serif);
  font-size:clamp(1.8rem,3vw,2.6rem); font-weight:400;
  letter-spacing:-.025em; line-height:1.2;
  color:var(--text-primary); margin-bottom:12px;
}
.s-title em { font-style:italic; color:var(--text-secondary); }
.s-sub { font-size:.92rem; color:var(--text-secondary); line-height:1.75; margin-bottom:48px; max-width:480px; }
.feat-grid {
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:2px; background:var(--border); border-radius:var(--r-lg); overflow:hidden;
}
.feat-card { background:var(--surface); padding:28px 24px; transition:background .15s; }
.feat-card:hover { background:var(--surface-2); }
.feat-card:hover .fc-icon-wrap { background:var(--indigo-light); border-color:var(--indigo-ring); color:var(--indigo); }
.fc-icon-wrap {
  width:40px; height:40px; border-radius:var(--r-sm);
  background:var(--surface-2); border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:16px; color:var(--text-secondary);
  transition:all .15s;
}
.fc-title { font-family:var(--font-serif); font-size:1rem; font-weight:400; color:var(--text-primary); margin-bottom:7px; }
.fc-body { font-size:.8rem; color:var(--text-secondary); line-height:1.65; }
.fc-pill {
  display:inline-block; margin-top:12px; padding:3px 9px;
  border-radius:999px; font-size:.67rem; font-weight:700; letter-spacing:.03em;
}
.fp-free   { background:var(--profit-bg);   color:var(--profit);   border:1px solid var(--profit-border); }
.fp-trader { background:var(--surface-2);   color:var(--text-secondary); border:1px solid var(--border); }
.fp-pro    { background:var(--indigo-light); color:var(--indigo);   border:1px solid var(--indigo-ring); }
.fp-elite  { background:rgba(168,85,247,.12); color:#a855f7; border:1px solid rgba(168,85,247,.25); }
.fp-ai     { background:var(--caution-bg);  color:var(--caution);  border:1px solid var(--caution-border); }

/* ── CALENDAR ────────────────────────────── */
.s-calendar { background:var(--surface); padding:100px 48px; }
.cal-layout { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.cal-text {}
.cal-features { display:flex; flex-direction:column; gap:10px; margin-top:24px; }
.cf-item { display:flex; align-items:center; gap:8px; font-size:.84rem; color:var(--text-secondary); }
.cf-item .icon-sm { color:var(--profit); }
.cal-visual {}
.cal-widget {
  background:var(--surface-2); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:20px; box-shadow:var(--shadow-md);
}
.cal-widget-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; gap:12px; }
.cal-widget-title { font-family:var(--font-serif); font-size:1rem; color:var(--text-primary); flex:1; }
.cal-view-toggle { display:flex; background:var(--surface); border-radius:8px; padding:3px; gap:2px; border:1px solid var(--border); }
.cvt-btn { padding:5px 12px; font-size:.75rem; font-weight:600; border:none; border-radius:6px; cursor:pointer; color:var(--text-tertiary); background:transparent; font-family:var(--font-sans); transition:all .12s; }
.cvt-btn.active { background:var(--surface-2); color:var(--text-primary); box-shadow:var(--shadow-xs); }
.cal-day-labels { display:grid; grid-template-columns:repeat(7,1fr); gap:3px; margin-bottom:4px; }
.cal-day-labels>div { font-size:.62rem; font-weight:700; color:var(--text-tertiary); text-transform:uppercase; letter-spacing:.07em; text-align:center; padding:3px 0; }
.cal-cells { display:grid; grid-template-columns:repeat(7,1fr); gap:4px; }
.cal-cell { border-radius:9px; padding:8px 7px; min-height:58px; cursor:pointer; transition:transform .12s; display:flex; flex-direction:column; gap:2px; position:relative; }
.cal-cell:hover { transform:scale(1.04); }
.cal-empty { background:transparent; cursor:default; min-height:58px; }
.cal-empty:hover { transform:none; }
.cal-none   { background:var(--surface-2); border:1px solid var(--border); }
.cal-green  { background:#D1FAE5; border:1px solid #A7F3D0; }
.cal-yellow { background:#FEF3C7; border:1px solid #FDE68A; }
.cal-red    { background:#FEE2E2; border:1px solid #FECACA; }
.cal-today  { outline:2px solid var(--indigo); outline-offset:1px; }
[data-theme="dark"] .cal-green  { background:rgba(16,185,129,.15); border-color:rgba(16,185,129,.25); }
[data-theme="dark"] .cal-yellow { background:rgba(245,158,11,.15); border-color:rgba(245,158,11,.25); }
[data-theme="dark"] .cal-red    { background:rgba(239,68,68,.15);  border-color:rgba(239,68,68,.25); }
[data-theme="dark"] .cal-none   { background:var(--surface-2); border-color:var(--border); }
.cc-num { font-size:.75rem; font-weight:700; line-height:1; }
.cal-none .cc-num   { color:var(--text-ghost); }
.cal-green .cc-num  { color:#065F46; }
.cal-yellow .cc-num { color:#92400E; }
.cal-red .cc-num    { color:#991B1B; }
[data-theme="dark"] .cal-green .cc-num  { color:#6EE7B7; }
[data-theme="dark"] .cal-yellow .cc-num { color:#FCD34D; }
[data-theme="dark"] .cal-red .cc-num    { color:#FCA5A5; }
.cc-lbl { font-size:.6rem; font-weight:600; line-height:1.2; }
.cal-green .cc-lbl  { color:#065F46; }
.cal-yellow .cc-lbl { color:#92400E; }
.cal-red .cc-lbl    { color:#991B1B; }
[data-theme="dark"] .cal-green .cc-lbl  { color:#6EE7B7; }
[data-theme="dark"] .cal-yellow .cc-lbl { color:#FCD34D; }
[data-theme="dark"] .cal-red .cc-lbl    { color:#FCA5A5; }
.cc-badge {
  position:absolute; top:6px; right:6px;
  background:rgba(0,0,0,.12); border-radius:999px;
  width:16px; height:16px;
  display:flex; align-items:center; justify-content:center;
  font-size:.58rem; font-weight:700;
}
.cal-green .cc-badge  { color:#065F46; }
.cal-yellow .cc-badge { color:#92400E; }
.cal-red .cc-badge    { color:#991B1B; }
.cal-legend { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:14px; }
.cl-item { display:flex; align-items:center; gap:6px; font-size:.76rem; color:var(--text-secondary); }

/* ── TESTIMONIALS ────────────────────────── */
.s-testimonials { background:var(--surface-2); padding:100px 48px; }
.testi-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:48px; }
.testi-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r); padding:26px;
  box-shadow:var(--shadow-sm); transition:box-shadow .2s,transform .2s;
}
.testi-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-3px); }
.testi-stars { color:var(--caution); font-size:.85rem; margin-bottom:14px; letter-spacing:2px; }
.testi-quote { font-family:var(--font-serif); font-size:.95rem; line-height:1.65; color:var(--text-primary); margin-bottom:20px; }
.testi-author { display:flex; align-items:center; gap:10px; }
.testi-av { width:36px; height:36px; border-radius:50%; background:var(--ink); color:var(--surface); display:flex; align-items:center; justify-content:center; font-size:.7rem; font-weight:700; flex-shrink:0; }
.testi-name { font-size:.82rem; font-weight:600; color:var(--text-primary); }
.testi-role { font-size:.72rem; color:var(--text-tertiary); }
.testi-result { margin-top:14px; padding-top:14px; border-top:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; }
.tr-label { font-size:.66rem; color:var(--text-tertiary); text-transform:uppercase; letter-spacing:.08em; }
.tr-val { font-family:var(--font-serif); font-size:.95rem; color:var(--profit); }

/* ── PRICING ─────────────────────────────── */
.s-pricing { background:var(--surface); padding:100px 48px; }
.billing-toggle { display:flex; align-items:center; gap:12px; justify-content:center; margin-bottom:40px; }
.bt-label { font-size:.84rem; color:var(--text-tertiary); transition:color .15s; }
.bt-label.active, .bt-label.bt-active { color:var(--text-primary); font-weight:600; }
.tag-save { background:var(--profit-bg); color:var(--profit); border:1px solid var(--profit-border); padding:2px 8px; border-radius:999px; font-size:.65rem; font-weight:700; }
.bt-switch { position:relative; width:40px; height:22px; cursor:pointer; }
.bt-switch input { opacity:0; width:0; height:0; }
.bt-track { position:absolute; inset:0; background:var(--border-strong); border-radius:999px; transition:background .2s; }
.bt-switch input:checked+.bt-track { background:var(--indigo); }
.bt-thumb { position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:var(--shadow-xs); transition:transform .2s; }
.bt-switch input:checked~.bt-track .bt-thumb { transform:translateX(18px); }

.pricing-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.price-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--r); padding:28px; position:relative;
  box-shadow:var(--shadow-sm); transition:all .2s;
}
.price-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-2px); }
.price-featured { background:var(--ink); border-color:var(--ink); box-shadow:var(--shadow-xl); }
.price-featured:hover { box-shadow:var(--shadow-xl); transform:translateY(-3px); }
.pc-badge {
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--indigo); color:#fff;
  font-size:.65rem; font-weight:700; padding:3px 14px;
  border-radius:999px; white-space:nowrap; letter-spacing:.04em;
}
.pc-plan { font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; margin-bottom:10px; }
.price-card:not(.price-featured) .pc-plan { color:var(--text-tertiary); }
.price-featured .pc-plan { color:rgba(255,255,255,.4); }
.pc-amount { font-family:var(--font-serif); font-size:2.4rem; font-weight:400; margin-bottom:4px; line-height:1; }
.pc-amount span { font-size:1rem; font-weight:300; }
.price-card:not(.price-featured) .pc-amount { color:var(--text-primary); }
.price-featured .pc-amount { color:#fff; }
.pc-period { font-size:.75rem; margin-bottom:22px; }
.price-card:not(.price-featured) .pc-period { color:var(--text-tertiary); }
.price-featured .pc-period { color:rgba(255,255,255,.35); }
.pc-features { list-style:none; margin-bottom:24px; padding:0; }
.pcf-yes,.pcf-no { display:flex; align-items:flex-start; gap:8px; padding:7px 0; border-bottom:1px solid; font-size:.8rem; }
.price-card:not(.price-featured) .pcf-yes { border-color:var(--border); color:var(--text-secondary); }
.price-card:not(.price-featured) .pcf-no  { border-color:var(--border); color:var(--text-ghost); }
.price-featured .pcf-yes { border-color:rgba(255,255,255,.08); color:rgba(255,255,255,.7); }
.price-featured .pcf-no  { border-color:rgba(255,255,255,.08); color:rgba(255,255,255,.2); }
.pc-features li:last-child { border-bottom:none; }
.pcf-yes .icon-sm { color:var(--profit); flex-shrink:0; margin-top:2px; }
.price-featured .pcf-yes .icon-sm { color:#6EE7B7; }
.pcf-no .icon-sm { color:var(--text-ghost); flex-shrink:0; margin-top:2px; }
.pcf-highlight { font-weight:600; }
.price-card:not(.price-featured) .pcf-highlight { color:var(--text-primary); }
.price-featured .pcf-highlight { color:rgba(255,255,255,.9); }

/* White button for dark sections */
.btn-white { background:#fff; color:var(--ink); box-shadow:0 2px 12px rgba(0,0,0,.2); }
.btn-white:hover { background:var(--off); transform:translateY(-1px); box-shadow:0 4px 20px rgba(0,0,0,.25); }

/* Lime CTA button — high contrast */
.btn-lime { background:#C8F135; color:#0F0F14; font-weight:700; box-shadow:0 2px 16px rgba(200,241,53,.35); }
.btn-lime:hover { background:#d4f55c; transform:translateY(-2px); box-shadow:0 4px 24px rgba(200,241,53,.45); }

/* ── FINAL CTA ───────────────────────────── */
.s-final-cta { background:var(--ink); padding:120px 48px; text-align:center; }
.final-cta-title {
  font-family:var(--font-serif);
  font-size:clamp(2.2rem,5vw,4rem); font-weight:400;
  color:rgba(255,255,255,.88); line-height:1.2;
  letter-spacing:-.03em; margin-bottom:14px;
}
.final-cta-title em { font-style:italic; color:rgba(255,255,255,.4); }
.final-cta-sub { font-size:1rem; color:rgba(255,255,255,.4); margin-bottom:40px; }
.final-cta-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.btn-ghost-white { background:transparent; border:1.5px solid rgba(255,255,255,.2); color:rgba(255,255,255,.7); }
.btn-ghost-white:hover { border-color:rgba(255,255,255,.5); color:#fff; }
.final-cta-note { font-size:.75rem; color:rgba(255,255,255,.25); margin-top:20px; }

/* ── FOOTER ──────────────────────────────── */
.site-footer { background:#111119; padding:56px 48px 0; }
.footer-inner { max-width:1200px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:48px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.06); }
.footer-logo { font-family:var(--font-serif); font-size:1.1rem; color:rgba(255,255,255,.7); margin-bottom:8px; }
.footer-tagline { font-size:.78rem; color:rgba(255,255,255,.28); line-height:1.7; }
.footer-links-group { display:flex; flex-direction:column; gap:10px; }
.flg-title { font-size:.67rem; font-weight:700; text-transform:uppercase; letter-spacing:.1em; color:rgba(255,255,255,.25); margin-bottom:4px; }
.footer-links-group a { font-size:.82rem; color:rgba(255,255,255,.35); text-decoration:none; transition:color .15s; }
.footer-links-group a:hover { color:rgba(255,255,255,.7); }
.footer-bottom { max-width:1200px; margin:0 auto; padding:20px 0; display:flex; justify-content:space-between; align-items:center; font-size:.75rem; color:rgba(255,255,255,.2); }

/* ── REVEAL ──────────────────────────────── */
.reveal { opacity:0; transform:translateY(24px); transition:opacity .55s var(--ease),transform .55s var(--ease); }

/* ── NAV AVATAR ──────────────────────────── */
#nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0C0C0E;
  border: 2px solid rgba(255,255,255,0.15);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, transform 0.15s;
  letter-spacing: 0.04em;
}
#nav-avatar:hover {
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.05);
}

/* Light mode avatar (when past hero) */
#navbar.scrolled #nav-avatar {
  background: #0C0C0E;
  border-color: rgba(0,0,0,0.15);
}

/* ── NAV USER DROPDOWN MENU ──────────────── */
.nav-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 240px;
  background: #ffffff;
  border: 1px solid #E8E5DF;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
  z-index: 500;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px) scale(0.97);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.nav-user-menu.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.nav-user-menu.hidden { display: none; }

/* Header section */
.num-header {
  padding: 14px 16px 12px;
  background: #F7F6F3;
  border-bottom: 1px solid #E8E5DF;
}
.num-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0C0C0E;
  margin-bottom: 2px;
}
.num-email {
  font-size: 0.72rem;
  color: #9292A0;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.num-plan-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #F4F3F0;
  color: #52525E;
  border: 1px solid #E8E5DF;
}
.num-plan-badge.pro   { background: #EEF2FF; color: #4F46E5; border-color: #C7D2FE; }
.num-plan-badge.elite { background: #0C0C0E; color: #fff; border-color: #0C0C0E; }

/* Menu items */
.num-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #52525E;
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.12s, color 0.12s;
}
.num-item:hover { background: #F7F6F3; color: #0C0C0E; }
.num-item svg   { flex-shrink: 0; color: #9292A0; }
.num-item:hover svg { color: #0C0C0E; }

/* Primary item — Dashboard */
.num-item-primary {
  color: #0C0C0E;
  font-weight: 700;
  background: #F7F6F3;
}
.num-item-primary:hover { background: #EEECEA; }
.num-item-primary svg   { color: #4F46E5; }

/* Danger item — Sign Out */
.num-item-danger       { color: #DC2626; }
.num-item-danger:hover { background: #FEF2F2; }
.num-item-danger svg   { color: #DC2626; }

/* AI badge on Mirror Moment */
.num-ai-badge {
  margin-left: auto;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  background: #FFFBEB;
  color: #D97706;
  border: 1px solid #FDE68A;
}

/* Upgrade CTA */
.num-upgrade {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.12s;
  background: #FFFBEB;
}
.num-upgrade:hover { background: #FEF3C7; }
.num-upgrade svg { color: #D97706; flex-shrink: 0; }
.num-upgrade-title { font-size: 0.78rem; font-weight: 700; color: #92400E; }
.num-upgrade-sub   { font-size: 0.68rem; color: #B45309; margin-top: 1px; }

/* Hide upgrade row if plan is elite */
.num-upgrade.hidden { display: none; }

/* Divider */
.num-divider { height: 1px; background: #E8E5DF; margin: 4px 0; }
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-d1 { transition-delay:.1s; }
.reveal-d2 { transition-delay:.2s; }
.reveal-d3 { transition-delay:.3s; }
.reveal-d4 { transition-delay:.4s; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width:1024px) {
  .pricing-grid { grid-template-columns:1fr 1fr; }
  .dark-layout,.cal-layout { grid-template-columns:1fr; gap:40px; }
  .mirror-patterns { grid-template-columns:1fr; }
  .testi-grid { grid-template-columns:1fr 1fr; }
  .footer-inner { grid-template-columns:1fr 1fr; }
  nav .nav-links { display:none; }
  .nav-hamburger { display:flex; }
  .s-hero { padding:80px 24px; }
  .s-dark,.s-mirror,.s-features,.s-calendar,.s-testimonials,.s-pricing,.s-final-cta { padding:64px 24px; }
  .hero-inner { grid-template-columns:1fr; gap:40px; padding:100px 0 60px; }
  .hero-content { text-align:center; }
  .hero-actions { justify-content:center; }
  .hero-proof { justify-content:center; }
  .hero-mockup { max-width:600px; margin:0 auto; }
}
@media (max-width:768px) {
  .hero-h1 { font-size:2.6rem; }
  .feat-grid { grid-template-columns:1fr; }
  .browser-body { grid-template-columns:1fr; }
  .mock-sidebar { display:none; }
  .mock-kpis { grid-template-columns:1fr 1fr; }
  .hero-float-badge { display:none; }
  .hero-sub { margin:0 auto 32px; }
  .pricing-grid { grid-template-columns:1fr; }
  .testi-grid { grid-template-columns:1fr; }
  .footer-inner { grid-template-columns:1fr; gap:24px; }
  .mirror-card { padding:24px 20px; }
  .auth-drawer { width:100%; }
  .cc-lbl { display:none; }
  .cal-cell { min-height:44px; }
}
@media (max-width:480px) {
  .hero-h1 { font-size:2rem; }
  .hero-actions { flex-direction:column; }
  .mc-stats { flex-direction:column; }
  .mock-chart-row { grid-template-columns:1fr; }
}

/* ── FIX: force dark bg on always-dark sections ──── */
.s-mirror { background: #0C0C0E !important; }
.s-final-cta { background: #0C0C0E !important; }

.price-card.price-featured {
  background: #0C0C0E !important;
  border-color: #0C0C0E !important;
}
.price-card.price-featured .pc-plan,
.price-card.price-featured .pc-amount,
.price-card.price-featured .pc-period,
.price-card.price-featured .pcf-yes,
.price-card.price-featured .pc-badge { color: rgba(255,255,255,0.85) !important; }
.price-card.price-featured .pcf-yes .icon-sm { color: #6EE7B7 !important; }
.price-card.price-featured .btn-white {
  background: #ffffff !important;
  color: #0C0C0E !important;
}

.mirror-card,
.mirror-title,
.mirror-sub,
.mirror-eyebrow { color: rgba(255,255,255,0.85) !important; }
.mc-headline { color: rgba(255,255,255,0.85) !important; }
.mc-plain    { color: rgba(255,255,255,0.40) !important; }
.mc-good     { color: #6EE7B7 !important; }
.mc-bad      { color: #FCA5A5 !important; }
.mcs-lbl     { color: rgba(255,255,255,0.35) !important; }

.final-cta-title { color: rgba(255,255,255,0.90) !important; }
.final-cta-sub   { color: rgba(255,255,255,0.40) !important; }
.final-cta-note  { color: rgba(255,255,255,0.25) !important; }
.s-final-cta .s-eyebrow { color: rgba(255,255,255,0.30) !important; }

.btn-ghost-white {
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,0.20) !important;
  color: rgba(255,255,255,0.60) !important;
}
.btn-ghost-white:hover {
  border-color: rgba(255,255,255,0.50) !important;
  color: #fff !important;
}

/* ══════════════════════════════════════════════
   FEATURE SHOWCASE SECTION + MODAL
══════════════════════════════════════════════ */
.s-showcase {
  background: #0C0C0E; padding: 100px 48px 60px;
}

/* ── OVERLAY + MODAL ── */
.sc-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.sc-overlay.open { opacity: 1; pointer-events: all; }

.sc-modal {
  width: 1100px; max-width: 94vw;
  max-height: 88vh;
  background: #0C0C0E;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  transform: scale(0.92) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
}
.sc-overlay.open .sc-modal {
  transform: scale(1) translateY(0);
}

.sc-modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 10;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,0.5);
  transition: background 0.15s, color 0.15s;
}
.sc-modal-close:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* ── PILLS (mobile only) ── */
.sc-pills {
  display: none;
  overflow-x: auto; gap: 6px; padding: 14px 16px 0;
  -webkit-overflow-scrolling: touch;
}
.sc-pill {
  flex-shrink: 0; padding: 7px 14px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.08);
  background: transparent; color: rgba(255,255,255,0.45);
  font-size: 0.72rem; font-weight: 600; cursor: pointer;
  transition: all 0.15s; white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.sc-pill.active {
  background: rgba(124,111,224,0.15); border-color: rgba(124,111,224,0.4);
  color: #C8F135;
}

/* ── BODY (tabs + preview) ── */
.sc-body {
  display: grid; grid-template-columns: 260px 1fr;
  flex: 1; overflow: hidden;
}

/* ── LEFT TABS ── */
.sc-tabs {
  display: flex; flex-direction: column; gap: 2px;
  padding: 20px 0 20px 12px;
  overflow-y: auto;
}
.sc-tab {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: 10px;
  cursor: pointer; border-left: 3px solid transparent;
  transition: all 0.15s;
}
.sc-tab:hover { background: rgba(255,255,255,0.03); }
.sc-tab.active {
  border-left-color: #7C6FE0;
  background: rgba(124,111,224,0.06);
}
.sc-tab-icon {
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.4);
  transition: background 0.15s, color 0.15s;
}
.sc-tab.active .sc-tab-icon { background: rgba(124,111,224,0.15); color: #7C6FE0; }
.sc-tab-icon svg { width: 16px; height: 16px; stroke-width: 2; }
.sc-tab-text { min-width: 0; }
.sc-tab-name {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.35);
  transition: color 0.15s;
}
.sc-tab.active .sc-tab-name { color: rgba(255,255,255,0.95); }
.sc-tab-desc {
  font-size: 0.65rem; color: rgba(255,255,255,0.2);
  margin-top: 2px; line-height: 1.35;
}

/* ── RIGHT PREVIEW ── */
.sc-preview {
  padding: 20px 20px 20px 12px;
  overflow-y: auto;
}
.sc-panel {
  background: #13131F;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 28px;
  min-height: 360px;
  opacity: 0; transform: translateY(8px);
  animation: scFadeIn 0.25s ease forwards;
}
@keyframes scFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ── MOCKUP SHARED STYLES ── */
.sc-mock-title {
  font-family: 'Bricolage Grotesque', serif;
  font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.85);
  margin-bottom: 16px;
}
.sc-mock-sub {
  font-size: 0.68rem; color: rgba(255,255,255,0.35); margin-bottom: 14px;
}

/* Journal table */
.sc-jtable { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.sc-jtable th {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  color: rgba(255,255,255,0.25); text-align: left; padding: 6px 10px;
  letter-spacing: 0.5px;
}
.sc-jtable td {
  padding: 10px; background: rgba(255,255,255,0.03); font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
}
.sc-jtable tr td:first-child { border-radius: 8px 0 0 8px; }
.sc-jtable tr td:last-child  { border-radius: 0 8px 8px 0; }
.sc-dir {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.5px;
}
.sc-dir-long  { background: rgba(200,241,53,0.15); color: #C8F135; }
.sc-dir-short { background: rgba(232,121,168,0.15); color: #E879A8; }
.sc-pnl { font-family: 'DM Mono', monospace; font-weight: 600; }
.sc-pos { color: #C8F135; }
.sc-neg { color: #E879A8; }
.sc-emo-bar {
  height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06);
  position: relative; overflow: hidden; width: 60px; display: inline-block;
  vertical-align: middle;
}
.sc-emo-fill { height: 100%; border-radius: 3px; }

/* Calendar grid */
.sc-cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 3px; }
.sc-cal-hdr {
  text-align: center; font-size: 0.55rem; font-weight: 700;
  color: rgba(255,255,255,0.2); text-transform: uppercase; padding: 4px 0;
}
.sc-cal-cell {
  border-radius: 6px; padding: 5px 4px;
  display: flex; flex-direction: column; gap: 1px;
  min-height: 36px; font-size: 0.6rem; position: relative;
}
.sc-cal-empty { background: transparent; }
.sc-cal-none { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); }
.sc-cal-g { background: rgba(200,241,53,0.08); border: 1px solid rgba(200,241,53,0.18); }
.sc-cal-y { background: rgba(180,160,244,0.08); border: 1px solid rgba(180,160,244,0.18); }
.sc-cal-r { background: rgba(232,121,168,0.08); border: 1px solid rgba(232,121,168,0.18); }
.sc-cal-num { font-weight: 700; color: rgba(255,255,255,0.5); font-size: 0.62rem; }
.sc-cal-g .sc-cal-num { color: #C8F135; }
.sc-cal-r .sc-cal-num { color: #E879A8; }
.sc-cal-y .sc-cal-num { color: #B4A0F4; }
.sc-cal-lbl { font-size: 0.48rem; color: rgba(255,255,255,0.3); }
.sc-cal-badge {
  position: absolute; top: 3px; right: 3px; background: rgba(0,0,0,0.2);
  border-radius: 50%; width: 14px; height: 14px; font-size: 0.48rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: rgba(255,255,255,0.5);
}

/* Mirror mockup */
.sc-mirror-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 20px;
}
.sc-mirror-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0;
}
.sc-mirror-stat {
  padding: 14px; border-radius: 10px; text-align: center;
}
.sc-mirror-stat-am { background: rgba(200,241,53,0.06); border: 1px solid rgba(200,241,53,0.12); }
.sc-mirror-stat-pm { background: rgba(232,121,168,0.06); border: 1px solid rgba(232,121,168,0.12); }
.sc-mirror-val { font-family: 'DM Mono', monospace; font-size: 1.3rem; font-weight: 700; }
.sc-mirror-lbl { font-size: 0.6rem; color: rgba(255,255,255,0.35); margin-top: 4px; }
.sc-pattern-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 14px; margin-top: 12px;
}
.sc-pat-title { font-family: 'Bricolage Grotesque', serif; font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.sc-pat-body { font-size: 0.68rem; color: rgba(255,255,255,0.4); margin-top: 6px; line-height: 1.45; }
.sc-pat-rule { margin-top: 8px; padding: 8px 10px; border-radius: 6px; background: rgba(232,121,168,0.08); border: 1px solid rgba(232,121,168,0.15); font-size: 0.68rem; color: #E879A8; }

/* Clearance gauge */
.sc-gauge-wrap { text-align: center; margin-bottom: 20px; }
.sc-gauge-svg { width: 140px; height: 80px; }
.sc-gauge-score {
  font-family: 'DM Mono', monospace; font-size: 2rem; font-weight: 700;
  color: #C8F135; text-align: center; margin-top: -6px;
}
.sc-gauge-label { font-size: 0.65rem; color: rgba(255,255,255,0.35); text-align: center; }
.sc-factor-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  margin-bottom: 6px; font-size: 0.75rem; color: rgba(255,255,255,0.7);
}
.sc-factor-check {
  width: 22px; height: 22px; border-radius: 6px; display: flex;
  align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700;
  background: rgba(200,241,53,0.12); color: #C8F135; flex-shrink: 0;
}
.sc-factor-name { font-weight: 600; }
.sc-factor-val { margin-left: auto; color: rgba(255,255,255,0.45); font-family: 'DM Mono', monospace; }

/* DNA card */
.sc-dna-card {
  background: rgba(124,111,224,0.06); border: 1px solid rgba(124,111,224,0.15);
  border-radius: 12px; padding: 24px; text-align: center;
}
.sc-dna-edge {
  font-family: 'Bricolage Grotesque', serif; font-size: 1.1rem; font-weight: 700;
  color: rgba(255,255,255,0.9); margin-bottom: 6px;
}
.sc-dna-detail { font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.55; }
.sc-dna-stat {
  display: inline-block; margin-top: 14px; padding: 8px 18px;
  background: rgba(200,241,53,0.1); border: 1px solid rgba(200,241,53,0.2);
  border-radius: 8px; font-family: 'DM Mono', monospace;
  font-size: 1.2rem; font-weight: 700; color: #C8F135;
}

/* COT table */
.sc-cot-table { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.sc-cot-table th {
  font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  color: rgba(255,255,255,0.25); text-align: left; padding: 6px 8px;
}
.sc-cot-table td {
  padding: 8px; background: rgba(255,255,255,0.03); font-size: 0.72rem;
  color: rgba(255,255,255,0.7);
}
.sc-cot-table tr td:first-child { border-radius: 8px 0 0 8px; }
.sc-cot-table tr td:last-child  { border-radius: 0 8px 8px 0; }
.sc-cot-bar { height: 6px; border-radius: 3px; display: inline-block; vertical-align: middle; }
.sc-cot-pill {
  display: inline-block; padding: 2px 8px; border-radius: 4px;
  font-size: 0.6rem; font-weight: 700;
}
.sc-cot-bull { background: rgba(200,241,53,0.12); color: #C8F135; }
.sc-cot-bear { background: rgba(232,121,168,0.12); color: #E879A8; }
.sc-cot-neut { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.4); }

/* Stats mini charts */
.sc-stats-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.sc-stat-card {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; padding: 14px;
}
.sc-stat-title { font-size: 0.65rem; font-weight: 700; color: rgba(255,255,255,0.4); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.sc-bar-wrap { display: flex; align-items: flex-end; gap: 4px; height: 80px; }
.sc-bar {
  flex: 1; border-radius: 4px 4px 0 0; transition: height 0.3s;
  position: relative;
}
.sc-bar-label {
  position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  font-size: 0.5rem; color: rgba(255,255,255,0.25); white-space: nowrap;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .s-showcase { padding: 60px 20px 40px; }
  .sc-modal { max-width: 100vw; max-height: 100vh; border-radius: 0; }
  .sc-body { grid-template-columns: 1fr; }
  .sc-tabs { display: none; }
  .sc-pills { display: flex; }
  .sc-preview { padding: 12px; }
  .sc-panel { padding: 18px; min-height: 280px; }
  .sc-stats-grid { grid-template-columns: 1fr; }
  .sc-mirror-stats { grid-template-columns: 1fr; }
}
