/* ============================================
   CleoApps.com — Lavender Mist Theme
   ============================================ */

:root {
  /* ── Brand Colors ── */
  --primary:        #6C3BDC;   /* Violet 600 — CTA, links, focus */
  --primary-dark:   #4F2BAA;   /* Violet 700 — hover states */
  --primary-deep:   #3B1E82;   /* Violet 800 — active / pressed */
  --primary-light:  #EDE9FF;   /* Violet 50  — pill bg, tag bg */
  --primary-mid:    #DDD6FE;   /* Violet 100 — border accent */
  --primary-soft:   #F5F3FF;   /* Violet 25  — section bg alt */

  /* ── Accent ── */
  --secondary:      #F59E0B;   /* Amber — CTAs, highlights, star */
  --secondary-dark: #D97706;
  --accent:         #10B981;   /* Emerald — success, check icons */
  --accent-light:   #D1FAE5;
  --danger:         #EF4444;
  --danger-light:   #FEE2E2;

  /* ── Surface & Background ── */
  --bg:             #F5F3FF;   /* Lavender Mist page background */
  --bg-alt:         #EDE9FF;   /* Slightly deeper lavender sections */
  --bg-card:        #FFFFFF;
  --bg-light:       #F5F3FF;   /* TOC, inset boxes */
  --bg-hero-start:  #2D1869;   /* Lavender Mist hero — violet, not black */
  --bg-hero-mid:    #4A2DAF;
  --bg-hero-end:    #3820A0;

  /* ── Footer ── */
  --footer-bg:      #1C1248;   /* Deep violet footer */
  --footer-mid:     #2D1B69;

  /* ── Text ── */
  --text:           #1F1635;   /* Near-black with violet undertone */
  --text-muted:     #5B5280;   /* Muted violet-gray */
  --text-light:     #9B91C0;   /* Placeholder / hint */

  /* ── Borders ── */
  --border:         #DDD6FE;   /* Violet 100 border */
  --border-strong:  #C4B5FD;   /* Violet 200 for emphasis */

  /* ── Shadows ── */
  --shadow:         0 4px 24px rgba(108,59,220,0.10);
  --shadow-lg:      0 12px 48px rgba(108,59,220,0.18);
  --shadow-card:    0 2px 12px rgba(108,59,220,0.08);

  /* ── Navbar ── */
  --nav-bg:         rgba(245,243,255,0.95);  /* Frosted lavender */
  --nav-border:     #DDD6FE;

  /* ── Shape ── */
  --radius:         12px;
  --radius-sm:      8px;
  --radius-lg:      20px;
  --radius-xl:      28px;

  /* ── Motion ── */
  --transition:     all 0.22s ease;

  /* ── Typography ── */
  --font:           'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:   'Sora', 'Inter', sans-serif;

  /* ── Layout ── */
  --max-w:          1160px;
}

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* ══════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════ */
h1,h2,h3,h4,h5 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; color: var(--text); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { margin-bottom: 1rem; }

