/* ── RESET & BASE ─────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── KEYBOARD FOCUS — restores visibility for keyboard users ──────── */
:focus-visible { outline: 2px solid #6366f1; outline-offset: 2px; border-radius: 4px; }

/* ── SCREEN READER ONLY ──────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:root {
  --bg:        #000000;
  --surface1:  #111113;
  --surface2:  #1c1c1e;
  --border:    rgba(255,255,255,0.1);
  --accent:    #7c6fff;
  --green:     #30d158;
  --red:       #ff453a;
  --text:      #f5f5f7;
  --muted:     #86868b;
  --font:      -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  padding-top: 52px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── TYPOGRAPHY HELPERS ──────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, #a78fff 0%, #30d158 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent { color: var(--accent); }

.section-badge {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(124,111,255,0.12);
  border: 1px solid rgba(124,111,255,0.22);
  border-radius: 50px;
  font-size: 12px;
  color: #a99bff;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header h2 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.07;
  margin-bottom: 16px;
}
.section-header p  {
  color: var(--muted);
  font-size: 19px;
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── NAV ─────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 44px;
  height: 52px;
  background: rgba(0,0,0,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(245,245,247,0.72);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }

/* ── NAV DROPDOWN (Penny Stocks) ─────────────────────────────────── */
.nav-dropdown-wrap {
  position: relative;
}
.nav-dropdown-trigger {
  cursor: pointer;
  white-space: nowrap;
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  background: #0d0d1a;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px 0;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-dropdown-wrap:hover .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
/* keep dropdown open when cursor moves from trigger into dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}
.nav-dd-header {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 8px 16px 6px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.nav-dd-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.15s;
  cursor: pointer;
}
.nav-dd-item:hover { background: rgba(255,255,255,0.04); }
.nav-dd-symbol {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text);
  min-width: 44px;
}
.nav-dd-name {
  font-size: 0.8rem;
  color: var(--muted);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-dd-price {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0.75;
  min-width: 42px;
  text-align: right;
}
.nav-dd-risk {
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 2px 8px;
  white-space: nowrap;
}
.risk-high      { background: rgba(255,165,0,0.12);  color: #ffa500; border: 1px solid rgba(255,165,0,0.3);  }
.risk-very-high { background: rgba(255,68,68,0.12);  color: #ff4444; border: 1px solid rgba(255,68,68,0.3);  }
.nav-dd-footer {
  font-size: 0.68rem;
  color: var(--muted);
  opacity: 0.55;
  padding: 8px 16px 4px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}

.toggle-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.toggle-btn:hover { background: rgba(255,255,255,0.13); }

/* ── TICKER MARQUEE ──────────────────────────────────────────────── */
.ticker-bar {
  background: rgba(17,17,19,0.9);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  overflow: hidden;
  white-space: nowrap;
  padding: 9px 0;
}

.ticker-track {
  display: inline-flex;
  gap: 48px;
  animation: ticker 35s linear infinite;
}

.ticker-track a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.ticker-track a:hover { opacity: 0.75; }
.tick-up   { color: var(--green); }
.tick-down { color: var(--red);   }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(124,111,255,0.13) 0%, transparent 60%), #000;
}

/* ── HERO AURORA CANVAS ──────────────────────────────────────── */
#heroAurora {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
}

.hero-glow {
  position: absolute;
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(124,111,255,0.10) 0%, transparent 70%);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; max-width: 860px; }

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(48,209,88,0.1);
  border: 1px solid rgba(48,209,88,0.2);
  border-radius: 50px;
  font-size: 13px;
  color: var(--green);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(48px, 7.5vw, 88px);
  font-weight: 700;
  line-height: 1.06;
  margin-bottom: 26px;
  letter-spacing: -3px;
}

.hero-sub {
  font-size: 21px;
  font-weight: 400;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.65;
}

.hero-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.btn-primary {
  padding: 14px 32px;
  background: var(--accent);
  color: white;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s;
}
.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(124,111,255,0.38);
}

.btn-secondary {
  padding: 14px 32px;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.2); }

/* ── STATS BAR ───────────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 28px 40px;
  background: var(--surface1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat { text-align: center; }
.stat-num   { display: block; font-size: 22px; font-weight: 600; color: var(--text); }
.stat-label { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; letter-spacing: 0.02em; }
.stat-div   { width: 1px; height: 32px; background: rgba(255,255,255,0.1); }

/* ── EMAIL CAPTURE ───────────────────────────────────────────────── */
.email-capture {
  padding: 90px 40px;
  background: var(--surface1);
  position: relative;
  overflow: hidden;
}
.email-capture::before {
  content: '';
  position: absolute;
  top: -120px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(124,111,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.email-capture-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 60px;
  align-items: center;
  flex-wrap: wrap;
}

.email-left {
  flex: 1;
  min-width: 280px;
}
.email-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(124,111,255,0.1);
  border: 1px solid rgba(124,111,255,0.25);
  border-radius: 20px;
  padding: 6px 16px;
  margin-bottom: 20px;
}
.email-left h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}
.email-left p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.email-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.email-perks li {
  font-size: 15px;
  color: #c0c0d8;
  line-height: 1.5;
}

.email-right {
  flex: 1;
  min-width: 300px;
}

.email-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.4);
}

.email-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.email-card-icon {
  font-size: 32px;
  line-height: 1;
}
.email-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.email-card-sub {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.email-form input {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 15px;
  font-family: var(--font);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}
.email-form input::placeholder { color: var(--muted); }
.email-form input:focus { border-color: var(--accent); }

.email-submit-btn {
  background: linear-gradient(135deg, var(--accent) 0%, #5b4fd8 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  margin-top: 4px;
}
.email-submit-btn:hover  { opacity: 0.9; transform: translateY(-1px); }
.email-submit-btn:active { transform: translateY(0); }

.email-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  text-align: center;
}
.success-icon { font-size: 48px; animation: popIn 0.4s ease; }
.success-msg  { font-size: 20px; font-weight: 800; color: var(--green); }
.success-sub  { font-size: 14px; color: var(--muted); margin-top: 4px; text-align: center; }

@keyframes popIn {
  0%   { transform: scale(0.5); opacity: 0; }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1);   opacity: 1; }
}

.email-privacy {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 16px;
  opacity: 0.7;
}

