@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@500;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
  --nw-green: #008254;
  --nw-green-hover: #006B44;
  --nw-green-dark: #005A3A;
  --nw-green-soft: #E6F5EF;
  --nw-green-border: #A7F3D0;
  --nw-blue: #0066CC;
  --nw-blue-hover: #004C99;
  --nw-ink: #111827;
  --nw-slate: #374151;
  --nw-muted: #6B7280;
  --nw-line: #E5E7EB;
  --nw-bg: #F8FAFC;
  --nw-white: #FFFFFF;
  --nw-amber: #F59E0B;
  --nw-danger: #DC2626;
  --radius-card: 12px;
  --shadow-card: 0 4px 18px -2px rgba(17, 24, 39, 0.07), 0 2px 6px -1px rgba(17, 24, 39, 0.04);
  --shadow-hover: 0 14px 30px -4px rgba(0, 130, 84, 0.13), 0 4px 10px -2px rgba(17, 24, 39, 0.06);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--nw-ink);
  background-color: var(--nw-bg);
  line-height: 1.6;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
  color: var(--nw-ink);
}

a {
  color: var(--nw-blue);
  text-decoration: none;
  transition: color 0.18s ease;
}

a:hover {
  color: var(--nw-blue-hover);
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   TOP BAR & HEADER (NerdWallet Editorial Navigation)
   ========================================================================== */
.top-trust-bar {
  background: #0B251C;
  color: #D1FAE5;
  font-size: 12.5px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-trust-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.site-header {
  background: var(--nw-white);
  border-bottom: 1px solid var(--nw-line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, #008254 0%, #005A3A 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0, 130, 84, 0.25);
}

.brand-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--nw-ink);
  letter-spacing: -0.03em;
}

.brand-text span {
  color: var(--nw-green);
}

.brand-badge {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  background: var(--nw-green-soft);
  color: var(--nw-green-dark);
  padding: 2px 7px;
  border-radius: 99px;
  margin-left: 4px;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  color: var(--nw-slate);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.15s;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--nw-green-dark);
  background: var(--nw-green-soft);
}

.main-nav a.nav-cta {
  background: var(--nw-green);
  color: #fff !important;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 8px;
  margin-left: 6px;
}

.main-nav a.nav-cta:hover {
  background: var(--nw-green-hover);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--nw-line);
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 18px;
  cursor: pointer;
  color: var(--nw-ink);
}

@media (max-width: 920px) {
  .mobile-menu-btn { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--nw-white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 2px solid var(--nw-green);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  }
  .main-nav.open { display: flex; }
}

/* ==========================================================================
   HERO & PILLAR HEADER
   ========================================================================== */
.pillar-hero {
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F8F5 100%);
  border-bottom: 1px solid var(--nw-line);
  padding: 36px 0 32px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--nw-muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--nw-green-dark);
  font-weight: 600;
}

.pillar-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--nw-ink);
  margin-bottom: 14px;
}

.pillar-subtitle {
  font-size: 17px;
  color: var(--nw-slate);
  max-width: 840px;
  margin-bottom: 20px;
}

.editorial-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--nw-muted);
  padding-top: 14px;
  border-top: 1px solid rgba(0, 130, 84, 0.12);
}

.editorial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--nw-green-border);
  color: var(--nw-green-dark);
  padding: 5px 11px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 12px;
}

/* ==========================================================================
   STICKY FILTER & SEARCH BAR (Anti-scroll fatigue for 21-87 cards)
   ========================================================================== */
.filter-bar-wrap {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nw-line);
  padding: 14px 0;
  position: sticky;
  top: 68px;
  z-index: 80;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.filter-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.search-input {
  width: 100%;
  padding: 10px 14px 10px 38px;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: var(--nw-ink);
  background: #F8FAFC;
  transition: all 0.2s;
}

.search-input:focus {
  outline: none;
  border-color: var(--nw-green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 130, 84, 0.12);
}

.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nw-muted);
  font-size: 15px;
}

