/* ==========================================================================
   LTO Exam Reviewer 2026 - Main Stylesheet
   Website: ltoreviewer.org
   Author: Cesar Apps
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --bg-dark: #070c18;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-surface: #0f172a;
  --bg-glass: rgba(15, 23, 42, 0.65);
  --bg-glass-elevated: rgba(30, 41, 59, 0.7);

  /* Philippine Driving & Flag Accents */
  --primary-blue: #2563eb;
  --primary-blue-light: #3b82f6;
  --primary-blue-glow: rgba(37, 99, 235, 0.35);
  --accent-gold: #f59e0b;
  --accent-gold-light: #fbbf24;
  --accent-gold-glow: rgba(245, 158, 11, 0.3);
  --accent-red: #ef4444;
  --success-green: #10b981;
  --success-green-glow: rgba(16, 185, 129, 0.25);

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #0f172a;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --border-focus: rgba(59, 130, 246, 0.6);
  --border-gold: rgba(245, 158, 11, 0.4);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 40px -8px rgba(0, 0, 0, 0.6);
  --shadow-glow-blue: 0 0 40px -10px rgba(37, 99, 235, 0.45);
  --shadow-glow-gold: 0 0 35px -8px rgba(245, 158, 11, 0.35);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Sizing */
  --max-width: 1200px;
  --header-height: 72px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Background Ambient Lighting */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.28;
}

.ambient-orb-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
  top: -150px;
  left: 10%;
  animation: floatOrb 24s ease-in-out infinite alternate;
}

.ambient-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
  top: 400px;
  right: -5%;
  opacity: 0.18;
  animation: floatOrb 28s ease-in-out infinite alternate-reverse;
}

.ambient-orb-3 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
  bottom: 20%;
  left: -10%;
  opacity: 0.2;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 60px) scale(1.08); }
  100% { transform: translate(-30px, 30px) scale(0.95); }
}

/* Grid & Layout Containers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   Navigation Bar
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(7, 12, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

.navbar.scrolled {
  background: rgba(7, 12, 24, 0.95);
  border-bottom-color: var(--border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: #ffffff;
  letter-spacing: -0.02em;
}

.brand-icon-wrapper {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.brand-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.1;
}

.brand-title span.highlight {
  color: var(--primary-blue-light);
}

.brand-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold-light);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-blue-light), var(--accent-gold));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px var(--primary-blue-glow);
  transition: all var(--transition-fast);
}

.btn-header-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
}

.btn-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  color: #ffffff;
}

.btn-mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.btn-mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.btn-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.btn-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(11, 17, 32, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-links a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 60px;
  padding-bottom: 80px;
  overflow: hidden;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 6px 14px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: #93c5fd;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.4;
  text-align: left;
}

.hero-pill .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--success-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success-green);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  word-break: normal;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #ffffff 30%, #93c5fd 70%, var(--accent-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .gold-accent {
  color: var(--accent-gold-light);
  -webkit-text-fill-color: var(--accent-gold-light);
}

.hero-description {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 580px;
}

/* Store Download Buttons Group */
.store-buttons-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
  text-decoration: none;
  min-height: 58px;
}

.btn-store:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
  background: #090e1a;
}

.btn-store svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.btn-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.2;
}

.btn-store-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  font-weight: 500;
}

.btn-store-title {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: #ffffff;
}

.btn-qr-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-qr-trigger:hover {
  background: rgba(51, 65, 85, 0.8);
  border-color: var(--border-light);
  color: #ffffff;
}

.btn-qr-trigger svg {
  width: 18px;
  height: 18px;
}

/* Trust Proof Badges */
.hero-trust-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.trust-item strong {
  color: #ffffff;
}

.trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-gold);
}