/* ══════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════ */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section     { padding: 80px 0; }
.section-sm  { padding: 48px 0; }
.grid-2      { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.grid-3      { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4      { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between{ display: flex; align-items: center; justify-content: space-between; }
.gap-2 { gap: 8px; } .gap-3 { gap: 16px; } .gap-4 { gap: 24px; }
.mt-4  { margin-top: 24px; }
.mt-6  { margin-top: 40px; }
.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: relative;
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
  box-shadow: 0 2px 16px rgba(108,59,220,0.08);
}
.nav-inner { height: 68px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: inline-flex; align-items: baseline; gap: 0;
  font-family: var(--font-display); font-size: 1.45rem;
  text-decoration: none; letter-spacing: -0.02em;
}
.logo-cleo {
  font-weight: 800;
  background: linear-gradient(135deg, #6C3BDC 0%, #9D77F0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.logo-app {
  font-weight: 600;
  color: var(--text);
  -webkit-text-fill-color: var(--text);
}
/* Footer variant */
.logo-cleo-footer {
  font-weight: 800;
  background: linear-gradient(135deg, #C4B5FD 0%, #A78BFA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px; border-radius: 50px;
  font-size: 0.88rem; font-weight: 500; color: var(--text-muted);
  transition: var(--transition);
}
.nav-links a:hover  { background: var(--primary-light); color: var(--primary); }
.nav-links a.active { background: var(--primary-light); color: var(--primary); font-weight: 600; }
.nav-cta  { background: var(--primary) !important; color: white !important; border-radius: 50px !important; padding: 10px 22px !important; }
.nav-cta:hover { background: var(--primary-dark) !important; color: white !important; box-shadow: 0 4px 16px rgba(108,59,220,0.35) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: var(--transition); }
.mobile-menu { display: none; background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 16px 24px; flex-direction: column; gap: 4px; }
.mobile-menu a { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500; color: var(--text); }
.mobile-menu a:hover { background: var(--primary-light); color: var(--primary); }
.mobile-menu.open { display: flex; }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 1rem;
  border: none; cursor: pointer; transition: var(--transition); text-decoration: none;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover {
  background: var(--primary-dark); color: white;
  box-shadow: 0 8px 24px rgba(108,59,220,0.38);
  transform: translateY(-2px);
}
.btn-outline { background: white; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: var(--secondary-dark); color: white; }
.btn-sm  { padding: 10px 20px; font-size: 0.88rem; }
.btn-lg  { padding: 18px 40px; font-size: 1.1rem; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  background-color: #2D1869;
  background-image:
    linear-gradient(135deg, rgba(45,24,105,0.78) 0%, rgba(74,45,175,0.72) 45%, rgba(108,59,220,0.78) 100%),
    url('hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 767px) {
  .hero {
    background-image:
      linear-gradient(135deg, rgba(45,24,105,0.85) 0%, rgba(74,45,175,0.80) 45%, rgba(108,59,220,0.85) 100%),
      url('hero-bg-mobile.jpg');
  }
}
.hero::before {
  content: ''; position: absolute; top: -50%; left: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(167,139,250,0.30) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; right: -5%; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,158,11,0.25) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

/* ── Hero readability over photo background ── */
.hero h1 {
  text-shadow: 0 2px 24px rgba(0,0,0,0.35), 0 1px 4px rgba(45,24,105,0.6);
}
.hero p {
  text-shadow: 0 1px 12px rgba(0,0,0,0.4);
}
.hero-badge {
  background: rgba(45,24,105,0.45) !important;
  border-color: rgba(196,181,253,0.45) !important;
  backdrop-filter: blur(10px) saturate(140%) !important;
}
.hero-mini-card {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.22) !important;
  backdrop-filter: blur(12px) saturate(140%) !important;
}
.hero-mini-val,
.hero-mini-lbl {
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hero-inner,
.hero-center {
  position: relative;
  z-index: 2;
}

.hero-inner    { position: relative; z-index: 2; }
.hero h1       { color: white; margin-bottom: 20px; }
.hero h1 em    { font-style: normal; color: #C4B5FD; }
.hero p        { font-size: 1.15rem; color: rgba(255,255,255,0.82); max-width: 560px; margin-bottom: 32px; }
.hero-actions  { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badge    {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,181,253,0.15); border: 1px solid rgba(196,181,253,0.3);
  border-radius: 50px; padding: 8px 16px; font-size: 0.85rem;
  color: rgba(255,255,255,0.92); margin-bottom: 20px; backdrop-filter: blur(8px);
}
.hero-badge svg { width: 16px; height: 16px; fill: var(--secondary); }
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(196,181,253,0.2); flex-wrap: wrap;
}
.hero-stat-value { font-size: 2rem; font-weight: 800; font-family: var(--font-display); color: white; }
.hero-stat-label { font-size: 0.85rem; color: rgba(196,181,253,0.8); margin-top: 4px; }

/* ══════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, #2D1869 0%, #4A2DAF 60%, #6C3BDC 100%);
  color: white; padding: 64px 0 48px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -60%; right: -5%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,0.25) 0%, transparent 65%);
  border-radius: 50%;
}
.page-hero h1 { color: white; margin-bottom: 12px; position: relative; z-index: 1; }
.page-hero p  { color: rgba(196,181,253,0.9); max-width: 600px; position: relative; z-index: 1; }

/* ══════════════════════════════════════════
   SCORE WIDGET
══════════════════════════════════════════ */
.score-box {
  background: white; border-radius: var(--radius-xl); padding: 32px;
  box-shadow: var(--shadow-lg); position: relative; z-index: 2;
  border: 1px solid var(--primary-mid);
}
.score-circle {
  width: 100px; height: 100px; border-radius: 50%;
  background: conic-gradient(var(--primary) 0% 82%, var(--border) 82% 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; margin: 0 auto 20px;
}
.score-circle-inner {
  width: 80px; height: 80px; background: white; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.score-num   { font-size: 1.6rem; font-weight: 800; color: var(--primary); line-height: 1; }
.score-denom { font-size: 0.75rem; color: var(--text-muted); }
.score-row   {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem;
}
.score-row:last-child { border: none; }
.score-bar-wrap { width: 100px; height: 6px; background: var(--primary-light); border-radius: 3px; }
.score-bar      { height: 6px; border-radius: 3px; background: var(--primary); }

/* ══════════════════════════════════════════
   CARDS
══════════════════════════════════════════ */
.card {
  background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); padding: 28px;
  box-shadow: var(--shadow-card); transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--primary-mid); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary-light); display: flex; align-items: center;
  justify-content: center; margin-bottom: 16px;
}
.card-icon svg { width: 26px; height: 26px; fill: var(--primary); }
.card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.card p  { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* ══════════════════════════════════════════
   FEATURE LIST
══════════════════════════════════════════ */
.feature-list { list-style: none; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem;
}
.feature-list li:last-child { border: none; }
.feature-list .check {
  width: 22px; height: 22px; background: var(--accent-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.feature-list .check svg { width: 12px; height: 12px; fill: var(--accent); }
.feature-list .x-icon {
  width: 22px; height: 22px; background: var(--danger-light); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.feature-list .x-icon svg { width: 12px; height: 12px; fill: var(--danger); }

/* ══════════════════════════════════════════
   PROS / CONS
══════════════════════════════════════════ */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pros, .cons { background: white; border-radius: var(--radius); padding: 24px; border: 1px solid var(--border); }
.pros { border-top: 4px solid var(--accent); }
.cons { border-top: 4px solid var(--danger); }
.pros h4 { color: var(--accent); margin-bottom: 16px; }
.cons h4 { color: var(--danger); margin-bottom: 16px; }
.pros ul, .cons ul { list-style: none; }
.pros li, .cons li {
  padding: 8px 0; font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 10px; align-items: flex-start;
}
.pros li:last-child, .cons li:last-child { border: none; }

/* ══════════════════════════════════════════
   PRICING CARDS
══════════════════════════════════════════ */
.pricing-card {
  background: white; border-radius: var(--radius-lg); padding: 36px;
  border: 2px solid var(--border); text-align: center;
  transition: var(--transition); position: relative;
}
.pricing-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(160deg, #F5F3FF 0%, #EDE9FF 100%);
}
.pricing-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: white; font-size: 0.75rem; font-weight: 700;
  padding: 6px 16px; border-radius: 50px; white-space: nowrap;
}
.pricing-tier  { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 12px; }
.pricing-price { font-size: 3rem; font-weight: 800; font-family: var(--font-display); color: var(--text); line-height: 1; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-muted); }
.pricing-features { list-style: none; margin: 24px 0; text-align: left; }
.pricing-features li {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; display: flex; gap: 10px; align-items: center;
}
.pricing-features li:last-child { border: none; }

/* ══════════════════════════════════════════
   COMPARISON TABLE
══════════════════════════════════════════ */
.compare-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.compare-table th { background: var(--bg-hero-start); color: white; padding: 18px 20px; text-align: left; font-size: 0.9rem; font-weight: 600; }
.compare-table th:first-child { width: 220px; }
.compare-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 0.92rem; vertical-align: middle; }
.compare-table tr:last-child td { border: none; }
.compare-table tr:nth-child(even) td { background: var(--primary-soft); }
.compare-table .winner { background: var(--accent-light) !important; font-weight: 600; color: #065F46; }
.compare-table .loser  { color: var(--danger); }
.check-icon { color: var(--accent); font-weight: 700; }
.x-icon-t   { color: var(--danger); }
.highlight-col { background: var(--primary-light) !important; }

/* ══════════════════════════════════════════
   STARS
══════════════════════════════════════════ */
.stars { display: flex; gap: 3px; }
.star  { width: 18px; height: 18px; fill: var(--secondary); }
.star.empty { fill: var(--border); }
.rating { display: flex; align-items: center; gap: 8px; }
.rating-score { font-weight: 700; font-size: 1.1rem; }
.rating-count { font-size: 0.85rem; color: var(--text-muted); }

/* ══════════════════════════════════════════
   ALERT BOXES
══════════════════════════════════════════ */
.alert { border-radius: var(--radius-sm); padding: 16px 20px; margin: 20px 0; display: flex; gap: 14px; align-items: flex-start; font-size: 0.9rem; }
.alert-icon { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.alert-info    { background: #EFF6FF; border-left: 4px solid #3B82F6; color: #1E40AF; }
.alert-warning { background: #FFFBEB; border-left: 4px solid var(--secondary); color: #92400E; }
.alert-success { background: var(--accent-light); border-left: 4px solid var(--accent); color: #065F46; }
.alert-danger  { background: var(--danger-light); border-left: 4px solid var(--danger); color: #991B1B; }

/* ══════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════ */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; overflow: hidden; }
.faq-q {
  padding: 18px 20px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.95rem; background: white; transition: var(--transition);
}
.faq-q:hover      { background: var(--primary-soft); }
.faq-q.open       { background: var(--primary-light); color: var(--primary); }
.faq-q svg        { width: 20px; height: 20px; transition: var(--transition); flex-shrink: 0; }
.faq-q.open svg   { transform: rotate(180deg); }
.faq-a            { display: none; padding: 0 20px 20px; font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; background: white; }
.faq-a.open       { display: block; }

/* ══════════════════════════════════════════
   SECTION LABELS
══════════════════════════════════════════ */
.section-tag {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 16px;
  border: 1px solid var(--primary-mid);
}
.section-title { margin-bottom: 12px; }
.section-sub   { color: var(--text-muted); font-size: 1.05rem; max-width: 560px; }
.section-sub.center { margin: 0 auto; }

/* ══════════════════════════════════════════
   BREADCRUMB
══════════════════════════════════════════ */
.breadcrumb {
  padding: 16px 0; font-size: 0.88rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--primary-mid); }

/* ══════════════════════════════════════════
   TABLE OF CONTENTS
══════════════════════════════════════════ */
.toc {
  background: white; border: 1px solid var(--border);
  border-left: 4px solid var(--primary); border-radius: var(--radius);
  padding: 24px; margin-bottom: 32px;
}
.toc h4    { margin-bottom: 12px; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); }
.toc ol    { padding-left: 20px; }
.toc li    { margin-bottom: 8px; }
.toc a     { color: var(--primary); font-size: 0.92rem; }
.toc a:hover { color: var(--primary-dark); text-decoration: underline; }

/* ══════════════════════════════════════════
   CALCULATOR
══════════════════════════════════════════ */
.calc-wrap   { background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); }
.calc-header { background: linear-gradient(135deg, #2D1869, #4A2DAF); padding: 32px; color: white; }
.calc-header h2 { color: white; margin-bottom: 8px; }
.calc-header p  { color: rgba(196,181,253,0.85); font-size: 0.95rem; margin: 0; }
.calc-body  { padding: 36px; }
.calc-tabs  { display: flex; gap: 4px; background: var(--primary-soft); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 28px; }
.calc-tab   {
  flex: 1; text-align: center; padding: 10px; border-radius: 6px;
  font-size: 0.9rem; font-weight: 600; cursor: pointer; color: var(--text-muted);
  transition: var(--transition); border: none; background: none;
}
.calc-tab.active { background: white; color: var(--primary); box-shadow: 0 2px 8px rgba(108,59,220,0.12); }
.calc-form  { display: grid; gap: 20px; }
.form-group label  { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--text); }
.form-group input, .form-group select {
  width: 100%; padding: 14px 16px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); font-size: 1rem; font-family: var(--font);
  color: var(--text); transition: var(--transition); background: var(--primary-soft);
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--primary); background: white;
  box-shadow: 0 0 0 3px rgba(108,59,220,0.12);
}
.form-helper   { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }
.calc-result   {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-mid));
  border-radius: var(--radius); padding: 28px; margin-top: 24px;
  text-align: center; display: none; border: 1px solid var(--primary-mid);
}
.calc-result.show   { display: block; }
.result-amount      { font-size: 3rem; font-weight: 800; color: var(--primary); font-family: var(--font-display); }
.result-label       { font-size: 0.95rem; color: var(--text-muted); margin-top: 4px; }
.result-breakdown   { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 24px; }
.result-item        { background: white; border-radius: var(--radius-sm); padding: 16px; border: 1px solid var(--border); }
.result-item-value  { font-size: 1.4rem; font-weight: 700; color: var(--text); }
.result-item-label  { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
input[type=range]   { width: 100%; accent-color: var(--primary); height: 6px; cursor: pointer; }

/* ══════════════════════════════════════════
   DISCLOSURE
══════════════════════════════════════════ */
.disclosure {
  background: #FFFBEB; border: 1px solid #FDE68A;
  border-radius: var(--radius-sm); padding: 16px 20px;
  font-size: 0.82rem; color: #78350F; line-height: 1.6; margin-bottom: 32px;
}
.disclosure strong { color: #92400E; }

/* ══════════════════════════════════════════
   AUTHOR BOX
══════════════════════════════════════════ */
.author-box {
  background: white; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 24px; display: flex; gap: 20px; align-items: flex-start; margin: 32px 0;
  box-shadow: var(--shadow-card);
}
.author-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--primary-light); border: 2px solid var(--primary-mid);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.5rem; font-weight: 700; color: var(--primary);
}
.author-info h4 { margin-bottom: 4px; }
.author-info p  { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.author-badge   {
  display: inline-block; background: var(--primary-light); color: var(--primary);
  font-size: 0.75rem; font-weight: 600; padding: 3px 10px;
  border-radius: 50px; margin-top: 8px; border: 1px solid var(--primary-mid);
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer { background: var(--footer-bg); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid    { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand   { color: white; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.footer-desc    { font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-heading { color: #C4B5FD; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer-links   { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(196,181,253,0.65); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: white; }
.footer-bottom  {
  border-top: 1px solid rgba(196,181,253,0.15); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.83rem; flex-wrap: wrap; gap: 12px;
}
.footer-disclaimer {
  font-size: 0.78rem; color: rgba(196,181,253,0.35); margin-top: 20px; line-height: 1.7;
  border-top: 1px solid rgba(196,181,253,0.1); padding-top: 20px;
}

/* ══════════════════════════════════════════
   BADGES
══════════════════════════════════════════ */
.badge        { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; }
.badge-green  { background: var(--accent-light); color: #065F46; }
.badge-red    { background: var(--danger-light); color: #991B1B; }
.badge-yellow { background: #FEF3C7; color: #92400E; }
.badge-purple { background: var(--primary-light); color: var(--primary); border: 1px solid var(--primary-mid); }
.badge-blue   { background: #DBEAFE; color: #1E40AF; }

/* ══════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════ */
.content-layout  { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.sticky-sidebar  { position: sticky; top: 20px; }
.sidebar-box     {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 24px; margin-bottom: 20px;
}
.sidebar-box h4  { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 16px; }

/* ══════════════════════════════════════════
   EMBED PLACEHOLDER
══════════════════════════════════════════ */
.embed-box {
  background: white; border-radius: var(--radius-lg);
  border: 2px dashed var(--primary-mid); padding: 40px;
  text-align: center; margin: 32px 0;
}
.embed-box h3 { margin-bottom: 8px; }
.embed-box p  { color: var(--text-muted); margin-bottom: 20px; }


/* ── Hero outline button (transparent on dark bg) ── */
.btn-hero-outline {
  background: rgba(255,255,255,0.08);
  color: white !important;
  border: 2px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.7);
  color: white !important;
  transform: translateY(-2px);
}
/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .content-layout { grid-template-columns: 1fr; }
  .sticky-sidebar { position: relative; top: auto; }
  .grid-4         { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .section    { padding: 56px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .pros-cons  { grid-template-columns: 1fr; }
  .nav-links  { display: none; }
  .nav-toggle { display: block; }
  .hero       { padding: 72px 0 56px; }
  .hero-stats { gap: 24px; }
  .result-breakdown { grid-template-columns: 1fr; }
  .compare-table  { font-size: 0.82rem; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .calc-body  { padding: 24px; }
}
@media (max-width: 480px) {
  .container  { padding: 0 16px; }
  .grid-4     { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }
}

/* ── E-E-A-T Section Responsive ── */
@media (max-width: 768px) {
  .eeat-method-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 480px) {
  .eeat-method-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ══════════════════════════════════════════
   HERO FORM CARD (APIdiamond embed)
══════════════════════════════════════════ */
.hero-form-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.12);
  position: relative;
  z-index: 2;
}
.hero-form-header {
  background: linear-gradient(135deg, rgba(108,59,220,0.9), rgba(74,45,175,0.95));
  padding: 20px 24px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.hero-form-body {
  background: white;
  padding: 20px 20px 16px;
}
.hero-form-body #_lg_form_ {
  min-height: 320px;
}
/* Override APIdiamond neo form defaults to match site palette */
.hero-form-body .lg-form-wrap,
.hero-form-body .lg-form-container {
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: none !important;
}
@media (max-width: 1024px) {
  .hero-form-card { margin-top: 32px; }
}
@media (max-width: 768px) {
  .hero-form-header { padding: 16px 18px 14px; }
  .hero-form-body { padding: 16px 16px 12px; }
}

/* ══════════════════════════════════════════
   HERO MINI REVIEW CARD GRID — Option B
══════════════════════════════════════════ */
.hero-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 0;
}
.hero-mini-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 16px 18px;
  backdrop-filter: blur(6px);
  transition: var(--transition);
}
.hero-mini-card:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.25);
}
.hero-mini-val {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-display);
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-mini-val.hero-mini-accent { color: #C4B5FD; }
.hero-mini-val.hero-mini-green  { color: #6EE7B7; }
.hero-mini-denom {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  margin-left: 1px;
}
.hero-mini-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 2px;
  line-height: 1.35;
}
.hero-mini-stars {
  display: flex;
  gap: 2px;
  margin-top: 8px;
}
.hero-mini-stars svg {
  width: 12px;
  height: 12px;
  fill: #F59E0B;
}

@media (max-width: 768px) {
  .hero-mini-grid { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
  .hero-mini-val  { font-size: 1.6rem; }
}
@media (max-width: 480px) {
  .hero-mini-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════
   HERO — CENTERED FULL WIDTH LAYOUT
══════════════════════════════════════════ */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 64px 0 72px;
}
.hero-center .hero-badge {
  margin-bottom: 24px;
}
.hero-center h1 {
  color: white;
  margin-bottom: 20px;
}
.hero-center h1 em {
  font-style: normal;
  color: #C4B5FD;
}
/* Override old .hero h1 margin */
.hero { padding: 0; }

/* 4-column mini grid when centered */
.hero-mini-grid-center {
  grid-template-columns: repeat(4, 1fr) !important;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   FORM BELOW HERO SECTION — centered
══════════════════════════════════════════ */
.form-below-hero {
  background: #FFFFFF;
  padding: 48px 0 56px;
  border-top: 1px solid var(--border);
}
.form-center-wrap {
  max-width: 620px;
  margin: 0 auto;
}
.form-center-wrap #_lg_form_ {
  min-height: 380px;
}

@media (max-width: 1024px) {
  .hero-mini-grid-center { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 768px) {
  .hero-center { padding: 48px 0 56px; }
  .hero-mini-grid-center { grid-template-columns: repeat(2,1fr) !important; }
  .form-center-wrap { max-width: 100%; }
}

/* ══════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, #2D1869 0%, #4A2DAF 50%, #6C3BDC 100%);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -120px; right: -80px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(196,181,253,0.18) 0%, transparent 65%);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 65%);
  border-radius: 50%;
}
.cta-banner-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
/* Left copy */
.cta-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.18);
  border: 1px solid rgba(16,185,129,0.35);
  color: #6EE7B7;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.cta-banner-title {
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 14px;
  line-height: 1.2;
}
.cta-banner-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
}
.cta-banner-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cta-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
}
.cta-bullet-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  flex-shrink: 0;
}
/* Right card */
.cta-banner-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(12px);
  text-align: center;
}
.cta-rating-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 14px 0;
}
.cta-rating-item { flex: 1; text-align: center; }
.cta-rating-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: white;
  font-family: var(--font-display);
  line-height: 1;
}
.cta-rating-lbl {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}
.cta-rating-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.cta-apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  background: white;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  margin-bottom: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.2);
}
.cta-apply-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.28);
  color: var(--primary-dark);
}
.cta-apply-btn svg { flex-shrink: 0; }
.cta-calc-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  text-decoration: none;
  margin-bottom: 20px;
  transition: var(--transition);
}
.cta-calc-link:hover { color: white; }
.cta-disclaimer {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin: 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cta-disclaimer a { color: rgba(255,255,255,0.5); }

@media (max-width: 1024px) {
  .cta-banner-inner { grid-template-columns: 1fr; gap: 36px; }
  .cta-banner-card  { max-width: 480px; margin: 0 auto; width: 100%; }
  .cta-banner-sub   { max-width: 100%; }
}
@media (max-width: 768px) {
  .cta-banner { padding: 52px 0; }
}

/* ══════════════════════════════════════════
   FORM INTRO HEADER (above APIdiamond form)
══════════════════════════════════════════ */
.form-intro {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.form-intro-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #10B981;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.form-intro-dot {
  width: 9px;
  height: 9px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
  display: inline-block;
  flex-shrink: 0;
}
.form-intro-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}
.form-intro-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.form-intro-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-intro-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-muted);
  font-weight: 500;
}
.form-intro-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   FORM PREMIUM CARD — Option A
══════════════════════════════════════════ */
.form-premium {
  padding: 52px 0 64px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F3FF 100%);
}
.form-premium-card {
  max-width: 680px;
  margin: 0 auto;
  background:
    radial-gradient(ellipse 600px 200px at 50% 0%, rgba(108,59,220,0.06), transparent 70%),
    linear-gradient(180deg, #FAF8FF 0%, #FFFFFF 100%);
  border: 1px solid #EDE9FF;
  border-radius: 20px;
  padding: 40px 32px 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(108,59,220,0.08), 0 4px 12px rgba(0,0,0,0.03);
}
.form-premium-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6C3BDC 0%, #9D77F0 50%, #F59E0B 100%);
  border-radius: 20px 20px 0 0;
}

