/* ============================================================
   WiseIQ Premium Design System v2.0
   Inspired by: Stripe, Linear, Vercel, Apple
   ============================================================ */

/* ── Google Fonts: Inter ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Design Tokens ── */
:root {
  /* Brand */
  --brand-navy:     #0B1F3A;
  --brand-blue:     #1A6FD4;
  --brand-blue-lt:  #3B8BF5;
  --brand-teal:     #0EA5E9;
  --brand-gold:     #C9A84C;
  --white:           #FFFFFF;

  /* Neutrals — precise 11-step scale */
  --n-0:   #FFFFFF;
  --n-50:  #F8FAFC;
  --n-100: #F1F5F9;
  --n-150: #EBF0F7;
  --n-200: #E2E8F0;
  --n-300: #CBD5E1;
  --n-400: #94A3B8;
  --n-500: #64748B;
  --n-600: #475569;
  --n-700: #334155;
  --n-800: #1E293B;
  --n-900: #0F172A;

  /* Semantic */
  --text-primary:   var(--n-900);
  --text-secondary: var(--n-600);
  --text-tertiary:  var(--n-400);
  --text-inverse:   var(--n-0);
  --bg-base:        var(--n-0);
  --bg-subtle:      var(--n-50);
  --bg-muted:       var(--n-100);
  --border-subtle:  var(--n-200);
  --border-default: var(--n-300);

  /* Status */
  --green:  #16A34A;
  --green-lt: #DCFCE7;
  --amber:  #D97706;
  --amber-lt: #FEF3C7;
  --red:    #DC2626;
  --red-lt: #FEE2E2;
  --blue-lt: #EFF6FF;

  /* Typography */
  --font:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', monospace;

  /* Type scale */
  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   17px;
  --text-lg:   20px;
  --text-xl:   24px;
  --text-2xl:  30px;
  --text-3xl:  38px;
  --text-4xl:  48px;
  --text-5xl:  60px;

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --r-xs:  4px;
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  20px;
  --r-2xl: 24px;
  --r-full: 9999px;

  /* Shadows — layered for depth */
  --shadow-xs:  0 1px 2px rgba(15,23,42,0.04);
  --shadow-sm:  0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md:  0 4px 12px rgba(15,23,42,0.07), 0 2px 4px rgba(15,23,42,0.04);
  --shadow-lg:  0 12px 32px rgba(15,23,42,0.09), 0 4px 8px rgba(15,23,42,0.05);
  --shadow-xl:  0 24px 56px rgba(15,23,42,0.12), 0 8px 16px rgba(15,23,42,0.06);
  --shadow-2xl: 0 40px 80px rgba(15,23,42,0.16), 0 16px 32px rgba(15,23,42,0.08);
  --shadow-blue: 0 8px 24px rgba(26,111,212,0.22);
  --shadow-navy: 0 8px 24px rgba(11,31,58,0.22);

  /* Transitions */
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --duration-fast: 120ms;
  --duration:      200ms;
  --duration-slow: 350ms;

  /* Layout */
  --max-w:       1160px;
  --max-w-prose: 720px;
  --max-w-sm:    560px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── Typography System ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.04em; }
h2 { font-size: clamp(26px, 3.5vw, 42px); letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 2.5vw, 28px); letter-spacing: -0.02em; }
h4 { font-size: var(--text-xl); font-weight: 700; letter-spacing: -0.01em; }
h5 { font-size: var(--text-lg); font-weight: 700; }
h6 { font-size: var(--text-base); font-weight: 700; }

p { line-height: 1.7; color: var(--text-secondary); }
p + p { margin-top: var(--space-4); }

a { color: var(--brand-blue); text-decoration: none; transition: color var(--duration-fast); }
a:hover { color: var(--brand-blue-lt); }

strong { font-weight: 700; color: var(--text-primary); }

/* Hero stat numbers must always be white on dark backgrounds */
.hero-stat strong,
.hero-stats strong,
.hero-stats .hero-stat strong,
.page-hero .hero-stat strong,
.hero-section .hero-stat strong { color: #ffffff !important; }
.hero-stat,
.hero-stats .hero-stat { color: rgba(255,255,255,0.9) !important; }
em { font-style: italic; }

small { font-size: var(--text-sm); }

img { max-width: 100%; display: block; }

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-sm {
  max-width: var(--max-w-sm);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-prose {
  max-width: var(--max-w-prose);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

section { padding: var(--space-24) 0; }

/* ── Section Labels ── */
.label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: var(--space-3);
}

.label-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-blue);
  border-radius: var(--r-full);
  flex-shrink: 0;
}

/* ── Premium Button System ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1;
  padding: 12px 22px;
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}

.btn:hover { text-decoration: none; }

/* Primary — Navy fill */
.btn-primary {
  background: var(--brand-navy);
  color: var(--n-0);
  box-shadow: 0 2px 8px rgba(11,31,58,0.20), inset 0 1px 0 rgba(255,255,255,0.06);
}
.btn-primary:hover {
  background: #0d2647;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(11,31,58,0.28), inset 0 1px 0 rgba(255,255,255,0.06);
  color: var(--n-0);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(11,31,58,0.20); }