.filter-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--nw-green-dark);
  background: var(--nw-green-soft);
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar { display: none; }

.filter-chip {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: var(--nw-slate);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 99px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}

.filter-chip:hover {
  border-color: var(--nw-green);
  color: var(--nw-green-dark);
}

.filter-chip.active {
  background: var(--nw-green);
  border-color: var(--nw-green);
  color: #fff;
}

/* ==========================================================================
   NERDWALLET CREDIT CARD COMPONENT (EXACT REPLICA OF DUDU'S SCREENSHOT)
   ========================================================================== */
.cards-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 28px 0;
}

.nw-card {
  background: var(--nw-white);
  border: 2px solid #005A3A;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.nw-card:hover {
  box-shadow: var(--shadow-hover);
}

.nw-card-TopBody {
  padding: 20px 20px 16px;
}

/* 1. "Our pick for: ..." Green Pill Badge */
.nw-pick-badge {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--nw-green-soft);
  color: var(--nw-green-dark);
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
}

.nw-pick-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--nw-green);
  margin-top: 1px;
}

/* 2. Card Title */
.nw-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--nw-ink);
  line-height: 1.25;
  margin-bottom: 16px;
}

/* 3. Visual Art + Rating + Compare Row (2 columns on mobile & desktop) */
.nw-hero-row {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

@media (max-width: 380px) {
  .nw-hero-row {
    grid-template-columns: 136px 1fr;
    gap: 12px;
  }
}

/* Realistic Credit Card CSS/SVG Art */
.nw-card-art {
  width: 100%;
  aspect-ratio: 1.586 / 1;
  border-radius: 9px;
  padding: 10px 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  user-select: none;
}

.nw-card-art::before {
  content: '';
  position: absolute;
  right: -30%;
  top: -40%;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.16) 0%, transparent 70%);
  pointer-events: none;
}

