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

:root {
  --navy: #0a1628;
  --navy-light: #112240;
  --navy-border: rgba(255,255,255,0.08);
  --green: #1D9E75;
  --green-light: #E1F5EE;
  --green-dark: #0F6E56;
  --red: #E24B4A;
  --amber: #EF9F27;
  --blue: #378ADD;
  --text: #f0f4f8;
  --text-muted: #8899aa;
  --surface: #112240;
  --surface-2: #1a2f4a;
  --border: rgba(255,255,255,0.08);
  --radius: 10px;
  --radius-lg: 14px;
}

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--navy); color: var(--text); line-height: 1.6; }

a { color: inherit; text-decoration: none; }

/* NAV */
nav { display: flex; justify-content: space-between; align-items: center; padding: 18px 48px; border-bottom: 1px solid var(--navy-border); position: sticky; top: 0; background: rgba(10,22,40,0.95); backdrop-filter: blur(12px); z-index: 100; }
.nav-logo { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.nav-logo span { color: var(--green); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.btn-ghost { font-size: 14px; color: var(--text-muted); padding: 8px 16px; border-radius: var(--radius); transition: color 0.2s; }
.btn-ghost:hover { color: var(--text); }
.btn-primary { font-size: 14px; font-weight: 500; background: var(--green); color: #fff; padding: 8px 20px; border-radius: var(--radius); transition: background 0.2s; cursor: pointer; border: none; }
.btn-primary:hover { background: var(--green-dark); }
.btn-outline { font-size: 14px; font-weight: 500; border: 1px solid var(--border); color: var(--text); padding: 8px 20px; border-radius: var(--radius); transition: border-color 0.2s; cursor: pointer; background: transparent; }
.btn-outline:hover { border-color: rgba(255,255,255,0.3); }

/* TICKER */
.ticker-bar { background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 48px; display: flex; gap: 40px; overflow: hidden; }
.ticker-item { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.ticker-label { font-size: 12px; color: var(--text-muted); }
.ticker-value { font-size: 13px; font-weight: 500; color: #fff; }
.ticker-change { font-size: 11px; padding: 2px 6px; border-radius: 4px; }
.up { background: rgba(229,57,53,0.15); color: #ef9a9a; }
.down { background: rgba(29,158,117,0.15); color: #80cbc4; }
.neutral { background: rgba(255,255,255,0.08); color: var(--text-muted); }

/* HERO */
.hero { padding: 80px 48px 72px; max-width: 1100px; margin: 0 auto; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); background: rgba(29,158,117,0.1); border: 1px solid rgba(29,158,117,0.2); padding: 6px 14px; border-radius: 999px; margin-bottom: 28px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-size: 52px; font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 24px; max-width: 700px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-sub { font-size: 18px; color: var(--text-muted); max-width: 540px; line-height: 1.65; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; align-items: center; margin-bottom: 60px; }
.hero-actions .btn-primary { font-size: 16px; padding: 12px 28px; }
.hero-actions .btn-outline { font-size: 16px; padding: 12px 28px; }
.hero-note { font-size: 13px; color: var(--text-muted); }
.hero-note strong { color: var(--text); }

/* INDICATOR CARDS */
.indicators-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 1100px; margin: 0 auto 80px; padding: 0 48px; }
.ind-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; }
.ind-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.ind-card-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.ind-card-source { font-size: 10px; color: var(--text-muted); background: rgba(255,255,255,0.05); padding: 2px 8px; border-radius: 4px; }
.ind-card-value { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.ind-card-change { font-size: 12px; display: flex; align-items: center; gap: 5px; }
.ind-card-change.red { color: #ef9a9a; }
.ind-card-change.green { color: #80cbc4; }
.ind-card-change.amber { color: #ffe082; }
.ind-card-bar { height: 3px; background: rgba(255,255,255,0.06); border-radius: 2px; margin-top: 14px; overflow: hidden; }
.ind-card-fill { height: 100%; border-radius: 2px; }

/* AI SUMMARY */
.ai-summary { max-width: 1100px; margin: 0 auto 80px; padding: 0 48px; }
.ai-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px 32px; }
.ai-box-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ai-icon { width: 28px; height: 28px; background: rgba(29,158,117,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.ai-title { font-size: 13px; font-weight: 500; }
.ai-date { font-size: 12px; color: var(--text-muted); margin-left: auto; }
.ai-text { font-size: 15px; color: var(--text-muted); line-height: 1.75; }
.ai-text strong { color: var(--text); }

/* HOW IT WORKS */
.how { max-width: 1100px; margin: 0 auto 80px; padding: 0 48px; }
.section-label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 12px; }
.section-title { font-size: 36px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-sub { font-size: 17px; color: var(--text-muted); max-width: 520px; line-height: 1.6; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.step-num { font-size: 12px; font-weight: 600; color: var(--green); letter-spacing: 0.1em; margin-bottom: 16px; }
.step-title { font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.step-desc { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* PRICING */
.pricing-section { max-width: 1100px; margin: 0 auto 80px; padding: 0 48px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.price-card.featured { border: 1px solid var(--green); background: var(--surface-2); }
.price-popular { font-size: 11px; background: var(--green); color: #fff; padding: 3px 10px; border-radius: 999px; display: inline-block; margin-bottom: 16px; }
.price-tier { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.price-amount { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.price-amount span { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.price-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.5; }
.price-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 20px; }
.price-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-feature { font-size: 13px; display: flex; gap: 10px; align-items: flex-start; }
.price-feature .check { color: var(--green); font-size: 14px; margin-top: 1px; flex-shrink: 0; }
.price-feature .cross { color: var(--text-muted); opacity: 0.4; font-size: 14px; flex-shrink: 0; }
.price-feature .feat-text { color: var(--text-muted); }
.price-feature.active .feat-text { color: var(--text); }

/* SOCIAL PROOF */
.social-proof { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 48px; display: flex; align-items: center; gap: 48px; margin-bottom: 80px; }
.proof-label { font-size: 12px; color: var(--text-muted); }
.proof-sources { display: flex; gap: 32px; align-items: center; }
.proof-source { font-size: 13px; font-weight: 500; color: var(--text-muted); }

/* CTA BANNER */
.cta-banner { max-width: 1100px; margin: 0 auto 80px; padding: 0 48px; }
.cta-box { background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 52px 48px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-box h2 { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
.cta-box p { font-size: 16px; color: var(--text-muted); }
.cta-email-form { display: flex; gap: 10px; flex-shrink: 0; }
.cta-email-form input { font-size: 14px; background: rgba(255,255,255,0.06); border: 1px solid var(--border); color: var(--text); padding: 12px 18px; border-radius: var(--radius); width: 260px; outline: none; }
.cta-email-form input::placeholder { color: var(--text-muted); }
.cta-email-form input:focus { border-color: var(--green); }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 32px 48px; display: flex; justify-content: space-between; align-items: center; }
.footer-left { font-size: 14px; font-weight: 500; }
.footer-left span { color: var(--green); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-muted); }
.footer-right { font-size: 13px; color: var(--text-muted); }

/* DASHBOARD PAGE */
.dash-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 61px); }
.sidebar { background: var(--surface); border-right: 1px solid var(--border); padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; }
.sidebar-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); padding: 8px 12px 4px; }
.sidebar-item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); font-size: 14px; color: var(--text-muted); cursor: pointer; transition: all 0.15s; }
.sidebar-item:hover { background: rgba(255,255,255,0.04); color: var(--text); }
.sidebar-item.active { background: rgba(29,158,117,0.1); color: var(--green); }
.sidebar-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.sidebar-lock { font-size: 10px; margin-left: auto; background: rgba(255,255,255,0.06); padding: 2px 6px; border-radius: 4px; }
.dash-main { padding: 32px 40px; overflow-y: auto; }
.dash-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.dash-title { font-size: 22px; font-weight: 600; margin-bottom: 4px; }
.dash-sub { font-size: 14px; color: var(--text-muted); }
.dash-updated { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.chart-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; margin-bottom: 28px; }
.chart-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.chart-box-title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.chart-box-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.bar-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.bc-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; }
.bc-bar { width: 100%; border-radius: 3px 3px 0 0; background: rgba(55,138,221,0.3); transition: background 0.2s; }
.bc-bar.current { background: var(--blue); }
.bc-label { font-size: 10px; color: var(--text-muted); }
.score-box { display: flex; flex-direction: column; justify-content: center; }
.score-number { font-size: 56px; font-weight: 700; letter-spacing: -0.03em; color: var(--amber); margin-bottom: 4px; }
.score-badge { display: inline-block; font-size: 12px; background: rgba(239,159,39,0.15); color: var(--amber); padding: 4px 12px; border-radius: 999px; margin-bottom: 18px; }
.score-items { display: flex; flex-direction: column; gap: 9px; }
.score-item { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--text-muted); }
.s-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.lock-overlay { position: relative; }
.lock-overlay::after { content: ''; position: absolute; inset: 0; background: rgba(10,22,40,0.7); border-radius: var(--radius-lg); backdrop-filter: blur(3px); }
.lock-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; text-align: center; }
.lock-badge-inner { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 20px; }
.lock-badge-text { font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.lock-badge-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }

/* PRICING PAGE */
.page-hero { padding: 64px 48px 48px; text-align: center; max-width: 700px; margin: 0 auto; }
.page-hero h1 { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: var(--text-muted); line-height: 1.6; }

/* CALENDAR PAGE */
.calendar-grid { max-width: 900px; margin: 0 auto; padding: 0 48px 80px; }
.cal-month { font-size: 18px; font-weight: 600; margin-bottom: 16px; padding-top: 32px; }
.cal-event { display: flex; align-items: flex-start; gap: 20px; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; }
.cal-date { text-align: center; min-width: 44px; }
.cal-day { font-size: 22px; font-weight: 600; line-height: 1; }
.cal-mon { font-size: 11px; color: var(--text-muted); text-transform: uppercase; }
.cal-info { flex: 1; }
.cal-title { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.cal-desc { font-size: 13px; color: var(--text-muted); }
.cal-impact { font-size: 11px; padding: 3px 10px; border-radius: 999px; margin-left: auto; flex-shrink: 0; align-self: center; }
.impact-high { background: rgba(229,57,53,0.15); color: #ef9a9a; }
.impact-med { background: rgba(239,159,39,0.15); color: #ffe082; }
.impact-low { background: rgba(255,255,255,0.06); color: var(--text-muted); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — Tablet ≤1024px  ·  Mobile ≤640px
═══════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  nav { padding: 14px 24px; }
  .nav-links { gap: 20px; }
  .ticker-bar { padding: 10px 24px; gap: 20px; }
  .hero { padding: 56px 32px 56px; }
  .hero h1 { font-size: 42px; }
  .indicators-preview { grid-template-columns: repeat(2, 1fr); padding: 0 32px; }
  .ai-summary { padding: 0 32px; }
  .how { padding: 0 32px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing-section { padding: 0 32px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .social-proof { padding: 20px 32px; gap: 24px; }
  .cta-banner { padding: 0 32px; }
  footer { padding: 24px 32px; }
  .calendar-grid { padding: 0 32px 60px; }
  .page-hero { padding: 48px 32px 36px; }
}

@media (max-width: 640px) {
  /* ── Nav ── */
  nav { padding: 12px 16px; flex-wrap: wrap; gap: 6px; }
  .nav-logo { font-size: 16px; }
  .nav-links {
    order: 3; width: 100%; gap: 0;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 2px;
    border-top: 1px solid var(--border);
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { font-size: 13px; white-space: nowrap; padding: 0 18px 0 0; }
  .nav-actions .btn-ghost { display: none; }
  .btn-primary { font-size: 13px; padding: 7px 14px; }

  /* ── Ticker ── */
  .ticker-bar { padding: 8px 16px; gap: 14px; overflow-x: auto; scrollbar-width: none; }
  .ticker-bar::-webkit-scrollbar { display: none; }

  /* ── Hero ── */
  .hero { padding: 28px 16px 32px; }
  .hero h1 { font-size: 28px; max-width: 100%; }
  .hero-sub { font-size: 15px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 32px; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { font-size: 14px; padding: 12px 20px; text-align: center; display: block; }

  /* ── Indicators ── */
  .indicators-preview { grid-template-columns: 1fr; padding: 0 16px; gap: 10px; margin-bottom: 48px; }
  .ind-card-value { font-size: 26px; }

  /* ── AI Summary ── */
  .ai-summary { padding: 0 16px; }
  .ai-box { padding: 18px 16px; }
  .ai-text { font-size: 14px; }

  /* ── How it works ── */
  .how { padding: 0 16px; }
  .section-title { font-size: 26px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }

  /* ── Pricing ── */
  .pricing-section { padding: 0 16px; }
  .pricing-grid { grid-template-columns: 1fr; }

  /* ── Social proof ── */
  .social-proof { padding: 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .proof-sources { flex-wrap: wrap; gap: 12px; }

  /* ── CTA ── */
  .cta-banner { padding: 0 16px; }
  .cta-box { flex-direction: column; padding: 22px 18px; gap: 20px; }
  .cta-box h2 { font-size: 22px; }
  .cta-email-form { flex-direction: column; width: 100%; }
  .cta-email-form input { width: 100%; }

  /* ── Footer ── */
  footer { padding: 20px 16px; flex-direction: column; gap: 14px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 14px; }

  /* ── Calendar ── */
  .calendar-grid { padding: 0 16px 48px; }
  .cal-event { flex-wrap: wrap; gap: 8px; padding: 12px 14px; }
  .cal-impact { margin-left: 0; }
  .cal-desc { font-size: 12px; }

  /* ── Page hero (banks, mortgage, calendar) ── */
  .page-hero { padding: 24px 16px 18px; }
  .page-hero h1 { font-size: 26px !important; }
  .page-hero p { font-size: 14px !important; }
}