/* Blue fill */
.btn-blue {
  background: var(--brand-blue);
  color: var(--n-0);
  box-shadow: 0 2px 8px rgba(26,111,212,0.22), inset 0 1px 0 rgba(255,255,255,0.10);
}
.btn-blue:hover {
  background: #1560bb;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,111,212,0.32);
  color: var(--n-0);
}

/* Ghost / outline */
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-default);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--n-400);
  transform: translateY(-1px);
  color: var(--text-primary);
}

/* Ghost blue */
.btn-ghost-blue {
  background: var(--blue-lt);
  color: var(--brand-blue);
  border: 1.5px solid rgba(26,111,212,0.15);
}
.btn-ghost-blue:hover {
  background: #dbeafe;
  transform: translateY(-1px);
  color: var(--brand-blue);
}

/* Apply Now — high-conversion green */
.btn-apply-cta {
  background: linear-gradient(135deg, #16A34A, #15803D);
  color: var(--n-0);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--r-full);
  box-shadow: 0 2px 8px rgba(22,163,74,0.25);
  transition: all var(--duration) var(--ease);
}
.btn-apply-cta:hover {
  background: linear-gradient(135deg, #15803D, #166534);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(22,163,74,0.35);
  color: var(--n-0);
}

/* Button sizes */
.btn-sm  { font-size: var(--text-sm); padding: 8px 16px; }
.btn-lg  { font-size: var(--text-md); padding: 15px 28px; }
.btn-xl  { font-size: var(--text-lg); padding: 18px 36px; }

/* ── Badge System ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.badge-blue    { background: var(--blue-lt); color: var(--brand-blue); }
.badge-green   { background: var(--green-lt); color: var(--green); }
.badge-amber   { background: var(--amber-lt); color: var(--amber); }
.badge-red     { background: var(--red-lt); color: var(--red); }
.badge-navy    { background: var(--brand-navy); color: var(--n-0); }
.badge-outline { background: transparent; border: 1.5px solid var(--border-default); color: var(--text-secondary); }
.badge-featured { background: linear-gradient(135deg, #1A6FD4, #0EA5E9); color: var(--n-0); }

/* ── Card System ── */
.card {
  background: var(--n-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  transition: all var(--duration) var(--ease);
}

.card:hover {
  border-color: var(--n-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-featured {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 1px var(--brand-blue), var(--shadow-md);
}

.card-surface {
  background: var(--bg-subtle);
  border-color: var(--border-subtle);
}

/* ── Product Card — Premium ── */
.product-card {
  background: var(--n-0);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  position: relative;
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: var(--n-300);
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}

.product-card.featured {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 1px rgba(26,111,212,0.3), var(--shadow-md);
}

.product-card.featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-teal));
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}

/* ── Score Ring ── */
.score-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 800;
  flex-shrink: 0;
}

.score-ring-9 { background: #DCFCE7; color: #15803D; }
.score-ring-8 { background: #D1FAE5; color: #059669; }
.score-ring-7 { background: #FEF3C7; color: #D97706; }
.score-ring-6 { background: #FEE2E2; color: #DC2626; }

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border-subtle);
  margin: var(--space-6) 0;
}

/* ── Disclosure Banner — Premium ── */
.disclosure-bar {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  background: var(--blue-lt);
  border: 1px solid rgba(26,111,212,0.12);
  border-radius: var(--r-lg);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-4);
}

.disclosure-bar .disc-icon {
  width: 28px;
  height: 28px;
  background: rgba(26,111,212,0.10);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 1px;
}

.disclosure-bar .disc-icon svg { width: 14px; height: 14px; stroke-width: 2; fill: none; }

.disclosure-bar p {
  font-size: var(--text-sm);
  color: #1E40AF;
  margin: 0;
  line-height: 1.65;
}

.disclosure-bar a { color: #1E40AF; font-weight: 700; text-decoration: underline; }

.warning-bar {
  background: #FFFBEB;
  border-color: rgba(217,119,6,0.15);
}

.warning-bar .disc-icon {
  background: rgba(217,119,6,0.10);
  color: var(--amber);
}

.warning-bar p { color: #92400E; }

/* ── Trust Bar ── */
.trust-bar {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.trust-item svg { width: 15px; height: 15px; stroke-width: 2; fill: none; color: var(--green); }

/* ── Stats ── */
.stat-block { text-align: center; }
.stat-number {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--brand-navy);
  margin-bottom: var(--space-2);
}
.stat-number span {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

/* ── Feature Grid ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  padding: var(--space-8);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-subtle);
  background: var(--n-0);
  transition: all var(--duration) var(--ease);
}

.feature-card:hover {
  border-color: var(--n-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  background: var(--blue-lt);
  color: var(--brand-blue);
}

.feature-icon-wrap svg { width: 22px; height: 22px; stroke-width: 1.5; fill: none; }

.feature-title {
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  letter-spacing: -0.02em;
}

.feature-desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── Category Card ── */
.cat-card-premium {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.cat-card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent);
  opacity: 0;
  transition: opacity var(--duration);
}

.cat-card-premium:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  text-decoration: none;
}

.cat-card-premium:hover::before { opacity: 1; }

.cat-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255,255,255,0.85);
}

.cat-icon-wrap svg { width: 20px; height: 20px; stroke-width: 1.5; fill: none; }

