/* =========================================================
   DailyMoneyBites.com — Main Stylesheet
   ========================================================= */

/* --- Variables ------------------------------------------ */
:root {
  --bg:           #F8F9FC;
  --bg-card:      #FFFFFF;
  --bg-secondary: #F1F4F9;
  --bg-tertiary:  #E8EDF5;

  --text-primary:   #0D1B2E;
  --text-secondary: #4A5568;
  --text-muted:     #8896A5;

  --border:       #E2E8F0;
  --border-focus: #2563EB;

  --blue:         #2563EB;
  --blue-light:   #EFF6FF;
  --blue-text:    #1D4ED8;

  --green:        #059669;
  --green-light:  #ECFDF5;
  --green-text:   #065F46;

  --amber:        #D97706;
  --amber-light:  #FFFBEB;
  --amber-text:   #92400E;

  --red:          #DC2626;
  --red-light:    #FEF2F2;
  --red-text:     #991B1B;

  --purple:       #7C3AED;
  --purple-light: #F5F3FF;
  --purple-text:  #4C1D95;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  --header-height: 60px;
  --max-w: 1180px;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:           #0D1B2E;
    --bg-card:      #152235;
    --bg-secondary: #1A2B42;
    --bg-tertiary:  #1F3350;
    --text-primary:   #F0F6FF;
    --text-secondary: #94A3B8;
    --text-muted:     #64748B;
    --border:       #1E3A5F;
    --blue-light:   #1E3A6B;
    --green-light:  #0A2E1F;
    --amber-light:  #2C1B00;
    --red-light:    #2D0A0A;
    --purple-light: #1E1040;
  }
}

/* --- Reset ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography ----------------------------------------- */
h1 { font-size: 28px; font-weight: 700; line-height: 1.25; letter-spacing: -.4px; }
h2 { font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: -.3px; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.4; }
h4 { font-size: 14px; font-weight: 600; line-height: 1.4; }
p  { color: var(--text-secondary); font-size: 14px; line-height: 1.65; }

.mono { font-family: var(--font-mono); }
.text-sm { font-size: 13px; }
.text-xs { font-size: 11px; }

/* --- Layout --------------------------------------------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.page-body { padding: 28px 0 60px; }

/* --- Header --------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 18px; height: 18px; fill: #fff; }
.logo-text { font-size: 15px; font-weight: 700; color: var(--text-primary); letter-spacing: -.3px; }
.logo-text span { color: var(--blue); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav-link {
  padding: 6px 12px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--bg-secondary); color: var(--text-primary); text-decoration: none; }
.nav-link.active { background: var(--blue-light); color: var(--blue-text); }

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* Language selector */
.lang-select {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-secondary);
  font-size: 12px;
  cursor: pointer;
  transition: border-color .15s;
}
.lang-select:hover { border-color: var(--blue); color: var(--text-primary); }
.lang-select select {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 12px;
  cursor: pointer;
  outline: none;
}

/* Update indicator */
.update-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-muted);
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 20px;
}
.update-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.update-dot.pending { background: var(--amber); }

/* --- Buttons -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-text); border-color: var(--blue-text); color: #fff; }
.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-secondary:hover { background: var(--bg-tertiary); }
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}
.btn-ghost:hover { background: var(--bg-secondary); color: var(--text-primary); }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.btn-lg { padding: 11px 22px; font-size: 14px; }

/* --- Cards ---------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color .15s, box-shadow .15s;
}
.card:hover { border-color: #CBD5E1; box-shadow: var(--shadow-sm); }
.card.featured {
  border: 2px solid var(--blue);
}
.card.featured-label::before {
  content: attr(data-label);
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--blue-text);
  background: var(--blue-light);
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
}

/* --- Badges / Pills ------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.badge-day    { background: var(--red-light);    color: var(--red-text); }
.badge-short  { background: var(--amber-light);  color: var(--amber-text); }
.badge-mid    { background: var(--green-light);  color: var(--green-text); }
.badge-info   { background: var(--blue-light);   color: var(--blue-text); }
.badge-purple { background: var(--purple-light); color: var(--purple-text); }

.pill {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 7px;
  border-radius: 20px;
  font-family: var(--font-mono);
}
.pill-green  { background: var(--green-light);  color: var(--green-text); }
.pill-red    { background: var(--red-light);    color: var(--red-text); }
.pill-amber  { background: var(--amber-light);  color: var(--amber-text); }
.pill-gray   { background: var(--bg-secondary); color: var(--text-secondary); }

/* --- Score bar ------------------------------------------ */
.score-bar-wrap { display: flex; align-items: center; gap: 8px; }
.score-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--bg-tertiary);
  overflow: hidden;
}
.score-fill { height: 100%; border-radius: 3px; transition: width .4s ease; }
.score-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  min-width: 28px;
  text-align: right;
}

