/* ============================================================
   ENGLISH COMPANION — NCLEX PREP
   Main Stylesheet · englishcompanion.co.ke
   ============================================================ */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --navy:    #0a1628;
  --navy2:   #112040;
  --blue:    #1a56db;
  --blue-lt: #3b82f6;
  --teal:    #0d9488;
  --teal-lt: #14b8a6;
  --gold:    #d97706;
  --gold-lt: #f59e0b;
  --green:   #16a34a;
  --red:     #dc2626;
  --white:   #ffffff;
  --off-white: #f8fafc;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;
  --body-font: 'DM Sans', sans-serif;
  --display-font: 'Playfair Display', serif;
  --mono-font: 'DM Mono', monospace;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --radius:   12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-lt); }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4, h5 {
  font-family: var(--display-font);
  line-height: 1.2;
  color: var(--navy);
}

/* ── UTILITY ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.container--narrow { max-width: 800px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }
.text-center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--mono-font);
}
.badge--blue   { background: #dbeafe; color: #1d4ed8; }
.badge--teal   { background: #ccfbf1; color: #0d9488; }
.badge--gold   { background: #fef3c7; color: #b45309; }
.badge--green  { background: #dcfce7; color: #15803d; }
.badge--red    { background: #fee2e2; color: #b91c1c; }
.badge--navy   { background: #1e3a5f; color: #93c5fd; }

/* ── TOP ALERT BAR ── */
.alert-bar {
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--teal));
  color: var(--white);
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.alert-bar a { color: #fde68a; text-decoration: underline; }

/* ── HEADER / NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--display-font);
  flex-shrink: 0;
}
.nav-logo-text { font-family: var(--display-font); font-size: 1.1rem; color: var(--navy); line-height: 1.1; }
.nav-logo-text span { display: block; font-size: 0.65rem; font-family: var(--mono-font); color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 400; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; list-style: none; padding: 0; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { background: var(--gray-100); color: var(--navy); }
.nav-links a.active { color: var(--blue); background: #dbeafe; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--body-font);
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(26,86,219,0.35);
}
.btn--primary:hover { background: #1d4ed8; color: white; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(26,86,219,0.4); }
.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn--outline:hover { background: #dbeafe; color: var(--blue); }
.btn--teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(13,148,136,0.35);
}
.btn--teal:hover { background: #0f766e; color: white; transform: translateY(-1px); }
.btn--gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(217,119,6,0.3);
}
.btn--gold:hover { background: #b45309; color: white; transform: translateY(-1px); }
.btn--lg { padding: 0.9rem 2rem; font-size: 1rem; border-radius: 10px; }
.btn--sm { padding: 0.4rem 0.9rem; font-size: 0.78rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 40%, #0d2b6e 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-eyebrow {
  font-family: var(--mono-font);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #93c5fd;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.hero h1 em { font-style: italic; color: #fde68a; }
.hero-sub {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-stats {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  min-width: 90px;
}
.hero-stat-num { font-family: var(--display-font); font-size: 1.8rem; color: #fde68a; display: block; }
.hero-stat-label { font-size: 0.7rem; color: #94a3b8; letter-spacing: 0.06em; text-transform: uppercase; }
.hero-visual {
  position: relative;
}
.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  backdrop-filter: blur(10px);
}
.hero-card-title { font-family: var(--display-font); font-size: 1.1rem; color: white; margin-bottom: 1rem; }
.hero-card-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.875rem;
  color: #cbd5e1;
}
.hero-card-item:last-child { border-bottom: none; }
.hero-card-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(59,130,246,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.price-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-top: 1.25rem;
}
.price-badge .amount { font-family: var(--display-font); font-size: 2.2rem; color: #fde68a; }
.price-badge .currency { font-size: 1rem; color: #94a3b8; }
.price-badge .period { font-size: 0.8rem; color: #94a3b8; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 500;
}
.trust-item svg, .trust-item .icon { color: var(--teal); font-size: 1rem; }

/* ── SECTION HEADINGS ── */
.section-label {
  font-family: var(--mono-font);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 620px;
  margin: 0 auto 3rem;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gray-300); }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.card-icon--blue  { background: #dbeafe; }
.card-icon--teal  { background: #ccfbf1; }
.card-icon--gold  { background: #fef3c7; }
.card-icon--green { background: #dcfce7; }
.card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.card p  { font-size: 0.875rem; color: var(--gray-500); line-height: 1.6; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.cards-grid--3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 820px;
  margin: 0 auto;
}
.pricing-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  background: var(--white);
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { box-shadow: var(--shadow-lg); }
.pricing-card--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,86,219,0.1);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.pricing-track { font-family: var(--mono-font); font-size: 0.7rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.5rem; }
.pricing-name { font-size: 1.3rem; font-family: var(--display-font); color: var(--navy); margin-bottom: 0.5rem; }
.pricing-price { font-family: var(--display-font); font-size: 2.4rem; color: var(--navy); margin: 0.75rem 0; }
.pricing-price span { font-size: 1rem; color: var(--gray-500); font-family: var(--body-font); font-weight: 400; }
.pricing-desc { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 1.5rem; line-height: 1.6; }
.pricing-list { list-style: none; padding: 0; margin-bottom: 2rem; }
.pricing-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.875rem; padding: 0.4rem 0;
  color: var(--gray-700);
}
.pricing-list li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }

/* ── QUESTION BLOCK ── */
.question-block {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.question-block:hover { box-shadow: var(--shadow-md); }
.question-num { font-family: var(--mono-font); font-size: 0.72rem; color: var(--blue); font-weight: 600; margin-bottom: 0.4rem; }
.question-text { font-weight: 600; font-size: 0.95rem; color: var(--navy); margin-bottom: 1rem; line-height: 1.5; }
.question-options { list-style: none; padding: 0; }
.question-options li {
  padding: 0.55rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--gray-700);
}
.question-options li:hover { border-color: var(--blue); background: #eff6ff; }
.question-options li.correct { border-color: var(--green); background: #f0fdf4; color: #15803d; }
.question-options li.wrong   { border-color: var(--red); background: #fef2f2; color: #b91c1c; }
.rationale {
  margin-top: 1rem;
  padding: 1rem;
  background: #f0fdf4;
  border-left: 3px solid var(--teal);
  border-radius: 0 8px 8px 0;
  font-size: 0.875rem;
  color: var(--gray-700);
  display: none;
}
.rationale.show { display: block; }
.rationale strong { color: var(--teal); }
.reveal-btn {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  background: none;
  border: 1px solid var(--gray-300);
  color: var(--gray-500);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
}
.reveal-btn:hover { border-color: var(--teal); color: var(--teal); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 60%, #0d2b6e 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; position: relative; }
.cta-banner p  { color: #cbd5e1; margin-bottom: 2rem; font-size: 1rem; position: relative; }
.cta-banner .cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 0.9rem 0;
  font-size: 0.8rem;
  color: var(--gray-500);
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── ARTICLE BODY ── */
.article-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 4rem 0 3rem;
  color: white;
}
.article-meta { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.25rem; }
.article-meta .badge { font-size: 0.65rem; }
.article-meta .reading-time { font-family: var(--mono-font); font-size: 0.72rem; color: #94a3b8; }
.article-header h1 { color: white; font-size: clamp(1.6rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.article-header .lead { color: #cbd5e1; font-size: 1.05rem; max-width: 680px; }
.article-body { max-width: 780px; margin: 0 auto; padding: 0 1.25rem; }
.article-body h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; color: var(--navy); padding-top: 1rem; }
.article-body h3 { font-size: 1.2rem; margin: 2rem 0 0.75rem; color: var(--navy); }
.article-body p  { margin-bottom: 1.25rem; font-size: 0.975rem; color: var(--gray-700); }
.article-body ul, .article-body ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.4rem; font-size: 0.975rem; color: var(--gray-700); }
.article-body strong { color: var(--navy); }
.article-body blockquote {
  border-left: 4px solid var(--blue);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: #eff6ff;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--gray-700);
}
.article-body .highlight-box {
  background: linear-gradient(135deg, #eff6ff, #f0fdf4);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.75rem 0;
}
.article-body .highlight-box h4 { color: var(--blue); font-family: var(--body-font); font-weight: 700; margin-bottom: 0.5rem; font-size: 0.9rem; letter-spacing: 0.04em; }
.article-body .warning-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

/* ── IMAGE PLACEHOLDER ── */
.img-placeholder {
  width: 100%;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: 0.8rem;
  text-align: center;
  border: 2px dashed var(--gray-300);
  padding: 2rem;
  gap: 0.5rem;
}
.img-placeholder .ph-icon { font-size: 2.5rem; opacity: 0.4; }
.img-placeholder--hero { min-height: 280px; }
.img-placeholder--card { min-height: 200px; }
.img-placeholder--sm   { min-height: 140px; }
.video-placeholder {
  width: 100%;
  background: linear-gradient(135deg, #0a1628, #112040);
  border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: #94a3b8;
  font-size: 0.8rem;
  text-align: center;
  padding: 3rem 2rem;
  gap: 0.75rem;
}
.video-placeholder .play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: white;
}

/* ── TOC ── */
.toc {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
}
.toc-title { font-family: var(--body-font); font-weight: 700; font-size: 0.875rem; color: var(--navy); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; }
.toc ol { padding-left: 1.25rem; counter-reset: toc; list-style: decimal; }
.toc li { font-size: 0.875rem; padding: 0.25rem 0; }
.toc a { color: var(--blue); }

/* ── TESTIMONIAL ── */
.testimonial {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  position: relative;
}
.testimonial::before { content: '"'; font-family: var(--display-font); font-size: 5rem; color: var(--blue); opacity: 0.15; position: absolute; top: -0.5rem; left: 1.25rem; line-height: 1; }
.testimonial-body { font-style: italic; color: var(--gray-700); margin-bottom: 1rem; font-size: 0.95rem; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.875rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.875rem; color: var(--navy); }
.testimonial-sub  { font-size: 0.75rem; color: var(--gray-500); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }

/* ── TABLE ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th {
  background: var(--navy);
  color: white;
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: var(--body-font);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.data-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--gray-200); color: var(--gray-700); }
.data-table tr:nth-child(even) td { background: var(--gray-50); }
.data-table tr:hover td { background: #eff6ff; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm); }

/* ── TOPIC SIDEBAR WIDGET ── */
.sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.sidebar-widget { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.sidebar-widget-title { font-family: var(--body-font); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); margin-bottom: 1rem; }
.sidebar-links { list-style: none; padding: 0; }
.sidebar-links li { border-bottom: 1px solid var(--gray-100); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a { display: block; padding: 0.5rem 0; font-size: 0.875rem; color: var(--gray-700); transition: color var(--transition); }
.sidebar-links a:hover { color: var(--blue); padding-left: 0.25rem; }

/* ── LAYOUT WITH SIDEBAR ── */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; max-width: 1140px; margin: 0 auto; padding: 3rem 1.25rem; }
.content-with-sidebar .sidebar { position: sticky; top: 90px; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0; cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--navy);
  gap: 1rem;
}
.faq-q:hover { color: var(--blue); }
.faq-chevron { flex-shrink: 0; transition: transform 0.3s; font-size: 1.1rem; color: var(--gray-500); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 1.25rem; font-size: 0.9rem; color: var(--gray-700); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }

/* ── WHATSAPP BUTTON ── */
.whatsapp-btn {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 9999;
  transition: all 0.3s;
  animation: wa-pulse 2s infinite;
}
.whatsapp-btn:hover {
  background: #1ebe5d;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
  color: white;
}
.whatsapp-btn svg { width: 30px; height: 30px; fill: white; }
.whatsapp-tooltip {
  position: fixed;
  bottom: 2rem;
  right: 5.5rem;
  background: var(--navy);
  color: white;
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 9998;
}
.whatsapp-btn:hover ~ .whatsapp-tooltip { opacity: 1; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.75); }
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: #94a3b8;
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
  margin-bottom: 3rem;
}
.footer-brand .brand-name { font-family: var(--display-font); font-size: 1.4rem; color: white; margin-bottom: 0.5rem; }
.footer-brand .brand-tagline { font-size: 0.8rem; color: #64748b; margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.84rem; line-height: 1.7; color: #64748b; }
.footer-col h4 { font-family: var(--body-font); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: white; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a { font-size: 0.84rem; color: #64748b; transition: color var(--transition); }
.footer-links a:hover { color: #93c5fd; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.84rem; color: #64748b; margin-bottom: 0.6rem;
}
.footer-contact-item a { color: #64748b; }
.footer-contact-item a:hover { color: #93c5fd; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 1.25rem 0;
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: #475569;
}
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all var(--transition);
}
.social-link:hover { background: rgba(59,130,246,0.2); border-color: rgba(59,130,246,0.4); color: #93c5fd; }

/* ── TOPIC LIST ── */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.topic-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--gray-700);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.topic-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--blue); color: var(--navy); }
.topic-num { font-family: var(--mono-font); font-size: 0.65rem; color: var(--gray-500); background: var(--gray-100); padding: 0.2rem 0.5rem; border-radius: 4px; flex-shrink: 0; }
.topic-card-text { font-size: 0.875rem; font-weight: 500; line-height: 1.4; }

/* ── LEAD MAGNET / EMAIL BOX ── */
.lead-magnet {
  background: linear-gradient(135deg, var(--navy), #0d2b6e);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.lead-magnet::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(59,130,246,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.lead-magnet h3 { color: white; font-size: 1.3rem; margin-bottom: 0.5rem; position: relative; }
.lead-magnet p { color: #94a3b8; font-size: 0.875rem; margin-bottom: 1.5rem; position: relative; }
.email-form { display: flex; gap: 0.75rem; max-width: 420px; margin: 0 auto; position: relative; flex-wrap: wrap; }
.email-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: none;
  font-size: 0.875rem;
  font-family: var(--body-font);
  outline: none;
}
.email-form input[type="email"]:focus { box-shadow: 0 0 0 2px var(--blue-lt); }

/* ── PROGRESS / STEPS ── */
.steps { counter-reset: step; }
.step-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: start;
}
.step-num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display-font);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.step-content h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.step-content p  { font-size: 0.875rem; color: var(--gray-500); }

/* ── COMPARISON TABLE ── */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.comparison-table th { background: var(--navy); color: white; padding: 1rem; text-align: center; font-family: var(--body-font); }
.comparison-table th:first-child { text-align: left; }
.comparison-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--gray-200); }
.comparison-table td:not(:first-child) { text-align: center; }
.comparison-table tr:nth-child(even) td { background: var(--gray-50); }
.check { color: var(--green); font-weight: 700; font-size: 1.1rem; }
.cross { color: var(--red); font-size: 1.1rem; }
.partial { color: var(--gold); }
.comparison-table th.highlight { background: var(--blue); }
.comparison-table td.highlight { background: #eff6ff !important; font-weight: 600; }

/* ── PROGRESS BAR ── */
.progress-wrap { margin-bottom: 1.25rem; }
.progress-label { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 0.3rem; color: var(--gray-700); }
.progress-bar { height: 8px; background: var(--gray-200); border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 999px; transition: width 1s ease; }

/* ── MOBILE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .content-with-sidebar .sidebar { position: static; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn--outline { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cards-grid, .cards-grid--3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .topic-grid { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
  .hero { padding: 3rem 0; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .email-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .pricing-price { font-size: 2rem; }
  .btn--lg { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
  .nav-inner { padding: 0.75rem 1rem; }
  .whatsapp-btn { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
}

/* ── MOBILE NAV OPEN STATE ── */
.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  padding: 5rem 2rem 2rem;
  z-index: 800;
  gap: 0.5rem;
}
.nav-open .nav-links a { font-size: 1.1rem; padding: 0.75rem 1rem; border-radius: 10px; }
.nav-close {
  position: fixed; top: 1rem; right: 1rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; z-index: 1100; display: none; color: var(--navy);
}
.nav-open .nav-close { display: block; }

/* ── PRINT ── */
@media print {
  .site-header, .site-footer, .whatsapp-btn, .whatsapp-tooltip, .cta-banner { display: none; }
  body { font-size: 12pt; color: #000; }
}