.cat-text { flex: 1; min-width: 0; }
.cat-name-premium { font-size: var(--text-base); font-weight: 700; color: var(--n-0); }
.cat-count-premium { font-size: var(--text-xs); color: rgba(255,255,255,0.45); font-weight: 500; margin-top: 2px; }

.cat-arrow-premium {
  color: rgba(255,255,255,0.25);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease), color var(--duration);
}

.cat-card-premium:hover .cat-arrow-premium {
  transform: translateX(3px);
  color: rgba(255,255,255,0.55);
}

.cat-arrow-premium svg { width: 16px; height: 16px; stroke-width: 2; fill: none; }

/* ── Reviewed Date ── */
.reviewed-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--n-400);
  margin-bottom: var(--space-3);
}

.reviewed-date svg { width: 11px; height: 11px; stroke-width: 2; fill: none; }

/* ── Score Bar ── */
.score-bar-wrap { margin-bottom: var(--space-3); }
.score-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.score-bar-track {
  height: 6px;
  background: var(--n-100);
  border-radius: var(--r-full);
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-teal));
  border-radius: var(--r-full);
  transition: width 0.8s var(--ease);
}

/* ── Highlight Box ── */
.highlight-box {
  background: var(--blue-lt);
  border: 1px solid rgba(26,111,212,0.12);
  border-radius: var(--r-lg);
  padding: var(--space-5) var(--space-6);
}

.highlight-box-amber {
  background: var(--amber-lt);
  border-color: rgba(217,119,6,0.15);
}

.highlight-box-green {
  background: var(--green-lt);
  border-color: rgba(22,163,74,0.15);
}

/* ── Table — Premium ── */
.premium-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.premium-table th {
  background: var(--brand-navy);
  color: var(--n-0);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 16px;
  text-align: left;
}

.premium-table th:first-child { border-radius: var(--r-sm) 0 0 0; }
.premium-table th:last-child  { border-radius: 0 var(--r-sm) 0 0; }

.premium-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

.premium-table tr:nth-child(even) td { background: var(--bg-subtle); }
.premium-table tr:last-child td { border-bottom: none; }
.premium-table tr:hover td { background: var(--blue-lt); }

.premium-table td:first-child { font-weight: 600; color: var(--text-primary); }

/* ── Input — Premium ── */
.input-premium {
  width: 100%;
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--n-0);
  border: 1.5px solid var(--border-default);
  border-radius: var(--r-md);
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
  -webkit-appearance: none;
}

.input-premium:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(26,111,212,0.12);
}

.input-premium::placeholder { color: var(--n-400); }

/* ── Filter Chips ── */
.filter-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-8);
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--n-0);
  border: 1.5px solid var(--border-default);
  border-radius: var(--r-full);
  padding: 7px 16px;
  cursor: pointer;
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.filter-chip:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: var(--blue-lt);
}

.filter-chip.active {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: var(--n-0);
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-tertiary); font-weight: 500; }
.breadcrumb a:hover { color: var(--brand-blue); }
.breadcrumb-sep { color: var(--n-300); }
.breadcrumb-current { color: var(--text-secondary); font-weight: 600; }

/* ── Author Block ── */
.author-block {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  margin: var(--space-8) 0;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--n-0);
  flex-shrink: 0;
}

.author-name { font-size: var(--text-base); font-weight: 700; color: var(--text-primary); }
.author-title { font-size: var(--text-sm); color: var(--text-secondary); margin-top: 2px; }
.author-meta { font-size: var(--text-xs); color: var(--text-tertiary); margin-top: 4px; }

/* ── Callout Box ── */
.callout {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  border-radius: var(--r-lg);
  margin: var(--space-8) 0;
}

.callout-blue  { background: var(--blue-lt); border-left: 3px solid var(--brand-blue); }
.callout-green { background: var(--green-lt); border-left: 3px solid var(--green); }
.callout-amber { background: var(--amber-lt); border-left: 3px solid var(--amber); }

.callout-icon { flex-shrink: 0; margin-top: 2px; }
.callout-icon svg { width: 18px; height: 18px; stroke-width: 1.75; fill: none; }
.callout-blue  .callout-icon { color: var(--brand-blue); }
.callout-green .callout-icon { color: var(--green); }
.callout-amber .callout-icon { color: var(--amber); }

