/* ═══════════════════════════════════════════════════════
   BIOLOGYWAY Quiz — Stylesheet
   Upload to: wp-content/themes/astra/biologyway-quiz/quiz-style.css
   Loaded once via functions.php — cached by browser
   ═══════════════════════════════════════════════════════ */

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

:root {
  --green:       #1B5E20;
  --green-mid:   #2E7D32;
  --green-light: #43A047;
  --green-bg:    #E8F5E9;
  --green-pale:  #F1F8E9;
  --gold:        #E65100;
  --gold-light:  #FFF3E0;
  --red:         #C62828;
  --red-light:   #FFEBEE;
  --blue:        #1565C0;
  --blue-light:  #E3F2FD;
  --gray-900:    #1A1A1A;
  --gray-700:    #424242;
  --gray-500:    #757575;
  --gray-400:    #9E9E9E;
  --gray-200:    #EEEEEE;
  --gray-100:    #F5F5F5;
  --white:       #FFFFFF;
  --radius:      10px;
  --shadow:      0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 24px rgba(0,0,0,0.12);
  --font:        'IBM Plex Sans', sans-serif;
  --mono:        'IBM Plex Mono', monospace;
}

body {
  font-family: var(--font);
  background: #F0F4F0;
  color: var(--gray-900);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── START SCREEN ──────────────────────────────────── */
#start-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background: linear-gradient(135deg, #1B5E20 0%, #2E7D32 50%, #1B5E20 100%);
}

.start-card {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 560px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  text-align: center;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-bg);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.start-card h1 {
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
  margin-bottom: 8px;
}

.chapter-name {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.start-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 36px;
}

.stat-item {
  background: var(--gray-100);
  border-radius: 12px;
  padding: 16px 8px;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
  font-family: var(--mono);
}

.stat-label {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.start-note {
  background: var(--gold-light);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--gold);
  text-align: left;
  margin-bottom: 28px;
  font-weight: 500;
}

.btn-start {
  width: 100%;
  padding: 16px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.btn-start::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}

.btn-start:hover  { background: var(--green-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(27,94,32,0.4); }
.btn-start:active { transform: translateY(0); }

/* ── QUIZ SCREEN ───────────────────────────────────── */
#quiz-screen { display: none; min-height: 100vh; }

/* Top Bar */
.quiz-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: var(--white);
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.topbar-brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.95;
}

.topbar-chapter {
  font-size: 12px;
  opacity: 0.7;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timer-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 100px;
}

.timer-icon { font-size: 16px; }

#timer-display {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  min-width: 48px;
  text-align: center;
}

#timer-display.warning { color: #FFCC02; }
#timer-display.danger  { color: #FF5252; animation: pulse 1s infinite; }

@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.5; } }

/* Inline Nav Bar — replaces progress bar */
.inline-nav-bar {
  background: var(--white);
  padding: 10px 16px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}

.inline-nav-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}

/* Individual question button */
.inq-btn {
  width: 36px;
  min-width: 36px;
  height: 42px;
  border-radius: 8px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-700);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all 0.15s;
  padding: 0;
  line-height: 1;
}

/* Status dot below number */
.inq-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: transparent;
  transition: background 0.15s;
}

/* Answered — green */
.inq-btn.inq-answered {
  background: var(--green-bg);
  border-color: var(--green);
  color: var(--green);
}
.inq-btn.inq-answered .inq-dot { background: var(--green); }

/* Not attempted — red tint */
.inq-btn.inq-unanswered {
  background: #FFF0F0;
  border-color: #FFCDD2;
  color: var(--red);
}
.inq-btn.inq-unanswered .inq-dot { background: var(--red); }

/* Current — blue */
.inq-btn.inq-current {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.25);
  transform: scale(1.08);
}
.inq-btn.inq-current .inq-dot { background: rgba(255,255,255,0.6); }

/* Marked for review — gold */
.inq-btn.inq-marked {
  background: var(--gold-light);
  border-color: var(--gold);
  color: var(--gold);
}
.inq-btn.inq-marked .inq-dot { background: var(--gold); }

.inq-btn:not(.inq-current):hover { transform: scale(1.12); z-index: 1; position: relative; }

/* Overflow more button */
.inline-nav-more {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  height: 42px;
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  flex-shrink: 0;
}
.inline-nav-more:hover {
  background: var(--green-bg);
  color: var(--green);
  border-color: var(--green);
}

/* Main Quiz Layout */
.quiz-body {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 0;
  min-height: calc(100vh - 120px);
}

