/* ============================================================
   California DMV Practice Test — Redesigned Modern UI
   Theme: California Coastal Drive (Clean EdTech)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Prompt:wght@300;400;500;600;700&display=swap');

:root {
  --dmv-navy:       #0f2952;
  --dmv-blue:       #1d4ed8;
  --dmv-blue-soft:  #eff6ff;
  --dmv-accent:     #0284c7;
  --dmv-gold:       #f59e0b;
  --dmv-light:      #e0ecff;
  --dmv-border:     rgba(15, 41, 82, 0.10);
  --dmv-border-strong: rgba(15, 41, 82, 0.18);
  --dmv-gray:       #5b6b82;
  --dmv-red:        #dc2626;
  --dmv-red-soft:   #fef2f2;
  --dmv-green:      #15803d;
  --dmv-green-soft: #f0fdf4;
  --dmv-text:       #0f172a;
  --dmv-white:      #ffffff;
  --dmv-bg:         #f6f8fc;
  --radius-sm:      10px;
  --radius:         14px;
  --radius-lg:      20px;
  --shadow-sm:      0 1px 3px rgba(15, 41, 82, 0.06), 0 1px 2px rgba(15, 41, 82, 0.04);
  --shadow:         0 8px 24px rgba(15, 41, 82, 0.07), 0 2px 6px rgba(15, 41, 82, 0.04);
  --shadow-lg:      0 16px 40px rgba(15, 41, 82, 0.12), 0 4px 12px rgba(15, 41, 82, 0.05);
  --font:           'Prompt', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition:     cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  background:
    radial-gradient(900px 420px at 50% -80px, rgba(29, 78, 216, 0.08), transparent 70%),
    radial-gradient(600px 320px at 90% 10%, rgba(14, 165, 233, 0.06), transparent 70%),
    var(--dmv-bg);
  color: var(--dmv-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, var(--dmv-navy) 0%, #163b75 55%, var(--dmv-blue) 100%);
  color: var(--dmv-white);
  padding: 0 28px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(15, 41, 82, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}
.site-header .logo-seal {
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, #ffffff 0%, #e8f0fe 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18), inset 0 0 0 2px rgba(245, 158, 11, 0.45);
}
.site-header .logo-seal span {
  font-size: 10px;
  font-weight: 800;
  color: var(--dmv-navy);
  text-align: center;
  line-height: 1.15;
  letter-spacing: 0.04em;
}
.site-header .header-text { display: flex; flex-direction: column; min-width: 0; }
.site-header .header-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-header .header-sub {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 1px;
}
.lang-switcher {
  margin-left: auto;
  flex-shrink: 0;
}
.lang-switcher select {
  appearance: none;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  color: var(--dmv-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 7px 32px 7px 14px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 6l5 5 5-5' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.lang-switcher select:hover {
  background-color: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.45);
}
.lang-switcher select option { color: var(--dmv-text); background: var(--dmv-white); }
@media (max-width: 480px) {
  .site-header { padding: 0 16px; height: 62px; }
  .lang-switcher select { font-size: 0.74rem; padding: 5px 26px 5px 11px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  margin-top: auto;
  background: var(--dmv-navy);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 0.76rem;
  padding: 16px 20px;
  flex-shrink: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 20px 56px;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
}

/* ============================================================
   HOME PAGE
   ============================================================ */
.home-hero {
  text-align: center;
  max-width: 680px;
  margin-bottom: 26px;
}
.home-hero h1 {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 700;
  color: var(--dmv-navy);
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin-bottom: 10px;
}
.home-hero p {
  font-size: 0.98rem;
  color: var(--dmv-gray);
  line-height: 1.65;
}

.home-info-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
}
.info-chip {
  background: var(--dmv-white);
  border: 1px solid var(--dmv-border);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.82rem;
  color: var(--dmv-navy);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-sm);
}
.info-chip svg { color: var(--dmv-blue); flex-shrink: 0; }
.info-chip strong { font-weight: 700; }

.support-chip {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe4e6 100%);
  border: 1px solid #fecdd3;
  border-radius: 999px;
  padding: 7px 15px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 600;
  color: #be123c;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s var(--transition), box-shadow 0.18s ease, background 0.18s ease;
}
.support-chip:hover {
  background: #ffe4e6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(190, 18, 60, 0.14);
}