.callout-content p { font-size: var(--text-base); margin: 0; line-height: 1.65; }
.callout-blue  .callout-content p { color: #1E40AF; }
.callout-green .callout-content p { color: #166534; }
.callout-amber .callout-content p { color: #92400E; }

/* ── Sticky CTA Bar ── */
.sticky-cta {
  position: sticky;
  bottom: var(--space-5);
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  background: var(--brand-navy);
  color: var(--n-0);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-2xl);
  pointer-events: all;
  max-width: 560px;
  width: 100%;
}

.sticky-cta-text { flex: 1; font-size: var(--text-sm); font-weight: 600; }
.sticky-cta-text span { color: var(--brand-teal); }

/* ── Scroll Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Skeleton Loading ── */
.skeleton {
  background: linear-gradient(90deg, var(--n-100) 25%, var(--n-150) 50%, var(--n-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-sm);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Pulse animation ── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(0.9); }
}

/* ── Float animation ── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ── Utility Classes ── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.text-primary   { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-tertiary  { color: var(--text-tertiary) !important; }
.text-blue      { color: var(--brand-blue) !important; }
.text-green     { color: var(--green) !important; }
.text-amber     { color: var(--amber) !important; }
.text-white     { color: var(--n-0) !important; }

.bg-base    { background: var(--bg-base); }
.bg-subtle  { background: var(--bg-subtle); }
.bg-navy    { background: var(--brand-navy); }
.bg-blue    { background: var(--brand-blue); }

.font-medium { font-weight: 500; }
.font-semi   { font-weight: 600; }
.font-bold   { font-weight: 700; }
.font-black  { font-weight: 900; }

.rounded-full { border-radius: var(--r-full); }
.rounded-lg   { border-radius: var(--r-lg); }
.rounded-xl   { border-radius: var(--r-xl); }

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start  { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.w-full { width: 100%; }
.max-w-prose { max-width: var(--max-w-prose); }
.mx-auto { margin-left: auto; margin-right: auto; }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }

.pointer { cursor: pointer; }
.no-select { user-select: none; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .container { padding: 0 var(--space-5); }
  section { padding: var(--space-20) 0; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--space-4); }
  section { padding: var(--space-16) 0; }
  h1 { letter-spacing: -0.03em; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar { gap: var(--space-4); }
}

@media (max-width: 560px) {
  section { padding: var(--space-12) 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .filter-row { gap: var(--space-2); }
  .sticky-cta-inner { flex-direction: column; text-align: center; }
}

/* ── Print ── */
@media print {
  .sticky-cta, #navbar, .nav-hamburger { display: none !important; }
  body { font-size: 12pt; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM NAVBAR v4.0
   ═══════════════════════════════════════════════════════════════════════════ */

#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index:9000;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  height: 64px;
  overflow: visible;
}
#navbar::before {
  content: '';
  position: absolute; inset: 0;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  z-index: -1;
  pointer-events: none;
}
#navbar.scrolled {
  border-bottom-color: var(--n-200);
  box-shadow: 0 1px 0 var(--n-100), 0 4px 24px rgba(11,31,58,0.06);
}
.nav-inner {
  max-width: var(--max-w); width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--space-6); height: 64px;
  overflow: visible;
}
.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; flex-shrink: 0; }
.nav-logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-logo-mark svg { width: 18px; height: 18px; }
.nav-logo-name { font-size: 18px; font-weight: 800; color: var(--brand-navy); letter-spacing: -0.4px; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--n-600);
  padding: 6px 11px; border-radius: 7px; text-decoration: none; transition: all 0.15s; white-space: nowrap;
}
.nav-link:hover { color: var(--brand-navy); background: var(--n-100); }
.nav-link.active { color: var(--brand-navy); font-weight: 600; }
.nav-mega-wrapper { position: relative; }
.nav-mega-trigger {
  font-size: 14px; font-weight: 500; color: var(--n-600);
  padding: 6px 11px; border-radius: 7px; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 4px; font-family: var(--font); transition: all 0.15s;
}
.nav-mega-trigger:hover { color: var(--brand-navy); background: var(--n-100); }
.nav-mega-trigger.active { color: var(--brand-navy); font-weight: 600; }
.nav-chevron { transition: transform 0.2s; }
.nav-mega-trigger.open .nav-chevron { transform: rotate(180deg); }
.nav-mega-panel {
  position: absolute; top: calc(100% + 12px); left: 50%;
  width: 520px; background: #FFFFFF; border: 1px solid var(--n-200);
  border-radius: var(--r-xl);
  box-shadow: 0 20px 60px rgba(11,31,58,0.14), 0 4px 16px rgba(11,31,58,0.06);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s; z-index: 9999;
}
.nav-mega-panel.open {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
z-index:9999;}
.nav-mega-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 12px; border-bottom: 1px solid var(--n-100);
}
.nav-mega-header-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--n-400); }
.nav-mega-view-all { font-size: 12px; font-weight: 600; color: var(--brand-blue); text-decoration: none; transition: opacity 0.15s; }
.nav-mega-view-all:hover { opacity: 0.75; }
.nav-mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 8px; }
.nav-tools-wrapper .nav-mega-panel { width: 560px; }
.nav-mega-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); text-decoration: none; transition: background 0.12s; }
.nav-mega-item:hover { background: var(--n-50); }
.nav-mega-icon {
  width: 36px; height: 36px; border-radius: 9px; background: var(--n-100);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--brand-navy); transition: background 0.12s;
}
.nav-mega-item:hover .nav-mega-icon { background: rgba(26,111,212,0.1); color: var(--brand-blue); }
.nav-mega-text { flex: 1; min-width: 0; }
.nav-mega-label { font-size: 13px; font-weight: 600; color: var(--brand-navy); line-height: 1.3; }
.nav-mega-desc { font-size: 12px; color: var(--n-500); margin-top: 2px; line-height: 1.4; }
/* ── Main-nav dropdown triggers (styled like .nav-link plain links) ── */
.nav-link-trigger {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 13px; font-weight: 500; color: var(--n-600);
  padding: 6px 7px; border-radius: 8px; border: none; background: none;
  cursor: pointer; white-space: nowrap; transition: color 0.15s, background 0.15s;
  font-family: var(--font); letter-spacing: -0.01em;
}
.nav-link-trigger:hover { color: var(--brand-navy); background: var(--n-100); }
.nav-link-trigger.active { color: var(--brand-navy); font-weight: 600; }
.nav-link-trigger.open .nav-chevron { transform: rotate(180deg); }
/* Compact 2-col panel for main-nav category dropdowns */
.nav-mega-panel--compact { width: 540px; }
.nav-mega-grid--2col { grid-template-columns: 1fr 1fr; }
.nav-mega-panel--compact .nav-mega-item { gap: 0; padding: 10px 14px; }
.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-sim-btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--brand-blue);
  padding: 7px 14px; border-radius: 8px; border: 1.5px solid rgba(26,111,212,0.25);
  text-decoration: none; transition: all 0.15s; white-space: nowrap;
}
.nav-sim-btn:hover, .nav-sim-btn.active { background: rgba(26,111,212,0.06); border-color: var(--brand-blue); }
.nav-cta {
  font-size: 13px; font-weight: 700; color: var(--white); background: var(--brand-navy);
  padding: 8px 18px; border-radius: 8px; text-decoration: none; transition: all 0.15s; white-space: nowrap;
}
.nav-cta:hover { background: var(--brand-blue); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(26,111,212,0.3); color: var(--white); }
.nav-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; border-radius: 7px; transition: background 0.15s; }
.nav-hamburger:hover { background: var(--n-100); }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--brand-navy); margin: 5px 0; border-radius: 2px; transition: all 0.25s; }
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
#mobile-nav {
  position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: #FFFFFF; z-index: 999; overflow-y: auto;
  opacity: 0; transform: translateY(-8px);
  transition: opacity 0.22s, transform 0.22s; pointer-events: none;
  border-top: 1px solid var(--n-200);
}
#mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav-inner { padding: 16px 20px 32px; }
.mobile-nav-section { margin-bottom: 24px; }
.mobile-nav-section-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--n-400); padding: 0 4px; margin-bottom: 8px; }
.mobile-nav-link { display: flex; align-items: center; padding: 11px 12px; border-radius: 9px; font-size: 15px; font-weight: 500; color: var(--brand-navy); text-decoration: none; transition: background 0.12s; }
.mobile-nav-link:hover { background: var(--n-50); }
.mobile-nav-highlight { color: var(--brand-blue); font-weight: 700; background: rgba(26,111,212,0.05); }
.mobile-nav-highlight:hover { background: rgba(26,111,212,0.1); }
.mobile-nav-cta { margin-top: 24px; }