/* Hero Visual & Phone Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 330px;
  perspective: 1000px;
}

.phone-frame {
  position: relative;
  width: 100%;
  border-radius: 44px;
  background: #181d29;
  padding: 10px;
  box-shadow:
    0 25px 60px -15px rgba(0, 0, 0, 0.8),
    0 0 50px -10px var(--primary-blue-glow),
    inset 0 0 0 2px rgba(255, 255, 255, 0.15);
  transition: transform var(--transition-bounce);
}

.phone-frame:hover {
  transform: translateY(-6px) rotateY(-2deg) rotateX(2deg);
}

.phone-inner-screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #0b0f19;
  aspect-ratio: 9 / 19.5;
}

.phone-inner-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Status Pills around phone */
.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 10;
  animation: floatChip 4s ease-in-out infinite alternate;
}

.chip-pass {
  top: 12%;
  left: -24px;
  border-color: rgba(16, 185, 129, 0.4);
}

.chip-pass .chip-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.chip-bilingual {
  bottom: 18%;
  right: -24px;
  border-color: rgba(245, 158, 11, 0.4);
  animation-delay: -2s;
}

.chip-bilingual .chip-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

@keyframes floatChip {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   Key Stats Counter Ribbon
   -------------------------------------------------------------------------- */
.stats-ribbon {
  padding: 30px 0;
  background: rgba(15, 23, 42, 0.55);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Section Common Headers
   -------------------------------------------------------------------------- */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-blue-light);
  background: rgba(37, 99, 235, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Interactive Live Quiz Widget Section
   -------------------------------------------------------------------------- */
.quiz-section {
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.5) 0%, transparent 80%);
}

.quiz-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
  position: relative;
  overflow: hidden;
}

.quiz-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.quiz-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-gold-light);
}

.quiz-progress {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

.quiz-question-box {
  margin-bottom: 28px;
}

.quiz-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #60a5fa;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.quiz-question-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
}

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

.quiz-option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-subtle);
  color: #e2e8f0;
  font-size: 0.98rem;
  text-align: left;
  transition: all var(--transition-fast);
}

.quiz-option-btn:hover:not(:disabled) {
  background: rgba(51, 65, 85, 0.8);
  border-color: var(--primary-blue-light);
  transform: translateX(4px);
}

.quiz-option-letter {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
  color: #cbd5e1;
}

.quiz-option-btn.selected {
  border-color: var(--primary-blue-light);
  background: rgba(37, 99, 235, 0.2);
}

.quiz-option-btn.correct {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: var(--success-green) !important;
  color: #ffffff !important;
}

.quiz-option-btn.correct .quiz-option-letter {
  background: var(--success-green);
  color: #ffffff;
}

.quiz-option-btn.wrong {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: var(--accent-red) !important;
  color: #ffffff !important;
}

.quiz-option-btn.wrong .quiz-option-letter {
  background: var(--accent-red);
  color: #ffffff;
}

.quiz-feedback-box {
  display: none;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 0.94rem;
  line-height: 1.6;
}

.quiz-feedback-box.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.quiz-feedback-box.correct {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #a7f3d0;
}

.quiz-feedback-box.wrong {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fecaca;
}

.quiz-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-next-question {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--primary-blue);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all var(--transition-fast);
}

.btn-next-question:hover {
  background: var(--primary-blue-light);
  transform: translateY(-1px);
}

.quiz-cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.quiz-cta-note a {
  color: var(--accent-gold-light);
  font-weight: 600;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   App Features Grid
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-blue-light), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--primary-blue-light);
  flex-shrink: 0;
}

.feature-icon-box.gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
  color: var(--accent-gold-light);
}

.feature-icon-box.green {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--success-green);
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.feature-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   App Screenshot Showcase Carousel
   -------------------------------------------------------------------------- */
.showcase-section {
  background: #090e1a;
  overflow: hidden;
}

.showcase-slider-wrapper {
  position: relative;
  padding: 20px 0 40px 0;
}

.showcase-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.showcase-track::-webkit-scrollbar {
  display: none;
}