/* Support Modal */
.support-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.support-modal.is-open { display: flex; }
.support-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(6px);
}
.support-dialog {
  position: relative;
  width: 100%;
  max-width: 390px;
  background: var(--dmv-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px 24px;
  text-align: center;
  z-index: 1;
  border: 1px solid var(--dmv-border);
}
.support-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--dmv-border);
  background: var(--dmv-bg);
  color: var(--dmv-gray);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}
.support-close:hover {
  color: var(--dmv-navy);
  border-color: var(--dmv-blue);
  background: var(--dmv-blue-soft);
}
.support-dialog h2 {
  font-size: 1.18rem;
  color: var(--dmv-navy);
  margin-bottom: 8px;
}
.support-dialog p {
  font-size: 0.86rem;
  color: var(--dmv-gray);
  line-height: 1.55;
}
.support-qr {
  width: 210px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 16px auto 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--dmv-border);
  padding: 6px;
  background: var(--dmv-white);
}
.support-note {
  font-size: 0.76rem !important;
  color: var(--dmv-gray) !important;
}

/* Test Grid */
.test-grid-title {
  width: 100%;
  max-width: 960px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dmv-gray);
  margin-bottom: 14px;
  padding-left: 2px;
}
.test-grid {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.test-card {
  background: var(--dmv-white);
  border: 1px solid var(--dmv-border);
  border-radius: var(--radius);
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--transition), box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.test-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(29, 78, 216, 0.35);
}
.test-card:active { transform: translateY(-1px); }

.test-card-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--dmv-blue-soft);
  color: var(--dmv-blue);
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(29, 78, 216, 0.14);
}
.test-card-title {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--dmv-text);
}
.test-card-meta {
  font-size: 0.78rem;
  color: var(--dmv-gray);
}
.test-card-btn {
  margin-top: 6px;
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--dmv-blue);
  color: var(--dmv-white);
  font-size: 0.82rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.test-card-btn:hover { background: var(--dmv-navy); }

/* Notice & Reference Boxes */
.notice-box {
  width: 100%;
  max-width: 960px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-left: 4px solid var(--dmv-gold);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.84rem;
  color: #78350f;
  line-height: 1.6;
  margin-bottom: 24px;
}

.reference-box {
  width: 100%;
  max-width: 960px;
  background: var(--dmv-white);
  border: 1px solid var(--dmv-border);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: 0.83rem;
  color: var(--dmv-gray);
  text-align: center;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.reference-box a {
  color: var(--dmv-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.reference-box a:hover { color: var(--dmv-navy); }

/* ============================================================
   EXAM PAGE
   ============================================================ */
.exam-container {
  width: 100%;
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.exam-header {
  background: var(--dmv-white);
  border: 1px solid var(--dmv-border);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}
.exam-header-left { display: flex; flex-direction: column; gap: 2px; }
.exam-header-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dmv-gray);
}
.exam-header-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dmv-navy);
}

/* Progress */
.exam-progress { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.progress-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dmv-navy);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.progress-track {
  width: 130px;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--dmv-blue) 0%, var(--dmv-accent) 100%);
  border-radius: 999px;
  transition: width 0.3s var(--transition);
}

/* Question Dots */
.question-dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 4px 0;
}
.q-dot {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1.5px solid var(--dmv-border-strong);
  background: var(--dmv-white);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dmv-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.16s ease;
  font-family: var(--font);
}
.q-dot:hover {
  border-color: var(--dmv-blue);
  color: var(--dmv-blue);
  transform: translateY(-1px);
}
.q-dot.active {
  background: var(--dmv-blue);
  border-color: var(--dmv-blue);
  color: var(--dmv-white);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
}
.q-dot.answered {
  background: var(--dmv-blue-soft);
  border-color: var(--dmv-blue);
  color: var(--dmv-blue);
}

