/* ============================================================
   SGDriving.sg - Main Stylesheet
   Singapore Red Theme: #EF3340 | Navy: #1A1A2E | Gold: #FFD100
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Nunito:wght@400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --sg-red: #EF3340;
  --sg-red-dark: #C0202E;
  --sg-red-deeper: #9A0E1A;
  --sg-red-light: #FFF0F1;
  --sg-navy: #1A1A2E;
  --sg-navy-light: #2A2A4E;
  --sg-gold: #FFD100;
  --sg-gold-dark: #E6BC00;
  --sg-white: #FFFFFF;
  --sg-gray-light: #F8F9FA;
  --sg-gray: #6C757D;
  --sg-border: #F0D0D2;
  --sg-shadow: 0 4px 24px rgba(239,51,64,0.10);
  --sg-shadow-strong: 0 8px 40px rgba(239,51,64,0.18);
  --sg-radius: 14px;
  --sg-radius-sm: 8px;
  --sg-radius-lg: 24px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

/* --- Base Reset & Layout --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: #212529;
  background: var(--sg-white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* --- Navbar --- */
.sg-navbar {
  background: var(--sg-red) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.20);
  padding: 0.6rem 0;
  z-index: 1050;
}

.sg-brand-main {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--sg-gold) !important;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}

.sg-brand-driving {
  font-family: var(--font-heading);
  font-weight: 800;
  color: white !important;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}

.sg-brand-dot {
  font-family: var(--font-heading);
  font-weight: 600;
  color: rgba(255,255,255,0.7) !important;
  font-size: 1rem;
}

.sg-navbar .nav-link {
  color: rgba(255,255,255,0.90) !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.5rem 0.7rem !important;
  border-radius: var(--sg-radius-sm);
  transition: all 0.2s;
  letter-spacing: 0.2px;
}

.sg-navbar .nav-link:hover,
.sg-navbar .nav-link.active {
  color: white !important;
  background: rgba(255,255,255,0.18);
}

.sg-dropdown {
  border: none;
  border-radius: var(--sg-radius);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  padding: 0.75rem 0.5rem;
  min-width: 220px;
  animation: dropdownFade 0.2s ease;
}

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

.sg-dropdown .dropdown-item {
  border-radius: var(--sg-radius-sm);
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #333;
  transition: background 0.15s;
}

.sg-dropdown .dropdown-item:hover {
  background: var(--sg-red-light);
  color: var(--sg-red-dark);
}

.sg-dropdown .dropdown-header {
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem 0.2rem;
}

.sg-logo-icon { flex-shrink: 0; }

/* --- Hero Sections --- */
.sg-hero {
  background: linear-gradient(135deg, var(--sg-red-deeper) 0%, var(--sg-red) 60%, #FF5B6A 100%);
  color: white;
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.sg-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  pointer-events: none;
}

.sg-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: rgba(255,209,0,0.06);
  border-radius: 50%;
  pointer-events: none;
}

.sg-hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  line-height: 0;
}

.sg-hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  letter-spacing: 0.3px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--sg-gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.6; transform: scale(1.4); }
}

/* --- Image Placeholders --- */
.img-placeholder {
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  border-radius: var(--sg-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--sg-gray);
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.5rem;
  min-height: 220px;
  border: 2px dashed #ccc;
  position: relative;
  overflow: hidden;
}

.img-placeholder .ph-icon {
  font-size: 2.5rem;
  opacity: 0.4;
}

.img-placeholder .ph-label {
  font-size: 0.75rem;
  text-align: center;
  padding: 0 1rem;
  opacity: 0.7;
}

.hero-img-placeholder {
  background: rgba(255,255,255,0.10);
  border: 2px dashed rgba(255,255,255,0.35);
  border-radius: var(--sg-radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  min-height: 320px;
  gap: 1rem;
}

.hero-img-placeholder .ph-icon { font-size: 3.5rem; opacity: 0.5; }
.hero-img-placeholder .ph-label { font-size: 0.8rem; text-align: center; }

/* --- Stats Bar --- */
.sg-stats-bar {
  background: var(--sg-navy);
  padding: 1.2rem 0;
  color: white;
}

.stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--sg-gold);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* --- Section Styles --- */
.sg-section {
  padding: 70px 0;
}

.sg-section-light {
  background: var(--sg-gray-light);
  padding: 70px 0;
}