/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM FOOTER v4.0
   ═══════════════════════════════════════════════════════════════════════════ */

#footer { background: var(--brand-navy); color: rgba(255,255,255,0.65); font-size: 14px; }
.footer-top {
  max-width: var(--max-w); margin: 0 auto;
  padding: 64px var(--space-6) 48px;
  display: grid; grid-template-columns: 280px 1fr; gap: 64px;
}
.footer-brand-col { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; width: fit-content; }
.footer-logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.08) 100%);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 0;
}
.footer-logo-mark svg { width: 18px; height: 18px; }
.footer-logo-mark img { width: 32px; height: 32px; object-fit: cover; display: block; border-radius: 8px; }
.footer-logo-name { font-size: 18px; font-weight: 800; color: var(--white); letter-spacing: -0.4px; }
.footer-brand-desc { font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.5); max-width: 260px; }
.footer-trust-badges { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.footer-trust-badge { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.45); }
.footer-trust-badge svg { color: rgba(255,255,255,0.3); flex-shrink: 0; }
.footer-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-col a { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.55); text-decoration: none; margin-bottom: 11px; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-disclosure-bar {
  max-width: var(--max-w); margin: 0 auto; padding: 20px var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: flex-start; gap: 12px; color: rgba(255,255,255,0.35);
}
.footer-disclosure-bar svg { color: rgba(255,255,255,0.25); }
.footer-disclosure-bar p { font-size: 12px; line-height: 1.65; margin: 0; }
.footer-disclosure-bar strong { color: rgba(255,255,255,0.5); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding: 20px var(--space-6) 32px;
  border-top: 1px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; gap: 10px;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-legal { font-size: 12px; color: rgba(255,255,255,0.25); line-height: 1.65; max-width: 900px; margin: 0; }
.footer-legal strong { color: rgba(255,255,255,0.4); }
.footer-legal a { color: rgba(255,255,255,0.4); text-decoration: underline; }
.footer-legal a:hover { color: rgba(255,255,255,0.65); }

/* ═══════════════════════════════════════════════════════════════════════════
   BREADCRUMB + PAGE HERO
   ═══════════════════════════════════════════════════════════════════════════ */

.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--n-400); }
.breadcrumb a { color: var(--n-500); text-decoration: none; font-weight: 500; }
.breadcrumb a:hover { color: var(--brand-blue); }
.breadcrumb-sep { color: var(--n-300); display: flex; align-items: center; }
.breadcrumb-current { color: var(--n-600); font-weight: 500; }