/* Question Card */
.question-card {
  background: var(--dmv-white);
  border: 1px solid var(--dmv-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.question-card-top {
  background: linear-gradient(90deg, var(--dmv-navy) 0%, #163b75 100%);
  color: var(--dmv-white);
  padding: 12px 22px;
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.question-card-body { padding: 26px 24px; }
.question-text {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--dmv-text);
  margin-bottom: 22px;
}
.question-media {
  display: none;
  justify-content: center;
  margin-bottom: 22px;
}
.question-media.has-media { display: flex; }
.traffic-sign {
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 6px 14px rgba(15, 41, 82, 0.14));
}
.traffic-sign text {
  font-family: var(--font);
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
}

/* Choices */
.choices-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.choice-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 18px;
  border: 1.5px solid var(--dmv-border-strong);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.16s ease;
  background: var(--dmv-white);
}
.choice-item:hover {
  border-color: var(--dmv-blue);
  background: var(--dmv-blue-soft);
  transform: translateX(2px);
}
.choice-item.selected {
  border-color: var(--dmv-blue);
  background: var(--dmv-blue-soft);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}
.choice-item input[type="radio"] { display: none; }
.choice-radio {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 2px solid #94a3b8;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  background: var(--dmv-white);
}
.choice-item.selected .choice-radio {
  border-color: var(--dmv-blue);
  background: var(--dmv-blue);
}
.choice-item.selected .choice-radio::after {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--dmv-white);
  border-radius: 50%;
}
.choice-label {
  font-size: 0.96rem;
  color: var(--dmv-text);
  line-height: 1.55;
}

/* Navigation */
.exam-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  cursor: pointer;
  transition: all 0.16s ease;
}
.btn:disabled { opacity: 0.38; cursor: not-allowed; }
.btn-outline {
  background: var(--dmv-white);
  border: 1.5px solid var(--dmv-border-strong);
  color: var(--dmv-navy);
  box-shadow: var(--shadow-sm);
}
.btn-outline:hover:not(:disabled) {
  border-color: var(--dmv-blue);
  background: var(--dmv-blue-soft);
  color: var(--dmv-blue);
}
.btn-primary {
  background: var(--dmv-blue);
  color: var(--dmv-white);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}
.btn-primary:hover:not(:disabled) {
  background: var(--dmv-navy);
  transform: translateY(-1px);
}
.btn-submit {
  background: linear-gradient(135deg, var(--dmv-navy) 0%, var(--dmv-blue) 100%);
  color: var(--dmv-white);
  box-shadow: 0 4px 14px rgba(15, 41, 82, 0.28);
}
.btn-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(15, 41, 82, 0.35);
}

/* ============================================================
   SUMMARY PAGE
   ============================================================ */
.summary-card {
  background: var(--dmv-white);
  border: 1px solid var(--dmv-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 36px 28px;
  text-align: center;
  width: 100%;
  max-width: 960px;
}
.summary-icon { font-size: 3.2rem; margin-bottom: 10px; }
.summary-title { font-size: 1.55rem; font-weight: 700; color: var(--dmv-navy); margin-bottom: 6px; }
.summary-subtitle { font-size: 0.94rem; color: var(--dmv-gray); margin-bottom: 26px; }

.summary-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  text-align: left;
  display: block;
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--dmv-border);
}
.summary-table th {
  background: var(--dmv-navy);
  color: var(--dmv-white);
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.summary-table td {
  padding: 12px 14px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--dmv-border);
  vertical-align: top;
}
.summary-table tr:last-child td { border-bottom: none; }
.summary-table tr:nth-child(even) td { background: var(--dmv-bg); }