/* --- Score circle --------------------------------------- */
.score-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.score-circle.high   { background: var(--blue-light);   color: var(--blue-text); }
.score-circle.good   { background: var(--green-light);  color: var(--green-text); }
.score-circle.medium { background: var(--amber-light);  color: var(--amber-text); }
.score-circle.low    { background: var(--red-light);    color: var(--red-text); }

/* --- Confidence bar ------------------------------------- */
.conf-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.conf-label { font-size: 11px; color: var(--text-muted); width: 72px; flex-shrink: 0; }
.conf-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--bg-secondary);
  overflow: hidden;
}
.conf-fill { height: 100%; border-radius: 2px; }
.conf-pct { font-family: var(--font-mono); font-size: 11px; min-width: 28px; text-align: right; color: var(--text-secondary); }

/* --- Price change --------------------------------------- */
.chg-up   { color: var(--green); font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.chg-down { color: var(--red);   font-family: var(--font-mono); font-size: 12px; font-weight: 600; }
.chg-flat { color: var(--text-muted); font-family: var(--font-mono); font-size: 12px; }

/* --- Macro bar ------------------------------------------ */
.macro-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.macro-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 11px;
  background: var(--bg-card);
  cursor: default;
}
.macro-item:hover { border-color: var(--blue); }
.macro-label { color: var(--text-muted); }
.macro-val   { font-family: var(--font-mono); font-weight: 600; }

/* --- Section header ------------------------------------- */
.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.section-title { font-size: 15px; font-weight: 600; }
.section-sub   { font-size: 11px; color: var(--text-muted); margin-left: auto; }
.section-wrap  { margin-bottom: 32px; }

/* --- Cards grid ----------------------------------------- */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* --- Pick card ------------------------------------------ */
.pick-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  display: flex;
  flex-direction: column;
}
.pick-card:hover {
  border-color: #94A3B8;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}
.pick-card.featured { border: 2px solid var(--blue); }
.pick-card .featured-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--blue-text);
  background: var(--blue-light);
  padding: 2px 8px;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 10px;
  align-self: flex-start;
}
.pick-card .card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.pick-card .ticker { font-family: var(--font-mono); font-size: 18px; font-weight: 700; }
.pick-card .mkt    { font-size: 10px; color: var(--text-muted); margin-top: 1px; }
.pick-card .cname  { font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
.pick-card .reason { font-size: 12px; line-height: 1.5; color: var(--text-primary); margin-bottom: 10px; flex: 1; }
.pick-card .pills  { display: flex; flex-wrap: wrap; gap: 4px; }

/* --- Table --------------------------------------------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th {
  text-align: left;
  padding: 9px 12px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}
.data-table th:hover { color: var(--text-primary); }
.data-table th .sort-icon { margin-left: 4px; opacity: .5; }
.data-table th.sorted .sort-icon { opacity: 1; color: var(--blue); }
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tbody tr { cursor: pointer; transition: background .1s; }
.data-table tbody tr:hover td { background: var(--bg-secondary); }
.data-table tbody tr.active td { background: var(--blue-light); }

/* --- Filters -------------------------------------------- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.filter-bar label { font-size: 12px; color: var(--text-muted); }
.filter-select, .filter-input {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 12px;
  transition: border-color .15s;
}
.filter-select:focus, .filter-input:focus {
  outline: none;
  border-color: var(--blue);
}
.filter-select:hover, .filter-input:hover { border-color: #94A3B8; }
.filter-count {
  margin-left: auto;
  font-size: 11px;
  color: var(--text-muted);
}

/* --- Hero ----------------------------------------------- */
.page-hero {
  margin-bottom: 20px;
}
.hero-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.hero-title { font-size: 24px; font-weight: 700; margin-bottom: 4px; }
.hero-sub   { font-size: 13px; color: var(--text-secondary); }

/* --- Update bar ----------------------------------------- */
.update-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  font-size: 12px;
}
.update-bar-left { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); }
.update-bar-right { font-size: 11px; color: var(--text-muted); }
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}

/* --- Metric cards --------------------------------------- */
.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.metric-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.metric-val   { font-family: var(--font-mono); font-size: 22px; font-weight: 700; line-height: 1.1; }
.metric-sub   { font-size: 11px; margin-top: 3px; }