.page-hero {
  background: linear-gradient(160deg, var(--brand-navy) 0%, #1a3a6b 100%);
  padding: 80px 0 64px; position: relative; overflow: clip;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--white); letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 16px; }
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.65); line-height: 1.6; max-width: 560px; margin-bottom: 0; }
.page-hero-meta { display: flex; align-items: center; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.page-hero-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.5); }

/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM ARTICLE LAYOUT
   ═══════════════════════════════════════════════════════════════════════════ */

.article-layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 48px;
  max-width: var(--max-w); margin: 0 auto; padding: 48px var(--space-6) 80px; align-items: start;
}
.article-body { min-width: 0; }
.article-sidebar { position: sticky; top: 88px; }
.article-header { margin-bottom: 40px; }
.article-category-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand-blue); background: rgba(26,111,212,0.08); padding: 5px 12px; border-radius: 100px; margin-bottom: 16px;
}
.article-title { font-size: clamp(26px, 3.5vw, 40px); font-weight: 900; color: var(--brand-navy); letter-spacing: -0.04em; line-height: 1.15; margin-bottom: 16px; }
.article-subtitle { font-size: 18px; color: var(--n-600); line-height: 1.6; margin-bottom: 24px; font-weight: 400; }
.article-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--n-200); }
.article-author { display: flex; align-items: center; gap: 10px; }
.article-author-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: var(--white); flex-shrink: 0;
}
.article-author-name { font-size: 14px; font-weight: 700; color: var(--brand-navy); }
.article-author-title { font-size: 12px; color: var(--n-500); }
.article-meta-divider { width: 1px; height: 28px; background: var(--n-200); }
.article-date, .article-read-time { font-size: 13px; color: var(--n-500); }
.article-content { font-size: 16px; line-height: 1.75; color: var(--n-700); }
.article-content h2 { font-size: 24px; font-weight: 800; color: var(--brand-navy); letter-spacing: -0.03em; margin: 40px 0 16px; }
.article-content h3 { font-size: 19px; font-weight: 700; color: var(--brand-navy); letter-spacing: -0.02em; margin: 32px 0 12px; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 20px; }
.article-content li { margin-bottom: 8px; }
.article-content strong { font-weight: 700; color: var(--brand-navy); }
.article-content a { color: var(--brand-blue); text-decoration: underline; }
.article-content blockquote {
  border-left: 3px solid var(--brand-blue); padding: 16px 20px; margin: 24px 0;
  background: rgba(26,111,212,0.04); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 17px; color: var(--brand-navy); font-style: italic;
}
.article-takeaway {
  background: linear-gradient(135deg, rgba(11,31,58,0.04), rgba(26,111,212,0.04));
  border: 1px solid rgba(26,111,212,0.15); border-radius: var(--r-xl); padding: 24px 28px; margin: 32px 0;
}
.article-takeaway-title { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 12px; }
.article-takeaway ul { padding-left: 20px; margin: 0; }
.article-takeaway li { font-size: 15px; color: var(--n-700); margin-bottom: 8px; }
.sidebar-widget { background: #FFFFFF; border: 1px solid var(--n-200); border-radius: var(--r-xl); padding: 24px; margin-bottom: 20px; box-shadow: 0 1px 4px rgba(11,31,58,0.04); }
.sidebar-widget-title { font-size: 14px; font-weight: 800; color: var(--brand-navy); margin-bottom: 16px; letter-spacing: -0.02em; }
.sidebar-offer-mini { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--n-100); text-decoration: none; }
.sidebar-offer-mini:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-offer-mini:hover .sidebar-offer-name { color: var(--brand-blue); }
.sidebar-offer-logo { width: 40px; height: 40px; border-radius: 10px; background: var(--n-100); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; color: var(--brand-navy); flex-shrink: 0; }
.sidebar-offer-name { font-size: 13px; font-weight: 700; color: var(--brand-navy); }
.sidebar-offer-sub { font-size: 12px; color: var(--n-500); margin-top: 1px; }

/* ── Responsive Navbar ── */
@media (max-width: 1380px) { .nav-link-trigger { font-size: 12.5px; padding: 6px 6px; gap: 2px; } .nav-mega-trigger { font-size: 12.5px; padding: 6px 7px; } }
@media (max-width: 1200px) { .nav-link-trigger { font-size: 12px; padding: 6px 5px; gap: 2px; } .nav-mega-trigger { font-size: 12px; padding: 6px 6px; } }
@media (max-width: 1024px) { .nav-link { font-size: 13px; padding: 6px 9px; } .nav-mega-trigger { font-size: 12px; padding: 6px 6px; } .nav-link-trigger { font-size: 12px; padding: 6px 4px; gap: 2px; } }
@media (max-width: 900px) { .nav-links { display: none; } .nav-actions { display: none; } .nav-hamburger { display: flex; flex-direction: column; } }