.badge-answered, .badge-skipped, .badge-answer, .badge-correct, .badge-incorrect {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-answered { background: var(--dmv-blue-soft); color: var(--dmv-blue); }
.badge-skipped  { background: #fef3c7; color: #92400e; }
.badge-answer   { background: var(--dmv-green-soft); color: var(--dmv-green); }
.badge-correct  { background: #dcfce7; color: var(--dmv-green); font-weight: 700; }
.badge-incorrect { background: var(--dmv-red-soft); color: var(--dmv-red); font-weight: 700; }

.summary-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   MOCK EXAM — Start Screen & Timer
   ============================================================ */
.mock-start-card {
  background: var(--dmv-white);
  border: 1px solid var(--dmv-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px 32px;
  text-align: center;
  width: 100%;
  max-width: 580px;
}
.mock-start-icon { font-size: 3rem; margin-bottom: 12px; }
.mock-start-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--dmv-navy);
  margin-bottom: 8px;
}
.mock-start-subtitle {
  font-size: 0.93rem;
  color: var(--dmv-gray);
  margin-bottom: 26px;
  line-height: 1.65;
}
.mock-rules {
  background: var(--dmv-bg);
  border: 1px solid var(--dmv-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: left;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mock-rule-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--dmv-text);
  line-height: 1.55;
}
.mock-rule-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--dmv-blue);
  color: var(--dmv-white);
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.mock-rule-icon.green { background: var(--dmv-green); }

.timer-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dmv-navy);
  background: var(--dmv-bg);
  border: 1.5px solid var(--dmv-border-strong);
  border-radius: 999px;
  padding: 5px 12px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  flex-shrink: 0;
}
.timer-box.warning {
  color: var(--dmv-red);
  border-color: var(--dmv-red);
  background: var(--dmv-red-soft);
  animation: timer-blink 1s ease-in-out infinite;
}
@keyframes timer-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.result-banner {
  border-radius: var(--radius);
  padding: 24px 28px;
  text-align: center;
  margin-bottom: 24px;
}
.result-banner.pass {
  background: var(--dmv-green-soft);
  border: 2px solid var(--dmv-green);
}
.result-banner.fail {
  background: var(--dmv-red-soft);
  border: 2px solid var(--dmv-red);
}
.result-banner-icon { font-size: 2.3rem; }
.result-banner-label {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin: 4px 0 6px;
}
.result-banner.pass .result-banner-label { color: var(--dmv-green); }
.result-banner.fail .result-banner-label { color: var(--dmv-red); }
.result-banner-note { font-size: 0.88rem; color: var(--dmv-gray); }

.mock-exam-banner {
  max-width: 960px;
  width: 100%;
  background: linear-gradient(135deg, var(--dmv-navy) 0%, var(--dmv-blue) 55%, var(--dmv-accent) 100%);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.mock-exam-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: var(--dmv-white);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mock-exam-banner-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dmv-white);
  margin-bottom: 4px;
}
.mock-exam-banner-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}
.mock-exam-banner .btn-white {
  background: var(--dmv-white);
  color: var(--dmv-navy);
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.16s ease, background 0.15s ease;
}
.mock-exam-banner .btn-white:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
}

/* ============================================================
   PRACTICE MODE — Immediate Feedback
   ============================================================ */
.choice-item.choice-correct {
  border-color: var(--dmv-green) !important;
  background: var(--dmv-green-soft) !important;
}
.choice-item.choice-correct .choice-radio {
  border-color: var(--dmv-green) !important;
  background: var(--dmv-green) !important;
}
.choice-item.choice-correct .choice-radio::after {
  content: '';
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
}
.choice-item.choice-wrong {
  border-color: var(--dmv-red) !important;
  background: var(--dmv-red-soft) !important;
}
.choice-item.choice-wrong .choice-radio {
  border-color: var(--dmv-red) !important;
  background: var(--dmv-red) !important;
}
.choice-item.choice-wrong .choice-radio::after {
  content: '';
  width: 7px;
  height: 7px;
  background: white;
  border-radius: 50%;
}