/* Header */
.form-premium-header {
  text-align: center;
  margin-bottom: 28px;
}
.form-premium-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.12);
  color: #047857;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 13px;
  border-radius: 50px;
  margin-bottom: 14px;
}
.form-premium-dot {
  width: 8px; height: 8px;
  background: #10B981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
}
.form-premium-title {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 800;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.2;
}
.form-premium-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* 2×2 pill chips */
.form-premium-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}
.form-premium-chips .chip {
  background: white;
  border: 1px solid #E8E5F5;
  border-radius: 50px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: var(--transition);
}
.form-premium-chips .chip:hover {
  border-color: #C4B5FD;
  background: #FAFAFF;
  transform: translateY(-1px);
}
.form-premium-chips .chip svg {
  width: 13px; height: 13px;
  flex-shrink: 0;
}

/* Form embed in inner white card */
.form-premium-embed {
  background: white;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 12px 32px rgba(108,59,220,0.1), 0 2px 6px rgba(0,0,0,0.04);
  border: 1px solid rgba(108,59,220,0.08);
}
.form-premium-embed #_lg_form_ {
  min-height: 380px;
}

/* Disclaimer */
.form-premium-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
  padding: 0 12px;
}
.form-premium-disclaimer a {
  color: var(--primary);
}

@media (max-width: 768px) {
  .form-premium { padding: 36px 0 48px; }
  .form-premium-card { padding: 32px 20px 24px; border-radius: 16px; }
  .form-premium-chips { grid-template-columns: 1fr; max-width: 320px; }
  .form-premium-embed { padding: 4px; }
}