/* --- Stock detail --------------------------------------- */
.stock-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.stock-title .ticker  { font-family: var(--font-mono); font-size: 28px; font-weight: 700; }
.stock-title .company { font-size: 14px; color: var(--text-secondary); margin-top: 2px; }
.stock-price-box { text-align: right; }
.stock-price { font-family: var(--font-mono); font-size: 26px; font-weight: 700; }
.stock-chg   { font-family: var(--font-mono); font-size: 14px; font-weight: 600; margin-top: 2px; }

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.detail-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.breakdown-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.breakdown-label { font-size: 12px; color: var(--text-secondary); width: 130px; flex-shrink: 0; }
.breakdown-bar   { flex: 1; height: 8px; border-radius: 4px; background: var(--bg-secondary); overflow: hidden; }
.breakdown-fill  { height: 100%; border-radius: 4px; }
.breakdown-num   { font-family: var(--font-mono); font-size: 12px; font-weight: 700; min-width: 28px; text-align: right; }

/* News */
.news-item { padding: 10px 0; border-bottom: 1px solid var(--border); }
.news-item:last-child { border-bottom: none; }
.news-meta  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.news-src   { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; }
.news-title { font-size: 13px; line-height: 1.45; color: var(--text-primary); }
.news-time  { font-size: 10px; color: var(--text-muted); }

/* Social sentiment */
.social-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.social-row:last-child { border-bottom: none; }
.social-platform { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; width: 80px; }
.social-bar  { display: flex; height: 8px; border-radius: 4px; overflow: hidden; width: 100px; }
.social-bull { background: var(--green); }
.social-neut { background: var(--bg-tertiary); }
.social-bear { background: var(--red); }
.social-pct  { font-family: var(--font-mono); font-size: 11px; color: var(--text-secondary); }

/* --- Chart wrapper -------------------------------------- */
.chart-wrap { position: relative; width: 100%; border-radius: var(--radius-md); overflow: hidden; }

/* --- Auth / Pricing ------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.pricing-card.popular { border: 2px solid var(--blue); position: relative; }
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  background: var(--blue);
  color: #fff;
  padding: 3px 12px;
  border-radius: 20px;
}
.plan-name  { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.plan-price { font-family: var(--font-mono); font-size: 30px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.plan-price span { font-size: 14px; font-weight: 400; color: var(--text-secondary); }
.plan-desc  { font-size: 12px; color: var(--text-secondary); margin-bottom: 20px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
.plan-features li::before { content: "✓"; color: var(--green); font-weight: 700; flex-shrink: 0; }
.plan-features li.no::before { content: "✗"; color: var(--text-muted); }
.plan-features li.no { color: var(--text-muted); }

/* Auth form */
.auth-card  { max-width: 420px; margin: 60px auto; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.form-input {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 14px;
  transition: border-color .15s;
}
.form-input:focus { outline: none; border-color: var(--blue); }
.form-error { font-size: 12px; color: var(--red); margin-top: 4px; }

/* --- Toast ---------------------------------------------- */
#toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 8px; }
.toast {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md);
  animation: slideIn .2s ease;
}
.toast-success { background: var(--green); color: #fff; }
.toast-error   { background: var(--red);   color: #fff; }
.toast-info    { background: var(--blue);  color: #fff; }
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* --- Loading -------------------------------------------- */
.skeleton {
  background: linear-gradient(90deg, var(--bg-secondary) 25%, var(--bg-tertiary) 50%, var(--bg-secondary) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.loading-spinner {
  width: 24px; height: 24px;
  border: 2px solid var(--bg-tertiary);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 40px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Locked overlay (free tier) ------------------------- */
.locked {
  position: relative;
  overflow: hidden;
}
.locked-overlay {
  position: absolute;
  inset: 0;
  background: rgba(248, 249, 252, .85);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: inherit;
}
.locked-icon { font-size: 24px; }
.locked-text { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.locked-sub  { font-size: 12px; color: var(--text-secondary); }

/* --- Footer --------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 20px;
  margin-top: 60px;
}
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-brand .logo-text { font-size: 14px; font-weight: 700; }
.footer-tagline { font-size: 12px; color: var(--text-muted); margin-top: 4px; max-width: 220px; }
.footer-cols { display: flex; gap: 48px; }
.footer-col h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--text-muted); margin-bottom: 10px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-col li a { font-size: 12px; color: var(--text-secondary); }
.footer-col li a:hover { color: var(--text-primary); text-decoration: none; }
.footer-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.footer-legal { font-size: 11px; color: var(--text-muted); }
.footer-disclaimer { font-size: 10px; color: var(--text-muted); max-width: 600px; line-height: 1.5; }

/* --- Responsive ----------------------------------------- */
@media (max-width: 768px) {
  h1 { font-size: 22px; }
  .metric-strip { grid-template-columns: repeat(2, 1fr); }
  .picks-grid   { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .detail-grid  { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .header-right .update-badge { display: none; }
  .footer-cols  { gap: 24px; }
}
@media (max-width: 480px) {
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-count { margin-left: 0; }
  .macro-strip { gap: 5px; }
  .macro-item  { font-size: 10px; padding: 4px 7px; }
}