.mock-feedback,
.practice-feedback {
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.55;
}
.feedback-correct {
  background: var(--dmv-green-soft);
  border: 1.5px solid #86efac;
  color: var(--dmv-green);
}
.feedback-wrong {
  background: var(--dmv-red-soft);
  border: 1.5px solid #fca5a5;
  color: var(--dmv-red);
}
.feedback-answer { font-weight: 700; color: var(--dmv-navy); }
.feedback-explanation {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(15, 41, 82, 0.08);
  font-size: 0.9rem;
  font-weight: 400;
  color: #334155;
  line-height: 1.65;
}
.feedback-tip {
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 400;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 7px 12px;
}
.feedback-terms {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.term-badge {
  display: inline-block;
  background: var(--dmv-blue-soft);
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.82rem;
  color: #1e40af;
  font-weight: 500;
}

.q-dot.dot-correct {
  background: var(--dmv-green);
  border-color: var(--dmv-green);
  color: #fff;
}
.q-dot.dot-wrong {
  background: var(--dmv-red);
  border-color: var(--dmv-red);
  color: #fff;
}

/* ============================================================
   LICENSE GRID (index.html)
   ============================================================ */
.license-grid {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}
.license-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--dmv-border);
  border-radius: var(--radius-lg);
  background: var(--dmv-white);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s ease, transform 0.22s var(--transition), border-color 0.22s ease;
}
.license-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(29, 78, 216, 0.28);
}
.license-card-top {
  height: 5px;
  background: var(--card-color, var(--dmv-blue));
}
.license-card-body {
  padding: 22px 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.license-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--dmv-bg);
  border: 1px solid var(--dmv-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  margin-bottom: 6px;
}
.license-card-code {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--card-color, var(--dmv-blue));
}
.license-card-name {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--dmv-navy);
  line-height: 1.35;
}
.license-card-desc {
  font-size: 0.84rem;
  color: var(--dmv-gray);
  line-height: 1.55;
  flex: 1;
  margin-top: 2px;
}
.license-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--dmv-border);
}
.license-card-status {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.status-available { background: #dcfce7; color: #166534; }
.status-soon      { background: #f1f5f9; color: #64748b; }
.license-card-arrow { color: var(--dmv-gray); transition: transform 0.2s ease, color 0.2s ease; }
.license-card:hover .license-card-arrow {
  transform: translateX(4px);
  color: var(--card-color, var(--dmv-blue));
}

/* ============================================================
   LICENSE HUB PAGE (license.html)
   ============================================================ */
.breadcrumb {
  width: 100%;
  max-width: 960px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--dmv-gray);
  margin-bottom: 18px;
}
.breadcrumb-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--dmv-blue);
  font-weight: 500;
}
.breadcrumb-link:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--dmv-border-strong); }

.license-hub-header {
  width: 100%;
  max-width: 960px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: var(--dmv-white);
  border: 1px solid var(--dmv-border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  border-left: 5px solid var(--hub-color, var(--dmv-blue));
  box-shadow: var(--shadow-sm);
}
.license-hub-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--dmv-bg);
  border: 1px solid var(--dmv-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}
.license-hub-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dmv-navy);
  margin: 0 0 4px;
}
.license-hub-desc {
  font-size: 0.86rem;
  color: var(--dmv-gray);
  margin: 0;
}

.mode-grid {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.mode-card {
  border: 1px solid var(--dmv-border);
  border-radius: var(--radius-lg);
  padding: 22px 20px 18px;
  background: var(--dmv-white);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s var(--transition), border-color 0.2s ease;
}
.mode-available:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--dmv-blue);
}
.mode-unavailable { opacity: 0.52; cursor: not-allowed; }
.mode-card-icon { font-size: 1.85rem; line-height: 1; margin-bottom: 2px; }
.mode-card-title { font-size: 1rem; font-weight: 700; color: var(--dmv-navy); }
.mode-card-desc  { font-size: 0.82rem; color: var(--dmv-gray); line-height: 1.55; flex: 1; }
.mode-card-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  align-self: flex-start;
  margin-top: 8px;
}
.badge-available { background: #dbeafe; color: #1e40af; }
.badge-soon      { background: #f1f5f9; color: #64748b; }

/* ============================================================
   SPONSOR / AD SLOT
   ============================================================ */
.sponsor-slot {
  width: 100%;
  max-width: 960px;
  margin: 8px auto 24px;
}
.sponsor-slot:empty { display: none; }
.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px dashed var(--dmv-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s var(--transition), box-shadow 0.2s ease, border-color 0.2s ease;
}
.sponsor-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--dmv-blue);
}
.sponsor-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}
.sponsor-media {
  width: 64px;
  height: 64px;
  border-radius: var(--radius);
  background: var(--dmv-blue-soft);
  border: 1px solid var(--dmv-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 1.5rem;
  color: var(--dmv-blue);
}
.sponsor-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sponsor-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.sponsor-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
}
.sponsor-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dmv-navy);
  line-height: 1.35;
}
.sponsor-desc {
  font-size: 0.84rem;
  color: var(--dmv-gray);
  line-height: 1.45;
}
.sponsor-cta {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--dmv-navy);
  color: var(--dmv-white);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.2s ease;
}
.sponsor-card:hover .sponsor-cta {
  background: var(--dmv-blue);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 560px) {
  .page-wrapper { padding: 24px 14px 42px; }
  .site-header .header-sub { display: none; }
  .test-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .progress-track { width: 80px; }
  .question-card-body { padding: 20px 16px; }
  .exam-nav { flex-wrap: wrap; }
  .btn { flex: 1; padding: 10px 14px; font-size: 0.86rem; }
  .summary-card { padding: 24px 16px; }
  .license-grid { grid-template-columns: 1fr; }
  .mode-grid    { grid-template-columns: 1fr 1fr; gap: 10px; }
  .license-hub-header { padding: 16px; }
  .sponsor-card { flex-direction: column; align-items: stretch; padding: 16px; }
  .sponsor-cta { text-align: center; }
}