/* Light mode overrides */
body.light .email-capture { background: #f0f4ff; }
body.light .email-card    { background: #fff; border-color: #dde; }
body.light .email-form input { background: #f5f5fb; border-color: #dde; color: #111; }

/* ── BREAKING NEWS MODAL ─────────────────────────────────────────── */
.breaking-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.breaking-overlay.active { display: flex; animation: breakFadeIn 0.35s ease; }
@keyframes breakFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.breaking-modal {
  background: #0d0d1a;
  border: 1px solid #ff3333;
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  padding: 28px 28px 20px;
  box-shadow: 0 0 60px rgba(255,51,51,0.25), 0 24px 60px rgba(0,0,0,0.5);
}
.breaking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.breaking-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.breaking-pulse {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff3333;
  box-shadow: 0 0 0 0 rgba(255,51,51,0.6);
  animation: pulse-ring 1.4s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(255,51,51,0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(255,51,51,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,51,51,0); }
}
.breaking-badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #ff3333;
  text-transform: uppercase;
}
.breaking-market-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
}
.breaking-close {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: border-color 0.2s, color 0.2s;
}
.breaking-close:hover { border-color: #ff3333; color: #ff3333; }
.breaking-headline {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 12px;
}
.breaking-desc {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.breaking-watchlist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.breaking-watch-item {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid;
}
.watch-down  { color: #ff4444; background: rgba(255,68,68,0.08);  border-color: rgba(255,68,68,0.3);  }
.watch-up    { color: #00e676; background: rgba(0,230,118,0.08);  border-color: rgba(0,230,118,0.3);  }
.watch-level { color: #7c6fff; background: rgba(124,111,255,0.08); border-color: rgba(124,111,255,0.3); }
.breaking-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.breaking-timestamp {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.7;
}
.breaking-dismiss-btn {
  background: #ff3333;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.breaking-dismiss-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.breaking-disclaimer {
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.6;
  margin: 0;
  text-align: center;
}

/* ── ABOUT ───────────────────────────────────────────────────────── */
.about {
  padding: 120px 60px;
  background: var(--bg);
  transition: padding 0.4s ease;
}
.about.about-collapsed {
  padding: 80px 60px;
}

.about-inner {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.about-text { flex: 1; min-width: 300px; max-width: 520px; }
.about-text h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -1px; margin-bottom: 20px; line-height: 1.1; }
.about-text p  { color: var(--muted); margin-bottom: 16px; font-size: 17px; line-height: 1.7; }

.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag {
  padding: 6px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

.about-values { flex: 1; min-width: 280px; display: flex; flex-direction: column; gap: 16px; }

.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.value-card:hover { border-color: rgba(124,111,255,0.35); transform: translateX(6px); background: rgba(255,255,255,0.06); }
.value-icon { font-size: 28px; margin-bottom: 12px; }
.value-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.value-card p  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* About collapsed/expand */
.about-teaser {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.about-teaser .section-badge { display: inline-block; margin-bottom: 14px; }
.about-teaser h2 { font-size: 38px; font-weight: 800; margin-bottom: 14px; line-height: 1.2; }
.about-preview {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}
.about-expand-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50px;
  padding: 10px 26px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.about-expand-btn:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }
.about-full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s ease, opacity 0.4s ease, margin-top 0.4s ease;
  opacity: 0;
  margin-top: 0;
}
.about-full.open {
  max-height: 1200px;
  opacity: 1;
  margin-top: 48px;
}
.about-collapse-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 50px;
  padding: 9px 22px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.about-collapse-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── STOCKS SECTION ──────────────────────────────────────────────── */
.stocks {
  padding: 120px 40px;
  background: var(--surface1);
}

/* Search */
.search-wrap {
  display: flex;
  align-items: center;
  max-width: 600px;
  margin: 0 auto 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  gap: 10px;
  transition: border-color 0.3s;
}
.search-wrap:focus-within { border-color: var(--accent); }

.search-icon { font-size: 18px; }

.search-wrap input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 16px;
  font-family: var(--font);
}

.search-wrap button {
  padding: 12px 28px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s;
}
.search-wrap button:hover { background: #6458e0; }

/* Quick search buttons */
.popular-stocks {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.popular-stocks span { font-size: 13px; color: var(--muted); }
.popular-stocks button {
  padding: 8px 18px;
  background: var(--surface2);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}
.popular-stocks button:hover { border-color: var(--accent); color: var(--text); }

/* Stock info card */
.stock-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 700px;
  margin: 0 auto 30px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 36px;
}
.stock-left h3    { font-size: 28px; font-weight: 800; }
.stock-sym        { font-size: 14px; color: var(--muted); margin-top: 4px; }
.stock-price-big  { font-size: 36px; font-weight: 800; text-align: right; }
.change           { font-size: 15px; text-align: right; margin-top: 4px; font-weight: 600; }
.positive         { color: var(--green); }
.negative         { color: var(--red);   }

/* Chart wrap */
.chart-wrap {
  max-width: 960px;
  margin: 0 auto 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--surface1);
}
.chart-header span:first-child { font-size: 15px; font-weight: 700; }
.chart-tag {
  font-size: 12px;
  color: var(--accent);
  background: rgba(124,111,255,0.12);
  padding: 4px 12px;
  border-radius: 50px;
  font-weight: 600;
}

#tv_chart, #tv_inner { width: 100%; height: 520px; }

/* S&R Panel */
.sr-panel {
  display: flex;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.sr-col {
  flex: 1;
  min-width: 220px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.sr-col h4 { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.sr-price {
  font-size: 20px;
  font-weight: 700;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.sr-price:last-child { border-bottom: none; }
.red-price   { color: var(--red);   }
.green-price { color: var(--green); }
.white-price { color: var(--text);  }
.sr-hint     { color: var(--muted); font-size: 13px; }

/* ── ANALYSIS SECTION ────────────────────────────────────────────── */
.analysis {
  padding: 100px 40px;
  background: var(--bg);
}

.analysis-empty {
  text-align: center;
  padding: 60px;
  color: var(--muted);
}
.empty-icon { font-size: 48px; margin-bottom: 16px; }
.analysis-empty p { font-size: 16px; }

.analysis-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.price-ladder-wrap {
  width: 100%;
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-sizing: border-box;
}
.chart-label { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.sr-lw-chart { width: 100%; height: 620px; border-radius: 10px; overflow: hidden; }

/* Rec panel */
.rec-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.rec-panel .rec-block {
  flex: 1;
  min-width: 160px;
}

.rec-block {
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 22px;
}
.rec-label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 600;
}
.rec-value {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
}
.rec-sub {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.signal-block { border-color: rgba(124,111,255,0.3); background: rgba(124,111,255,0.05); }
.signal-text  { font-size: 15px !important; line-height: 1.4; }

/* ── NARRATIVE ANALYSIS BOX ─────────────────────────────────────── */
.narrative-wrap {
  max-width: 960px;
  margin: 36px auto 0;
  background: linear-gradient(135deg, rgba(13,13,26,0.95) 0%, rgba(18,18,40,0.95) 100%);
  border: 1px solid rgba(124,111,255,0.25);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 40px rgba(124,111,255,0.08);
}

.narrative-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  background: rgba(124,111,255,0.07);
  border-bottom: 1px solid rgba(124,111,255,0.15);
}

.narrative-icon { font-size: 22px; }
.narrative-title {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  flex: 1;
}
.narrative-live {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(0,230,118,0.1);
  border: 1px solid rgba(0,230,118,0.3);
  border-radius: 20px;
  padding: 4px 12px;
}

.narrative-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.narrative-scenario {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  transition: border-color 0.2s;
}
.narrative-scenario:hover { border-color: rgba(124,111,255,0.3); }

.scenario-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.scenario-text {
  font-size: 15px;
  line-height: 1.75;
  color: #c8c8e0;
}
.scenario-text strong { color: var(--text); font-weight: 700; }
.scenario-text em     { color: var(--accent); font-style: normal; font-weight: 600; }

.narrative-footer {
  padding: 14px 28px;
  border-top: 1px solid var(--border);
}
.narrative-disclaimer {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
}

/* ── ZONE VISUAL ─────────────────────────────────────────────── */
.zone-visual {
  margin-top: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 22px;
}
.zone-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.zone-bar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.zone-sup-label { color: var(--green); font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.zone-res-label { color: var(--red);   font-size: 0.82rem; font-weight: 700; white-space: nowrap; }
.zone-bar {
  flex: 1;
  height: 22px;
  border-radius: 6px;
  position: relative;
  border: 1px solid var(--border);
  overflow: visible;
}
.zone-gradient {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(0,230,118,0.25) 0%, rgba(255,204,0,0.15) 50%, rgba(255,68,68,0.25) 100%);
}
.zone-marker {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.zone-marker-line {
  width: 3px;
  height: 30px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255,255,255,0.5);
}
.zone-marker-label {
  margin-top: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: rgba(0,0,0,0.6);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.zone-pct-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 18px;
  margin-bottom: 16px;
}
.zone-pos-pct { color: var(--text); font-weight: 600; }
.tv-chart-link {
  display: inline-block;
  padding: 9px 18px;
  background: rgba(124,111,255,0.08);
  border: 1px solid rgba(124,111,255,0.3);
  border-radius: 8px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.tv-chart-link:hover {
  background: rgba(124,111,255,0.18);
  border-color: var(--accent);
}

/* ── MARKET TRENDS ───────────────────────────────────────────────── */
.market-trends { padding: 100px 40px; background: var(--surface1); }

.trends-block {
  max-width: 960px; margin: 0 auto 60px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px;
}
.trends-block-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 28px; flex-wrap: wrap; gap: 10px;
}
.trends-block-header h3 { font-size: 20px; font-weight: 700; }
.live-tag {
  font-size: 12px; font-weight: 600; color: var(--accent);
  background: rgba(124,111,255,0.12); padding: 4px 12px;
  border-radius: 50px; border: 1px solid rgba(124,111,255,0.25);
}
.chart-box { margin-bottom: 28px; }

.rate-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px; margin-bottom: 24px;
}
.rate-card {
  background: var(--surface1); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 16px; text-align: center;
  transition: border-color 0.2s;
}
.rate-card:hover { border-color: var(--accent); }
.rate-type { display: block; font-size: 12px; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.rate-val  { display: block; font-size: 28px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.rate-note { display: block; font-size: 12px; color: var(--muted); }

.trend-insight {
  background: rgba(124,111,255,0.06); border: 1px solid rgba(124,111,255,0.2);
  border-radius: 12px; padding: 18px 22px;
  font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 24px;
}
.trend-insight strong { color: var(--text); }

.trend-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.event-card {
  border-radius: 14px; padding: 20px;
  border-left: 4px solid var(--border);
}
.event-green { background: rgba(0,230,118,0.06);  border-left-color: var(--green); }
.event-red   { background: rgba(255,68,68,0.06);   border-left-color: var(--red);   }
.event-blue  { background: rgba(124,111,255,0.06); border-left-color: var(--accent);}
.event-year  { font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; display: block; }
.event-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.event-card p  { font-size: 13px; color: var(--muted); line-height: 1.6; }

.quick-stats {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 16px;
  max-width: 960px; margin: 0 auto;
}
.qstat {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 24px 28px; text-align: center; flex: 1; min-width: 140px;
  transition: border-color 0.2s;
}
.qstat:hover { border-color: var(--accent); }
.qstat-num   { display: block; font-size: 24px; font-weight: 800; color: var(--accent); }
.qstat-label { display: block; font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ── MARKET TREND CYCLES ─────────────────────────────────────────── */
.trend-cycles {
  padding: 100px 40px;
  background: var(--surface1);
}

.cycle-block-label {
  max-width: 1100px;
  margin: 0 auto 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Past 5 Years Timeline ── */
.timeline-row {
  max-width: 1100px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .timeline-row { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .timeline-row { grid-template-columns: 1fr; } }

.timeline-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.timeline-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.timeline-card.bull  { border-top: 3px solid #00e676; }
.timeline-card.bear  { border-top: 3px solid #ff4444; }
.timeline-card.neutral { border-top: 3px solid #7c6fff; }

.timeline-year   { font-size: 28px; font-weight: 900; color: var(--text); }
.timeline-return { font-size: 20px; font-weight: 800; }
.bull-text    { color: #00e676; }
.bear-text    { color: #ff4444; }
.neutral-text { color: #7c6fff; }

.timeline-theme { font-size: 13px; font-weight: 700; color: var(--text); }

.timeline-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.timeline-points li {
  font-size: 12px;
  color: var(--muted);
  padding-left: 12px;
  position: relative;
  line-height: 1.4;
}
.timeline-points li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.timeline-top-sector {
  font-size: 11px;
  font-weight: 700;
  color: #ffcc00;
  background: rgba(255,204,0,0.08);
  border: 1px solid rgba(255,204,0,0.2);
  border-radius: 8px;
  padding: 6px 10px;
}

/* ── Trending Now ── */
.trending-grid {
  max-width: 1100px;
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.trend-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s;
}
.trend-card:hover { transform: translateY(-3px); }

.trend-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.trend-icon   { font-size: 32px; line-height: 1; }
.trend-name   { font-size: 15px; font-weight: 800; color: var(--text); }
.trend-momentum { font-size: 12px; font-weight: 700; margin-top: 3px; }
.hot-text      { color: #ff6b6b; }
.rising-text   { color: #00e676; }
.moderate-text { color: #ffcc00; }

.trend-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}

.trend-bar-wrap {
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  height: 6px;
  overflow: hidden;
}
.trend-bar {
  height: 100%;
  border-radius: 20px;
  transition: width 1s ease;
}

/* ── Future Outlook ── */
.future-grid {
  max-width: 1100px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.future-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.2s, border-color 0.2s;
}
.future-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124,111,255,0.3);
}

.future-icon {
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}
.future-info { flex: 1; }
.future-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.future-conf-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.future-conf-bar {
  height: 6px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--accent), #00e676);
  flex-shrink: 0;
}
.future-conf-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.future-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* light mode */
body.light .trend-cycles { background: #f0f4ff; }
body.light .timeline-card,
body.light .trend-card,
body.light .future-card  { background: #fff; border-color: #dde; }

/* ── EXPERT INSIGHTS ─────────────────────────────────────────────── */
.experts-section {
  padding: 100px 40px;
  background: var(--bg);
}

.experts-grid {
  max-width: 1100px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.expert-card {
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.expert-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,111,255,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.expert-bias-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 20px 20px 0 0;
}

.expert-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.expert-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.expert-meta  { flex: 1; min-width: 0; }
.expert-name  { font-size: 16px; font-weight: 800; color: var(--text); }
.expert-title { font-size: 12px; color: var(--muted); margin-top: 2px; }

.bias-tag {
  font-size: 11px;
  font-weight: 700;
  border: 1px solid;
  border-radius: 20px;
  padding: 4px 10px;
  white-space: nowrap;
}

.expert-quote {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  font-style: italic;
  padding-left: 14px;
  border-left: 3px solid rgba(124,111,255,0.5);
}

.expert-stance {
  font-size: 14px;
  color: #b0b0c8;
  line-height: 1.7;
  flex: 1;
}
.expert-stance strong { color: var(--text); }

.expert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.etag {
  font-size: 11px;
  font-weight: 600;
  background: rgba(124,111,255,0.08);
  border: 1px solid rgba(124,111,255,0.2);
  color: #9d90ff;
  border-radius: 6px;
  padding: 4px 10px;
}

.expert-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  margin-top: auto;
  transition: opacity 0.2s;
}
.expert-link:hover { opacity: 0.7; }

.experts-disclaimer {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 12px;
  color: var(--muted);
  opacity: 0.7;
  text-align: center;
  line-height: 1.6;
}

/* Light mode */
body.light .experts-section { background: #f9f9ff; }
body.light .expert-card     { background: #fff; border-color: #dde; }

/* ── MARKET INTELLIGENCE CENTER ─────────────────────────────────── */
.market-intel {
  padding: 100px 40px;
  background: var(--surface1);
}

/* Status Cards Row */
.intel-cards-row {
  max-width: 960px;
  margin: 0 auto 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.intel-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: border-color 0.2s;
}
.intel-card:hover { border-color: rgba(124,111,255,0.3); }

.intel-card-icon-wrap { font-size: 28px; line-height: 1; padding-top: 2px; }
.intel-icon           { font-size: 28px; line-height: 1; }

.intel-card-body      { flex: 1; }
.intel-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.intel-card-value {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.intel-card-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Market status dot */
.status-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.status-dot.open   { background: #00e676; box-shadow: 0 0 8px #00e676; animation: pulse 2s infinite; }
.status-dot.closed { background: #ff4444; }
.status-dot.pre    { background: #ffcc00; box-shadow: 0 0 8px #ffcc00; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

/* Bottom row — Calendar + News */
.intel-bottom-row {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 700px) { .intel-bottom-row { grid-template-columns: 1fr; } }

.intel-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.intel-panel-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.intel-panel-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}
.intel-panel-sub {
  font-size: 12px;
  color: var(--muted);
}

/* Economic Calendar */
.eco-cal-list  { padding: 12px 0; }
.eco-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
}
.eco-row:last-child { border-bottom: none; }
.eco-row:hover      { background: rgba(255,255,255,0.03); }
.eco-icon  { font-size: 20px; flex-shrink: 0; }
.eco-info  { flex: 1; }
.eco-name  { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.eco-meta  { display: flex; align-items: center; gap: 8px; margin-top: 3px; }
.eco-date  { font-size: 12px; color: var(--muted); }
.eco-today { font-size: 12px; color: var(--green); font-weight: 700; }
.eco-soon  { font-size: 12px; color: #ffcc00;     font-weight: 700; }

.impact-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 4px;
  padding: 2px 6px;
}
.impact-tag.high   { background: rgba(255,68,68,0.15);   color: #ff4444; }
.impact-tag.medium { background: rgba(255,204,0,0.15);   color: #ffcc00; }

/* News */
.news-list  { padding: 8px 0; }
.news-item {
  display: block;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-decoration: none;
  transition: background 0.15s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover      { background: rgba(255,255,255,0.03); }
.news-headline {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-meta    { display: flex; align-items: center; justify-content: space-between; }
.news-source  { font-size: 11px; color: var(--accent); font-weight: 700; }
.news-time    { font-size: 11px; color: var(--muted); }

/* Light mode */
body.light .market-intel  { background: #f0f4ff; }
body.light .intel-card,
body.light .intel-panel   { background: #fff; border-color: #dde; }

/* ── YOUTUBE SECTION ─────────────────────────────────────────────── */
.youtube-section {
  padding: 100px 40px;
  background: var(--bg);
}

.youtube-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 36px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.youtube-player {
  flex: 2;
  min-width: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  aspect-ratio: 16/9;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
}
.youtube-player iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.youtube-sidebar {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.yt-channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
}
.yt-avatar {
  font-size: 36px;
  line-height: 1;
}
.yt-channel-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.yt-channel-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.yt-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.yt-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.yt-perks li {
  font-size: 14px;
  color: #c0c0d8;
}

.yt-subscribe-btn {
  display: block;
  text-align: center;
  background: #ff0000;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  padding: 14px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
}
.yt-subscribe-btn:hover  { opacity: 0.88; transform: translateY(-1px); }
.yt-subscribe-btn:active { transform: translateY(0); }

.yt-view-all {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 8px;
  transition: opacity 0.2s;
}
.yt-view-all:hover { opacity: 0.7; }

/* Light mode */
body.light .youtube-section { background: #fff; }
body.light .yt-channel-card { background: #f5f5fb; border-color: #dde; }

/* ── CALCULATORS ─────────────────────────────────────────────────── */
.calculators-section { padding:120px 40px; background:var(--bg); }
.calc-grid { max-width:1100px; margin:0 auto 60px; display:grid; grid-template-columns:repeat(auto-fit,minmax(480px,1fr)); gap:24px; }
@media(max-width:600px){.calc-grid{grid-template-columns:1fr;}}
.calc-card { background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.09); border-radius:28px; padding:36px; display:flex; flex-direction:column; gap:20px; transition: border-color 0.25s; }
.calc-card:hover { border-color: rgba(124,111,255,0.3); }
.calc-card-header { display:flex; align-items:center; gap:14px; }
.calc-icon { font-size:36px; line-height:1; }
.calc-title { font-size:19px; font-weight:700; color:var(--text); letter-spacing:-0.3px; }
.calc-sub { font-size:12px; color:var(--muted); margin-top:3px; }
.source-link { color:var(--accent); text-decoration:none; font-weight:600; }
.source-link:hover { text-decoration:underline; }
.rule72-box,.calc-rule72-box { background:rgba(124,111,255,0.07); border:1px solid rgba(124,111,255,0.2); border-radius:14px; padding:18px; }
.rule72-label { font-size:12px; font-weight:700; color:var(--accent); text-transform:uppercase; letter-spacing:1px; margin-bottom:12px; }
.rule72-inputs { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.rule72-result { display:flex; flex-direction:column; align-items:center; }
.rule72-years { font-size:42px; font-weight:900; color:var(--green); line-height:1; }
.rule72-unit { font-size:12px; color:var(--muted); }
.rule72-note { font-size:12px; color:var(--muted); margin-top:10px; line-height:1.5; }
.calc-divider { border:none; border-top:1px solid var(--border); }
.calc-fields { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.calc-field { display:flex; flex-direction:column; gap:6px; }
.calc-field label { font-size:12px; font-weight:600; color:var(--muted); text-transform:uppercase; letter-spacing:0.5px; }
.calc-field input, .calc-field select { background:var(--surface2); border:1px solid var(--border); border-radius:10px; padding:12px 14px; font-size:15px; font-family:var(--font); color:var(--text); outline:none; transition:border-color 0.2s; }
.calc-field input:focus, .calc-field select:focus { border-color:var(--accent); }
.calc-results { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.calc-result-item { background:var(--bg); border:1px solid var(--border); border-radius:12px; padding:14px 16px; }
.calc-result-label { display:block; font-size:11px; color:var(--muted); font-weight:600; text-transform:uppercase; letter-spacing:0.5px; margin-bottom:6px; }
.calc-result-value { display:block; font-size:20px; font-weight:800; color:var(--text); }
.calc-result-value.green  { color:var(--green); }
.calc-result-value.accent { color:var(--accent); }
.calc-result-value.red    { color:var(--red); }
.calc-result-value.gold   { color:#ffcc00; }
.calc-chart { max-height:180px; }
.calc-disclaimer { font-size:12px; color:var(--muted); opacity:0.7; line-height:1.5; }
.mort-tips { background:rgba(0,230,118,0.05); border:1px solid rgba(0,230,118,0.15); border-radius:14px; padding:18px; }
.mort-tip-title { font-size:13px; font-weight:700; color:var(--green); margin-bottom:10px; }
.mort-tip-list { list-style:none; display:flex; flex-direction:column; gap:8px; }
.mort-tip-list li { font-size:13px; color:#b0b0c8; line-height:1.5; padding-left:14px; position:relative; }
.mort-tip-list li::before { content:'·'; position:absolute; left:0; color:var(--green); font-weight:900; }
.mort-tip-list strong { color:var(--text); }
.sources-panel { max-width:1100px; margin:0 auto; background:var(--surface1); border:1px solid var(--border); border-radius:20px; padding:28px 32px; }
.sources-title { font-size:14px; font-weight:800; color:var(--text); margin-bottom:18px; }
.sources-grid { display:flex; flex-wrap:wrap; gap:10px; }
.source-badge { display:inline-block; background:var(--bg); border:1px solid var(--border); color:#c0c0d8; font-size:13px; font-weight:600; padding:8px 16px; border-radius:20px; text-decoration:none; transition:border-color 0.2s,color 0.2s; }
.source-badge:hover { border-color:var(--accent); color:var(--accent); }
body.light .calc-card,.light .sources-panel { background:#fff; border-color:#dde; }
body.light .calc-field input,.light .calc-field select { background:#f5f5fb; border-color:#dde; color:#111; }
body.light .calc-result-item { background:#f9f9ff; border-color:#dde; }

/* ── LEARN SECTION ───────────────────────────────────────────────── */
.learn {
  padding: 120px 40px;
  background: var(--surface1);
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.learn-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 36px 28px;
  transition: transform 0.3s cubic-bezier(.25,.46,.45,.94), box-shadow 0.3s, border-color 0.3s;
}
.learn-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  border-color: rgba(124,111,255,0.35);
}

.learn-icon-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 14px;
}
.learn-icon {
  font-size: 36px;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.learn-icon-link:hover .learn-icon {
  transform: scale(1.12);
  border-color: rgba(255, 0, 0, 0.5);
  box-shadow: 0 0 22px rgba(255, 0, 0, 0.22);
}
.learn-yt-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: #ff3333;
  background: rgba(255, 0, 0, 0.07);
  border: 1px solid rgba(255, 0, 0, 0.2);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.2s, transform 0.2s;
}
.learn-icon-link:hover .learn-yt-badge {
  opacity: 1;
  transform: translateY(0);
}
.learn-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.2px; }
.learn-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 16px; }

.learn-level {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.beginner     { background: rgba(0,230,118,0.12); color: var(--green); }
.intermediate { background: rgba(255,204,0,0.12);  color: #ffcc00; }
.essential    { background: rgba(124,111,255,0.15); color: var(--accent); }

/* ── FEATURED EDUCATIONAL VIDEO ──────────────────────────────────── */
/* ── RECOMMENDED BOOKS ───────────────────────────────────────────── */
.books-wrap {
  max-width: 1000px;
  margin: 56px auto 0;
}
.books-header { text-align: center; margin-bottom: 28px; }
.books-label {
  display: inline-block;
  background: rgba(255,193,7,0.12);
  color: #ffc107;
  border: 1px solid rgba(255,193,7,0.3);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  margin-bottom: 10px;
}
.books-sub { font-size: 0.92rem; color: var(--muted); margin: 0; }
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 16px;
}
.book-card {
  display: flex;
  gap: 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.book-card:hover {
  border-color: #ffc107;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.book-icon { font-size: 32px; flex-shrink: 0; margin-top: 2px; }
.book-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
}
.book-author { font-size: 0.78rem; color: #ffc107; font-weight: 600; margin-bottom: 8px; }
.book-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
.book-btn {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffc107;
  border: 1px solid rgba(255,193,7,0.35);
  border-radius: 20px;
  padding: 5px 14px;
  transition: background 0.2s, color 0.2s;
}
.book-card:hover .book-btn { background: #ffc107; color: #000; }
.books-disclaimer {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.6;
  margin: 0;
}
.broker-wrap {
  max-width: 1000px;
  margin: 48px auto 0;
}
.broker-header { text-align: center; margin-bottom: 28px; }
.broker-label {
  display: inline-block;
  background: rgba(0,230,118,0.12);
  color: #00e676;
  border: 1px solid rgba(0,230,118,0.3);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  margin-bottom: 10px;
}
.broker-sub { font-size: 0.92rem; color: var(--muted); margin: 0; }
.broker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-bottom: 16px;
}
.broker-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.broker-card:hover {
  border-color: #00e676;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.broker-logo { font-size: 48px; flex-shrink: 0; margin-top: 4px; }
.broker-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.broker-tagline { font-size: 0.82rem; color: #00e676; font-weight: 600; margin-bottom: 10px; }
.broker-desc { font-size: 0.85rem; color: var(--muted); line-height: 1.55; margin-bottom: 14px; }
.broker-perks { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.broker-perk {
  font-size: 0.78rem;
  color: var(--text);
  background: rgba(0,230,118,0.08);
  border: 1px solid rgba(0,230,118,0.2);
  border-radius: 12px;
  padding: 4px 12px;
}
.broker-btn {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #00e676;
  border: 1px solid rgba(0,230,118,0.35);
  border-radius: 20px;
  padding: 7px 18px;
  transition: background 0.2s, color 0.2s;
}
.broker-card:hover .broker-btn { background: #00e676; color: #000; }
.broker-disclaimer {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  opacity: 0.6;
  margin: 0;
}

.featured-video-wrap {
  max-width: 860px;
  margin: 56px auto 0;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 36px 32px;
  text-align: center;
}
.featured-video-label {
  display: inline-block;
  background: rgba(124,111,255,0.15);
  color: var(--accent);
  border: 1px solid rgba(124,111,255,0.35);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  margin-bottom: 12px;
}
.featured-video-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}
.featured-video-desc {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 22px;
}
.featured-video-player {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.featured-video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── NAV START HERE ──────────────────────────────────────────────── */
.nav-start-here {
  color: var(--accent) !important;
  font-weight: 500 !important;
  border: 1px solid rgba(124,111,255,0.3);
  border-radius: 980px;
  padding: 4px 13px !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-start-here:hover { background: rgba(124,111,255,0.15); color: var(--accent) !important; }

/* ── NAV MARKETS BUTTON ──────────────────────────────────────────── */
.nav-markets-btn { background: var(--accent); color: #fff !important; padding: 6px 14px; border-radius: 6px; font-weight: 600; }
.nav-markets-btn:hover { background: #9b8fff; color: #fff !important; }

/* ── BEGINNER JOURNEY SECTION ────────────────────────────────────── */
.start-here {
  padding: 110px 40px;
  background: var(--surface1);
}
.journey-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto 36px;
}
.journey-step {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 32px 24px;
  flex: 1;
  min-width: 210px;
  max-width: 240px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s cubic-bezier(.25,.46,.45,.94);
}
.journey-step:hover { border-color: rgba(124,111,255,0.4); transform: translateY(-6px); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.step-icon { font-size: 32px; margin-bottom: 10px; }
.journey-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.journey-step p  { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.step-btn {
  display: inline-block;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.step-btn:hover { background: var(--accent); color: #fff; }
.journey-arrow {
  font-size: 1.5rem;
  color: var(--border);
  align-self: center;
  margin-top: -20px;
}
.journey-note {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
  background: rgba(124,111,255,0.07);
  border: 1px solid rgba(124,111,255,0.2);
  border-radius: 12px;
  padding: 14px 20px;
  line-height: 1.6;
}
.journey-note strong { color: var(--text); }
@media (max-width: 700px) {
  .journey-arrow { display: none; }
  .journey-step  { max-width: 100%; }
}

/* ── JARGON TOOLTIPS ─────────────────────────────────────────────── */
.jargon-tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px; height: 15px;
  background: rgba(124,111,255,0.2);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 800;
  cursor: help;
  position: relative;
  vertical-align: middle;
  margin-left: 3px;
}
.jargon-tip::after {
  content: attr(title);
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a30;
  border: 1px solid var(--accent);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.76rem;
  color: var(--text);
  line-height: 1.55;
  width: 240px;
  white-space: normal;
  z-index: 500;
  font-weight: 400;
  pointer-events: none;
}
.jargon-tip:hover::after { display: block; }

/* ── CONTACT ─────────────────────────────────────────────────────── */
.contact {
  padding: 100px 40px;
  background: var(--bg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 620px;
  margin: 0 auto;
}

.form-row { display: flex; gap: 16px; }
.form-row input { flex: 1; }

.contact-form input,
.contact-form textarea {
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }

.contact-form textarea { height: 150px; resize: vertical; }

.contact-form button {
  padding: 16px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, transform 0.2s;
}
.contact-form button:hover { background: #6458e0; transform: translateY(-2px); }

/* ── FOOTER ──────────────────────────────────────────────────────── */
footer {
  background: var(--surface1);
  border-top: 1px solid var(--border);
  padding: 60px 60px 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-left .logo { font-size: 20px; margin-bottom: 10px; }
.footer-left p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.footer-logo   { display: block; margin-bottom: 10px; }

.footer-right { max-width: 420px; }
.disclaimer {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  border-left: 3px solid var(--border);
  padding-left: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

/* ── LIGHT MODE ──────────────────────────────────────────────────── */
html.light, body.light {
  --bg:       #f4f4f8;
  --surface1: #ffffff;
  --surface2: #ececf3;
  --border:   #dddde8;
  --text:     #111120;
  --muted:    #6a6a8a;
}
body.light nav { background: rgba(244,244,248,0.92); border-bottom-color: rgba(0,0,0,0.08); }
body.light .search-wrap input { color: #111120; }

/* Nav links — dark text on light nav */
body.light .nav-links a              { color: rgba(17,17,32,0.68); }
body.light .nav-links a:hover        { color: #111120; }
body.light .nav-links a.nav-active::after { background: #4a2fbb; }

/* Toggle button — visible on light bg */
body.light .toggle-btn {
  background: rgba(0,0,0,0.05);
  border-color: rgba(0,0,0,0.14);
}
body.light .toggle-btn:hover { background: rgba(0,0,0,0.10); }

/* Hamburger hover on light */
body.light .hamburger:hover { background: rgba(0,0,0,0.06); }

/* Ticker bar — adapt to light */
body.light .ticker-bar {
  background: rgba(228,228,238,0.92);
  border-bottom-color: rgba(0,0,0,0.07);
}

/* Stat divider — white line invisible on light, use dark */
body.light .stat-div { background: rgba(0,0,0,0.10); }

/* Nav dropdown — adapt to light */
body.light .nav-dropdown {
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  border-color: #dddde8;
}
body.light .nav-dd-item:hover { background: rgba(0,0,0,0.04); }

/* Breaking news modal — adapt to light */
body.light .breaking-modal {
  background: #ffffff;
  box-shadow: 0 0 60px rgba(255,51,51,0.15), 0 24px 60px rgba(0,0,0,0.1);
}
body.light .breaking-market-tag {
  background: rgba(0,0,0,0.04);
  border-color: #dddde8;
}

/* ── LIGHT MODE — HERO ───────────────────────────────────────────── */
body.light .hero {
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(124,111,255,0.08) 0%, transparent 60%), var(--bg);
}
body.light .hero-glow {
  background: radial-gradient(ellipse, rgba(124,111,255,0.07) 0%, transparent 70%);
}
body.light .hero-badge {
  background: rgba(48,209,88,0.08);
  border-color: rgba(48,209,88,0.18);
}
body.light .gradient-text {
  background: linear-gradient(135deg, #4a2fbb 0%, #166b2e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
body.light .btn-secondary {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.15);
  color: var(--text);
}
body.light .btn-secondary:hover {
  background: rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.22);
}
body.light .phase-pill {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.12);
  color: var(--text);
}
body.light .phase-pill-dot { color: var(--muted); }

/* ── LIGHT MODE — METHOD SECTION ────────────────────────────────── */
body.light .method-phase-card { background: #fff; border-color: #dde; }
body.light .method-phase-card p { color: var(--muted); }
body.light .phase-milestones { color: #444; }
body.light .btn-waitlist {
  background: rgba(180,140,0,0.1);
  border-color: rgba(180,140,0,0.3);
}

/* ── LIGHT MODE — PROGRAM SECTION ───────────────────────────────── */
body.light .program-section { background: var(--bg); }
body.light .phase-card { background: #fff; border-color: #dde; }
body.light .phase-card-header:hover { background: rgba(0,0,0,0.03); }
body.light .phase-card-body { border-top-color: #dde; }
body.light .phase-card-desc { color: var(--muted); }
body.light .phase-checklist li label { color: #444; }
body.light .program-progress-track { background: rgba(0,0,0,0.07); }
body.light .phase-tools { border-top-color: #dde; }
body.light .phase-tool-link {
  background: rgba(124,111,255,0.06);
  border-color: rgba(124,111,255,0.18);
}

/* ── LIGHT MODE — WAITLIST ───────────────────────────────────────── */
body.light .waitlist-requirement {
  background: rgba(255,165,0,0.06);
  border-color: rgba(255,165,0,0.18);
}

/* ── ANIMATIONS ──────────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge    { animation: fadeUp 0.6s ease forwards; }
.hero h1       { animation: none; opacity: 1; }  /* individual words handle their own reveal */
.hero-sub      { animation: fadeUp 0.6s ease 3.9s forwards; opacity: 0; }
.hero-btns     { animation: fadeUp 0.6s ease 4.1s forwards; opacity: 0; }
.hero-phase-pills { animation: fadeUp 0.5s ease 4.4s forwards; opacity: 0; }

/* ── HERO WORD ANIMATIONS ────────────────────────────────────────── */
.hero-word { display: inline-block; opacity: 0; }

@keyframes crawlIn {
  0%   { opacity: 0; transform: translateX(-90px); letter-spacing: -0.15em; filter: blur(10px); }
  55%  { opacity: 0.8; transform: translateX(8px);  letter-spacing: 0.08em;  filter: blur(1px); }
  100% { opacity: 1;  transform: translateX(0);    letter-spacing: -3px;    filter: blur(0); }
}
@keyframes crawlSway {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  33%       { transform: translateX(4px) rotate(0.5deg); }
  67%       { transform: translateX(-3px) rotate(-0.4deg); }
}
@keyframes walkUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes runBlast {
  0%   { opacity: 0; transform: translateX(130px); }
  65%  { opacity: 1; transform: translateX(-14px); }
  82%  { transform: translateX(6px); }
  91%  { transform: translateX(-2px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes runVibrate {
  0%, 100% { transform: translateX(0); }
  25%       { transform: translateX(-1.5px); }
  75%       { transform: translateX(1.5px); }
}

.hw-crawl {
  animation:
    crawlIn   2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s forwards,
    crawlSway 4s   ease-in-out                            2.9s infinite;
}
.hw-walk {
  animation: walkUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) 2.8s forwards;
}
.hw-run {
  animation:
    runBlast   0.45s ease-out 3.6s  forwards,
    runVibrate 0.08s linear   4.05s infinite;
}

/* light mode: hw-crawl is plain text (not a gradient) */
body.light .hw-crawl { color: var(--text); }

/* ── HAMBURGER / MOBILE NAV ──────────────────────────────────────── */
.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
  line-height: 1;
}
.hamburger:hover { background: rgba(255,255,255,0.08); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 52px;
  left: 0; right: 0;
  background: var(--surface1);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 8px 0;
  z-index: 998;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 28px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover { background: rgba(124,111,255,0.08); color: var(--accent); }
.mobile-nav .mobile-toggle-btn {
  margin: 12px 28px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  text-align: left;
}

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
.members-grid a:hover { border-color: var(--accent); transform: translateY(-3px); }

@media (max-width: 768px) {
  .members-grid { grid-template-columns: 1fr !important; }
  /* — NAV — */
  nav                       { padding: 0 20px; }
  .nav-links                { gap: 12px; }
  .nav-links a              { display: none; }
  .nav-links .toggle-btn    { display: none; }
  .nav-links .nav-auth-btn  { display: none; }
  .hamburger                { display: block; }

  /* — HERO — */
  .hero                     { min-height: 72vh; padding: 56px 20px 48px; }
  .hero h1                  { letter-spacing: -1.5px; }
  .hero-sub                 { font-size: 17px; margin-bottom: 28px; }
  .hero-btns                { flex-direction: column; align-items: stretch; gap: 12px;
                               max-width: 320px; margin-left: auto; margin-right: auto; }
  .btn-primary,
  .btn-secondary            { width: 100%; text-align: center; font-size: 16px; padding: 15px 24px; }

  /* — STATS BAR — */
  .stats-bar                { padding: 20px; gap: 12px 28px; }
  .stat-div                 { display: none; }
  .stat-num                 { font-size: 20px; }

  /* — SECTION HEADERS — */
  .section-header           { margin-bottom: 40px; }
  .section-header p         { font-size: 16px; }

  /* — START HERE — */
  .start-here               { padding: 72px 20px; }

  /* — ABOUT — */
  .about                    { padding: 72px 20px; }

  /* — EMAIL CAPTURE — */
  .email-capture            { padding: 64px 20px; }
  .email-capture-inner      { gap: 32px; }
  .email-right,
  .email-left               { min-width: auto; width: 100%; }
  .email-card               { padding: 24px 20px; }

  /* — STOCKS / TRACKER — */
  .stocks                   { padding: 72px 20px; }
  .search-wrap              { margin: 0 0 16px; }
  .stock-card               { flex-direction: column; text-align: center;
                               gap: 14px; padding: 20px 18px; }
  .stock-price-big,
  .change                   { text-align: center; }

  /* — ANALYSIS / NARRATIVE — */
  .analysis                 { padding: 72px 20px; }
  .narrative-body           { padding: 16px; }
  .narrative-header         { padding: 14px 16px; }
  .trends-block             { padding: 20px 16px; }
  .sr-lw-chart              { height: 400px; }
  .rec-panel .rec-block     { min-width: 140px; }

  /* — MARKET TRENDS — */
  .market-trends            { padding: 72px 20px; }

  /* — EXPERTS — */
  .experts-section          { padding: 72px 20px; }

  /* — MARKET INTEL — */
  .market-intel             { padding: 72px 20px; }

  /* — TREND CYCLES — */
  .trend-cycles             { padding: 72px 20px; }

  /* — YOUTUBE — */
  .youtube-section          { padding: 72px 20px; }
  .youtube-sidebar          { min-width: auto; width: 100%; }

  /* — LEARN — */
  .learn                    { padding: 72px 20px; }

  /* — CALCULATORS — */
  .calculators-section      { padding: 72px 20px; }
  .calc-grid                { grid-template-columns: 1fr; }
  .calc-card                { padding: 24px 18px; border-radius: 20px; }
  .calc-fields              { grid-template-columns: 1fr; }

  /* — BUDGET LAB / ACADEMY — */
  .budget-lab               { padding: 72px 20px 60px; }
  .budget-academy           { padding: 72px 20px 60px; }
  .baby-steps-tracker       { padding: 24px 18px; }

  /* — CONTACT — */
  .contact                  { padding: 72px 20px; }
  .form-row                 { flex-direction: column; }

  /* — FOOTER — */
  footer                    { padding: 48px 20px 24px; }
  .footer-inner             { gap: 20px; flex-direction: column; }
  .footer-right             { max-width: 100%; }
}

/* ── PENNY STOCK RADAR ───────────────────────────────────────────── */
.penny-section { padding: 80px 5%; }
.penny-disclaimer-banner {
  max-width: 1000px; margin: 0 auto 40px;
  background: rgba(255,68,68,0.07); border: 1px solid rgba(255,68,68,0.25);
  border-left: 4px solid #ff4444; border-radius: 10px;
  padding: 16px 20px; font-size: 0.88rem; line-height: 1.6; color: var(--text);
}
.penny-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 20px; max-width: 1000px; margin: 0 auto;
}
.penny-card {
  display: flex; border-radius: 16px;
  background: var(--surface1); border: 1px solid var(--border);
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.penny-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.penny-card-accent { width: 5px; flex-shrink: 0; }
.penny-card-body { padding: 20px 22px; flex: 1; }
.penny-top-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; gap: 10px; }
.penny-symbol { font-size: 1.5rem; font-weight: 900; color: var(--text); letter-spacing: 0.02em; }
.penny-company { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.penny-badges { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.penny-sector-badge { font-size: 0.68rem; font-weight: 700; border: 1px solid; border-radius: 20px; padding: 3px 9px; white-space: nowrap; }
.penny-risk { font-size: 0.68rem; font-weight: 700; border-radius: 20px; padding: 3px 9px; }
.penny-risk.high      { color: #ff9800; background: rgba(255,152,0,0.1); border: 1px solid rgba(255,152,0,0.3); }
.penny-risk.very-high { color: #ff4444; background: rgba(255,68,68,0.1);  border: 1px solid rgba(255,68,68,0.3); }
.penny-price-now { font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; }
.penny-price-now span { font-size: 0.72rem; opacity: 0.6; }
.penny-thesis { font-size: 0.83rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.penny-levels-row { display: flex; gap: 8px; margin-bottom: 12px; }
.penny-level-block { flex: 1; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; }
.pll-label { display: block; font-size: 0.65rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.pll-val { font-size: 0.88rem; font-weight: 700; }
.entry-val { color: var(--text); }
.target-val { color: var(--green); }
.stop-val   { color: var(--red); }
.penny-upside-wrap { display: flex; align-items: center; gap: 10px; }
.penny-upside-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.penny-upside-fill { height: 100%; background: linear-gradient(90deg, #7c6fff, #00e676); border-radius: 3px; max-width: 100%; }
.penny-upside-label { font-size: 0.72rem; font-weight: 700; color: var(--green); white-space: nowrap; }
/* ── PENNY WEEK BAR ──────────────────────────────────────────────── */
.penny-week-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 1000px;
  margin: 0 auto 28px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 20px;
}
.penny-week-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.penny-rotate-icon {
  font-size: 22px;
  animation: spin-slow 8s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.penny-week-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}
.penny-week-range {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 2px;
}
.penny-week-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.penny-batch-badge {
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(124,111,255,0.12);
  color: var(--accent);
  border: 1px solid rgba(124,111,255,0.3);
  border-radius: 20px;
  padding: 4px 12px;
}
.penny-next-label {
  font-size: 0.75rem;
  color: var(--muted);
}
.penny-next-label strong {
  color: var(--text);
}

.penny-footer-note { max-width: 1000px; margin: 32px auto 0; text-align: center; font-size: 0.75rem; color: var(--muted); opacity: 0.7; }
@media (max-width: 600px) { .penny-grid { grid-template-columns: 1fr; } .penny-levels-row { flex-direction: column; } }

/* ── ACCORDION DROPDOWN ──────────────────────────────────────────── */
.dropdown-toggle {
  width: 100%; background: none; border: none;
  border-top: 1px solid var(--border); color: var(--muted);
  font-size: 0.78rem; font-weight: 700; padding: 10px 0 8px;
  cursor: pointer; text-align: left; transition: color 0.2s;
  font-family: 'Inter', sans-serif; letter-spacing: 0.02em;
}
.dropdown-toggle:hover { color: var(--accent); }
.dropdown-toggle.open  { color: var(--accent); }
.dropdown-content {
  max-height: 0; overflow: hidden;
  transition: max-height 0.38s ease;
}

/* ── SPY WEEKLY OPTIONS HUB ──────────────────────────────────────── */
/* ── MARKET CALENDAR ─────────────────────────────────────────────── */
.market-calendar-section {
  padding: 120px 40px;
  background: var(--surface1);
  max-width: 100%;
}

/* Next event banner */
.cal-next-event {
  max-width: 700px;
  margin: 0 auto 52px;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 40px;
  text-align: center;
  background: rgba(124,111,255,0.06);
  transition: border-color 0.3s, background 0.3s;
}
.cal-next-label    { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 14px; }
.cal-next-icon     { font-size: 44px; margin-bottom: 10px; }
.cal-next-name     { font-size: 24px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.cal-next-date     { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.cal-next-countdown {
  display: inline-block;
  font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 5px 16px; border-radius: 20px;
  background: rgba(124,111,255,0.15); color: var(--accent);
  border: 1px solid rgba(124,111,255,0.3);
  margin-bottom: 14px;
}
.cal-next-desc     { font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 520px; margin: 0 auto; }

/* Filter tabs */
.cal-tabs {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto 40px;
}
.cal-tab {
  padding: 9px 20px; border-radius: 30px;
  border: 1px solid var(--border);
  background: var(--bg); color: var(--muted);
  font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.cal-tab:hover   { border-color: rgba(124,111,255,0.4); color: var(--text); }
.cal-tab.active  { background: rgba(124,111,255,0.15); border-color: var(--accent); color: var(--text); }

/* Events grid */
.cal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Event card */
.cal-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px 22px;
  transition: transform 0.15s, border-color 0.2s;
}
.cal-card:hover          { transform: translateY(-3px); }
.cal-card.cal-past       { opacity: 0.45; }
.cal-card.cal-today      { border-color: #ffd740; box-shadow: 0 0 18px rgba(255,215,64,0.12); }

.cal-card-top  { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 8px; flex-wrap: wrap; }
.cal-card-icon { font-size: 28px; margin-bottom: 8px; }
.cal-card-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
.cal-card-date { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.cal-card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Category badges */
.cal-cat-badge {
  font-size: 10px; font-weight: 700; padding: 3px 10px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px;
}
.cat-fed      { background: rgba(124,111,255,0.15); color: #a99bff; border: 1px solid rgba(124,111,255,0.3); }
.cat-report   { background: rgba(41,182,246,0.12);  color: #29b6f6; border: 1px solid rgba(41,182,246,0.3); }
.cat-holiday  { background: rgba(255,179,0,0.12);   color: #ffb300; border: 1px solid rgba(255,179,0,0.3); }
.cat-earnings { background: rgba(0,230,118,0.10);   color: #00e676; border: 1px solid rgba(0,230,118,0.3); }

/* Days-away tags */
.cal-days-tag {
  font-size: 10px; font-weight: 800; padding: 3px 9px;
  border-radius: 20px; white-space: nowrap;
}
.cal-days-tag.today  { background: rgba(255,215,64,0.15); color: #ffd740; border: 1px solid rgba(255,215,64,0.4); }
.cal-days-tag.soon   { background: rgba(0,230,118,0.12);  color: #00e676; border: 1px solid rgba(0,230,118,0.35); }
.cal-days-tag.future { background: rgba(255,255,255,0.06); color: var(--muted); border: 1px solid var(--border); }
.cal-days-tag.past   { background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.25); border: 1px solid rgba(255,255,255,0.08); }

/* Disclaimer */
.cal-disclaimer { text-align: center; font-size: 12px; color: var(--muted); opacity: 0.6; margin-top: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Card accent left-borders by category */
.cal-fed      { border-left: 3px solid rgba(124,111,255,0.5); }
.cal-report   { border-left: 3px solid rgba(41,182,246,0.5); }
.cal-holiday  { border-left: 3px solid rgba(255,179,0,0.5); }
.cal-earnings { border-left: 3px solid rgba(0,230,118,0.5); }

@media (max-width: 900px) {
  .market-calendar-section { padding: 60px 20px; }
  .cal-next-event { padding: 24px 20px; }
  .cal-grid { grid-template-columns: 1fr; }
}

/* ── YOUTUBE THUMBNAIL LINK-OUT ──────────────────────────────────── */
.yt-thumb-link { display: block; text-decoration: none; border-radius: 16px; overflow: hidden; }
.yt-thumb-wrap { position: relative; width: 100%; aspect-ratio: 16/9; background: #0d0d1a; border-radius: 16px; overflow: hidden; cursor: pointer; }
.yt-thumb-img  { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.yt-thumb-link:hover .yt-thumb-img { transform: scale(1.03); }
.yt-thumb-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: rgba(0,0,0,0.45);
  transition: background 0.2s;
}
.yt-thumb-link:hover .yt-thumb-overlay { background: rgba(0,0,0,0.3); }
.yt-play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: #ff0000; color: #fff;
  font-size: 26px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(255,0,0,0.5);
  transition: transform 0.2s;
}
.yt-thumb-link:hover .yt-play-btn { transform: scale(1.1); }
.yt-thumb-cta { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0.3px; text-shadow: 0 1px 4px rgba(0,0,0,0.6); }

/* Channel placeholder (no single thumbnail) */
.yt-channel-thumb { background: linear-gradient(135deg, #0d0d1a 0%, #13132a 100%); }
.yt-channel-preview { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.yt-channel-logo         { font-size: 64px; }
.yt-channel-preview-name { font-size: 22px; font-weight: 800; color: #fff; }
.yt-channel-preview-sub  { font-size: 14px; color: rgba(255,255,255,0.5); }

/* ── BUDGET LAB ─────────────────────────────────────────────────── */
.budget-lab {
  padding: 120px 5% 100px;
  background: var(--bg);
}

/* Baby Steps Tracker */
.baby-steps-tracker {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 36px;
  margin-bottom: 56px;
  text-align: center;
}
.bst-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.bst-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.bst-arrow {
  color: rgba(255,255,255,0.2);
  font-size: 18px;
  flex-shrink: 0;
}
.bst-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  transition: all 0.2s;
  min-width: 90px;
}
.bst-step:hover { background: rgba(124,111,255,0.1); border-color: rgba(124,111,255,0.3); transform: translateY(-2px); }
.bst-step.bst-active { background: rgba(124,111,255,0.18); border-color: var(--accent); box-shadow: 0 0 20px rgba(124,111,255,0.25); }
.bst-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.bst-step.bst-active .bst-num { background: var(--accent); color: #fff; }
.bst-text { font-size: 11px; color: var(--muted); font-weight: 500; text-align: center; line-height: 1.3; }
.bst-step.bst-active .bst-text { color: var(--text); }
.bst-tip {
  font-size: 14px;
  color: var(--text);
  background: rgba(124,111,255,0.08);
  border: 1px solid rgba(124,111,255,0.2);
  border-radius: 12px;
  padding: 14px 20px;
  line-height: 1.6;
  min-height: 48px;
  transition: all 0.3s;
}

/* Budget Worksheet */
.budget-worksheet-wrap {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 28px;
  align-items: start;
  margin-bottom: 56px;
}
.budget-col-left { display: flex; flex-direction: column; gap: 20px; }

.bw-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 28px;
  transition: border-color 0.2s;
}
.bw-section:focus-within { border-color: rgba(124,111,255,0.4); }
.bw-sec-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.income-title  { color: #30d158; }
.expense-title { color: #ff8a65; }
.debt-title    { color: #ff453a; }
.invest-title  { color: var(--accent); }
.misc-title    { color: #ffd60a; }

.bw-rows { display: flex; flex-direction: column; gap: 10px; }
.bw-row {
  display: grid;
  grid-template-columns: 1fr 16px 120px;
  gap: 8px;
  align-items: center;
}
.bw-label {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--muted);
  font-size: 13px;
  font-family: var(--font);
  padding: 4px 0;
  outline: none;
  transition: border-color 0.2s, color 0.2s;
}
.bw-label:focus { border-bottom-color: var(--accent); color: var(--text); }
.bw-dollar { color: var(--muted); font-size: 13px; text-align: center; }
.bw-amt {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  font-weight: 600;
  padding: 6px 10px;
  width: 100%;
  text-align: right;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.bw-amt:focus { border-color: var(--accent); background: rgba(124,111,255,0.08); }
.income-input:focus  { border-color: #30d158; }
.expense-input:focus { border-color: #ff8a65; }
.debt-input:focus    { border-color: #ff453a; }
.invest-input:focus  { border-color: var(--accent); }
.misc-input:focus    { border-color: #ffd60a; }

.bw-total {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bw-total-val { font-size: 18px; letter-spacing: normal; text-transform: none; font-weight: 800; }
.income-color  { color: #30d158; }
.expense-color { color: #ff8a65; }
.debt-color    { color: #ff453a; }
.invest-color  { color: var(--accent); }
.misc-color    { color: #ffd60a; }

/* Score Card */
.budget-col-right { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 80px; }

.budget-score-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 24px;
  text-align: center;
}
.bsc-grade {
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  transition: color 0.4s, text-shadow 0.4s;
}
.bsc-label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.bsc-net-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.bsc-net-label { font-size: 13px; color: var(--muted); }
.bsc-net-val { font-size: 24px; font-weight: 800; transition: color 0.3s; }
.bsc-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.bsc-stat { background: rgba(255,255,255,0.03); border-radius: 10px; padding: 10px 8px; text-align: center; }
.bsc-stat-label { display: block; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.bsc-stat-val { font-size: 16px; font-weight: 700; }

/* Donut Chart */
.budget-donut-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
}
.bd-title { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 16px; text-align: center; }
.bd-chart-area { position: relative; margin: 0 auto 16px; max-width: 220px; }
.bd-center-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  text-align: center; pointer-events: none;
}
.bd-center-label strong { display: block; font-size: 20px; font-weight: 800; color: var(--text); }
.bd-center-label span { font-size: 11px; color: var(--muted); }
.bd-legend { display: flex; flex-direction: column; gap: 6px; }
.bd-legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.bd-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.bd-empty { font-size: 13px; color: var(--muted); text-align: center; padding: 8px 0; }

/* Action Plan */
.budget-action-card {
  background: rgba(124,111,255,0.06);
  border: 1px solid rgba(124,111,255,0.2);
  border-radius: 20px;
  padding: 22px 24px;
}
.bac-title { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.bac-tips { display: flex; flex-direction: column; gap: 10px; }
.bac-tip { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text); line-height: 1.5; }
.bac-tip-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* 50/30/20 Analyzer */
.rule5030-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 48px;
  max-width: 820px;
  margin: 0 auto;
}
.rule5030-header { text-align: center; margin-bottom: 36px; }
.rule5030-badge {
  display: inline-block;
  background: rgba(48,209,88,0.12);
  border: 1px solid rgba(48,209,88,0.25);
  border-radius: 50px;
  font-size: 12px; font-weight: 700; color: #30d158;
  padding: 5px 14px; letter-spacing: 0.8px; text-transform: uppercase;
  margin-bottom: 16px;
}
.rule5030-header h3 { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.rule5030-header p { color: var(--muted); font-size: 14px; }
.r5-input-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 32px; }
.r5-input-wrap label { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; }
.r5-input-row {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 10px 16px; font-size: 18px; font-weight: 700;
}
.r5-input-row input {
  background: transparent; border: none; outline: none;
  color: var(--text); font-size: 22px; font-weight: 800;
  font-family: var(--font); width: 140px; text-align: left;
}
.r5-bars { display: flex; flex-direction: column; gap: 24px; }
.r5-bar-row { display: grid; grid-template-columns: 180px 1fr 90px; gap: 16px; align-items: center; }
.r5-cat { font-size: 14px; font-weight: 600; }
.r5-bar-track { height: 12px; background: rgba(255,255,255,0.07); border-radius: 999px; overflow: hidden; }
.r5-bar-fill { height: 100%; border-radius: 999px; transition: width 0.4s ease; }
.needs-fill { background: linear-gradient(90deg, #ff8a65, #ff453a); }
.wants-fill { background: linear-gradient(90deg, #ffd60a, #ff9f0a); }
.save-fill  { background: linear-gradient(90deg, #30d158, #34aadc); }
.r5-amt { font-size: 17px; font-weight: 800; text-align: right; }
.needs-color { color: #ff8a65; }
.wants-color { color: #ffd60a; }
.save-color  { color: #30d158; }
.r5-note { font-size: 12px; color: var(--muted); grid-column: 1 / -1; margin-top: -10px; }

/* ── BUDGET ACADEMY ──────────────────────────────────────────────── */
.budget-academy {
  padding: 120px 5% 100px;
  background: var(--surface1);
}

/* Method Cards */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.method-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}
.method-card:hover { transform: translateY(-4px); border-color: rgba(124,111,255,0.35); }
.method-pill {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px;
  margin-bottom: 20px;
}
.method-pill.popular { background: rgba(48,209,88,0.15); color: #30d158; border: 1px solid rgba(48,209,88,0.25); }
.method-pill.control { background: rgba(255,69,58,0.12);  color: #ff8a65;  border: 1px solid rgba(255,69,58,0.2); }
.method-pill.auto    { background: rgba(124,111,255,0.15); color: var(--accent); border: 1px solid rgba(124,111,255,0.3); }

.method-icon-big {
  font-size: 36px; font-weight: 900; color: var(--accent);
  margin-bottom: 14px; line-height: 1;
}
.method-slash { color: var(--muted); font-weight: 300; }
.method-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.method-breakdown { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.mb-item { display: flex; align-items: flex-start; gap: 14px; }
.mb-pct { font-size: 22px; font-weight: 900; min-width: 52px; line-height: 1.2; }
.mb-needs .mb-pct { color: #ff8a65; }
.mb-wants .mb-pct { color: #ffd60a; }
.mb-saves .mb-pct { color: #30d158; }
.mb-item span { font-size: 12px; color: var(--muted); }
.method-desc p { font-size: 14px; line-height: 1.6; color: var(--muted); margin-bottom: 10px; }
.method-formula { font-size: 18px; font-weight: 700; color: var(--text) !important; }
.method-who { font-size: 13px; color: var(--muted); background: rgba(255,255,255,0.04); border-radius: 10px; padding: 12px 14px; line-height: 1.5; }

/* Financial Video Grid */
.finvid-header { text-align: center; margin-bottom: 40px; }
.finvid-header h3 { font-size: clamp(24px, 3.5vw, 38px); font-weight: 700; margin-bottom: 10px; }
.finvid-header p { color: var(--muted); max-width: 600px; margin: 0 auto; }

.finvid-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.finvid-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.finvid-card:hover { transform: translateY(-4px); border-color: rgba(124,111,255,0.35); box-shadow: 0 20px 48px rgba(0,0,0,0.4); }

.finvid-thumb {
  position: relative;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.caleb-bg   { background: linear-gradient(135deg, #1a0505 0%, #2e0a0a 50%, #1a0810 100%); }
.graham-bg  { background: linear-gradient(135deg, #0a0a1a 0%, #1a0f00 50%, #2a1500 100%); }
.humphrey-bg{ background: linear-gradient(135deg, #041220 0%, #0a1e38 50%, #062030 100%); }
.nischa-bg  { background: linear-gradient(135deg, #1a0a2e 0%, #280d42 50%, #1a0a38 100%); }
.tina-bg    { background: linear-gradient(135deg, #1a1000 0%, #2e1e00 50%, #241800 100%); }
.ramsey-bg  { background: linear-gradient(135deg, #0a1a0a 0%, #0d280d 50%, #001a08 100%); }
.zacrios-bg { background: linear-gradient(135deg, #001a1a 0%, #002828 50%, #001e20 100%); }
.orlando-bg { background: linear-gradient(135deg, #00150a 0%, #00221a 50%, #001a12 100%); }
.symone-bg  { background: linear-gradient(135deg, #1a0028 0%, #2a0040 50%, #1a0030 100%); }
.jj-bg      { background: linear-gradient(135deg, #0a1020 0%, #101828 50%, #0a1420 100%); }

.finvid-channel-icon { font-size: 52px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5)); }
.finvid-play-btn {
  position: absolute;
  width: 52px; height: 52px; border-radius: 50%;
  background: #ff0000; color: #fff;
  font-size: 18px; display: flex; align-items: center; justify-content: center;
  bottom: 14px; right: 14px;
  box-shadow: 0 4px 20px rgba(255,0,0,0.5);
  transition: transform 0.2s;
}
.finvid-card:hover .finvid-play-btn { transform: scale(1.12); }
.finvid-overlay-text { position: absolute; bottom: 14px; left: 14px; }
.finvid-creator { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.9); }
.finvid-topic { font-size: 11px; color: rgba(255,255,255,0.5); }

.finvid-info { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.finvid-sub-badge {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--accent); background: rgba(124,111,255,0.12);
  border-radius: 50px; padding: 3px 10px; display: inline-block; width: fit-content;
}
.finvid-title { font-size: 17px; font-weight: 700; line-height: 1.3; }
.finvid-desc { font-size: 13px; color: var(--muted); line-height: 1.6; flex: 1; }
.finvid-cta { font-size: 13px; font-weight: 600; color: var(--accent); margin-top: 4px; }
.finvid-card:hover .finvid-cta { text-decoration: underline; }
.finvid-disclaimer { text-align: center; font-size: 12px; color: var(--muted); padding-top: 8px; }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .budget-worksheet-wrap { grid-template-columns: 1fr; }
  .budget-col-right { position: static; }
  .method-grid { grid-template-columns: 1fr; }
  .finvid-grid { grid-template-columns: 1fr; }
  .bst-row { gap: 4px; }
  .bst-step { min-width: 70px; padding: 10px 10px; }
  .bst-arrow { display: none; }
  .r5-bar-row { grid-template-columns: 140px 1fr 80px; }
  .rule5030-wrap { padding: 28px 24px; }
}

@media (max-width: 640px) {
  .bst-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .bst-arrow { display: none; }
  .r5-bar-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .r5-bar-track { grid-column: 1 / -1; }
  .r5-note { grid-column: 1 / -1; }
  .bw-row { grid-template-columns: 1fr 12px 90px; }
}
@media (max-width: 480px) {
  .bst-row { grid-template-columns: repeat(2, 1fr); }
  .bst-step { min-width: 0; padding: 10px 8px; font-size: 0.85rem; }
  .r5-bar-row { grid-template-columns: 1fr; gap: 8px; }
  .r5-bar-track { grid-column: auto; }
  .r5-note { grid-column: auto; }
  .bw-row { grid-template-columns: 1fr; gap: 4px; }
  .bw-dollar { display: none; }
  .bw-amt { text-align: left; }
}

/* ── TRADING CHART ───────────────────────────────────────────────── */
.pt-chart-wrap {
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
}
.pt-chart-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.pt-chart-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.pt-chart-controls input {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 12px;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  width: 90px;
  outline: none;
  text-transform: uppercase;
}
.pt-chart-controls input:focus { border-color: var(--accent); }
.pt-chart-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.pt-chart-btn:hover { background: #6b5ef0; }
.pt-chart-res-label { font-size: 12px; color: var(--muted); margin-left: 8px; }
.pt-res-btn {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s;
}
.pt-res-btn.active, .pt-res-btn:hover {
  background: rgba(124,111,255,0.15);
  border-color: var(--accent);
  color: var(--accent);
}
.pt-signal-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--muted);
  white-space: nowrap;
}
.pt-badge-buy       { background: rgba(48,209,88,0.15);  border-color: var(--green); color: var(--green); }
.pt-badge-buy-weak  { background: rgba(48,209,88,0.08);  border-color: rgba(48,209,88,0.4); color: var(--green); }
.pt-badge-sell      { background: rgba(255,69,58,0.15);  border-color: var(--red);   color: var(--red); }
.pt-badge-sell-weak { background: rgba(255,69,58,0.08);  border-color: rgba(255,69,58,0.4); color: var(--red); }
.pt-badge-neutral   { background: var(--surface2); border-color: var(--border); color: var(--muted); }

.pt-chart-container {
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}
.pt-signals-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.pt-signal-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pt-sig-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.pt-sig-val   { font-size: 20px; font-weight: 700; color: var(--text); }
.pt-sig-msg   { font-size: 12px; color: var(--muted); line-height: 1.4; }
.pt-rec-buy      { border-color: rgba(48,209,88,0.4);  background: rgba(48,209,88,0.06); }
.pt-rec-buy-weak { border-color: rgba(48,209,88,0.2);  background: rgba(48,209,88,0.03); }
.pt-rec-sell     { border-color: rgba(255,69,58,0.4);  background: rgba(255,69,58,0.06); }
.pt-rec-sell-weak{ border-color: rgba(255,69,58,0.2);  background: rgba(255,69,58,0.03); }
.pt-rec-neutral  { border-color: var(--border); }
@media (max-width: 900px) {
  .pt-signals-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .pt-signals-row { grid-template-columns: 1fr; }
}

/* ── PAPER TRADING ENGINE ────────────────────────────────────────── */
.paper-trading {
  padding: 120px 44px 80px;
  max-width: 1400px;
  margin: 0 auto;
}

.pt-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  padding: 10px 18px;
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: 50px;
  width: fit-content;
  font-size: 13px;
}
.pt-status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pt-connecting    { background: #f5a623; animation: pulse 1s infinite; }
.pt-connected     { background: var(--green); }
.pt-disconnected  { background: var(--red); }
.pt-error         { background: var(--red); }
@keyframes pulse {
  0%,100% { opacity: 1; } 50% { opacity: 0.3; }
}
.pt-status-text { color: var(--text); font-weight: 500; }
.pt-user-badge  { margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--border); color: var(--muted); }
.pt-reset-badge { margin-left: auto; font-size: 0.75rem; color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

/* ── Grid layout ─────────────────────────────────────────────────── */
.pt-grid {
  display: grid;
  grid-template-columns: 300px 1fr 280px;
  gap: 20px;
  margin-bottom: 24px;
}

/* ── Panels ──────────────────────────────────────────────────────── */
.pt-panel {
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
}
.pt-panel-header {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

/* ── Order Form ──────────────────────────────────────────────────── */
.pt-field { margin-bottom: 16px; }
.pt-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.pt-field input {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}
.pt-field input:focus { border-color: var(--accent); }
.pt-live-price {
  display: block;
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
  margin-top: 5px;
}

.pt-side-toggle { display: flex; gap: 8px; }
.pt-side-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.2s;
}
.pt-side-btn.pt-buy.active  { background: rgba(48,209,88,0.15); border-color: var(--green); color: var(--green); }
.pt-side-btn.pt-sell.active { background: rgba(255,69,58,0.15);  border-color: var(--red);   color: var(--red); }

.pt-order-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--surface2);
  border-radius: 10px;
  margin-bottom: 14px;
}
.pt-preview-label { font-size: 12px; color: var(--muted); }
.pt-preview-val   { font-size: 15px; font-weight: 600; color: var(--text); }

.pt-submit-btn {
  width: 100%;
  padding: 13px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  will-change: transform;
}
.pt-submit-btn:hover    { background: #6b5ef0; }
.pt-submit-btn:active   { transform: scale(0.98); }
.pt-submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.pt-order-msg { font-size: 13px; margin-top: 10px; min-height: 20px; line-height: 1.4; }
.pt-msg-success { color: var(--green); }
.pt-msg-error   { color: var(--red); }

.pt-risk-rules {
  margin-top: 20px;
  padding: 14px;
  background: rgba(255,69,58,0.06);
  border: 1px solid rgba(255,69,58,0.15);
  border-radius: 12px;
}
.pt-risk-title { font-size: 11px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.pt-risk-item  { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.pt-risk-item strong { color: var(--text); }

/* ── Portfolio stats ─────────────────────────────────────────────── */
.pt-portfolio-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.pt-stat-card {
  background: var(--surface2);
  border-radius: 12px;
  padding: 14px;
}
.pt-stat-label { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.pt-stat-val   { font-size: 18px; font-weight: 700; color: var(--text); }
.pt-stat-pct   { font-size: 13px; font-weight: 600; margin-top: 2px; }

.pt-green { color: var(--green) !important; }
.pt-red   { color: var(--red)   !important; }

/* ── Positions table ─────────────────────────────────────────────── */
.pt-positions-header { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.pt-positions-head {
  display: grid;
  grid-template-columns: 60px 50px 80px 80px 1fr;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0 4px 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.pt-pos-row {
  display: grid;
  grid-template-columns: 60px 50px 80px 80px 1fr;
  gap: 8px;
  font-size: 13px;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  align-items: center;
}
.pt-pos-symbol { font-weight: 700; color: var(--text); }
.pt-pos-pnl    { font-weight: 600; font-size: 12px; }
.pt-no-positions, .pt-no-history, .pt-no-alerts {
  font-size: 13px;
  color: var(--muted);
  padding: 16px 4px;
}

/* ── Alerts ──────────────────────────────────────────────────────── */
.pt-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.5;
}
.pt-alert-position-loss-warning  { background: rgba(245,166,35,0.1);  border: 1px solid rgba(245,166,35,0.2); }
.pt-alert-position-loss-critical { background: rgba(255,69,58,0.1);   border: 1px solid rgba(255,69,58,0.2); }
.pt-alert-concentration-high     { background: rgba(255,149,0,0.1);   border: 1px solid rgba(255,149,0,0.2); }
.pt-alert-icon  { flex-shrink: 0; font-size: 14px; }
.pt-alert-msg   { flex: 1; color: var(--text); }
.pt-alert-time  { font-size: 11px; color: var(--muted); flex-shrink: 0; }

/* ── Trade history ───────────────────────────────────────────────── */
.pt-hist-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 12px;
}
.pt-hist-side  { font-weight: 700; min-width: 32px; }
.pt-hist-sym   { font-weight: 700; color: var(--text); min-width: 50px; }
.pt-hist-qty   { color: var(--muted); }
.pt-hist-price { color: var(--text); flex: 1; }
.pt-hist-time  { color: var(--muted); font-size: 11px; }

/* ── Leaderboard ─────────────────────────────────────────────────── */
.pt-leaderboard {
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 20px;
}
.pt-lb-list { margin-top: 4px; }
.pt-lb-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 14px;
}
.pt-lb-rank { font-size: 18px; min-width: 28px; }
.pt-lb-name { flex: 1; font-weight: 600; color: var(--text); }
.pt-lb-val  { font-weight: 700; color: var(--text); min-width: 120px; text-align: right; }
.pt-lb-ret  { font-weight: 700; min-width: 80px; text-align: right; }

.pt-disclaimer {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
  padding: 0 20px;
}

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .pt-grid { grid-template-columns: 280px 1fr; }
  .pt-alerts-panel { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .paper-trading { padding: 80px 20px 60px; }
  .pt-grid { grid-template-columns: 1fr; }
  .pt-portfolio-stats { grid-template-columns: 1fr 1fr; }
  .pt-positions-head, .pt-pos-row { grid-template-columns: 55px 45px 72px 72px 1fr; font-size: 12px; }
}

/* ── HERO PHASE PILLS ────────────────────────────────────────────── */
.hero-phase-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.phase-pill {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.phase-pill-dot {
  color: var(--muted);
  font-size: 18px;
}

/* ── NAV WAITLIST BUTTON ─────────────────────────────────────────── */
.nav-waitlist-btn {
  color: var(--accent) !important;
  font-weight: 600 !important;
  border: 1px solid rgba(124,111,255,0.35);
  border-radius: 50px;
  padding: 5px 14px !important;
  background: rgba(124,111,255,0.08);
  transition: background 0.2s, border-color 0.2s !important;
}
.nav-waitlist-btn:hover {
  background: rgba(124,111,255,0.18) !important;
  border-color: rgba(124,111,255,0.55) !important;
  color: var(--accent) !important;
}

/* ── METHOD SECTION ──────────────────────────────────────────────── */
.method-section {
  padding: 120px 40px;
  background: var(--bg);
}

.method-phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.method-phase-card {
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.method-phase-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.method-phase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Green — Crawl */
.phase-accent-green::before { background: var(--green); }
.phase-accent-green:hover   { border-color: rgba(48,209,88,0.35); }
.phase-accent-green .phase-number { color: var(--green); }

/* Purple — Walk */
.phase-accent-purple::before { background: var(--accent); }
.phase-accent-purple:hover   { border-color: rgba(124,111,255,0.35); }
.phase-accent-purple .phase-number { color: var(--accent); }

/* Gold — Run */
.phase-accent-gold::before { background: #ffcc00; }
.phase-accent-gold:hover   { border-color: rgba(255,204,0,0.35); }
.phase-accent-gold .phase-number { color: #ffcc00; }

.phase-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.phase-emoji { font-size: 40px; line-height: 1; }
.method-phase-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.method-phase-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.phase-milestones {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #c0c0d8;
  flex: 1;
}
.method-phase-card .btn-primary,
.method-phase-card .btn-secondary {
  text-align: center;
  font-size: 15px;
  padding: 12px 24px;
  margin-top: auto;
}
.btn-waitlist {
  display: inline-block;
  padding: 12px 24px;
  background: rgba(255,204,0,0.12);
  color: #ffcc00;
  border: 1px solid rgba(255,204,0,0.3);
  border-radius: 980px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
  margin-top: auto;
}
.btn-waitlist:hover { background: rgba(255,204,0,0.22); border-color: rgba(255,204,0,0.55); }

@media (max-width: 900px) {
  .method-phases { grid-template-columns: 1fr; }
  .method-section { padding: 80px 20px; }
}
@media (max-width: 600px) {
  .method-section { padding: 40px 12px; }
  .method-phase-card { padding: 20px 16px; border-radius: 16px; }
  .method-phase-card h3 { font-size: 16px; }
  .method-phase-card p { font-size: 13px; }
  .phase-emoji { font-size: 28px; }
}

/* ── WAITLIST SECTION ────────────────────────────────────────────── */
.waitlist-section { background: var(--surface1); }
.waitlist-requirement {
  font-size: 13px;
  color: #ffa500;
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(255,165,0,0.08);
  border: 1px solid rgba(255,165,0,0.2);
  border-radius: 10px;
}

/* ── PROGRAM SECTION ─────────────────────────────────────────────── */
.program-section {
  padding: 120px 40px;
  background: var(--bg);
}

.program-progress-bar-wrap {
  max-width: 860px;
  margin: 0 auto 24px;
  position: sticky;
  top: 100px;
  z-index: 80;
  background: var(--bg);
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
body.light .program-progress-bar-wrap {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.program-progress-track {
  height: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 12px;
}
.program-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green) 0%, var(--accent) 100%);
  border-radius: 50px;
  transition: width 0.5s ease;
}
.program-progress-label {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.program-phases {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
  margin: 0 auto;
}

.phase-card {
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.phase-card.phase-card-open {
  border-color: rgba(124,111,255,0.3);
}

.phase-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.phase-card-header:hover { background: rgba(255,255,255,0.03); }

.phase-card-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.phase-card-icon { font-size: 28px; }
.phase-card-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--muted);
}
.phase-card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.phase-card-toggle {
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.3s;
}

.phase-card-body {
  padding: 0 24px 24px;
  border-top: 1px solid var(--border);
}
.phase-card-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin: 20px 0 20px;
}

.phase-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.phase-checklist li label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  color: #c0c0d8;
  line-height: 1.4;
}
.phase-checklist input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.phase-checklist input[type=checkbox]:checked + * { color: var(--green); text-decoration: line-through; opacity: 0.7; }

.phase-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.phase-tools-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.phase-tool-link {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  padding: 4px 12px;
  background: rgba(124,111,255,0.08);
  border: 1px solid rgba(124,111,255,0.2);
  border-radius: 20px;
  transition: background 0.2s;
}
.phase-tool-link:hover { background: rgba(124,111,255,0.18); }

@media (max-width: 768px) {
  .program-section { padding: 80px 20px; }
}

/* ── PHASE BANNER (trading.html) ─────────────────────────────────── */
.phase-banner {
  background: rgba(17,17,19,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 10px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.phase-banner strong { color: var(--text); }
.phase-banner a {
  color: var(--accent);
  text-decoration: none;
  margin-left: 16px;
  font-weight: 600;
}
.phase-banner a:hover { text-decoration: underline; }

/* ── NETLIFY IDENTITY WIDGET — always on top ─────────────────────── */
#netlify-identity-widget {
  z-index: 99999 !important;
}

/* ══════════════════════════════════════════════════════════════════
   MULTI-PAGE ARCHITECTURE — Phase Nav, Route Cards, Phase Heroes
   ══════════════════════════════════════════════════════════════════ */

/* ── PHASE NAV LINKS ──────────────────────────────────────────── */
.nav-phase-link {
  font-weight: 600 !important;
  font-size: 13px;
  border-radius: 6px;
  padding: 4px 10px;
  transition: background 0.2s, color 0.2s !important;
}
.crawl-link        { color: #30d158 !important; }
.crawl-link:hover,
.crawl-link.nav-active { background: rgba(48,209,88,0.12) !important; color: #30d158 !important; }

.walk-link        { color: #a78fff !important; }
.walk-link:hover,
.walk-link.nav-active { background: rgba(124,111,255,0.12) !important; color: #a78fff !important; }

.run-link        { color: #f5c234 !important; }
.run-link:hover,
.run-link.nav-active { background: rgba(245,194,52,0.12) !important; color: #f5c234 !important; }

body.light .crawl-link { color: #1a9e40 !important; }
body.light .walk-link  { color: #4a2fbb !important; }
body.light .run-link   { color: #a07800 !important; }

/* ── HOME ROUTING GRID ────────────────────────────────────────── */
.route-section {
  padding: 80px 40px;
  background: var(--bg);
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.route-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--surface1);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.route-card:hover { transform: translateY(-6px); }
.route-card-top {
  padding: 36px 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.route-emoji { font-size: 48px; line-height: 1; }
.route-phase-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}
.route-card h3 { font-size: 22px; font-weight: 700; line-height: 1.2; margin: 0; }
.route-card p  { font-size: 14px; color: var(--muted); line-height: 1.65; margin: 0; }
.route-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.route-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid;
  white-space: nowrap;
}
.route-card-cta {
  padding: 18px 32px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
/* Crawl card */
.route-card-crawl { border-color: rgba(48,209,88,0.25); }
.route-card-crawl:hover { box-shadow: 0 20px 60px rgba(48,209,88,0.12); border-color: rgba(48,209,88,0.5); }
.route-card-crawl .route-card-cta { color: #30d158; }
.route-card-crawl .route-tag { color: #30d158; border-color: rgba(48,209,88,0.3); background: rgba(48,209,88,0.08); }
/* Walk card */
.route-card-walk { border-color: rgba(124,111,255,0.25); }
.route-card-walk:hover { box-shadow: 0 20px 60px rgba(124,111,255,0.12); border-color: rgba(124,111,255,0.5); }
.route-card-walk .route-card-cta { color: #a78fff; }
.route-card-walk .route-tag { color: #a78fff; border-color: rgba(124,111,255,0.3); background: rgba(124,111,255,0.08); }
/* Run card */
.route-card-run { border-color: rgba(245,194,52,0.25); }
.route-card-run:hover { box-shadow: 0 20px 60px rgba(245,194,52,0.10); border-color: rgba(245,194,52,0.5); }
.route-card-run .route-card-cta { color: #f5c234; }
.route-card-run .route-tag { color: #f5c234; border-color: rgba(245,194,52,0.3); background: rgba(245,194,52,0.08); }

@media (max-width: 800px) {
  .route-grid { grid-template-columns: 1fr; }
}

/* ── PHASE PAGE HEROES ────────────────────────────────────────── */
.phase-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 72px 20px 60px;
  overflow: hidden;
}
.phase-hero-crawl {
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(48,209,88,0.12) 0%, transparent 65%), var(--bg);
}
.phase-hero-walk {
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(124,111,255,0.13) 0%, transparent 65%), var(--bg);
}
.phase-hero-run {
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(245,194,52,0.11) 0%, transparent 65%), var(--bg);
}
.phase-hero-content { position: relative; z-index: 1; max-width: 760px; }
.phase-hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
.phase-hero-crawl .phase-hero-badge { background: rgba(48,209,88,0.1); border: 1px solid rgba(48,209,88,0.25); color: #30d158; }
.phase-hero-walk .phase-hero-badge  { background: rgba(124,111,255,0.1); border: 1px solid rgba(124,111,255,0.25); color: #a78fff; }
.phase-hero-run .phase-hero-badge   { background: rgba(245,194,52,0.1); border: 1px solid rgba(245,194,52,0.3); color: #f5c234; }
.phase-hero h1 { font-size: clamp(34px,5.5vw,62px); font-weight: 800; letter-spacing: -2px; line-height: 1.05; margin-bottom: 18px; }
.phase-hero p  { font-size: 19px; color: var(--muted); max-width: 580px; margin: 0 auto 28px; line-height: 1.6; }
.phase-hero-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ── PREREQ BANNER ────────────────────────────────────────────── */
.prereq-banner {
  background: rgba(245,194,52,0.07);
  border-top: 1px solid rgba(245,194,52,0.2);
  border-bottom: 1px solid rgba(245,194,52,0.2);
  padding: 12px 40px;
  text-align: center;
  font-size: 13px;
  color: #f5c234;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.prereq-banner a { color: #f5c234; font-weight: 700; }
.prereq-banner a:hover { text-decoration: underline; }

/* ── PHASE PROGRESS BREADCRUMB ────────────────────────────────── */
.phase-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--surface1);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  flex-wrap: wrap;
}
.phase-crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid transparent;
  font-weight: 600;
  white-space: nowrap;
}
.phase-crumb-crawl { color: #30d158; border-color: rgba(48,209,88,0.3); background: rgba(48,209,88,0.06); }
.phase-crumb-walk  { color: #a78fff; border-color: rgba(124,111,255,0.3); background: rgba(124,111,255,0.06); }
.phase-crumb-run   { color: #f5c234; border-color: rgba(245,194,52,0.3); background: rgba(245,194,52,0.06); }
.phase-crumb-dim   { opacity: 0.35; }
.phase-crumb-arrow { color: var(--muted); font-size: 11px; }

/* ── NEXT-PHASE CTA ───────────────────────────────────────────── */
.next-phase-cta {
  padding: 80px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.next-phase-cta h2 { font-size: clamp(28px,4vw,44px); font-weight: 700; margin-bottom: 12px; }
.next-phase-cta p  { color: var(--muted); font-size: 17px; max-width: 520px; margin: 0 auto 32px; }
.next-phase-btn-crawl { background: linear-gradient(135deg,#1a9e40,#30d158); color:#fff; border:none; padding:14px 36px; border-radius:50px; font-size:1rem; font-weight:700; cursor:pointer; text-decoration:none; display:inline-block; transition:transform 0.2s,opacity 0.2s; }
.next-phase-btn-walk  { background: linear-gradient(135deg,#5a4de0,#7c6fff); color:#fff; border:none; padding:14px 36px; border-radius:50px; font-size:1rem; font-weight:700; cursor:pointer; text-decoration:none; display:inline-block; transition:transform 0.2s,opacity 0.2s; }
.next-phase-btn-run   { background: linear-gradient(135deg,#c4960a,#f5c234); color:#111; border:none; padding:14px 36px; border-radius:50px; font-size:1rem; font-weight:700; cursor:pointer; text-decoration:none; display:inline-block; transition:transform 0.2s,opacity 0.2s; }
.next-phase-btn-crawl:hover,.next-phase-btn-walk:hover,.next-phase-btn-run:hover { transform:translateY(-2px); opacity:0.9; }

/* ── TECH ANALYSIS CARDS (run.html) ──────────────────────────── */
.ta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.ta-card {
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 20px;
  transition: border-color 0.2s;
}
.ta-card:hover { border-color: rgba(245,194,52,0.4); }
.ta-card-icon { font-size: 32px; margin-bottom: 10px; }
.ta-card h4   { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.ta-card p    { font-size: 13px; color: var(--muted); line-height: 1.6; }
.ta-card-signal {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  margin-top: 10px;
  border: 1px solid;
}
.signal-bullish { color: #30d158; border-color: rgba(48,209,88,0.3); background: rgba(48,209,88,0.08); }
.signal-bearish { color: #ff453a; border-color: rgba(255,69,58,0.3); background: rgba(255,69,58,0.08); }
.signal-neutral { color: #f5c234; border-color: rgba(245,194,52,0.3); background: rgba(245,194,52,0.08); }

/* ── ECON INDICATOR CARDS (run.html) ─────────────────────────── */
.econ-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.econ-card {
  background: var(--surface1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.econ-card-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.econ-card-value { font-size: 28px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.econ-card-desc  { font-size: 12px; color: var(--muted); line-height: 1.5; }
