/* ============================================================
   VELTRIX DESIGN SYSTEM — v5.0 (PREMIUM DARK GOLD & CHARCOAL)
   Theme: Gold & Charcoal Dark Mode
   Target Aesthetic: MirrorTrade Premium Black & Gold
   ============================================================ */

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Color Palette — Minimalistic Premium Green */
  --gold-primary:  #00E676;   /* Pure electric neon green */
  --gold-bronze:   #00C853;   /* Emerald green secondary */
  --gold-brass:    rgba(0, 230, 118, 0.4); /* Subtle emerald border highlight */
  --gold-champagne:rgba(0, 230, 118, 0.08); /* Clean light green accent tint */
  --gold-glow:     rgba(0, 230, 118, 0.12);

  /* Deep Minimalist Neutrals */
  --gray-900: #0A0B0E;   /* Deepest clean dark canvas background */
  --gray-800: #121318;   /* Softer raised panel background */
  --gray-700: #1B1D24;   /* Active selection / field input background */
  --gray-600: #262933;   /* Translucent border lines */
  --gray-500: #333845;   /* Secondary border / dividers */
  --gray-400: #6B7280;   /* Muted text color */
  --gray-300: #9CA3AF;   /* Body copy text */
  --gray-200: #E5E7EB;   /* Primary hover states */
  --gray-100: #F9FAFB;   /* Bright white copy text */

  /* Semantic Status Colors (Highly visible on dark) */
  --success-50:  rgba(0, 230, 118, 0.05);
  --success-100: rgba(0, 230, 118, 0.1);
  --success-500: #00E676;
  --success-600: #00C853;
  --success-border: rgba(0, 230, 118, 0.2);

  /* Danger */
  --danger-50:  rgba(239, 68, 68, 0.05);
  --danger-100: rgba(239, 68, 68, 0.1);
  --danger-500: #EF4444;
  --danger-600: #DC2626;
  --danger-border: rgba(239, 68, 68, 0.2);

  /* Surfaces */
  --surface-base:    var(--gray-900);
  --surface-raised:  var(--gray-800);
  --surface-sunken:  #050608;
  --surface-overlay: rgba(10, 11, 14, 0.98);

  /* Borders */
  --border-subtle:  rgba(255, 255, 255, 0.04);
  --border-default: rgba(255, 255, 255, 0.07);
  --border-strong:  rgba(255, 255, 255, 0.15);
  --border-gold:    var(--gold-brass);

  /* Typography Colors */
  --text-primary:   var(--gray-100);
  --text-secondary: var(--gray-300);
  --text-tertiary:  var(--gray-400);
  --text-inverse:   #0A0B0E;
  --text-brand:     var(--gold-primary);

  /* Typography Families */
  --font-sans:    'Lato', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Font Sizes */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 0.9375rem;
  --text-md:   1.0625rem;
  --text-lg:   1.1875rem;
  --text-xl:   1.375rem;
  --text-2xl:  clamp(1.5rem, 2.5vw, 1.75rem);
  --text-3xl:  clamp(1.75rem, 3vw, 2.25rem);
  --text-4xl:  clamp(2.25rem, 4vw, 3rem);
  --text-5xl:  clamp(2.75rem, 5vw, 3.75rem);
  --text-hero: clamp(2.5rem, 6vw, 4.25rem);

  /* Spacing Grid */
  --sp-px:  1px;
  --sp-0-5: 0.125rem;
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-7:   1.75rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-14:  3.5rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;

  /* Radii */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   14px;
  --r-xl:   20px;
  --r-2xl:  28px;
  --r-full: 9999px;

  /* Shadows (Gold glow & soft dark overlay depth) */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.7);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.8);
  --shadow-brand: 0 4px 16px rgba(242, 201, 76, 0.25);
  --shadow-focus: 0 0 0 3px rgba(242, 201, 76, 0.4);

  /* Animation */
  --ease-out:   cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   120ms;
  --dur-base:   200ms;
  --dur-slow:   350ms;

  /* Layout */
  --container: 1200px;
  --nav-h:     72px;
  --section-gap: clamp(var(--sp-16), 8vw, var(--sp-24));
}

/* ─── RESET ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--surface-base);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Premium background grid pattern */
  background-image: radial-gradient(rgba(0, 230, 118, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul, ol { list-style: none; }

/* ─── UTILITIES ──────────────────────────────────────────────── */
.container {
  width: min(var(--container), 100% - var(--sp-8));
  margin-inline: auto;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface-base); }
::-webkit-scrollbar-thumb { background: var(--gray-600); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-brass); }

/* ─── FOCUS RING ─────────────────────────────────────────────── */
:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--r-md); }