/* ══════════════════════════════════════════════════════════════
   NEW SEO SECTIONS — Cleo Steps, Gig Workers, Credit Builder
══════════════════════════════════════════════════════════════ */

/* ── 5-Step Process List ── */
.cleo-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: cleo-step;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.cleo-steps li {
  display: flex;
  gap: 18px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.cleo-steps li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.cleo-steps .step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-display);
  box-shadow: 0 4px 12px rgba(108,59,220,0.25);
}
.cleo-steps h3 {
  font-size: 1.05rem;
  margin: 6px 0 8px;
  line-height: 1.35;
}
.cleo-steps p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}
.cleo-steps a {
  color: var(--primary);
  font-weight: 600;
}

/* ── Stats row under steps ── */
.cleo-stats-row {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 28px;
  background: linear-gradient(135deg, var(--primary-soft), white);
  border: 1px solid var(--primary-mid);
  border-radius: var(--radius-lg);
}
.cleo-stats-item { text-align: center; }
.cleo-stats-val {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 6px;
}
.cleo-stats-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ── Gig worker problem/solution cards ── */
.gig-problem-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
  position: relative;
}
.gig-problem-card.good {
  border-color: rgba(16,185,129,0.4);
  background: linear-gradient(135deg, rgba(16,185,129,0.06), white);
}
.gig-problem-card h4 {
  font-size: 1.05rem;
  margin: 8px 0 8px;
}
.gig-problem-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}
.gig-problem-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 50px;
}
.gig-problem-tag.bad {
  background: rgba(239,68,68,0.1);
  color: #B91C1C;
}
.gig-problem-tag.good {
  background: rgba(16,185,129,0.15);
  color: #047857;
}