/* ── Responsive Footer ── */
@media (max-width: 1024px) { .footer-top { grid-template-columns: 1fr; gap: 40px; } .footer-links-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } .footer-brand-desc { max-width: 100%; } }
@media (max-width: 640px) { .footer-top { padding: 48px var(--space-5) 32px; } .footer-links-grid { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ── Responsive Article ── */
@media (max-width: 900px) { .article-layout { grid-template-columns: 1fr; gap: 32px; } .article-sidebar { position: static; } }
@media (max-width: 640px) { .article-layout { padding: 32px var(--space-4) 60px; } .article-title { font-size: 26px; } .article-content h2 { font-size: 21px; } }


/* ══════════════════════════════════════════════════════════
   PREMIUM DESIGN REFINEMENTS v10
   Typography · Spacing · Cards · Buttons · Trust Signals
══════════════════════════════════════════════════════════ */

/* ── GLOBAL TYPOGRAPHY REFINEMENTS ── */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Tighter, more premium heading spacing */
h1, h2, h3, h4 {
  letter-spacing: -0.02em;
}

/* ── OFFER CARD PREMIUM REFINEMENTS ── */
.offer-card {
  border-radius: 18px !important;
  padding: 28px !important;
  border: 1px solid #E8ECF0 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04), 0 2px 12px rgba(0,0,0,0.04) !important;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease, border-color 0.22s ease !important;
}
.offer-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 32px rgba(11,31,58,0.10), 0 2px 8px rgba(11,31,58,0.06) !important;
  border-color: #C7D7F0 !important;
}
.offer-card.featured-card {
  border-color: #1A6FD4 !important;
  box-shadow: 0 0 0 1px #1A6FD4, 0 8px 32px rgba(26,111,212,0.12) !important;
}

/* More breathing room inside cards */
.offer-card-header {
  margin-bottom: 18px !important;
}
.offer-headline {
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.3px !important;
  margin-bottom: 10px !important;
}
.offer-sub {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #5A6472 !important;
  margin-bottom: 18px !important;
}
.offer-highlights {
  gap: 10px !important;
  margin-bottom: 20px !important;
}
.offer-highlight {
  font-size: 13.5px !important;
  color: #374151 !important;
  font-weight: 500 !important;
}
.offer-card-footer {
  padding-top: 18px !important;
  border-top: 1px solid #F0F2F5 !important;
}

/* Brand icon: cleaner, more modern */
.offer-brand-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 12px !important;
  background: #F5F7FA !important;
  border: 1px solid #E8ECF0 !important;
}
.offer-brand-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0B1F3A !important;
}
.offer-brand-sub {
  font-size: 12px !important;
  color: #8A95A3 !important;
}

/* ── CTA BUTTON PREMIUM REFINEMENTS ── */

/* Primary apply button — more premium feel */
.btn-apply {
  background: linear-gradient(135deg, #1A6FD4 0%, #0a7ea4 100%) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 11px 22px !important;
  border-radius: 100px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1) !important;
  box-shadow: 0 2px 8px rgba(26,111,212,0.25), 0 1px 3px rgba(26,111,212,0.15) !important;
  letter-spacing: 0.01em !important;
  white-space: nowrap !important;
}
.btn-apply:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(26,111,212,0.35), 0 2px 8px rgba(26,111,212,0.20) !important;
}

/* Large apply button */
.btn-apply-lg {
  background: linear-gradient(135deg, #1A6FD4 0%, #0a7ea4 100%) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 14px 32px !important;
  border-radius: 100px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1) !important;
  box-shadow: 0 4px 16px rgba(26,111,212,0.28), 0 1px 4px rgba(26,111,212,0.15) !important;
  letter-spacing: 0.01em !important;
}
.btn-apply-lg:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 28px rgba(26,111,212,0.38) !important;
}

/* Primary (navy) button refinement */
.btn-primary {
  background: #0B1F3A !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 2px 8px rgba(11,31,58,0.18), 0 1px 3px rgba(11,31,58,0.12) !important;
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.btn-primary:hover {
  background: #162C4F !important;
  transform: translateY(-2px) scale(1.01) !important;
  box-shadow: 0 6px 20px rgba(11,31,58,0.25) !important;
}

/* Outline button refinement */
.btn-outline {
  border: 1.5px solid #D1D9E0 !important;
  color: #0B1F3A !important;
  font-weight: 600 !important;
  transition: all 0.18s ease !important;
}
.btn-outline:hover {
  border-color: #1A6FD4 !important;
  color: #1A6FD4 !important;
  background: #F0F6FF !important;
}

/* ── SECTION HEADER REFINEMENTS ── */
.section-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #1A6FD4 !important;
  margin-bottom: 14px !important;
}
.section-title {
  font-size: clamp(24px, 3.2vw, 38px) !important;
  font-weight: 900 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.12 !important;
  color: #0B1F3A !important;
  margin-bottom: 12px !important;
}
.section-sub {
  font-size: 16px !important;
  line-height: 1.65 !important;
  color: #5A6472 !important;
  max-width: 560px !important;
}

/* ── CONTENT SECTION WHITESPACE ── */
.content-section {
  padding: 80px 0 !important;
}
.top-offers-section {
  padding: 80px 0 !important;
}
.why-section {
  padding: 80px 0 !important;
}
.email-section {
  padding: 80px 0 !important;
}