/* ─── SAFE AREA (notched phones — iPhone X+) ─────────────────── */
body {
  padding-left:   env(safe-area-inset-left);
  padding-right:  env(safe-area-inset-right);
}
.site-header {
  padding-left:  env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
.mobile-nav {
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-nav-footer {
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}
.site-footer {
  padding-bottom: env(safe-area-inset-bottom);
}

/* ─── PREVENT FONT ZOOM ON INPUT FOCUS (iOS) ─────────────────── */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="tel"],
textarea,
select {
  font-size: max(16px, 1em); /* iOS won't zoom if font-size >= 16px */
}

/* ─── SMOOTH SCROLLING ON MOBILE ─────────────────────────────── */
.chat-msgs,
.admin-table-wrap,
.mobile-nav-body {
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* ─── PREVENT TEXT SELECTION ON UI ELEMENTS ──────────────────── */
.ticker-bar,
.nav-toggle,
.filter-tab,
.plan-card,
.crypto-card,
.dir-badge,
.dir-badge-buy,
.dir-badge-sell {
  user-select: none;
  -webkit-user-select: none;
}

/* ─── TAP HIGHLIGHT COLOR ────────────────────────────────────── */
a, button, [role="button"], [tabindex] {
  -webkit-tap-highlight-color: rgba(0, 230, 118, 0.08);
}

/* ─── TICKER TAPE ────────────────────────────────────────────── */
.ticker-bar {
  display: flex;
  align-items: center;
  height: 32px;
  background: #0a0b0d;
  border-bottom: 1px solid rgba(242,201,76,0.12);
  overflow: hidden;
  position: relative;
  z-index: 101;
}
.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: rgba(242,201,76,0.08);
  border-right: 1px solid rgba(242,201,76,0.15);
  height: 100%;
  white-space: nowrap;
}
.ticker-viewport {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.ticker-viewport::before,
.ticker-viewport::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 48px;
  z-index: 2;
  pointer-events: none;
}
.ticker-viewport::before { left: 0; background: linear-gradient(to right, #0a0b0d, transparent); }
.ticker-viewport::after  { right: 0; background: linear-gradient(to left, #0a0b0d, transparent); }
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  animation: ticker 38s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  font-family: var(--font-mono);
  font-size: 10px;
}
.ticker-sep {
  color: rgba(255,255,255,0.1);
  font-size: 10px;
  user-select: none;
}
.ticker-sym { color: rgba(255,255,255,0.85); font-weight: 700; letter-spacing: 0.04em; }
.ticker-pos { color: #28c76f; font-weight: 600; }
.ticker-neg { color: #ea5455; font-weight: 600; }
.ticker-time {
  flex-shrink: 0;
  padding: 0 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.06em;
  border-left: 1px solid rgba(255,255,255,0.06);
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── HEADER ─────────────────────────────────────────────────── */
.header-gold-bar {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold-bronze) 20%, var(--gold-primary) 50%, var(--gold-bronze) 80%, transparent 100%);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 11, 14, 0.82);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 1px 0 rgba(242,201,76,0.06), 0 4px 32px rgba(0,0,0,0.4);
}
.header-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-bronze));
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  color: var(--gray-900);
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-display);
  box-shadow: 0 0 0 1px rgba(242,201,76,0.3), var(--shadow-brand);
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; gap: 2px; }
.logo-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--text-primary);
}
.logo-sub {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-primary);
  opacity: 0.7;
}
.logo:hover .logo-mark { box-shadow: 0 0 0 1px rgba(242,201,76,0.5), 0 0 20px rgba(242,201,76,0.25); }
.logo:hover .logo-name { color: var(--gold-primary); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  padding: 7px 14px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: all var(--dur-base) var(--ease-in-out);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--gold-primary); background: rgba(242,201,76,0.06); border-color: rgba(242,201,76,0.2); }
.nav-divider { width: 1px; height: 20px; background: rgba(255,255,255,0.08); margin: 0 6px; }
.nav-cta {
  background: var(--gold-primary) !important;
  color: var(--gray-900) !important;
  border-color: var(--gold-primary) !important;
  padding: 7px 18px !important;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 12px rgba(242,201,76,0.3);
}
.nav-cta:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(242,201,76,0.4) !important; background: var(--gold-primary) !important; }
.nav-admin-link {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  color: var(--text-tertiary);
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--dur-base) var(--ease-in-out);
}
.nav-admin-link:hover { color: var(--text-secondary); border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
.header-right { display: flex; align-items: center; gap: var(--sp-3); }
.desk-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #28c76f;
  background: rgba(40,199,111,0.08);
  border: 1px solid rgba(40,199,111,0.2);
  padding: 5px 12px;
  border-radius: var(--r-full);
  white-space: nowrap;
}
.status-pulse {
  width: 7px; height: 7px;
  background: #28c76f;
  border-radius: 50%;
  animation: pulse 2.2s ease-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(40,199,111,0.6); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  width: 38px; height: 38px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color var(--dur-base) var(--ease-in-out);
}
.nav-toggle:hover { border-color: rgba(255,255,255,0.2); }
.nav-toggle span {
  display: block; width: 18px; height: 1.5px;
  background: var(--text-primary); border-radius: 2px;
  transition: all var(--dur-base) var(--ease-in-out);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE NAV ─────────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0 0 0 0;
  top: 0;
  background: rgba(10,11,14,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0;
  flex-direction: column;
  z-index: 200;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow) var(--ease-out);
}
.mobile-nav.open {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav-close {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  width: 38px; height: 38px;
  display: grid; place-items: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--dur-base) var(--ease-in-out);
}
.mobile-nav-close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.mobile-nav-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 24px;
  gap: 4px;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: all var(--dur-base) var(--ease-in-out);
}
.mobile-nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.06); }
.mobile-nav-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gold-primary);
  color: var(--gray-900) !important;
  font-weight: 800;
  font-size: 14px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  transition: filter var(--dur-base) var(--ease-in-out);
}
.mobile-nav-cta:hover { filter: brightness(1.1); }
.mobile-nav-admin-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--dur-base) var(--ease-in-out);
}
.mobile-nav-admin-link:hover { color: var(--text-secondary); border-color: rgba(255,255,255,0.1); }
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  color: var(--gray-400);
  transition: all var(--dur-base) var(--ease-in-out);
}
.footer-social-link:hover {
  color: var(--gold-primary);
  background: rgba(242,201,76,0.1);
  border-color: rgba(242,201,76,0.25);
  transform: translateY(-2px);
}

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  padding: var(--sp-20) 0 var(--sp-16);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -200px;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: var(--gold-champagne);
  border: 1px solid rgba(242, 201, 76, 0.3);
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-5);
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--text-primary);
  margin-bottom: var(--sp-5);
}
.hero-accent {
  background: linear-gradient(135deg, #ffffff 40%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-body {
  font-size: var(--text-md);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: var(--sp-8);
}
.hero-actions {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-10);
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--gray-800);
}
.trust-item { display: flex; flex-direction: column; gap: var(--sp-1); }
.trust-val {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--gold-primary);
}
.trust-label { font-size: var(--text-xs); color: var(--text-tertiary); font-weight: 600; }
.trust-divider { width: 1px; height: 36px; background: var(--gray-800); }