/* ── Credit feature row ── */
.credit-feature {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.credit-feature:last-of-type {
  border-bottom: none;
}
.credit-feature-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.credit-feature-icon svg {
  width: 18px;
  height: 18px;
}
.credit-feature h4 {
  font-size: 0.98rem;
  margin: 2px 0 6px;
}
.credit-feature p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .cleo-stats-row { grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px; }
  .cleo-stats-val { font-size: 1.3rem; }
  .cleo-steps .step-num { width: 32px; height: 32px; font-size: 0.9rem; }
  .credit-feature { padding: 14px 0; }
}

/* ════════════════════════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE OVERHAUL — v22
   Breakpoints: 1280 / 1024 / 900 / 768 / 480 / 380
   Targets: Desktop · Laptop · Tablet · Mobile L · Mobile S
════════════════════════════════════════════════════════════════ */

/* ── Base typography responsiveness (fluid scaling) ── */
html { font-size: 16px; }
body { -webkit-text-size-adjust: 100%; }
img, svg { max-width: 100%; height: auto; }

/* ── Container fluid padding ── */
.container {
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

/* ── DESKTOP LARGE (1280px+) — defaults work ── */

/* ════════ LAPTOP (1024–1279px) ════════ */
@media (max-width: 1279px) {
  h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem) !important; }
  .hero-center { padding: 56px 0 64px; }

  /* Mini grid stays 4 columns until 1024 */
  .hero-mini-grid-center { max-width: 760px; }
}