.showcase-slide {
  flex: 0 0 260px;
  scroll-snap-align: center;
  border-radius: 28px;
  overflow: hidden;
  background: #1e293b;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base);
}

.showcase-slide:hover {
  transform: translateY(-8px) scale(1.02);
}

.showcase-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.showcase-caption {
  padding: 14px 16px;
  background: rgba(15, 23, 42, 0.9);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   License Categories Section
   -------------------------------------------------------------------------- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: all var(--transition-fast);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-blue-light);
  background: var(--bg-card-hover);
}

.category-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.badge-sp {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-nonpro {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-pro {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-cde {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.category-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.category-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.spec-row strong {
  color: #ffffff;
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.category-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-list li svg {
  width: 14px;
  height: 14px;
  color: var(--success-green);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Philippine Road Signs Showcase
   -------------------------------------------------------------------------- */
.signs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sign-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: all var(--transition-fast);
}

.sign-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
  background: var(--bg-card-hover);
}

.sign-icon-frame {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sign-icon-frame svg {
  width: 100%;
  height: 100%;
}

.sign-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.sign-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  font-weight: 600;
}

.sign-meaning {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Step-by-Step Licensing Guide
   -------------------------------------------------------------------------- */
.steps-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-num-pill {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px var(--primary-blue-glow);
}

.step-card.active-step {
  border-color: var(--accent-gold);
  background: rgba(30, 41, 59, 0.8);
}

.step-card.active-step .step-num-pill {
  background: var(--accent-gold);
  color: #000000;
  box-shadow: 0 4px 12px var(--accent-gold-glow);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Testimonials Section
   -------------------------------------------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: all var(--transition-fast);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light);
}

.stars-rating {
  display: flex;
  gap: 4px;
  color: #fbbf24;
}

.stars-rating svg {
  width: 18px;
  height: 18px;
}

.testimonial-quote {
  font-size: 0.96rem;
  line-height: 1.6;
  color: #e2e8f0;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e293b, #334155);
  border: 2px solid var(--primary-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.author-role {
  font-size: 0.8rem;
  color: var(--accent-gold-light);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   FAQ Accordion Section
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-blue-light);
  background: rgba(30, 41, 59, 0.7);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  gap: 16px;
}

.faq-toggle-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-base), color var(--transition-fast);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  color: var(--primary-blue-light);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 26px 24px 26px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #cbd5e1;
}

.faq-answer-inner a {
  color: var(--primary-blue-light);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   High-Impact Final CTA Section
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding: 80px 0 100px 0;
}

.cta-banner-card {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
}

.cta-banner-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-app-icon {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.cta-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Modal (QR Code Download Modal)
   -------------------------------------------------------------------------- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-card {
  background: #111827;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-qr-frame {
  background: #ffffff;
  padding: 16px;
  border-radius: var(--radius-md);
  width: fit-content;
  margin: 20px auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.modal-qr-frame img {
  width: 180px;
  height: 180px;
  display: block;
}

.modal-title {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Mobile Sticky Install Bar (Mobile Screens Only)
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(11, 17, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-light);
  padding: 12px 18px;
  z-index: 90;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-sticky-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sticky-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: cover;
}

.sticky-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sticky-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
}

.sticky-sub {
  font-size: 0.72rem;
  color: var(--accent-gold-light);
  font-weight: 600;
}

.sticky-btn-group {
  display: flex;
  gap: 8px;
}

.btn-sticky-dl {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--primary-blue);
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 2px 8px var(--primary-blue-glow);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: #040812;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 40px 0;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-nav-list a:hover {
  color: #ffffff;
}

.footer-disclaimer-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 30px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-dim);
}

.footer-disclaimer-card strong {
  color: #e2e8f0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Animations & Keyframes
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    margin: 0 auto;
  }

  .store-buttons-group {
    justify-content: center;
  }

  .hero-trust-proof {
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta-group .btn-header-download {
    display: none;
  }

  .btn-mobile-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 40px;
  }

  .hero-pill {
    width: auto;
    max-width: 92%;
    font-size: 0.74rem;
    padding: 6px 12px;
    text-align: center;
    justify-content: center;
    margin: 0 auto;
    white-space: normal;
    line-height: 1.35;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
    text-wrap: balance;
    margin: 0 auto;
    text-align: center;
  }

  .hero-description {
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.6;
  }

  .store-buttons-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 8px auto 0 auto;
    gap: 12px;
  }

  .btn-store {
    width: 100%;
    justify-content: center;
    padding: 10px 18px;
    min-height: 52px;
  }

  .btn-qr-trigger {
    display: none;
  }

  .floating-chip {
    display: none;
  }

  .hero-trust-proof {
    justify-content: center;
    gap: 14px;
    font-size: 0.8rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .signs-grid {
    grid-template-columns: 1fr;
  }

  .steps-timeline {
    grid-template-columns: 1fr;
  }

  .quiz-card {
    padding: 24px 18px;
  }

  .quiz-question-text {
    font-size: 1.1rem;
  }

  .quiz-option-btn {
    padding: 14px 16px;
    font-size: 0.92rem;
  }

  .cta-banner-card {
    padding: 40px 20px;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .mobile-sticky-bar {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    padding: 8px 12px;
    gap: 8px;
  }

  .mobile-sticky-info {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
  }

  .sticky-name {
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sticky-sub {
    font-size: 0.65rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sticky-btn-group {
    flex-shrink: 0;
  }

  .btn-sticky-dl {
    padding: 7px 12px;
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  /* Add extra padding at bottom so sticky bar does not overlap footer */
  body {
    padding-bottom: 74px;
  }
}

/* --------------------------------------------------------------------------
   SEO Components: Featured Snippet Tables, Syllabus & Glossary
   -------------------------------------------------------------------------- */
.seo-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  margin: 32px 0;
  -webkit-overflow-scrolling: touch;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
  color: var(--text-main);
  min-width: 620px;
}

.seo-table thead {
  background: rgba(30, 41, 59, 0.95);
  border-bottom: 2px solid var(--border-light);
}

.seo-table th {
  padding: 16px 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #93c5fd;
  white-space: nowrap;
}

.seo-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
  line-height: 1.5;
}

.seo-table tbody tr:hover {
  background: rgba(30, 41, 59, 0.45);
}

.seo-table tbody tr:last-child td {
  border-bottom: none;
}

.score-badge-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-weight: 700;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.86rem;
}

.score-badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  font-weight: 700;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.86rem;
}