/* Live Preview panel */
.hero-visual { position: relative; }
.desk-preview {
  background: var(--surface-raised);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}
.desk-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}
.dp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--gray-700);
}
.dp-dots { display: flex; gap: 6px; }
.dp-dot { width: 10px; height: 10px; border-radius: 50%; }
.dp-dot:nth-child(1) { background: #ff5f57; }
.dp-dot:nth-child(2) { background: #ffbd2e; }
.dp-dot:nth-child(3) { background: #28ca41; }
.dp-label-text {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gray-400);
  letter-spacing: 0.05em;
}
.dp-live-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  background: var(--gold-champagne);
  border: 1px solid rgba(242, 201, 76, 0.25);
  padding: 2px 6px;
  border-radius: var(--r-full);
}
.preview-card {
  border-radius: var(--r-md);
  padding: var(--sp-5);
  background: var(--surface-sunken);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.preview-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-4);
}
.preview-ticker {
  font-family: var(--font-display);
  font-size: 2.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.preview-ticket {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gray-400);
}
.preview-dir {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-1);
}
.dir-badge-buy  { color: var(--success-500); background: var(--success-50); border: 1px solid var(--success-border); padding: var(--sp-1) var(--sp-3); border-radius: var(--r-sm); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.05em; }
.dir-badge-sell { color: var(--danger-500); background: var(--danger-50); border: 1px solid var(--danger-border); padding: var(--sp-1) var(--sp-3); border-radius: var(--r-sm); font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.05em; }
.preview-levels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.pl-item { display: flex; flex-direction: column; gap: 3px; }
.pl-label { font-size: 9px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-400); }
.pl-value { font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 600; color: rgba(255,255,255,0.9); }
.pl-value.sl   { color: var(--danger-500); }
.pl-value.tp   { color: var(--success-500); }
.preview-setup { font-size: var(--text-xs); color: var(--gray-300); line-height: 1.5; border-top: 1px solid var(--gray-700); padding-top: var(--sp-3); }

.price-range-bar {
  height: 4px;
  background: var(--gray-700);
  border-radius: var(--r-full);
  position: relative;
  margin-bottom: var(--sp-4);
}
.prb-sl  { position: absolute; height: 100%; background: var(--danger-500); }
.prb-rr  { position: absolute; height: 100%; background: var(--success-500); }
.prb-dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-primary); top: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 0 3px var(--gray-900); }

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--text-sm);
  font-weight: 700;
  border-radius: var(--r-sm);
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--gold-primary);
  color: var(--gray-900);
}
.btn-primary:hover { opacity: 0.9; }
.btn-ghost {
  background: transparent;
  color: var(--gold-primary);
  border-color: rgba(0, 230, 118, 0.3);
}
.btn-ghost:hover { background: rgba(0, 230, 118, 0.05); }
.btn-danger { background: var(--danger-500); color: #fff; }
.btn-danger:hover { opacity: 0.9; }
.btn-sm  { padding: var(--sp-2) var(--sp-4); font-size: var(--text-xs); }
.btn-lg  { padding: var(--sp-4) var(--sp-8); font-size: var(--text-md); }
.btn-full { width: 100%; }
.btn-icon { font-size: 1em; transition: transform var(--dur-base) var(--ease-out); }
.btn-primary:hover .btn-icon { transform: translateX(3px); }

/* ─── PILLARS STRIP ──────────────────────────────────────────── */
.pillars {
  padding: var(--sp-16) 0;
  background: var(--surface-raised);
  border-top: 1px solid var(--gray-700);
  border-bottom: 1px solid var(--gray-700);
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-1);
}
.pillar {
  padding: var(--sp-8) var(--sp-6);
  border-right: 1px solid var(--gray-700);
}
.pillar:last-child { border-right: none; }
.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-lg);
  background: var(--gold-champagne);
  border: 1px solid var(--gold-brass);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: var(--sp-5);
}
.pillar h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--sp-2); color: #fff; }
.pillar p  { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.65; }

/* ─── SECTION HEADER ─────────────────────────────────────────── */
.section-label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--sp-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #fff;
  margin-bottom: var(--sp-3);
}
.section-body { font-size: var(--text-base); color: var(--text-secondary); }

/* ─── PERFORMANCE STATS ──────────────────────────────────────── */
.stats-section {
  padding: var(--section-gap) 0;
}
.stats-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-10);
  gap: var(--sp-6);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