/* ════════ TABLET LANDSCAPE (900–1023px) ════════ */
@media (max-width: 1023px) {
  /* Nav: hide desktop links earlier */
  .nav-links { display: none !important; }
  .nav-toggle { display: block !important; }

  /* Heroes scale down */
  .hero-center { padding: 48px 0 56px; }
  h1 { font-size: clamp(1.7rem, 5vw, 2.4rem) !important; line-height: 1.18 !important; }

  /* 4-col → 2-col for stat grids */
  .hero-mini-grid-center { grid-template-columns: repeat(2, 1fr) !important; max-width: 540px; }
  .cleo-stats-row { grid-template-columns: repeat(2, 1fr); }

  /* 2-col content stacks */
  .grid-2 { grid-template-columns: 1fr !important; gap: 32px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }

  /* Form premium card */
  .form-premium-card { padding: 36px 28px 28px; }
  .form-premium-chips { max-width: 100%; }

  /* CTA banner */
  .cta-banner { padding: 56px 0; }
  .cta-banner-card { max-width: 460px; margin: 0 auto; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Comparison table — horizontal scroll on tablet */
  .compare-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table { min-width: 720px; }
}

/* ════════ TABLET PORTRAIT (768–899px) ════════ */
@media (max-width: 899px) {
  .section { padding: 48px 0; }
  .section-sm { padding: 32px 0; }

  /* Image sizing in SEO sections */
  #how-cash-advance-works img,
  #cleo-for-gig-workers img,
  #building-credit-cleo img { max-height: 380px; object-fit: cover; }

  /* CTA banner stacks */
  .cta-banner-inner { grid-template-columns: 1fr !important; gap: 32px; }
  .cta-banner-card  { max-width: 100%; }

  /* Step list spacing tighter */
  .cleo-steps { gap: 20px; }
  .cleo-steps li { padding-bottom: 20px; }
  .cleo-steps h3 { font-size: 1rem; }

  /* Credit feature compact */
  .credit-feature h4 { font-size: 0.95rem; }
}

/* ════════ MOBILE LARGE (481–767px) ════════ */
@media (max-width: 767px) {
  /* Tighter sections */
  .section { padding: 40px 0; }
  .hero-center { padding: 40px 0 48px; }

  /* Hero scaling */
  h1 { font-size: clamp(1.5rem, 6.5vw, 2rem) !important; }
  .hero-badge { font-size: 0.7rem !important; padding: 5px 10px !important; }
  .hero-center .hero-badge { margin-bottom: 16px; }
  .hero-center p { font-size: 0.95rem !important; margin-bottom: 24px !important; }

  /* Buttons stack on mobile, full width */
  .hero-actions {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 32px;
  }
  .hero-actions .btn { width: 100%; text-align: center; padding: 13px 20px; }

  /* Mini grid stays 2 cols on mobile */
  .hero-mini-grid-center { grid-template-columns: repeat(2, 1fr) !important; gap: 8px; }
  .hero-mini-card { padding: 14px 16px; }
  .hero-mini-val { font-size: 1.5rem !important; }
  .hero-mini-lbl { font-size: 0.7rem !important; }

  /* Section title sizes */
  .section-title { font-size: clamp(1.4rem, 5vw, 1.9rem) !important; }
  .section-sub { font-size: 0.92rem !important; }

  /* 3-col → 1-col for cards */
  .grid-3 { grid-template-columns: 1fr !important; }
  .card { padding: 22px 20px; }

  /* Form premium */
  .form-premium { padding: 36px 0 44px; }
  .form-premium-card { padding: 28px 18px 22px; border-radius: 16px; }
  .form-premium-title { font-size: 1.4rem !important; }
  .form-premium-chips { grid-template-columns: 1fr; gap: 8px; max-width: 320px; }
  .form-premium-embed { padding: 4px; border-radius: 12px; }

  /* Stats row 2x2 */
  .cleo-stats-row { grid-template-columns: 1fr 1fr; gap: 12px; padding: 20px 16px; }
  .cleo-stats-val { font-size: 1.25rem; }
  .cleo-stats-lbl { font-size: 0.72rem; }

  /* Steps */
  .cleo-steps .step-num { width: 30px; height: 30px; font-size: 0.85rem; }
  .cleo-steps h3 { font-size: 0.95rem; margin-top: 4px; }
  .cleo-steps p { font-size: 0.88rem; }

  /* CTA */
  .cta-banner { padding: 44px 0; }
  .cta-banner-title { font-size: clamp(1.5rem, 5vw, 2rem) !important; }
  .cta-banner-card { padding: 24px 20px; }
  .cta-rating-row { padding: 12px 0; }
  .cta-rating-val { font-size: 1.15rem; }
  .cta-rating-lbl { font-size: 0.66rem; }
  .cta-apply-btn { padding: 14px 18px; font-size: 1rem; }

  /* FAQ */
  .faq-item { padding: 14px 18px; }
  .faq-q { font-size: 0.95rem; }
  .faq-a { font-size: 0.88rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { font-size: 1.2rem; }
  .footer-desc { font-size: 0.85rem; }
  .footer-heading { font-size: 0.78rem; }

  /* Premium chips full width with checks */
  .form-premium-chips .chip { width: 100%; justify-content: flex-start; }

  /* Trustpilot section reflow */
  #trustpilot-reviews .container > div[style*="grid-template-columns: 200px"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    text-align: center;
  }
  #trustpilot-reviews .container > div > div:nth-child(2) > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* E-E-A-T expert cards stack */
  #expert-review .grid-2 > div {
    flex-direction: column !important;
    text-align: center;
    align-items: center !important;
  }
  #expert-review .grid-2 img,
  #expert-review .grid-2 div[style*="display:none"] {
    margin: 0 auto 12px;
  }

  /* TOC */
  .toc { padding: 20px; }
  .toc ol { columns: 1; }
  .toc a { font-size: 0.88rem; }

  /* Disclosure box */
  .disclosure { font-size: 0.82rem; padding: 14px 16px; }

  /* Legal pages */
  .legal-content { padding: 28px 20px; }
  .legal-content h2 { font-size: 1.2rem; }
  .legal-content h2 .num { font-size: 0.75rem; padding: 3px 8px; }
}