.sg-section-red {
  background: linear-gradient(135deg, var(--sg-red-deeper) 0%, var(--sg-red) 100%);
  padding: 70px 0;
  color: white;
}

.section-tag {
  display: inline-block;
  background: var(--sg-red-light);
  color: var(--sg-red);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.section-tag-white {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-lead {
  color: var(--sg-gray);
  font-size: 1rem;
  max-width: 580px;
}

/* --- Cards --- */
.sg-card {
  border: none;
  border-radius: var(--sg-radius);
  box-shadow: var(--sg-shadow);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.sg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sg-shadow-strong);
}

.sg-card .card-top-bar {
  height: 5px;
  background: linear-gradient(90deg, var(--sg-red), var(--sg-red-dark));
  border-radius: var(--sg-radius) var(--sg-radius) 0 0;
}

.sg-card-icon {
  width: 56px;
  height: 56px;
  background: var(--sg-red-light);
  color: var(--sg-red);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  flex-shrink: 0;
}

/* --- Test Cards (BTT / FTT selection) --- */
.test-card {
  border: 2px solid transparent;
  border-radius: var(--sg-radius-lg);
  padding: 2rem;
  background: white;
  box-shadow: var(--sg-shadow);
  transition: all 0.3s;
  text-align: center;
  height: 100%;
}

.test-card:hover {
  border-color: var(--sg-red);
  transform: translateY(-8px);
  box-shadow: var(--sg-shadow-strong);
}

.test-card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--sg-red-light), #fce4e6);
  color: var(--sg-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.2rem;
  transition: all 0.3s;
}

.test-card:hover .test-card-icon {
  background: linear-gradient(135deg, var(--sg-red), var(--sg-red-dark));
  color: white;
}

.test-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
}

/* --- Practice Test UI --- */
.quiz-container {
  max-width: 840px;
  margin: 0 auto;
}

.question-card {
  background: white;
  border-radius: var(--sg-radius-lg);
  padding: 2rem;
  box-shadow: var(--sg-shadow);
  border: 1px solid #f0e0e1;
}

.question-progress-bar {
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.question-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sg-red), var(--sg-gold));
  border-radius: 3px;
  transition: width 0.4s ease;
}

.question-number {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sg-red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.question-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.option-label {
  display: block;
  padding: 0.85rem 1.1rem;
  border: 2px solid #e9ecef;
  border-radius: var(--sg-radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 0.6rem;
  font-weight: 500;
  background: white;
  position: relative;
}

.option-label:hover {
  border-color: var(--sg-red);
  background: var(--sg-red-light);
}

.option-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
}

.option-label.selected {
  border-color: var(--sg-red);
  background: var(--sg-red-light);
}

.option-label.correct {
  border-color: #28a745;
  background: #d4edda;
  color: #155724;
}

.option-label.incorrect {
  border-color: #dc3545;
  background: #f8d7da;
  color: #721c24;
}

.option-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #f0f0f0;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  margin-right: 0.7rem;
  flex-shrink: 0;
  color: #555;
}