.stat-card {
  background: var(--surface-raised);
  border: 1px solid var(--gray-700);
  border-bottom: 3px solid var(--gray-700);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-out);
  overflow: hidden;
  position: relative;
}
.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(242, 201, 76, 0.03) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-out);
}
.stat-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gold-brass);
  border-bottom-color: var(--gold-primary);
}
.stat-card:hover::after { opacity: 1; }
.stat-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-4);
  position: relative;
  z-index: 1;
}
.stat-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--gold-champagne);
  border: 1px solid rgba(242, 201, 76, 0.3);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.stat-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--success-500);
  background: var(--success-50);
  border: 1px solid var(--success-border);
  padding: 2px 8px;
  border-radius: var(--r-full);
}
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: var(--sp-1);
  position: relative;
  z-index: 1;
}
.stat-label { font-size: var(--text-sm); font-weight: 700; color: #fff; margin-bottom: var(--sp-1); position: relative; z-index: 1; }
.stat-desc  { font-size: var(--text-xs); color: var(--text-tertiary); position: relative; z-index: 1; }

/* ─── SIGNAL SECTION ─────────────────────────────────────────── */
.signals-section {
  padding: var(--section-gap) 0;
  background: var(--surface-sunken);
}
.signals-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-8);
  gap: var(--sp-4);
}
.filter-tabs {
  display: flex;
  background: var(--surface-raised);
  border: 1px solid var(--gray-700);
  border-radius: var(--r-md);
  padding: 3px;
  gap: 3px;
}
.filter-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--sp-2) var(--sp-5);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-in-out);
}
.filter-tab:hover { color: var(--text-primary); }
.filter-tab.active {
  background: var(--gray-700);
  color: var(--gold-primary);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gold-brass);
}
.signals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: var(--sp-5);
}
.signals-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: var(--sp-20) 0;
  color: var(--text-tertiary);
  font-style: italic;
}

/* Signal Card */
.signal-card {
  background: var(--surface-raised);
  border: 1px solid var(--gray-700);
  border-left: 4px solid var(--gray-600);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-base) var(--ease-out);
}
.signal-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gray-600);
}
.signal-card:has(.buy) { border-left-color: var(--success-500); }
.signal-card:has(.sell) { border-left-color: var(--danger-500); }

.signal-card-accent {
  height: 2px;
  background: var(--gray-700);
}
.signal-card-body { padding: var(--sp-5); }
.signal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--sp-4);
}
.signal-ticker-wrap { display: flex; flex-direction: column; gap: var(--sp-1); }
.signal-ticker {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1;
}
.signal-ref { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-tertiary); }
.dir-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--r-sm);
}
.dir-badge.buy  { background: var(--success-50); color: var(--success-500); border: 1px solid var(--success-border); }
.dir-badge.sell { background: var(--danger-50);  color: var(--danger-500);  border: 1px solid var(--danger-border); }

/* Price grid */
.signal-price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  padding: var(--sp-4);
  background: var(--surface-sunken);
  border-left: 2px solid var(--gold-primary);
  border-radius: var(--r-md);
}
.price-cell { display: flex; flex-direction: column; gap: 3px; }
.price-cell-label { font-size: 10px; font-weight: 700; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.05em; }
.price-cell-value { font-family: var(--font-mono); font-size: var(--text-base); font-weight: 700; color: #fff; }
.price-cell-value.sl   { color: var(--danger-500); }
.price-cell-value.tp   { color: var(--success-500); }
.price-cell-value.risk { color: var(--gold-primary); }

.signal-setup {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.signal-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--gray-700);
}
.status-pill {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: var(--r-full);
}
.status-pill.active  { background: var(--gold-champagne); color: var(--gold-primary); border: 1px solid rgba(242, 201, 76, 0.3); }
.status-pill.tp2     { background: var(--success-50); color: var(--success-500); border: 1px solid var(--success-border); }
.status-pill.tp1     { background: var(--success-50); color: var(--success-500); border: 1px solid var(--success-border); }
.status-pill.sl      { background: var(--danger-50);  color: var(--danger-500);  border: 1px solid var(--danger-border); }
.status-pill.manual  { background: var(--gray-800); color: var(--text-secondary); border: 1px solid var(--gray-700); }
.outcome-pts { font-family: var(--font-mono); font-size: var(--text-sm); font-weight: 700; }
.outcome-pts.pos { color: var(--success-500); }
.outcome-pts.neg { color: var(--danger-500); }
.outcome-pts.neutral { color: var(--text-tertiary); }