/* Question Panel */
.question-panel {
  padding: 28px 28px 100px;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
}

.question-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.q-number-badge {
  background: var(--green);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  font-family: var(--mono);
}

.q-topic-badge {
  background: var(--green-bg);
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.3px;
}

.q-marks {
  margin-left: auto;
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
}

.question-text {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.7;
  color: var(--gray-900);
  margin-bottom: 28px;
  font-weight: 500;
}

/* Options */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.18s;
  background: var(--white);
  position: relative;
}

.option-item:hover   { border-color: var(--green-light); background: var(--green-pale); transform: translateX(2px); }
.option-item.selected{ border-color: var(--green); background: var(--green-bg); }
.option-item.correct { border-color: #2E7D32; background: #E8F5E9; pointer-events: none; }
.option-item.wrong   { border-color: var(--red); background: var(--red-light); pointer-events: none; }
.option-item.disabled{ pointer-events: none; opacity: 0.7; }

.option-letter {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-700);
  font-family: var(--mono);
  transition: all 0.18s;
}

.option-item.selected .option-letter { background: var(--green);     color: var(--white); }
.option-item.correct  .option-letter { background: var(--green-mid); color: var(--white); }
.option-item.wrong    .option-letter { background: var(--red);       color: var(--white); }

.option-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-900);
  padding-top: 4px;
}

/* Bottom Actions */
.question-actions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 240px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 50;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.06);
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-prev   { background: var(--gray-100);  color: var(--gray-700); border-color: var(--gray-200); }
.btn-prev:hover { background: var(--gray-200); }

.btn-mark   { background: var(--gold-light); color: var(--gold);     border-color: var(--gold); }
.btn-mark:hover { background: var(--gold); color: var(--white); }
.btn-mark.marked{ background: var(--gold); color: var(--white); }

.btn-clear  { background: var(--gray-100);  color: var(--gray-500); border-color: var(--gray-200); }
.btn-clear:hover{ background: var(--red-light); color: var(--red); border-color: var(--red); }

.btn-next   { background: var(--green); color: var(--white); margin-left: auto; }
.btn-next:hover { background: var(--green-mid); }

.btn-submit { background: var(--blue);  color: var(--white); margin-left: auto; }
.btn-submit:hover { background: #0D47A1; }

/* Nav Panel */
.nav-panel {
  background: var(--gray-100);
  padding: 20px 16px 100px;
  overflow-y: auto;
}

.nav-panel-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}

.nav-legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--gray-500);
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.legend-dot.answered  { background: var(--green); }
.legend-dot.marked    { background: var(--gold); }
.legend-dot.current   { background: var(--blue); }
.legend-dot.unanswered{ background: var(--gray-200); border: 1px solid var(--gray-400); }

.nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.nav-btn {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  background: var(--white);
  color: var(--gray-700);
  transition: all 0.15s;
}

.nav-btn:hover    { transform: scale(1.1); z-index: 1; position: relative; }
.nav-btn.answered { background: var(--green); color: var(--white); border-color: var(--green); }
.nav-btn.marked   { background: var(--gold);  color: var(--white); border-color: var(--gold); }
.nav-btn.current  { background: var(--blue);  color: var(--white); border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,0.25); }
.nav-btn.wrong-nav{ background: var(--red);   color: var(--white); border-color: var(--red); }

.nav-summary {
  margin-top: 20px;
  padding: 14px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 4px 0;
}

.summary-row:not(:last-child) { border-bottom: 1px solid var(--gray-100); margin-bottom: 4px; }

.summary-label { color: var(--gray-500); }
.summary-value { font-weight: 700; font-family: var(--mono); }
.sv-answered   { color: var(--green); }
.sv-marked     { color: var(--gold); }
.sv-unanswered { color: var(--gray-500); }

/* ── RESULT SCREEN ─────────────────────────────────── */
#result-screen {
  display: none;
  min-height: 100vh;
  background: #F0F4F0;
}

.result-header {
  background: var(--green);
  padding: 40px 20px 60px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.result-header::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
}

.result-brand {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 16px;
  font-weight: 600;
}

.result-chapter {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  margin-bottom: 8px;
}

.result-subtitle {
  font-size: 14px;
  opacity: 0.75;
  margin-bottom: 40px;
}

.score-circle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.score-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 4px solid rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.score-number {
  font-size: 42px;
  font-weight: 700;
  font-family: var(--mono);
  line-height: 1;
}