/* Syllabus Competency Grid */
.syllabus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.syllabus-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-fast);
}

.syllabus-item:hover {
  border-color: var(--primary-blue-light);
  transform: translateY(-2px);
  background: var(--bg-card-hover);
}

.syllabus-item-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.syllabus-item-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(37, 99, 235, 0.15);
  color: var(--primary-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  flex-shrink: 0;
}

.syllabus-item-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
}

.syllabus-item-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.syllabus-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.syllabus-tag {
  font-size: 0.74rem;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid var(--border-subtle);
}

/* Bilingual Driver's Glossary Grid */
.glossary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}

.glossary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--transition-fast);
}

.glossary-card:hover {
  border-color: var(--border-light);
}

.glossary-term-en {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.glossary-term-tag {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-gold-light);
}

.glossary-def {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Requirements & BLOWBAGETS Cards */
.checklist-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 36px;
}

.checklist-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.checklist-box h3 {
  font-size: 1.3rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checklist-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist-items-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #cbd5e1;
}

.checklist-items-list li svg {
  width: 18px;
  height: 18px;
  color: var(--success-green);
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .syllabus-grid {
    grid-template-columns: 1fr;
  }
  .glossary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .checklist-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .glossary-grid {
    grid-template-columns: 1fr;
  }
}