/* Shimmer load */
.skeleton {
  background: linear-gradient(90deg, var(--gray-800) 25%, var(--gray-700) 50%, var(--gray-800) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.skeleton-card {
  border: 1px solid var(--gray-700);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  background: var(--surface-raised);
}

/* ─── AI CHAT SECTION ────────────────────────────────────────── */
.ai-section {
  padding: var(--section-gap) 0;
}
.ai-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-16);
  align-items: start;
}
.ai-content { padding-top: var(--sp-4); }
.ai-content .section-title { margin-bottom: var(--sp-4); }
.ai-content .section-body  { margin-bottom: var(--sp-6); }
.quick-prompts { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.quick-prompt {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--surface-raised);
  border: 1px solid var(--gray-700);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
}
.quick-prompt:hover {
  color: var(--gold-primary);
  background: var(--gray-700);
  border-color: var(--gold-primary);
  transform: translateY(-1px);
}
/* Chat Window */
.chat-window {
  background: var(--surface-raised);
  border: 1px solid var(--gray-700);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  height: 480px;
}
.chat-topbar {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-bottom: 1px solid var(--gray-700);
  background: var(--surface-sunken);
}
.chat-avatar {
  width: 36px;
  height: 36px;
  background: var(--gold-primary);
  border-radius: var(--r-full);
  display: grid;
  place-items: center;
  color: var(--gray-900);
  font-size: 16px;
  flex-shrink: 0;
}
.chat-identity { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.chat-name  { font-size: var(--text-sm); font-weight: 700; color: #fff; }
.chat-subtext { font-size: var(--text-xs); color: var(--gold-primary); font-weight: 600; }
.chat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  scroll-behavior: smooth;
}
.msg {
  max-width: 82%;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  line-height: 1.55;
  animation: msgIn 0.25s var(--ease-out);
}
.msg-bot {
  align-self: flex-start;
  background: var(--surface-sunken);
  color: var(--gray-200);
  border: 1px solid var(--gray-700);
  border-bottom-left-radius: var(--r-sm);
}
.msg-user {
  align-self: flex-end;
  background: var(--gold-primary);
  color: var(--gray-900);
  border-bottom-right-radius: var(--r-sm);
  font-weight: 600;
}
.msg-typing {
  align-self: flex-start;
  background: var(--surface-sunken);
  border: 1px solid var(--gray-700);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-lg);
  border-bottom-left-radius: var(--r-sm);
  display: flex;
  gap: 4px;
  align-items: center;
}
.msg-typing span {
  width: 6px; height: 6px;
  background: var(--gray-500);
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
}
.msg-typing span:nth-child(2) { animation-delay: 0.2s; }
.msg-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}
.chat-input-bar {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--gray-700);
  background: var(--surface-sunken);
}
.chat-field {
  flex: 1;
  background: var(--surface-raised);
  border: 1px solid var(--gray-600);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  color: #fff;
  transition: border-color var(--dur-base) var(--ease-in-out);
}
.chat-field:focus { outline: none; border-color: var(--gold-primary); box-shadow: var(--shadow-focus); }
.chat-field::placeholder { color: var(--text-tertiary); }
.chat-send {
  background: var(--gold-primary);
  color: var(--gray-900);
  border: none;
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  flex-shrink: 0;
}
.chat-send:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ─── VIP BAND ───────────────────────────────────────────── */
.vip-band {
  background: var(--surface-sunken);
  border-top: 3px solid var(--gold-primary);
  padding: var(--sp-20) 0;
  position: relative;
  overflow: hidden;
}
.vip-band::before {
  content: '';
  position: absolute;
  top: -220px; right: -220px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
.vip-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-16);
  align-items: center;
  position: relative;
  z-index: 1;
}
.vip-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: var(--sp-4);
}
.vip-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: var(--sp-5);
}
.vip-body { font-size: var(--text-base); color: var(--gray-300); line-height: 1.75; margin-bottom: var(--sp-6); }
.vip-feats { display: flex; flex-direction: column; gap: var(--sp-3); }
.vip-feat-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--gray-300);
}
.vip-feat-check { color: var(--gold-primary); font-size: var(--text-lg); flex-shrink: 0; line-height: 1.3; }

/* Pricing card */
.pricing-box {
  background: var(--surface-raised);
  border: 1px solid var(--gray-700);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
}
.pricing-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--gold-primary);
}
.pricing-plan-name {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: var(--sp-4);
}
.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: var(--sp-1);
  margin-bottom: var(--sp-2);
}
.pricing-dollar { font-size: var(--text-xl); color: var(--gray-300); font-weight: 600; }
.pricing-num { font-family: var(--font-display); font-size: 4rem; font-weight: 800; color: #fff; letter-spacing: -2px; line-height: 1; }
.pricing-per { font-size: var(--text-base); color: var(--gray-300); }
.pricing-note { font-size: var(--text-xs); color: var(--gray-400); margin-bottom: var(--sp-8); }
.pricing-cta { background: var(--gold-primary); color: var(--gray-900); text-align: center; display: block; padding: var(--sp-4); border-radius: var(--r-md); font-weight: 700; font-size: var(--text-base); transition: all var(--dur-base) var(--ease-out); box-shadow: var(--shadow-brand); }
.pricing-cta:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 8px 24px rgba(242, 201, 76, 0.4); }
.pricing-secure { text-align: center; font-size: var(--text-xs); color: var(--gray-400); margin-top: var(--sp-4); }

/* ─── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: #080a0d;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 400px;
  background: radial-gradient(ellipse 70% 300px at 50% 0%, rgba(242,201,76,0.03) 0%, transparent 70%);
  pointer-events: none;
}
.footer-gold-bar {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(242,201,76,0.15) 20%, rgba(242,201,76,0.5) 50%, rgba(242,201,76,0.15) 80%, transparent 100%);
}

/* CTA Strip */
.footer-cta-strip {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: var(--sp-8) 0;
  background: linear-gradient(135deg, rgba(242,201,76,0.04) 0%, transparent 60%);
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
  flex-wrap: wrap;
}
.footer-cta-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 6px;
}
.footer-cta-sub {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin: 0;
}
.footer-cta-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}
.footer-cta-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: all var(--dur-base) var(--ease-in-out);
  white-space: nowrap;
}
.footer-cta-btn-ghost:hover { border-color: rgba(255,255,255,0.25); color: var(--text-primary); background: rgba(255,255,255,0.04); }
.footer-cta-btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gold-primary);
  color: var(--gray-900);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 16px rgba(242,201,76,0.3);
  transition: all var(--dur-base) var(--ease-in-out);
  white-space: nowrap;
}
.footer-cta-btn-gold:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(242,201,76,0.4); }