/* ── TRUST BADGE REFINEMENTS ── */
.trust-bar {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}
.trust-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #374151 !important;
  background: rgba(55,65,81,0.06) !important;
  border: 1px solid rgba(55,65,81,0.12) !important;
  padding: 5px 12px !important;
  border-radius: 100px !important;
}
.trust-item svg { color: #16A34A !important; stroke: #16A34A !important; }

/* ── BADGE REFINEMENTS ── */
.badge {
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 11px !important;
  border-radius: 100px !important;
  letter-spacing: 0.03em !important;
}
.badge-strong {
  background: rgba(16,185,129,0.10) !important;
  color: #059669 !important;
  border: 1px solid rgba(16,185,129,0.20) !important;
}
.badge-likely {
  background: rgba(26,111,212,0.08) !important;
  color: #1A6FD4 !important;
  border: 1px solid rgba(26,111,212,0.18) !important;
}
.badge-featured {
  background: rgba(245,158,11,0.10) !important;
  color: #B45309 !important;
  border: 1px solid rgba(245,158,11,0.20) !important;
}

/* ── FILTER CHIP REFINEMENTS ── */
.filter-chip {
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 100px !important;
  border: 1.5px solid #E2E8F0 !important;
  background: #ffffff !important;
  color: #374151 !important;
  cursor: pointer !important;
  transition: all 0.18s ease !important;
  white-space: nowrap !important;
}
.filter-chip:hover {
  border-color: #1A6FD4 !important;
  color: #1A6FD4 !important;
  background: #F0F6FF !important;
}
.filter-chip.active {
  background: #1A6FD4 !important;
  color: #ffffff !important;
  border-color: #1A6FD4 !important;
  box-shadow: 0 2px 8px rgba(26,111,212,0.25) !important;
}

/* ── CARD STATS ROW REFINEMENTS ── */
.card-stats {
  display: flex !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
  padding: 16px 0 !important;
  border-top: 1px solid #F0F2F5 !important;
  margin-top: 4px !important;
}
.card-stat-label {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #8A95A3 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.07em !important;
  margin-bottom: 3px !important;
}
.card-stat-value {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0B1F3A !important;
  letter-spacing: -0.02em !important;
}

/* ── COMPARISON TABLE REFINEMENTS ── */
.comparison-table th {
  background: #0B1F3A !important;
  font-size: 11px !important;
  letter-spacing: 0.08em !important;
  padding: 14px 18px !important;
}
.comparison-table td {
  padding: 14px 18px !important;
  font-size: 14px !important;
  border-bottom: 1px solid #F5F7FA !important;
  color: #374151 !important;
}
.comparison-table tr:hover td {
  background: #F8FAFC !important;
}

/* ── NAV CTA BUTTON REFINEMENT ── */
.nav-cta-btn {
  background: linear-gradient(135deg, #1A6FD4, #0a7ea4) !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 2px 8px rgba(26,111,212,0.25) !important;
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.nav-cta-btn:hover {
  transform: translateY(-1px) scale(1.02) !important;
  box-shadow: 0 4px 16px rgba(26,111,212,0.35) !important;
}

/* ── QUIZ OPTION REFINEMENTS ── */
.quiz-option {
  border-radius: 14px !important;
  padding: 14px 18px !important;
  border: 1.5px solid #E8ECF0 !important;
  transition: all 0.18s ease !important;
}
.quiz-option:hover {
  border-color: #1A6FD4 !important;
  background: #F5F9FF !important;
  transform: translateX(3px) !important;
}
.quiz-option.selected {
  border-color: #1A6FD4 !important;
  background: #EEF4FF !important;
  box-shadow: 0 0 0 3px rgba(26,111,212,0.12) !important;
}

/* ── FOOTER REFINEMENTS ── */
.footer-brand-desc {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: rgba(255,255,255,0.55) !important;
}
.footer-col-title {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.10em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.40) !important;
  margin-bottom: 16px !important;
}
.footer-link {
  font-size: 14px !important;
  color: rgba(255,255,255,0.65) !important;
  font-weight: 500 !important;
  transition: color 0.15s ease !important;
}
.footer-link:hover {
  color: #ffffff !important;
}

/* ── MOBILE RESPONSIVE REFINEMENTS ── */
@media (max-width: 768px) {
  .offer-card {
    padding: 20px !important;
    border-radius: 16px !important;
  }
  .content-section,
  .top-offers-section,
  .why-section,
  .email-section {
    padding: 56px 0 !important;
  }
  .section-title {
    font-size: clamp(22px, 6vw, 32px) !important;
  }
  .btn-apply-lg {
    font-size: 14px !important;
    padding: 12px 24px !important;
  }
}


/* ══════════════════════════════════════════════
   FAQ SECTION STYLES
   ══════════════════════════════════════════════ */
.article-faq {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--surface, #f8fafc);
    border-radius: 12px;
    border: 1px solid var(--border, #e2e8f0);
}

.faq-item {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border, #e2e8f0);
}

.faq-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground, #0f1f3d);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.faq-answer {
    font-size: 0.9375rem;
    color: var(--muted, #64748b);
    line-height: 1.65;
    margin: 0;
}

/* ══════════════════════════════════════════════
   PERFORMANCE & RENDERING OPTIMIZATIONS
   ══════════════════════════════════════════════ */
img {
    max-width: 100%;
    height: auto;
}
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.offer-card, .cat-grid-item, .blog-card {
    contain: layout style;
}
.offer-card:hover, .cat-grid-item:hover {
    will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