/* ════════ MOBILE SMALL (380–480px) ════════ */
@media (max-width: 480px) {
  h1 { font-size: clamp(1.35rem, 7vw, 1.75rem) !important; }

  /* Even tighter padding */
  .container { padding: 0 14px !important; }
  .section { padding: 36px 0; }

  /* Mini grid full single col on tiny screens */
  .hero-mini-grid-center { grid-template-columns: 1fr 1fr !important; gap: 6px; }
  .hero-mini-card { padding: 12px 14px; }
  .hero-mini-val { font-size: 1.35rem !important; }

  /* Buttons */
  .btn-lg { padding: 12px 20px; font-size: 0.95rem; }

  /* Form card */
  .form-premium-card { padding: 22px 14px 18px; }
  .form-premium-title { font-size: 1.25rem !important; }
  .form-premium-sub { font-size: 0.88rem !important; }

  /* CTA bullets compact */
  .cta-bullet { font-size: 0.85rem !important; }

  /* Footer single column */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-grid > div { padding: 0; }
  .footer-links { display: inline-flex; flex-direction: column; gap: 6px; }

  /* Pros/Cons mobile */
  .pros-cons { grid-template-columns: 1fr !important; gap: 16px; }
}

/* ════════ MOBILE TINY (≤ 380px iPhone SE etc.) ════════ */
@media (max-width: 380px) {
  .hero-center { padding: 32px 0 40px; }
  .form-premium-chips { grid-template-columns: 1fr; }
  .cleo-stats-row { grid-template-columns: 1fr; }
  .cta-rating-row { flex-direction: column; gap: 8px; padding: 12px; }
  .cta-rating-divider { display: none; }
  .cta-rating-item { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .cta-rating-item:last-child { border-bottom: none; }
}

/* ════════ TOUCH TARGETS — Accessibility (WCAG 2.5.5) ════════ */
@media (hover: none) and (pointer: coarse) {
  /* Ensure all interactive elements meet 44x44px minimum */
  .btn, .nav-links a, .mobile-menu a, .footer-links a,
  .faq-q, .toc a, .cta-apply-btn, .cta-calc-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  /* Remove hover transforms on touch (causes sticky hover state) */
  .card:hover, .hero-mini-card:hover, .form-premium-chips .chip:hover,
  .sitemap-section:hover, .cta-apply-btn:hover {
    transform: none;
  }
}

/* ════════ HIGH-DPI / RETINA — sharper borders ════════ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .form-premium-card,
  .hero-form-card,
  .card { border-width: 0.5px; }
}

/* ════════ REDUCED MOTION — Accessibility ════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ════════ PRINT STYLES ════════ */
@media print {
  .navbar, .mobile-menu, .nav-toggle,
  .cta-banner, footer, .form-premium { display: none; }
  body { color: black; background: white; }
  .hero, .legal-hero { background: white !important; color: black !important; padding: 20px 0; }
  .hero *, .legal-hero * { color: black !important; }
  .section { padding: 20px 0; page-break-inside: avoid; }
  a { color: black; text-decoration: underline; }
  img { max-width: 100% !important; }
}

/* ════════════════════════════════════════════════════════════════
   SPRINT A: Quick Wins — Skip link, scroll progress, byline, trust, sticky CTA
════════════════════════════════════════════════════════════════ */

/* ── #6 Skip-to-content (a11y) ── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--primary-dark);
  color: white;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus {
  left: 0;
  outline: 3px solid var(--secondary);
  outline-offset: 0;
}

/* ── #4 Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 999;
  transition: width 0.08s ease-out;
  box-shadow: 0 0 12px rgba(108, 59, 220, 0.5);
}

/* ── #1 + #2 Hero byline row (under badge) ── */
.hero-byline-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 14px auto 22px;
  padding: 8px 18px;
  background: rgba(45, 24, 105, 0.35);
  border: 1px solid rgba(196, 181, 253, 0.18);
  border-radius: 50px;
  backdrop-filter: blur(8px) saturate(120%);
}
.hero-byline-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.hero-byline-item svg {
  flex-shrink: 0;
  opacity: 0.85;
}
.hero-byline-divider {
  opacity: 0.35;
  font-weight: 700;
}
@media (max-width: 600px) {
  .hero-byline-row {
    flex-direction: column;
    gap: 6px;
    padding: 12px 18px;
    font-size: 0.78rem;
  }
  .hero-byline-divider { display: none; }
}