/* Main grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.1fr;
  gap: var(--sp-12);
  padding: var(--sp-14) 0 var(--sp-10);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-logo { margin-bottom: var(--sp-5); }
.footer-tagline {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.75;
  max-width: 300px;
  margin-bottom: var(--sp-5);
}
.footer-socials {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.footer-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.footer-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 700;
  color: var(--text-tertiary);
  letter-spacing: 0.03em;
}
.footer-col { }
.footer-col-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--sp-5);
  display: flex;
  align-items: center;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-links-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-1); }
.footer-link {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--text-tertiary);
  padding: 6px 0;
  transition: color var(--dur-base) var(--ease-in-out);
  border-radius: var(--r-sm);
}
.footer-link:hover { color: var(--gold-primary); }
.footer-feature-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--text-tertiary);
  padding: 6px 0;
}

/* Pricing items */
.footer-pricing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.05);
  transition: all var(--dur-base) var(--ease-in-out);
  margin-bottom: 4px;
}
.footer-pricing-item:hover { border-color: rgba(242,201,76,0.2); background: rgba(242,201,76,0.03); }
.footer-pricing-popular { border-color: rgba(242,201,76,0.2) !important; background: rgba(242,201,76,0.04) !important; }
.footer-pricing-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-pop-tag {
  font-size: 8px;
  font-weight: 800;
  background: var(--gold-primary);
  color: var(--gray-900);
  padding: 1px 6px;
  border-radius: var(--r-full);
  letter-spacing: 0.05em;
}
.footer-pricing-val {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 800;
  color: var(--gold-primary);
}
.footer-pricing-val span { font-size: 10px; font-weight: 500; color: var(--text-tertiary); }
.footer-subscribe-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--sp-4);
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-bronze));
  color: var(--gray-900);
  border-radius: var(--r-md);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(242,201,76,0.25);
  transition: all var(--dur-base) var(--ease-in-out);
}
.footer-subscribe-btn:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(242,201,76,0.35); }

/* Bottom bar */
.footer-bottom {
  padding: var(--sp-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-shrink: 0;
}
.footer-disclaimer {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  line-height: 1.6;
  max-width: 680px;
}
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
}
.footer-admin-link {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  color: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-sm);
  transition: all var(--dur-base) var(--ease-in-out);
}
.footer-admin-link:hover { color: var(--text-tertiary); border-color: rgba(255,255,255,0.15); }