/* ============================================================
   CANVA THEME — HOMEPAGE REDESIGN
   ============================================================ */
body.canva-theme {
  background: #f8fafc;
}

.site-header-light {
  background: #ffffff !important;
  color: var(--dmv-navy) !important;
  border-bottom: 1px solid rgba(15, 41, 82, 0.08);
  box-shadow: 0 2px 10px rgba(15, 41, 82, 0.04);
  justify-content: space-between;
  padding: 12px 32px;
  gap: 20px;
}
.site-header-light .header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.site-header-light .header-title {
  color: var(--dmv-navy);
  font-size: 1.05rem;
  font-weight: 700;
  display: block;
}
.site-header-light .header-sub-link {
  color: #0057ff;
  font-size: 0.78rem;
  font-weight: 600;
  display: block;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  margin-right: 12px;
}
.header-nav .nav-link {
  color: #334155;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 2px;
}
.header-nav .nav-link:hover,
.header-nav .nav-link.is-active {
  color: #0057ff;
  font-weight: 600;
}
.site-header-light .lang-switcher select {
  background: #f1f5f9;
  color: var(--dmv-navy);
  border: 1px solid rgba(15, 41, 82, 0.14);
  border-radius: 10px;
  padding: 7px 14px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* ── Hero Section ──────────────────────────────────────────── */
.canva-hero {
  background:
    radial-gradient(650px 340px at 82% 55%, rgba(191, 219, 254, 0.45), transparent 70%),
    linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(15, 41, 82, 0.06);
  padding: 36px 32px 32px;
  overflow: hidden;
}
.canva-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 32px;
}
.canva-hero-left h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 800;
  color: var(--dmv-navy);
  line-height: 1.18;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.canva-hero-sub {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 22px;
}
.hero-stats-pill {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 41, 82, 0.09);
  border-radius: 16px;
  padding: 13px 22px;
  box-shadow: 0 6px 20px rgba(15, 41, 82, 0.06);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  color: var(--dmv-navy);
  font-weight: 600;
}
.hero-stat-divider {
  width: 1px;
  height: 22px;
  background: rgba(15, 41, 82, 0.12);
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 12px;
  background: #0057ff;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 87, 255, 0.28);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-hero-primary:hover {
  background: #0046d1;
  transform: translateY(-1px);
}
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 12px;
  background: #ffffff;
  color: #0057ff;
  border: 1.5px solid #bfdbfe;
  font-weight: 700;
  font-size: 0.96rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.btn-hero-outline:hover {
  background: #eff6ff;
  border-color: #0057ff;
}