/* ── #3 Trust badges strip ── */
.trust-strip {
  background: linear-gradient(180deg, white 0%, var(--bg-light) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-badges {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: center;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 4px;
}
.trust-badge svg {
  flex-shrink: 0;
  color: var(--primary);
  stroke: var(--primary);
}
.trust-badge strong {
  display: block;
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.2;
}
.trust-badge span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.2;
}
@media (max-width: 1023px) {
  .trust-badges { grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
  .trust-badge:nth-child(4),
  .trust-badge:nth-child(5) { grid-column: span 1; }
}
@media (max-width: 600px) {
  .trust-badges { grid-template-columns: repeat(2, 1fr); }
  .trust-badge strong { font-size: 0.78rem; }
  .trust-badge span   { font-size: 0.68rem; }
}
@media (max-width: 380px) {
  .trust-badges { grid-template-columns: 1fr; gap: 12px; }
}

/* ── #5 Mobile Sticky Bottom CTA ── */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, rgba(245, 243, 255, 0) 0%, rgba(245, 243, 255, 0.95) 30%, white 100%);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}
.mobile-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 13px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(108, 59, 220, 0.35);
  transition: transform 0.18s ease;
}
.mobile-sticky-btn:active {
  transform: scale(0.97);
}
.mobile-sticky-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}
.mobile-sticky-text strong {
  font-size: 0.98rem;
  font-weight: 700;
}
.mobile-sticky-text span {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  margin-top: 2px;
}
@media (max-width: 767px) {
  .mobile-sticky-cta { display: block; }
  body { padding-bottom: 76px; }
}

/* ════════════════════════════════════════════════════════════════
   SPRINT B: Major Projects
   #7 Sticky TOC · #8 Counters · #9 Price Bars · #10 Quote Cards
   #11 Related Articles · #12 Visible Breadcrumbs
════════════════════════════════════════════════════════════════ */

/* ── #12 Visible Breadcrumbs ── */
.breadcrumbs-bar {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.18s ease;
}
.breadcrumbs a:hover {
  color: var(--primary);
}
.breadcrumbs a svg {
  flex-shrink: 0;
}
.breadcrumbs li[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}
.breadcrumb-sep {
  color: var(--text-light);
  font-weight: 600;
}
@media (max-width: 600px) {
  .breadcrumbs { font-size: 0.78rem; gap: 6px; }
  .breadcrumbs a span,
  .breadcrumbs li[aria-current="page"] {
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ── #7 Sticky TOC Sidebar (desktop only) ── */
.sticky-toc {
  display: none;
}
@media (min-width: 1280px) {
  .sticky-toc {
    display: block;
    position: fixed;
    top: 100px;
    right: 24px;
    z-index: 90;
    width: 220px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }
  .sticky-toc-inner {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 16px;
    box-shadow: var(--shadow-card);
  }
  .sticky-toc-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 800;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
  }
  .sticky-toc-title svg {
    color: var(--primary);
  }
  .sticky-toc-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    counter-reset: stoc;
  }
  .sticky-toc-list li {
    counter-increment: stoc;
  }
  .sticky-toc-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: var(--radius-sm);
    border-left: 2px solid transparent;
    transition: all 0.18s ease;
    line-height: 1.35;
  }
  .sticky-toc-list a::before {
    content: counter(stoc, decimal-leading-zero);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-light);
    flex-shrink: 0;
  }
  .sticky-toc-list a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
  }
  .sticky-toc-list a.active {
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    border-left-color: var(--primary);
  }
  .sticky-toc-list a.active::before {
    color: var(--primary);
  }
  .sticky-toc-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    transition: transform 0.18s ease;
  }
  .sticky-toc-cta:hover {
    transform: translateY(-1px);
  }
}

/* ── #10 User Quote Cards ── */
.user-quotes-section { padding: 56px 0; }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}
.quote-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  position: relative;
  box-shadow: 0 1px 4px rgba(108, 59, 220, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quote-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.quote-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.quote-stars {
  color: #F59E0B;
  font-size: 1.05rem;
  letter-spacing: 1px;
}
.quote-rating-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.quote-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 18px;
  font-style: italic;
}
.quote-meta {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.quote-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.quote-meta strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.2;
}
.quote-meta span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.2;
}
.quote-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 8px;
}
.quote-disclaimer svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--primary);
}

/* ── #9 Visual Price Bars ── */
.price-bars {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
.price-bar-row {
  display: grid;
  grid-template-columns: 160px 1fr 80px;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--border);
}
.price-bar-row:last-child {
  border-bottom: none;
}
.price-bar-row.highlight {
  background: linear-gradient(90deg, var(--primary-light), transparent);
  margin: 0 -16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border-bottom: 1px dashed var(--border);
}
.price-bar-label strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.2;
}
.price-bar-label span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}
.price-bar-track {
  height: 24px;
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.price-bar-fill {
  height: 100%;
  width: var(--fill, 0%);
  border-radius: 12px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.price-bar-value {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  text-align: right;
  font-family: var(--font-display);
}
.price-bars-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 800px;
  margin: 16px auto 0;
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.price-bars-note svg {
  flex-shrink: 0;
  color: var(--primary);
  margin-top: 1px;
}
@media (max-width: 767px) {
  .price-bars { padding: 20px 16px; }
  .price-bar-row { grid-template-columns: 110px 1fr 60px; gap: 10px; padding: 11px 0; }
  .price-bar-label strong { font-size: 0.85rem; }
  .price-bar-label span { display: none; }
  .price-bar-value { font-size: 0.9rem; }
  .price-bar-track { height: 18px; }
}

/* ── #11 Related Articles ── */
.related-articles-section { padding: 56px 0; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.related-card {
  display: block;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}
.related-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: translateY(-3px);
  transition: transform 0.25s ease;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary-mid);
}
.related-card:hover::before {
  transform: translateY(0);
}
.related-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50px;
  margin-bottom: 12px;
}
.related-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.25;
}
.related-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 14px;
}
.related-read {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
  transition: gap 0.2s ease;
}
.related-card:hover .related-read {
  color: var(--primary-dark);
}