/* ─── ADMIN PANEL ────────────────────────────────────────────── */
.admin-wrap { max-width: 1200px; margin: 0 auto; padding: var(--sp-8); }
.admin-topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: var(--sp-6); margin-bottom: var(--sp-8);
  border-bottom: 1px solid var(--gray-800);
}
.admin-topbar h1 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; color: #fff; }
.admin-two-col { display: grid; grid-template-columns: 420px 1fr; gap: var(--sp-6); margin-bottom: var(--sp-6); }
.admin-card {
  background: var(--surface-raised);
  border: 1px solid var(--gray-700);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--gray-700);
}
.admin-card:has(form) { border-top-color: var(--gold-primary); }
.admin-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--gray-700);
}
.field-group { display: flex; flex-direction: column; gap: var(--sp-1); margin-bottom: var(--sp-4); }
.field-label { font-size: var(--text-xs); font-weight: 700; color: var(--gray-300); text-transform: uppercase; letter-spacing: 0.04em; }
.field-input,
.field-select,
.field-textarea {
  background: var(--surface-sunken);
  border: 1px solid var(--gray-600);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--text-sm);
  color: #fff;
  width: 100%;
  transition: all var(--dur-base) var(--ease-in-out);
}
.field-input:focus,
.field-select:focus,
.field-textarea:focus { outline: none; border-color: var(--gold-primary); box-shadow: var(--shadow-focus); }
.field-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.field-row-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.admin-table-wrap { overflow-x: auto; }
.admin-tbl { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.admin-tbl th { text-align: left; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gray-400); padding: var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--gray-700); }
.admin-tbl td { padding: var(--sp-4); border-bottom: 1px solid var(--gray-700); vertical-align: middle; color: var(--gray-300); }
.admin-tbl tr:hover td { background: var(--surface-sunken); }
.admin-tbl tr:last-child td { border-bottom: none; }
.tbl-action-row { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.tbl-select, .tbl-input { background: var(--surface-sunken); border: 1px solid var(--gray-600); border-radius: var(--r-sm); padding: var(--sp-1) var(--sp-2); font-size: var(--text-xs); color: #fff; }
.tbl-btn { background: var(--gold-primary); color: var(--gray-900); border: none; border-radius: var(--r-sm); padding: var(--sp-1) var(--sp-3); font-size: var(--text-xs); font-weight: 700; cursor: pointer; transition: background var(--dur-fast); }
.tbl-btn:hover { filter: brightness(1.1); }
.role-chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: var(--r-full); font-size: var(--text-xs); font-weight: 700; }
.role-chip.pro  { background: var(--gold-champagne); color: var(--gold-primary); border: 1px solid rgba(242, 201, 76, 0.3); }
.role-chip.free { background: var(--gray-800); color: var(--gray-400); border: 1px solid var(--gray-700); }
.alert-msg {
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--sp-6);
}
.alert-msg.success { background: var(--success-50); color: var(--success-500); border: 1px solid var(--success-border); }
.alert-msg.error   { background: var(--danger-50);  color: var(--danger-500);  border: 1px solid var(--danger-border); }
.login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-base);
}
.login-card {
  width: min(420px, 100% - var(--sp-8));
  background: var(--surface-raised);
  border: 1px solid var(--gray-700);
  border-top: 4px solid var(--gold-primary);
  border-radius: var(--r-xl);
  padding: var(--sp-10) var(--sp-8);
  box-shadow: var(--shadow-xl);
  text-align: center;
}
.login-mark { font-size: 2.5rem; margin-bottom: var(--sp-4); }
.login-title { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 800; color: #fff; margin-bottom: var(--sp-2); }
.login-sub { font-size: var(--text-sm); color: var(--gray-300); margin-bottom: var(--sp-8); }

/* ─── ADMIN SIDEBAR LAYOUT ──────────────────────────────────── */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--surface-base);
}
.admin-sidebar {
  width: 280px;
  background: var(--surface-raised);
  border-right: 1px solid var(--gray-700);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 10;
  transition: transform var(--dur-base) var(--ease-out);
}
.sidebar-header {
  height: var(--nav-h);
  padding: 0 var(--sp-6);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--gray-700);
}
.sidebar-menu {
  padding: var(--sp-6) var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  flex: 1;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  color: var(--gray-300);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--r-md);
  transition: all var(--dur-base) var(--ease-in-out);
  cursor: pointer;
  border: 1px solid transparent;
}
.sidebar-item i {
  width: 16px;
  height: 16px;
  color: var(--gray-400);
  transition: color var(--dur-base);
}
.sidebar-item:hover {
  color: #fff;
  background: var(--gray-700);
}
.sidebar-item:hover i {
  color: var(--gold-primary);
}
.sidebar-item.active {
  background: var(--surface-sunken);
  color: var(--gold-primary);
  border-color: var(--gold-brass);
}
.sidebar-item.active i {
  color: var(--gold-primary);
}
.sidebar-footer {
  padding: var(--sp-4);
  border-top: 1px solid var(--gray-700);
}
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.admin-navbar {
  height: var(--nav-h);
  background: var(--surface-base);
  border-bottom: 1px solid var(--gray-700);
  padding: 0 var(--sp-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-navbar-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
}
.admin-navbar-user {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-champagne);
  border: 1px solid var(--gold-brass);
  display: grid;
  place-items: center;
  color: var(--gold-primary);
  font-weight: 700;
  font-size: var(--text-xs);
}
.admin-content {
  padding: var(--sp-8);
  overflow-y: auto;
  flex: 1;
}
.sidebar-toggle-btn {
  display: none;
  background: none;
  border: 1px solid var(--gray-700);
  color: #fff;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--r-md);
  cursor: pointer;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 700;
}
.sidebar-toggle-btn i {
  width: 14px;
  height: 14px;
}

/* ─── RESPONSIVE SYSTEM ──────────────────────────────────────── */

/* ── 1280px — Large laptops ─────────────────────────────────── */
@media (max-width: 1280px) {
  .hero-layout { gap: var(--sp-10); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--sp-8); }
}

/* ── 1024px — Tablets landscape / small laptops ─────────────── */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; gap: var(--sp-10); }
  .hero-visual { order: -1; }
  .desk-preview { max-width: 540px; margin: 0 auto; }
  .hero-h1 { font-size: var(--text-4xl); }
  .hero-body { max-width: 100%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .vip-layout { grid-template-columns: 1fr; gap: var(--sp-10); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; gap: var(--sp-5); }
  .ai-layout { gap: var(--sp-8); }
}