.option-label.correct .option-letter  { background: #28a745; color: white; }
.option-label.incorrect .option-letter { background: #dc3545; color: white; }

.feedback-box {
  border-radius: var(--sg-radius-sm);
  padding: 0.85rem 1.1rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}

.feedback-box.show { display: block; }
.feedback-correct { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.feedback-incorrect { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }

/* Timer Badge */
.timer-badge {
  background: var(--sg-navy);
  color: white;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 90px;
  justify-content: center;
}

.timer-badge.warning { background: #f39c12; }
.timer-badge.danger  { background: var(--sg-red); animation: timerPulse 0.5s infinite; }

@keyframes timerPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

/* Metrics Panel */
.metrics-panel {
  background: white;
  border-radius: var(--sg-radius);
  padding: 1.5rem;
  box-shadow: var(--sg-shadow);
  border: 1px solid #f0e0e1;
}

.metric-box {
  text-align: center;
  padding: 0.75rem 0.5rem;
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.1;
}

.metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sg-gray);
  font-weight: 600;
}

.metric-correct  { color: #28a745; }
.metric-incorrect { color: var(--sg-red); }
.metric-score    { color: var(--sg-navy); }
.metric-result.pass { color: #28a745; }
.metric-result.fail { color: var(--sg-red); }

/* Result Banner */
.result-banner {
  padding: 2rem;
  border-radius: var(--sg-radius-lg);
  text-align: center;
  margin-top: 1.5rem;
}

.result-banner.pass {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border: 2px solid #28a745;
}

.result-banner.fail {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  border: 2px solid var(--sg-red);
}

/* --- Step Process Cards --- */
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--sg-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(239,51,64,0.35);
}

/* --- Road Signs --- */
.road-sign-card {
  border: 2px solid #eee;
  border-radius: var(--sg-radius);
  padding: 1rem;
  text-align: center;
  transition: all 0.25s;
  background: white;
  cursor: pointer;
}

.road-sign-card:hover {
  border-color: var(--sg-red);
  box-shadow: var(--sg-shadow);
  transform: translateY(-3px);
}

.road-sign-shape {
  width: 80px;
  height: 80px;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  text-align: center;
  line-height: 1.2;
}

/* Octagon (Stop) */
.sign-octagon {
  background: #EF3340;
  color: white;
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  font-size: 0.7rem;
}

/* Triangle (Warning) */
.sign-triangle {
  width: 0;
  height: 0;
  border-left: 42px solid transparent;
  border-right: 42px solid transparent;
  border-bottom: 75px solid #FFCD00;
  position: relative;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.sign-triangle span {
  position: absolute;
  bottom: -65px;
  color: #333;
  font-size: 0.7rem;
  font-weight: 800;
  width: 70px;
  text-align: center;
}

/* Circle (Regulatory) */
.sign-circle {
  background: white;
  border: 8px solid var(--sg-red);
  border-radius: 50%;
  color: var(--sg-red);
  font-weight: 800;
  font-size: 0.8rem;
}

/* Blue Circle (Mandatory) */
.sign-circle-blue {
  background: #1565C0;
  border-radius: 50%;
  color: white;
  font-weight: 800;
  font-size: 0.75rem;
}

/* Rectangle (Guide) */
.sign-rect-green {
  background: #2E7D32;
  color: white;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.65rem;
  padding: 0.4rem;
  width: 80px;
}

/* --- CTA Banner --- */
.sg-cta-banner {
  background: linear-gradient(135deg, var(--sg-navy) 0%, var(--sg-navy-light) 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sg-cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(239,51,64,0.08);
  border-radius: 50%;
}

/* --- Testimonials --- */
.testimonial-card {
  background: white;
  border-radius: var(--sg-radius);
  padding: 1.8rem;
  box-shadow: var(--sg-shadow);
  height: 100%;
  position: relative;
  border-top: 4px solid var(--sg-red);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sg-red-light), #fce4e6);
  color: var(--sg-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.stars { color: var(--sg-gold); font-size: 0.9rem; }

/* --- Info Boxes --- */
.info-box {
  background: var(--sg-red-light);
  border-left: 4px solid var(--sg-red);
  border-radius: 0 var(--sg-radius-sm) var(--sg-radius-sm) 0;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.info-box-success {
  background: #d4edda;
  border-left: 4px solid #28a745;
  border-radius: 0 var(--sg-radius-sm) var(--sg-radius-sm) 0;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

.info-box-warning {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 0 var(--sg-radius-sm) var(--sg-radius-sm) 0;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}

/* --- Timeline (License Steps) --- */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--sg-red), var(--sg-red-light));
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.15rem;
  width: 2.2rem;
  height: 2.2rem;
  background: white;
  border: 3px solid var(--sg-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--sg-red);
  box-shadow: 0 0 0 4px var(--sg-red-light);
}

/* --- Accordion FAQ --- */
.sg-accordion .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--sg-navy);
  background: white;
  border-radius: var(--sg-radius-sm) !important;
  box-shadow: none;
}

.sg-accordion .accordion-button:not(.collapsed) {
  color: var(--sg-red);
  background: var(--sg-red-light);
  box-shadow: none;
}

.sg-accordion .accordion-button::after {
  filter: none;
}

.sg-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(28%) sepia(90%) saturate(600%) hue-rotate(330deg);
}

.sg-accordion .accordion-item {
  border: 1px solid #f0e0e1;
  border-radius: var(--sg-radius-sm) !important;
  margin-bottom: 0.6rem;
  overflow: hidden;
}

/* --- Driving Centre Cards --- */
.centre-card {
  border-radius: var(--sg-radius);
  border: 2px solid #f0e0e1;
  padding: 1.5rem;
  background: white;
  transition: all 0.3s;
  height: 100%;
}

.centre-card:hover {
  border-color: var(--sg-red);
  box-shadow: var(--sg-shadow);
}

.centre-logo {
  width: 60px;
  height: 60px;
  background: var(--sg-red);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* --- Breadcrumb --- */
.sg-breadcrumb {
  background: var(--sg-gray-light);
  padding: 0.75rem 0;
  border-bottom: 1px solid #e9ecef;
}

.sg-breadcrumb .breadcrumb {
  margin: 0;
  font-size: 0.82rem;
}

.sg-breadcrumb .breadcrumb-item a {
  color: var(--sg-red);
  text-decoration: none;
  font-weight: 600;
}

.sg-breadcrumb .breadcrumb-item.active {
  color: var(--sg-gray);
}

/* --- Page Hero (Sub-pages) --- */
.sg-page-hero {
  background: linear-gradient(135deg, var(--sg-red-deeper) 0%, var(--sg-red) 100%);
  color: white;
  padding: 50px 0 60px;
  position: relative;
  overflow: hidden;
}

.sg-page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
}

/* --- Footer --- */
.sg-footer {
  background: var(--sg-navy);
  color: white;
  margin-top: auto;
}

.sg-footer-top {
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sg-footer-stats {
  padding: 25px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.2);
}

.sg-footer-bottom {
  padding: 18px 0;
}

.footer-heading {
  color: var(--sg-gold);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0;
  transition: color 0.2s;
}

.footer-links li a:hover {
  color: white;
}

.footer-links li a i {
  font-size: 0.65rem;
  color: var(--sg-red);
}

.footer-social {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social:hover { color: white; }

.footer-stat-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sg-gold);
}

.footer-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* --- Buttons --- */
.btn-sg-primary {
  background: var(--sg-red);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.65rem 1.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(239,51,64,0.3);
}

.btn-sg-primary:hover {
  background: var(--sg-red-dark);
  color: white;
  box-shadow: 0 6px 24px rgba(239,51,64,0.45);
  transform: translateY(-2px);
}

.btn-sg-outline {
  background: transparent;
  color: var(--sg-red);
  border: 2px solid var(--sg-red);
  border-radius: 50px;
  padding: 0.6rem 1.7rem;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  transition: all 0.25s;
}

.btn-sg-outline:hover {
  background: var(--sg-red);
  color: white;
}

.btn-sg-white {
  background: white;
  color: var(--sg-red);
  border: none;
  border-radius: 50px;
  padding: 0.65rem 1.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-sg-white:hover {
  background: var(--sg-gold);
  color: var(--sg-navy);
  transform: translateY(-2px);
}

.btn-sg-gold {
  background: var(--sg-gold);
  color: var(--sg-navy);
  border: none;
  border-radius: 50px;
  padding: 0.65rem 1.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(255,209,0,0.3);
}

.btn-sg-gold:hover {
  background: var(--sg-gold-dark);
  color: var(--sg-navy);
  transform: translateY(-2px);
}

/* --- Utility --- */
.text-sg-red   { color: var(--sg-red) !important; }
.text-sg-navy  { color: var(--sg-navy) !important; }
.text-sg-gold  { color: var(--sg-gold) !important; }
.bg-sg-red     { background-color: var(--sg-red) !important; }
.bg-sg-navy    { background-color: var(--sg-navy) !important; }
.bg-sg-red-light { background-color: var(--sg-red-light) !important; }

.divider-red {
  border: none;
  height: 3px;
  background: linear-gradient(90deg, var(--sg-red), transparent);
  border-radius: 2px;
  margin: 1.5rem 0;
  width: 60px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--sg-red-light);
  color: var(--sg-red);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin: 0.2rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .sg-hero { padding: 50px 0 70px; }
  .section-title { font-size: 1.6rem; }
  .sg-section, .sg-section-light, .sg-section-red { padding: 50px 0; }
  .stat-number { font-size: 1.4rem; }
  .question-card { padding: 1.25rem; }
  .hero-img-placeholder { min-height: 200px; }
}

@media (max-width: 576px) {
  .sg-hero { padding: 40px 0 60px; }
  .section-title { font-size: 1.4rem; }
  .test-card { padding: 1.5rem 1rem; }
  .timeline { padding-left: 2rem; }
}