.score-total {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 4px;
}

.score-percent {
  font-size: 15px;
  opacity: 0.9;
  font-weight: 600;
  margin-top: 12px;
}

/* Result Stats */
.result-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 600px;
  margin: -40px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 10;
}

.result-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  box-shadow: var(--shadow);
}

.rsc-value {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--mono);
}

.rsc-value.correct { color: var(--green); }
.rsc-value.wrong   { color: var(--red); }
.rsc-value.skipped { color: var(--gray-500); }

.rsc-label {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Question Review */
.result-body {
  max-width: 760px;
  margin: 32px auto 0;
  padding: 0 20px 40px;
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.review-item-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: background 0.15s;
}

.review-item-header:hover { background: var(--gray-100); }

.review-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rsd-correct { background: var(--green); }
.rsd-wrong   { background: var(--red); }
.rsd-skipped { background: var(--gray-400); }

.review-q-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  font-family: var(--mono);
  min-width: 32px;
}

.review-q-text {
  font-size: 14px;
  color: var(--gray-900);
  flex: 1;
  line-height: 1.5;
}

.review-toggle {
  font-size: 11px;
  color: var(--gray-400);
  margin-left: auto;
  transition: transform 0.2s;
}

.review-item.open .review-toggle    { transform: rotate(180deg); }
.review-item-body                   { display: none; padding: 16px 18px; border-top: 1px solid var(--gray-100); background: var(--gray-100); }
.review-item.open .review-item-body { display: block; }

.review-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.review-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.review-option.is-correct { background: var(--green-bg);  border-color: var(--green-light); }
.review-option.is-wrong   { background: var(--red-light); border-color: var(--red); }

.review-opt-letter {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--mono);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-200);
  color: var(--gray-700);
  flex-shrink: 0;
}

.review-option.is-correct .review-opt-letter { background: var(--green); color: var(--white); }
.review-option.is-wrong   .review-opt-letter { background: var(--red);   color: var(--white); }

/* Locked Wall */
.locked-wall {
  background: linear-gradient(135deg, var(--green) 0%, #1B5E20 100%);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  color: var(--white);
  margin: 8px 0 0;
  position: relative;
  overflow: hidden;
}

.locked-wall::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.lock-icon { font-size: 36px; margin-bottom: 12px; }

.locked-wall h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; position: relative; }
.locked-wall p  { font-size: 14px; opacity: 0.85; line-height: 1.6; margin-bottom: 24px; position: relative; }

.locked-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
  position: relative;
  text-align: left;
}

.locked-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.locked-feature::before { content: '🔒'; font-size: 14px; }

.btn-classplus {
  display: inline-block;
  background: var(--white);
  color: var(--green);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-classplus:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

.classplus-sub { font-size: 12px; opacity: 0.7; margin-top: 12px; position: relative; }

/* Retry */
.retry-section { text-align: center; padding: 32px 0; }

.btn-retry {
  background: var(--white);
  color: var(--green);
  border: 2px solid var(--green);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  margin-right: 12px;
}

.btn-retry:hover { background: var(--green); color: var(--white); }

/* ── Mobile ────────────────────────────────────────── */
@media (max-width: 768px) {
  .quiz-body {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
  }

  .question-panel { padding: 20px 16px 120px; border-right: none; }

  .question-actions {
    right: 0;
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .btn { padding: 9px 14px; font-size: 13px; }
  .btn-next, .btn-submit { margin-left: 0; width: 100%; justify-content: center; }

  .nav-panel {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    overflow-y: auto;
    padding-top: 60px;
  }

  .nav-panel.open { display: block; }

  .nav-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--white);
    color: var(--green);
    border: 2px solid var(--green);
    padding: 9px 14px;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
  }

  .nav-close-btn {
    position: fixed;
    top: 12px;
    right: 16px;
    background: var(--green);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    z-index: 210;
  }

  .result-stats    { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .locked-features { grid-template-columns: 1fr; }
  .start-stats     { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 769px) {
  .nav-toggle-btn, .nav-close-btn { display: none; }
}

/* ── Transitions ───────────────────────────────────── */
.fade-in  { animation: fadeIn  0.3s  ease; }
.slide-in { animation: slideIn 0.25s ease; }

@keyframes fadeIn  { from { opacity:0; transform: translateY(8px);  } to { opacity:1; transform: translateY(0); } }
@keyframes slideIn { from { opacity:0; transform: translateX(16px); } to { opacity:1; transform: translateX(0); } }