/* ==========================================================
   PATRIOT PREP - US CITIZENSHIP STUDY COMPANION WEB APP
   Modern, Accessible, Responsive CSS
   ========================================================== */

:root {
  --primary: #1e3a8a;          /* Royal Navy */
  --primary-hover: #1e40af;
  --primary-light: #eff6ff;
  --accent-red: #dc2626;       /* Patriotic Red */
  --accent-red-hover: #b91c1c;
  --accent-gold: #f59e0b;      /* Victory Gold */
  --accent-green: #10b981;     /* Success Green */
  --accent-green-bg: #ecfdf5;
  --dark-slate: #0f172a;       /* Midnight Navy */
  --bg-gradient-top: #0f172a;
  --bg-gradient-bot: #1e293b;
  --surface: #ffffff;
  --surface-subtle: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-focus: #3b82f6;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition-fast: 0.15s ease;
  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background-color: #f8fafc;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Accessibility Skip Link --- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 20px;
  background: var(--accent-red);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 700;
  text-decoration: none;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 16px;
}

/* --- Global Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-cta-nav {
  background: linear-gradient(135deg, var(--accent-red), #b91c1c);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.btn-cta-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.45);
}

/* --- Hero Section --- */
.hero {
  background: linear-gradient(180deg, var(--dark-slate) 0%, #1e293b 100%);
  color: #fff;
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.badge-pill-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(147, 197, 253, 0.35);
  color: #93c5fd;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, #60a5fa 0%, #fcd34d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 560px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
  color: #fff;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
}

.trust-item svg {
  color: var(--accent-gold);
}

/* Hero Mascot Graphic */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mascot-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(8px);
  animation: float 4s ease-in-out infinite;
  max-width: 360px;
  width: 100%;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.mascot-img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
  margin-bottom: 16px;
}

.mascot-bubble {
  background: #fff;
  color: var(--dark-slate);
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  position: relative;
}

.mascot-bubble::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent #fff transparent;
}

/* --- Live Federal Officials Strip --- */
.live-officials-strip {
  background: #eff6ff;
  border-bottom: 1px solid #bfdbfe;
  padding: 16px 0;
}

.officials-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.strip-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.officials-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.official-tag {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 13px;
  color: var(--dark-slate);
}

.official-tag strong {
  color: var(--primary);
}

/* --- Section Shared Styles --- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-badge {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark-slate);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* --- Study Bank Section --- */
.search-filter-bar {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.search-input-wrap {
  position: relative;
  margin-bottom: 16px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 48px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  font-size: 16px;
  color: var(--text-main);
  background: #f8fafc;
  outline: none;
  transition: all var(--transition-fast);
}

.search-input:focus {
  border-color: var(--border-focus);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.chip.chip-senior {
  border-color: #f59e0b;
  color: #b45309;
  background: #fef3c7;
}

.chip.chip-senior.active {
  background: #d97706;
  border-color: #d97706;
  color: #fff;
}

/* Question Cards Grid */
.questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

.question-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.q-num-pill {
  background: #f1f5f9;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.senior-star-tag {
  background: #fef3c7;
  color: #b45309;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.q-category {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.q-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 16px;
  line-height: 1.4;
}

.answer-box {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 16px;
  margin-bottom: 14px;
  display: none;
}

.answer-box.revealed {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.answer-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.answer-text {
  font-size: 15px;
  font-weight: 700;
  color: #065f46;
}

.explanation-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  margin-top: 12px;
}

.btn-reveal {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-reveal:hover {
  background: #e2e8f0;
}

.btn-speak {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.btn-speak:hover {
  background: #f1f5f9;
  color: var(--primary);
}

/* --- Interactive Practice Exam Section --- */
.exam-container {
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.exam-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 24px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #10b981);
  width: 10%;
  transition: width 0.3s ease;
}

.exam-question-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 24px;
  line-height: 1.4;
}

.exam-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.option-btn {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-slate);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 12px;
}

.option-btn:hover:not(:disabled) {
  background: #eff6ff;
  border-color: #93c5fd;
}

.option-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e2e8f0;
  font-size: 13px;
  font-weight: 800;
  color: #475569;
  flex-shrink: 0;
}

.option-btn.correct {
  background: #ecfdf5 !important;
  border-color: #10b981 !important;
  color: #065f46 !important;
}

.option-btn.correct .option-letter {
  background: #10b981;
  color: #fff;
}

.option-btn.wrong {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
  color: #991b1b !important;
}

.option-btn.wrong .option-letter {
  background: #ef4444;
  color: #fff;
}

.exam-feedback-banner {
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: none;
  animation: fadeIn 0.2s ease;
}

.exam-feedback-banner.correct {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.exam-feedback-banner.wrong {
  display: block;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.exam-actions {
  display: flex;
  justify-content: flex-end;
}

/* Exam Result Card */
.exam-result-card {
  text-align: center;
  padding: 32px 16px;
  display: none;
}

.exam-result-badge {
  font-size: 64px;
  margin-bottom: 16px;
}

.exam-result-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.exam-result-score {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

/* --- N-400 Legal Vocabulary Section --- */
.vocab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.vocab-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}

.vocab-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #93c5fd;
}

.vocab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.vocab-term {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark-slate);
}

.vocab-part-tag {
  font-size: 11px;
  font-weight: 700;
  background: #f1f5f9;
  color: #64748b;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}

.officer-question {
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border-left: 3px solid var(--accent-gold);
}

.plain-answer {
  font-size: 14px;
  font-weight: 700;
  color: #065f46;
  background: #ecfdf5;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.legal-def {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --- Interview Checklist Section --- */
.checklist-card {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.checklist-group {
  margin-bottom: 32px;
}

.checklist-group:last-child {
  margin-bottom: 0;
}

.checklist-group-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid #eff6ff;
  padding-bottom: 8px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast);
  margin-bottom: 6px;
}

.checklist-item:hover {
  background: #f8fafc;
}

.checklist-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent-green);
  cursor: pointer;
}

.item-content {
  flex: 1;
}

.item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-slate);
}

.item-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* --- App Store & Google Play Showcase --- */
.app-showcase {
  background: linear-gradient(180deg, #1e293b 0%, var(--dark-slate) 100%);
  color: #fff;
  padding: 80px 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.showcase-content h2 {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.showcase-content p {
  color: #cbd5e1;
  font-size: 17px;
  margin-bottom: 28px;
}

.showcase-features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #e2e8f0;
}

.showcase-features li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.showcase-preview {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.phone-mockup {
  width: 220px;
  border-radius: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 4px solid #334155;
  transition: transform var(--transition-smooth);
}

.phone-mockup:hover {
  transform: translateY(-8px) scale(1.02);
}

/* --- Footer & Legal --- */
.site-footer {
  background: #090d16;
  color: #94a3b8;
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand p {
  max-width: 440px;
  line-height: 1.6;
}

.footer-links h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #fff;
}

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
  font-size: 12px;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer-disclaimer strong {
  color: #fcd34d;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

/* --- Responsive Media Queries --- */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-trust {
    justify-content: center;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .showcase-features {
    align-items: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }
  .nav-inner {
    height: 64px;
  }
  .main-nav .nav-link:not(.btn-cta-nav) {
    display: none;
  }
  .questions-grid, .vocab-grid {
    grid-template-columns: 1fr;
  }
  .search-filter-bar, .exam-container, .checklist-card {
    padding: 20px;
  }
  .phone-mockup:last-child {
    display: none;
  }
}