/* ── Hero Right Mockups & Road Signs ───────────────────────── */
.canva-hero-right {
  position: relative;
  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-tablet {
  width: 220px;
  background: #ffffff;
  border: 6px solid #0f172a;
  border-radius: 18px;
  padding: 12px 14px 8px;
  box-shadow: 0 18px 36px rgba(15, 41, 82, 0.16);
  position: relative;
  z-index: 2;
  transform: translateX(-36px);
}
.mockup-tablet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.mockup-title { font-size: 0.72rem; font-weight: 700; color: var(--dmv-navy); }
.mockup-pill-mini {
  font-size: 0.62rem;
  font-weight: 700;
  background: #dbeafe;
  color: #1d4ed8;
  padding: 2px 7px;
  border-radius: 999px;
}
.mockup-progress-line {
  height: 5px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.mockup-progress-line span {
  display: block;
  height: 100%;
  background: #0057ff;
  border-radius: 999px;
}
.mockup-stat-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  background: #f8fafc;
  border-radius: 8px;
  margin-bottom: 5px;
  font-size: 0.7rem;
}
.mockup-sign-badge { font-size: 0.8rem; }
.mockup-stat-label { flex: 1; color: #334155; font-weight: 600; }
.mockup-stat-val { font-weight: 700; }
.mockup-stat-val.green { color: #16a34a; }
.mockup-stat-val.amber { color: #d97706; }
.mockup-chart { width: 100%; height: 34px; display: block; margin-top: 4px; }

.mockup-phone {
  width: 126px;
  background: #ffffff;
  border: 5px solid #0f172a;
  border-radius: 18px;
  padding: 10px 10px 12px;
  box-shadow: 0 18px 34px rgba(15, 41, 82, 0.18);
  position: relative;
  z-index: 3;
  transform: translate(-52px, 16px);
  text-align: center;
}
.mockup-phone-top {
  font-size: 0.6rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 10px;
}
.mockup-diamond-sign {
  width: 44px;
  height: 44px;
  background: #facc15;
  border: 2px solid #0f172a;
  border-radius: 4px;
  transform: rotate(45deg);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup-diamond-sign span {
  transform: rotate(-45deg);
  font-size: 1.2rem;
  font-weight: 900;
  color: #0f172a;
}
.mockup-mini-choices {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mockup-mini-choices span {
  display: flex;
  align-items: center;
  height: 16px;
  background: #f1f5f9;
  border-radius: 6px;
  padding: 0 5px;
}
.mockup-mini-choices span i {
  font-style: normal;
  font-size: 0.56rem;
  font-weight: 700;
  color: #475569;
}
.mockup-mini-choices span.is-correct {
  background: #dcfce7;
  border: 1px solid #22c55e;
}
.mockup-mini-choices span.is-correct i { color: #15803d; }

.hero-road-signs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: -34px;
  z-index: 1;
}
.road-sign-speed {
  width: 58px;
  background: #ffffff;
  border: 2px solid #0f172a;
  border-radius: 6px;
  padding: 4px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.road-sign-speed small { display: block; font-size: 0.45rem; font-weight: 800; line-height: 1.1; color: #0f172a; }
.road-sign-speed strong { display: block; font-size: 1.15rem; font-weight: 900; color: #0f172a; line-height: 1.1; }
.road-sign-us {
  width: 58px;
  background: #ffffff;
  border: 2px solid #0f172a;
  border-radius: 10px;
  padding: 4px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.road-sign-us small { display: block; font-size: 0.42rem; font-weight: 700; color: #0f172a; }
.road-sign-us span { display: block; font-size: 0.55rem; font-weight: 800; color: #0f172a; }
.road-sign-us strong { display: block; font-size: 0.95rem; font-weight: 900; color: #0f172a; }
.road-sign-ca {
  width: 58px;
  background: #15803d;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 12px 12px 24px 24px;
  padding: 5px 4px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.road-sign-ca small { display: block; font-size: 0.38rem; font-weight: 700; }
.road-sign-ca strong { display: block; font-size: 1rem; font-weight: 900; }

/* ── Main 2-Column Split ───────────────────────────────────── */
.canva-main {
  max-width: 1180px;
  padding: 32px 32px 24px;
}
.home-split {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 28px;
  align-items: start;
  margin-bottom: 24px;
}
.split-heading {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--dmv-navy);
  margin-bottom: 6px;
}
.split-sub {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 16px;
}
.license-grid-canva {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 14px;
}
.license-grid-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
}
.license-grid-extra.is-collapsed {
  display: none;
}
.license-card-canva {
  background: #ffffff;
  border: 1.5px solid rgba(15, 41, 82, 0.10);
  border-radius: 16px;
  padding: 16px 14px 14px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 3px 12px rgba(15, 41, 82, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}
.license-card-canva.is-featured {
  border-color: #93c5fd;
  box-shadow: 0 6px 18px rgba(0, 87, 255, 0.08);
}
.license-card-canva:hover {
  transform: translateY(-2px);
  border-color: #0057ff;
  box-shadow: 0 8px 20px rgba(0, 87, 255, 0.12);
}
.lcc-icon {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0057ff;
  background: #f0f6ff;
  border-radius: 10px;
  margin-bottom: 4px;
}
.lcc-code {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dmv-navy);
}
.lcc-name {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
  flex: 1;
}
.lcc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.lcc-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.lcc-status.is-ready { background: #dcfce7; color: #15803d; }
.lcc-status.is-soon  { background: #fef3c7; color: #b45309; }
.lcc-chevron {
  font-size: 1.2rem;
  color: #94a3b8;
  font-weight: 700;
}
.reference-inline {
  font-size: 0.8rem;
  color: #64748b;
}
.reference-inline a {
  color: #0057ff;
  font-weight: 600;
  text-decoration: none;
}
.reference-inline a:hover { text-decoration: underline; }

/* ── Interactive Sample Exam Card ──────────────────────────── */
.sample-exam-card {
  background: #ffffff;
  border: 1px solid rgba(15, 41, 82, 0.10);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 10px 28px rgba(15, 41, 82, 0.06);
}
.sample-exam-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 14px;
}
.sample-progress-bar {
  flex: 1;
  height: 7px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}
.sample-progress-bar span {
  display: block;
  height: 100%;
  background: #0057ff;
  border-radius: 999px;
}
.sample-exam-body {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 14px;
}
.sample-sign-wrap { flex-shrink: 0; padding-top: 6px; }
.sample-q-col { flex: 1; min-width: 0; }
.sample-q-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--dmv-navy);
  margin-bottom: 10px;
}
.sample-choices {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sample-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #1e293b;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.sample-choice:hover { border-color: #93c5fd; background: #eff6ff; }
.sample-badge {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}
.sample-text { flex: 1; }
.sample-choice.is-correct {
  background: #dcfce7;
  border-color: #22c55e;
  color: #14532d;
  font-weight: 600;
}
.sample-choice.is-correct .sample-badge {
  background: #16a34a;
  color: #ffffff;
}
.sample-choice.is-wrong {
  background: #fee2e2;
  border-color: #ef4444;
  color: #7f1d1d;
}
.sample-choice.is-wrong .sample-badge {
  background: #dc2626;
  color: #ffffff;
}
.sample-check {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sample-explanation {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.8rem;
  color: #1e3a8a;
  line-height: 1.5;
}
.sample-exp-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  margin-bottom: 4px;
}
.sample-exp-icon {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #0057ff;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
}

/* ── Feature Strip & Canva Footer ──────────────────────────── */
.feature-strip {
  background: #f1f5f9;
  border-top: 1px solid rgba(15, 41, 82, 0.06);
  padding: 14px 24px;
}
.feature-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 16px;
  flex-wrap: wrap;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dmv-navy);
}
.feature-divider {
  width: 1px;
  height: 22px;
  background: rgba(15, 41, 82, 0.14);
}
.site-footer-canva {
  background: #0b2247;
  color: #e2e8f0;
  padding: 18px 32px;
}
.footer-canva-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-seal-sm { width: 34px; height: 34px; font-size: 0.62rem; }
.footer-brand-title { font-size: 0.86rem; font-weight: 700; color: #ffffff; }
.footer-brand-sub   { font-size: 0.72rem; color: #93c5fd; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.84rem;
}
.footer-links a:hover { color: #ffffff; }
.footer-copy { font-size: 0.78rem; color: #94a3b8; }

@media (max-width: 960px) {
  .canva-hero-inner { grid-template-columns: 1fr; }
  .canva-hero-right { display: none; }
  .home-split { grid-template-columns: 1fr; }
  .header-nav { display: none; }
}
@media (max-width: 560px) {
  .site-header-light { padding: 10px 16px; }
  .canva-hero { padding: 24px 16px; }
  .canva-main { padding: 20px 16px; }
  .license-grid-canva, .license-grid-extra { grid-template-columns: 1fr; }
  .sample-exam-body { flex-direction: column; }
  .feature-divider { display: none; }
}