/* Bank Themes */
.theme-dark, .theme-c6 { background: linear-gradient(135deg, #1E293B 0%, #090D16 100%); }
.theme-bradesco { background: linear-gradient(135deg, #B91C1C 0%, #450A0A 100%); }
.theme-itau { background: linear-gradient(135deg, #EA580C 0%, #1E3A8A 100%); }
.theme-santander { background: linear-gradient(135deg, #DC2626 0%, #7F1D1D 100%); }
.theme-bb { background: linear-gradient(135deg, #1D4ED8 0%, #0F172A 85%, #FACC15 100%); }
.theme-nubank { background: linear-gradient(135deg, #6B21A8 0%, #2E1065 100%); }
.theme-inter { background: linear-gradient(135deg, #F97316 0%, #9A3412 100%); }
.theme-xp { background: linear-gradient(135deg, #18181B 0%, #09090B 100%); border: 1px solid rgba(234, 179, 8, 0.45); }
.theme-caixa { background: linear-gradient(135deg, #0369A1 0%, #1E3A8A 100%); }
.theme-brb { background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 60%, #38BDF8 100%); }
.theme-neon { background: linear-gradient(135deg, #0284C7 0%, #06B6D4 100%); }
.theme-rappi { background: linear-gradient(135deg, #FB7185 0%, #E11D48 100%); }
.theme-ame { background: linear-gradient(135deg, #E11D48 0%, #4C1D95 100%); }
.theme-original, .theme-sicredi, .theme-sicoob, .theme-uniprime { background: linear-gradient(135deg, #047857 0%, #064E3B 100%); }
.theme-elo, .theme-banpara, .theme-banrisul { background: linear-gradient(135deg, #334155 0%, #0F172A 100%); }

/* Yellow Offer Pill inside Card Art (Like Capital One "LIMITED-TIME OFFER") */
.nw-art-offer-pill {
  display: inline-block;
  background: #D9F99D;
  color: #14532D;
  font-size: 7.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 6px;
  border-radius: 4px;
  max-width: 72%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nw-art-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.nw-art-bank {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  opacity: 0.95;
  text-align: right;
}

.nw-art-chip-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 0;
}

.nw-emv-chip {
  width: 24px;
  height: 18px;
  border-radius: 3px;
  background: linear-gradient(135deg, #FDE68A 0%, #D97706 100%);
  border: 1px solid rgba(255,255,255,0.4);
  position: relative;
}

.nw-art-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.nw-art-tier {
  font-size: 7.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.85;
  font-weight: 700;
}

.nw-art-brand {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

/* Right side of Hero: Rating + Add to compare */
.nw-rating-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nw-rating-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--nw-blue);
  font-weight: 600;
}

.nw-stars-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nw-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--nw-green);
}

.nw-rating-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--nw-ink);
}

.nw-compare-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 7px 10px;
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nw-ink);
  cursor: pointer;
  user-select: none;
  transition: all 0.15s;
}

.nw-compare-label:hover {
  border-color: var(--nw-green);
  background: var(--nw-green-soft);
}

.nw-compare-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--nw-green);
  cursor: pointer;
}

/* 4. Primary Green CTA Button (APPLY NOW / SOLICITAR CARTÃO) */
.nw-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--nw-green);
  color: #FFFFFF !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 15px 20px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.1s ease;
  box-shadow: 0 4px 12px rgba(0, 130, 84, 0.25);
}

.nw-cta-btn:hover {
  background: var(--nw-green-hover);
  transform: translateY(-1px);
}

.nw-cta-btn:active {
  transform: scale(0.99);
}

.nw-cta-sub {
  text-align: center;
  margin-top: 8px;
  font-size: 13px;
  color: var(--nw-muted);
}

.nw-rates-link {
  display: inline-block;
  margin-top: 3px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nw-blue);
  cursor: pointer;
}

/* 5. Spec Grid (Annual fee | Rewards rate, Intro offer, Renda, Credit Score) */
.nw-specs-grid {
  margin-top: 16px;
  border-top: 1px solid var(--nw-line);
}

.nw-spec-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--nw-line);
}

.nw-spec-cell {
  padding: 14px 12px;
}

.nw-spec-cell:first-child {
  border-right: 1px solid var(--nw-line);
  padding-left: 0;
}

.nw-spec-row-full {
  padding: 13px 0;
  border-bottom: 1px solid var(--nw-line);
}

.nw-spec-row-full:last-child {
  border-bottom: none;
}

.nw-spec-label {
  font-size: 13px;
  color: #4B5563;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nw-spec-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--nw-ink);
  line-height: 1.35;
}

.nw-spec-sub {
  font-size: 12.5px;
  color: var(--nw-muted);
  margin-top: 2px;
}

.nw-score-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--nw-blue);
  cursor: pointer;
}

.nw-tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid #6B7280;
  color: #4B5563;
  font-size: 11px;
  font-weight: 700;
  cursor: help;
}

/* 6. Bottom Expandable Accordions (Rewards breakdown & Card details) */
.nw-accordions {
  border-top: 1px solid var(--nw-line);
  background: #FAFAFA;
}

.nw-acc-item {
  border-bottom: 1px solid var(--nw-line);
}

.nw-acc-item:last-child {
  border-bottom: none;
}

.nw-acc-btn {
  width: 100%;
  background: #FFFFFF;
  border: none;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: var(--nw-ink);
  text-align: left;
  transition: background 0.15s;
}

.nw-acc-btn:hover {
  background: #F8FAFC;
}

.nw-acc-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nw-acc-icon-box {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: var(--nw-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.nw-acc-chevron {
  transition: transform 0.25s ease;
  font-size: 14px;
  color: var(--nw-slate);
}

.nw-acc-item.open .nw-acc-chevron {
  transform: rotate(180deg);
}

.nw-acc-panel {
  display: none;
  padding: 18px 20px 22px;
  background: #F8FAFC;
  border-top: 1px solid var(--nw-line);
  font-size: 14.5px;
  color: var(--nw-slate);
}

.nw-acc-item.open .nw-acc-panel {
  display: block;
}

.pros-cons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 14px;
}

@media (max-width: 640px) {
  .pros-cons-grid { grid-template-columns: 1fr; }
}

.pros-box, .cons-box {
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: 8px;
  padding: 14px;
}

.pros-box h5 { color: var(--nw-green-dark); font-size: 14px; margin-bottom: 8px; }
.cons-box h5 { color: #B91C1C; font-size: 14px; margin-bottom: 8px; }

.pros-list, .cons-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
}

.pros-list li::before {
  content: '✓ ';
  color: var(--nw-green);
  font-weight: 800;
}

.cons-list li::before {
  content: '✕ ';
  color: #DC2626;
  font-weight: 800;
}

/* ==========================================================================
   DESKTOP 2-COLUMN LAYOUT (Main Content + Sticky Sidebar)
   ========================================================================== */
.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 740px) 340px;
  gap: 36px;
  justify-content: space-between;
  padding: 28px 0 60px;
}

@media (max-width: 1024px) {
  .page-grid {
    grid-template-columns: 1fr;
  }
}

/* Quick Summary Table (Featured Snippet Optimized) */
.quick-table-wrap {
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: 12px;
  overflow-x: auto;
  margin: 22px 0 30px;
  box-shadow: var(--shadow-card);
}

.quick-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.quick-table th {
  background: #0F172A;
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  white-space: nowrap;
}

.quick-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--nw-line);
  vertical-align: middle;
}

.quick-table tr:hover td {
  background: #F0FDF4;
}

.table-cta-sm {
  display: inline-block;
  background: var(--nw-green);
  color: #fff !important;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Editorial Guide Content */
.editorial-guide {
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: 12px;
  padding: 28px 24px;
  margin-top: 36px;
  box-shadow: var(--shadow-card);
}

.editorial-guide h2 {
  font-size: 23px;
  margin: 28px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--nw-green-soft);
}

.editorial-guide h2:first-child { margin-top: 0; }

.editorial-guide h3 {
  font-size: 18px;
  margin: 20px 0 8px;
  color: var(--nw-green-dark);
}

.editorial-guide p {
  margin-bottom: 14px;
  color: var(--nw-slate);
  font-size: 15.5px;
}

/* Interactive Card Finder Quiz Widget */
.quiz-box {
  background: linear-gradient(135deg, #064E3B 0%, #0F172A 100%);
  color: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  margin: 24px 0 32px;
  box-shadow: 0 12px 30px rgba(0, 90, 58, 0.22);
}

.quiz-box h2, .quiz-box h3 { color: #fff; }

.quiz-option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
  text-align: left;
  transition: all 0.18s;
}

.quiz-option-btn:hover {
  background: var(--nw-green);
  border-color: #6EE7B7;
  transform: translateX(4px);
}

/* Sidebar Widgets */
.sidebar-sticky {
  position: sticky;
  top: 148px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-card {
  background: #fff;
  border: 1px solid var(--nw-line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-card);
}

.side-card h3 {
  font-size: 16px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--nw-line);
}

.side-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  color: var(--nw-slate);
  padding: 8px 10px;
  border-radius: 8px;
  background: #F8FAFC;
}

.side-links a:hover {
  background: var(--nw-green-soft);
  color: var(--nw-green-dark);
}

/* Floating Comparison Drawer */
.compare-drawer {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(150%);
  width: min(94vw, 760px);
  background: #0F172A;
  color: #fff;
  border: 2px solid var(--nw-green);
  border-radius: 14px;
  padding: 14px 20px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.compare-drawer.visible {
  transform: translateX(-50%) translateY(0);
}

/* Comparison Modal & Double-Dip Modal */
.nw-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.nw-modal-backdrop.open {
  display: flex;
}

.nw-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 920px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

/* Footer */
.site-footer {
  background: #0B132B;
  color: #94A3B8;
  padding: 48px 0 32px;
  font-size: 13.5px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

.site-footer h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 12px;
}

.site-footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer a {
  color: #CBD5E1;
}

.site-footer a:hover {
  color: #34D399;
}