/* ── 768px — Tablets portrait ───────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --section-gap: var(--sp-16);
    --nav-h: 64px;
  }

  /* Header */
  .header-inner { flex-wrap: nowrap; gap: var(--sp-3); }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .desk-status { display: none; }
  .ticker-time { display: none; }
  .ticker-label { padding: 0 10px; font-size: 8px; }
  .logo-sub { display: none; }

  /* Hero */
  .hero { padding: var(--sp-10) 0 var(--sp-8); }
  .hero-h1 { font-size: var(--text-3xl); letter-spacing: -1px; }
  .hero-body { font-size: var(--text-base); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-trust { gap: var(--sp-4); }
  .preview-levels { grid-template-columns: repeat(2, 1fr); }

  /* Sections */
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { border-right: none; border-bottom: 1px solid var(--gray-700); padding: var(--sp-6); }
  .pillar:last-child { border-bottom: none; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); }
  .stats-intro { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }

  /* Signals */
  .signals-topbar { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .filter-tabs { width: 100%; display: flex; }
  .filter-tab { flex: 1; text-align: center; }
  .signals-grid { grid-template-columns: 1fr; }

  /* AI Chat */
  .ai-layout { grid-template-columns: 1fr; gap: var(--sp-8); }
  .chat-window { height: 420px; }
  .quick-prompts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }

  /* VIP / Pricing */
  .vip-band { padding: var(--sp-12) 0; }
  .pricing-box { padding: var(--sp-5); }

  /* Footer */
  .footer-cta-strip { padding: var(--sp-6) 0; }
  .footer-cta-inner { flex-direction: column; align-items: flex-start; gap: var(--sp-4); }
  .footer-cta-title { font-size: var(--text-lg); }
  .footer-cta-actions { flex-direction: column; width: 100%; gap: var(--sp-2); }
  .footer-cta-btn-ghost,
  .footer-cta-btn-gold { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .footer-bottom-right { flex-direction: row; gap: var(--sp-4); }

  /* Admin */
  .admin-two-col { grid-template-columns: 1fr; }
  .field-row-2, .field-row-4 { grid-template-columns: 1fr; }
  .tbl-action-row { flex-wrap: wrap; gap: var(--sp-1); }
  .admin-content { padding: var(--sp-4); }
  .admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .sidebar-toggle-btn { display: inline-flex; }
  .admin-sidebar {
    position: fixed;
    left: 0; top: 0; bottom: 0;
    transform: translateX(-100%);
    box-shadow: var(--shadow-xl);
    z-index: 300;
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-navbar { padding: 0 var(--sp-4); }
}

/* ── 480px — Mobile phones ───────────────────────────────────── */
@media (max-width: 480px) {
  :root { --nav-h: 60px; }

  /* Container tighter padding */
  .container { width: min(var(--container), 100% - var(--sp-6)); }

  /* Header */
  .logo-name { font-size: 12px; letter-spacing: 1px; }
  .logo-mark { width: 32px; height: 32px; }

  /* Ticker */
  .ticker-bar { height: 28px; }
  .ticker-item { padding: 0 10px; font-size: 9px; gap: 4px; }

  /* Hero */
  .hero { padding: var(--sp-8) 0 var(--sp-6); }
  .hero-h1 { font-size: var(--text-2xl); letter-spacing: -0.5px; }
  .hero-eyebrow { font-size: 9px; }
  .hero-actions { gap: var(--sp-2); }
  .hero-trust { flex-wrap: wrap; gap: var(--sp-3); }
  .trust-divider { display: none; }
  .trust-val { font-size: var(--text-lg); }

  /* Preview panel */
  .preview-ticker { font-size: 1.6rem; }
  .preview-levels { grid-template-columns: repeat(2, 1fr); gap: var(--sp-2); }
  .dp-label-text { display: none; }

  /* Stats — single column stacked */
  .stats-grid { grid-template-columns: 1fr; gap: var(--sp-3); }
  .stat-card {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    padding: var(--sp-4);
  }
  .stat-card-top { flex-shrink: 0; margin: 0; }
  .stat-icon-wrap { width: 38px; height: 38px; }
  .stat-value { font-size: var(--text-2xl); }
  .stat-desc { display: none; }

  /* Signals */
  .signal-price-grid { grid-template-columns: 1fr 1fr; }
  .signal-card-body { padding: var(--sp-4); }

  /* Quick prompts — stack on tiny screens */
  .quick-prompts { grid-template-columns: 1fr; }

  /* AI chat */
  .chat-window { height: 360px; }
  .chat-field { font-size: 14px; }

  /* VIP pricing grid — single col */
  .vip-band > .container > .vip-layout > div[style*="grid"] {
    grid-template-columns: 1fr !important;
  }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .footer-tagline { max-width: 100%; }
  .footer-pricing-item { padding: 6px 10px; }
  .footer-subscribe-btn { padding: 8px 14px; font-size: 11px; }
  .footer-col-title { font-size: 9px; }

  /* Buttons */
  .btn-lg { padding: var(--sp-3) var(--sp-5); font-size: var(--text-sm); }

  /* Admin tables — force horizontal scroll */
  .admin-tbl { min-width: 600px; }
  .admin-tbl th, .admin-tbl td { padding: var(--sp-2) var(--sp-3); font-size: 12px; }

  /* Payment page */
  .pay-body { padding: 1rem 1rem 1.5rem; }
  .step-labels { padding: 0.4rem 1rem 0; font-size: 0.58rem; }
  .step-indicator { padding: 1.25rem 1rem 0; }
  .plan-grid { grid-template-columns: 1fr !important; }
  .crypto-grid { grid-template-columns: repeat(2, 1fr); }
  .amount-value { font-size: 1.3rem; }
}

/* ── 360px — Very small phones ───────────────────────────────── */
@media (max-width: 360px) {
  .hero-h1 { font-size: 1.5rem; }
  .logo-name { font-size: 11px; }
  .btn-lg { padding: var(--sp-3) var(--sp-4); }
  .ticker-item { padding: 0 8px; }
  .hero-trust { gap: var(--sp-2); }
  .trust-val { font-size: var(--text-base); }
  .chat-window { height: 320px; }
}

/* ── Touch / hover improvements ─────────────────────────────── */
@media (hover: none) {
  /* Remove hover transforms on touch — prevents stuck states */
  .btn:hover,
  .plan-card:hover,
  .crypto-card:hover,
  .footer-cta-btn-gold:hover,
  .footer-cta-btn-ghost:hover,
  .footer-subscribe-btn:hover,
  .nav-cta:hover { transform: none; }

  /* Larger tap targets on touch devices */
  .nav-toggle { width: 44px; height: 44px; }
  .filter-tab { padding: var(--sp-3) var(--sp-4); min-height: 44px; }
  .mobile-nav-link { min-height: 52px; }
  .chat-send { width: 44px; height: 44px; }
}

/* ── Print ───────────────────────────────────────────────────── */
@media print {
  .ticker-bar, .site-header, .mobile-nav,
  .chat-window, .hero-visual, .footer-cta-strip,
  .site-footer, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
  .container { max-width: 100%; }
}
