/* ============================================================
   IIITprep — Shared Stylesheet
   ============================================================ */

/* 1. CSS Custom Properties */
:root {
  --bg-primary: #0A0A0A;
  --bg-card: #111111;
  --bg-elevated: #1A1A1A;
  --accent: #FFD700;
  --accent-dim: #B8960A;
  --accent-glow: rgba(255, 215, 0, 0.15);
  --accent-glow-strong: rgba(255, 215, 0, 0.25);
  --text-primary: #F5F5F5;
  --text-muted: #888888;
  --border: #2A2A2A;
  --border-hover: #3A3A3A;
  --danger: #FF4444;
  --danger-glow: rgba(255, 68, 68, 0.15);
  --success: #22C55E;
  --success-glow: rgba(34, 197, 94, 0.15);
  --warning: #F59E0B;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-accent: 0 8px 32px rgba(255, 215, 0, 0.2);
  --transition: 0.25s ease;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* 2. Reset + Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

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

a:hover {
  color: var(--accent-dim);
}

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

ul {
  list-style: none;
}

/* 3. Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

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

/* 4. Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* 5. Components */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #0A0A0A;
}

.btn-primary:hover {
  background: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
  color: #0A0A0A;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-ghost:hover {
  background: var(--accent-glow);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-ghost:active {
  transform: translateY(0);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-accent {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge-muted {
  background: var(--bg-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.badge-success {
  background: var(--success-glow);
  color: var(--success);
}

.badge-danger {
  background: var(--danger-glow);
  color: var(--danger);
}

.badge-warning {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

/* Card */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-4px);
}

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

/* Input Group */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.input-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
}

.input-field {
  width: 100%;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.input-field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.input-field.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-glow);
}

.input-field::placeholder {
  color: var(--text-muted);
}

.input-helper {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.input-helper.error {
  color: var(--danger);
}

/* Phone Input with Prefix */
.phone-input-wrapper {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.phone-input-wrapper:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.phone-input-wrapper.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-glow);
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  border-right: 1.5px solid var(--border);
  white-space: nowrap;
}

.phone-prefix-input {
  flex: 1;
  background: var(--bg-elevated);
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 16px;
  outline: none;
  width: 100%;
}

.phone-prefix-input::placeholder {
  color: var(--text-muted);
}

/* OTP Boxes */
.otp-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 8px 0;
}

.otp-box {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: monospace;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  caret-color: var(--accent);
}

.otp-box:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.otp-box.filled {
  border-color: var(--accent);
  color: var(--accent);
}

.otp-box.error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-glow);
}

.otp-container.shake {
  animation: shake 0.5s ease;
}

/* Progress Ring */
.progress-ring-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.progress-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) var(--progress, 0%), var(--bg-elevated) var(--progress, 0%));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.4s ease;
}

.progress-ring::after {
  content: '';
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-card);
}

.progress-ring-label {
  position: absolute;
  z-index: 1;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

/* Topic Row */
.topic-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
  margin: 0 -8px;
  transition: background var(--transition);
  border-radius: 6px;
}

.topic-row:last-child {
  border-bottom: none;
}

.topic-row:hover {
  background: var(--bg-elevated);
}

.topic-row-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.topic-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.topic-fraction {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.topic-fraction.full {
  color: var(--success);
}

.topic-subtasks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.subtask-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
}

.subtask-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.subtask-btn.done {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 600;
}

.subtask-icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.subtask-btn.done .subtask-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #0A0A0A;
}

/* Stat Card */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
}

.stat-card-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 8px;
}

.stat-card-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

/* ============================================================
   6. Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #0A0A0A;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.logo-text span {
  color: var(--accent);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   7. Hero
   ============================================================ */
.hero {
  padding: 160px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease both;
}

.hero h1 {
  margin-bottom: 20px;
  animation: fadeInUp 0.6s 0.1s ease both;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 1.15rem;
  max-width: 580px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s 0.3s ease both;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: fadeInUp 0.6s 0.4s ease both;
}

.avatars {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: -8px;
  color: #0A0A0A;
}

.avatar:first-child { margin-left: 0; }
.avatar:nth-child(1) { background: #FFD700; }
.avatar:nth-child(2) { background: #F59E0B; }
.avatar:nth-child(3) { background: #D97706; }
.avatar:nth-child(4) { background: #B45309; }
.avatar:nth-child(5) { background: #92400E; }

.social-proof-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.social-proof-text strong {
  color: var(--text-primary);
}

/* Exam Info Bar */
.exam-info-bar {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 56px 0 0;
  animation: fadeInUp 0.6s 0.5s ease both;
}

.exam-info-item {
  text-align: center;
  padding: 20px 40px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  position: relative;
}

.exam-info-item:first-child {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.exam-info-item:last-child {
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.exam-info-item + .exam-info-item {
  border-left: none;
}

.exam-info-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.exam-info-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-top: 2px;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  cursor: default;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

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

.feature-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============================================================
   9. How It Works
   ============================================================ */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.how-it-works-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 20px);
  right: calc(16.66% + 20px);
  height: 1px;
  border-top: 2px dashed var(--border);
}

.step {
  text-align: center;
  padding: 0 24px;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.step h3 {
  margin-bottom: 8px;
}

.step p {
  font-size: 0.9rem;
}

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

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

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #0A0A0A;
  margin-bottom: 16px;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.testimonial-quote {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.6;
}

.testimonial-quote::before {
  content: '"';
  color: var(--accent);
  font-size: 1.4rem;
  font-style: normal;
  line-height: 0;
  vertical-align: -6px;
  margin-right: 2px;
}

/* ============================================================
   11. CTA Banner
   ============================================================ */
.cta-banner {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  text-align: center;
  box-shadow: 0 0 48px var(--accent-glow);
}

.cta-banner h2 {
  margin-bottom: 12px;
}

.cta-banner p {
  max-width: 480px;
  margin: 0 auto 32px;
  font-size: 1rem;
}

/* ============================================================
   12. Footer
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

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

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   13. Login Page
   ============================================================ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
  z-index: 1;
}

.login-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}

.login-card h2 {
  font-size: 1.75rem;
  margin-bottom: 6px;
}

.login-card .subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.login-step {
  display: block;
}

.login-step.hidden {
  display: none;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 24px;
  transition: color var(--transition);
}

.back-btn:hover {
  color: var(--text-primary);
}

.mobile-display {
  color: var(--accent);
  font-weight: 600;
}

.resend-row {
  text-align: center;
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.resend-link {
  color: var(--accent);
  cursor: pointer;
  font-weight: 500;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  display: none;
}

.resend-link:hover {
  color: var(--accent-dim);
}

.success-state {
  text-align: center;
  padding: 20px 0;
  display: none;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--success-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--success);
  animation: pulse 0.5s ease;
}

.login-footer-text {
  text-align: center;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ============================================================
   14. Dashboard Layout
   ============================================================ */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 280px;
  height: 100vh;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 24px 0;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  z-index: 50;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-logo {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.sidebar-nav {
  flex: 1;
  padding: 0 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  text-decoration: none;
}

.nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav-item:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.nav-item.active {
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 600;
}

.sidebar-footer {
  padding: 12px 8px 0;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

/* Main Content */
.main-content {
  margin-left: 280px;
  flex: 1;
  padding: 32px 36px;
  max-width: calc(100vw - 240px);
}

.top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.top-bar-left h2 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.top-bar-left p {
  font-size: 0.875rem;
}

.countdown-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
}

.countdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease infinite;
}

.countdown-number {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 1rem;
}

/* Stats Row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

/* Section Cards */
.section-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

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

.section-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
}

.section-card-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.section-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  background: var(--bg-elevated);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-weight: 500;
}

.topic-list {
  margin-top: 4px;
}

/* ============================================================
   14a. Mock Test Cards
   ============================================================ */
.mock-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.mock-section-header h3 {
  font-size: 1.15rem;
}

.mock-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mock-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.mock-card.complete {
  border-color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.mock-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mock-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.mock-card-done-badge {
  display: none;
}

.mock-card.complete .mock-card-done-badge {
  display: inline-flex;
}

.mock-steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mock-step-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
  width: 100%;
  text-align: left;
}

.mock-step-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.mock-step-btn.done {
  border-color: var(--accent);
  background: var(--accent-glow);
  color: var(--accent);
  font-weight: 600;
}

.step-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.65rem;
  transition: all 0.2s ease;
}

.mock-step-btn.done .step-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #0A0A0A;
}

.mock-progress-bar {
  height: 3px;
  background: var(--bg-elevated);
  border-radius: 100px;
  margin-top: 14px;
  overflow: hidden;
}

.mock-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.35s ease;
}

@media (max-width: 1100px) {
  .mock-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mock-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Sidebar Daily Goals Widget
   ============================================================ */
.sidebar-daily {
  padding: 14px 12px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 8px 0;
}

.sidebar-daily-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sidebar-daily-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sidebar-daily-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
}

.sidebar-daily-bar {
  height: 3px;
  background: var(--bg-elevated);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}

.sidebar-daily-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.4s ease;
}

.sidebar-daily-input-row {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.sidebar-daily-input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.78rem;
  padding: 7px 10px;
  outline: none;
  min-width: 0;
  transition: border-color var(--transition);
}

.sidebar-daily-input:focus {
  border-color: var(--accent);
}

.sidebar-daily-input::placeholder { color: var(--text-muted); }

.sidebar-add-btn {
  background: var(--accent);
  color: #0A0A0A;
  border: none;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition);
  line-height: 1;
}

.sidebar-add-btn:hover { background: var(--accent-dim); }

.sidebar-task-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 200px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.sidebar-task {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 6px;
  border-radius: 6px;
  transition: background var(--transition);
}

.sidebar-task:hover { background: var(--bg-elevated); }

.sidebar-task-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.6rem;
  color: transparent;
  transition: all 0.2s ease;
}

.sidebar-task.done .sidebar-task-check {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.sidebar-task-text {
  flex: 1;
  font-size: 0.78rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition);
}

.sidebar-task.done .sidebar-task-text {
  text-decoration: line-through;
  color: var(--text-muted);
}

.sidebar-task-del {
  background: none;
  border: none;
  color: transparent;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0 2px;
  flex-shrink: 0;
  transition: color var(--transition);
}

.sidebar-task:hover .sidebar-task-del { color: var(--text-muted); }
.sidebar-task-del:hover { color: var(--danger) !important; }

.sidebar-daily-empty {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 10px 0;
}

/* ============================================================
   14b. Daily Goals
   ============================================================ */
.daily-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.daily-header-left h3 { font-size: 1.15rem; margin-bottom: 2px; }

.daily-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.daily-progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.daily-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--bg-elevated);
  border-radius: 100px;
  overflow: hidden;
}

.daily-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.4s ease;
}

.daily-progress-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 64px;
  text-align: right;
}

.daily-input-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.daily-input {
  flex: 1;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 14px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.daily-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.daily-input::placeholder { color: var(--text-muted); }

.daily-task-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.daily-task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), opacity var(--transition);
}

.daily-task.done {
  border-color: var(--success);
  background: rgba(34, 197, 94, 0.05);
}

.task-check-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  color: transparent;
  font-size: 0.7rem;
  font-weight: 700;
}

.daily-task.done .task-check-btn {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.task-check-btn:hover {
  border-color: var(--success);
}

.task-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: color var(--transition);
  word-break: break-word;
}

.daily-task.done .task-text {
  text-decoration: line-through;
  color: var(--text-muted);
}

.task-delete-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 1rem;
  line-height: 1;
  opacity: 0;
  transition: color var(--transition), opacity var(--transition);
  flex-shrink: 0;
}

.daily-task:hover .task-delete-btn { opacity: 1; }
.task-delete-btn:hover { color: var(--danger); }

.daily-empty {
  text-align: center;
  padding: 28px 0;
  color: var(--text-muted);
  font-size: 0.875rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
}

.daily-empty p { margin-top: 6px; }

/* ============================================================
   14c. Video Embed
   ============================================================ */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: block;
  text-decoration: none;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Thumbnail card (used when embedding is disabled) */
.video-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
  background: var(--bg-elevated);
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease;
  filter: brightness(0.75);
}

.video-thumb:hover img {
  transform: scale(1.04);
  filter: brightness(0.55);
}

.video-thumb-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.video-thumb:hover .play-btn {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(255,215,0,0.4);
}

.play-btn svg {
  width: 26px;
  height: 26px;
  color: #0A0A0A;
  margin-left: 4px; /* optical centre for triangle */
}

.video-thumb-cta {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.5);
  padding: 4px 12px;
  border-radius: 100px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.video-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
}

.video-card-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.video-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 14px;
  margin-bottom: 4px;
}

.video-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.video-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .video-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   14c. Video Modal
   ============================================================ */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.video-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.video-modal-box {
  position: relative;
  width: 100%;
  max-width: 860px;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.3s ease;
}

.video-modal-overlay.open .video-modal-box {
  transform: scale(1) translateY(0);
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

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

.video-modal-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}

.video-modal-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Inline embed (feedback video) */
.video-inline-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
}

.video-inline-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================================
   14e. Study Streak Widget
   ============================================================ */
.streak-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.streak-fire {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.streak-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.streak-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.streak-count.hot {
  color: var(--accent);
}

.streak-total {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ============================================================
   14f. Focus Zone
   ============================================================ */
.focus-zone-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

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

.focus-zone-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.focus-zone-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--danger);
  background: var(--danger-glow);
  border-radius: 100px;
  padding: 2px 8px;
}

.focus-zone-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.focus-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text-muted);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.focus-chip:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-glow);
}

.focus-chip-supr {
  border-color: rgba(255, 215, 0, 0.25);
  color: var(--accent);
  background: var(--accent-glow);
}

.focus-chip-reap {
  border-color: rgba(96, 165, 250, 0.25);
  color: #60A5FA;
  background: rgba(96, 165, 250, 0.08);
}

/* ============================================================
   14g. Mock Score Row
   ============================================================ */
.mock-score-row {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.mock-score-row.open {
  display: flex;
}

.mock-score-input {
  width: 72px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 5px 8px;
  outline: none;
  transition: border-color var(--transition);
  text-align: center;
}

.mock-score-input:focus {
  border-color: var(--accent);
}

.mock-score-sep {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.mock-score-save-btn {
  background: var(--accent);
  color: #0A0A0A;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background var(--transition);
}

.mock-score-save-btn:hover { background: var(--accent-dim); }

.mock-score-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  min-height: 22px;
}

.mock-score-display {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.mock-score-result {
  color: var(--text-primary);
}

.mock-score-result strong {
  color: var(--accent);
}

.mock-score-toggle-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  padding: 2px 4px;
  transition: color var(--transition);
  margin-left: auto;
}

.mock-score-toggle-btn:hover { color: var(--accent); }

/* ============================================================
   14h. Per-Topic Notes
   ============================================================ */
.topic-note-area {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.topic-note-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 0;
  transition: color var(--transition);
  align-self: flex-start;
}

.topic-note-toggle:hover { color: var(--accent); }

.topic-note-area.open .topic-note-toggle { color: var(--accent); }

.topic-note-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.topic-note-dot.visible {
  background: var(--accent);
}

.topic-note-textarea {
  display: none;
  width: 100%;
  background: var(--bg-elevated);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 8px 10px;
  outline: none;
  resize: vertical;
  min-height: 64px;
  transition: border-color var(--transition);
}

.topic-note-area.open .topic-note-textarea {
  display: block;
}

.topic-note-textarea:focus {
  border-color: var(--accent);
}

.topic-note-textarea::placeholder { color: var(--text-muted); }

/* ============================================================
   15. Keyframe Animations
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(6px); }
  45% { transform: translateX(-5px); }
  60% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
  90% { transform: translateX(3px); }
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 12px var(--accent-glow); }
  50% { box-shadow: 0 0 28px var(--accent-glow-strong); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   16. Responsive — 768px breakpoint
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

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

  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .how-it-works-grid::before {
    display: none;
  }

  .exam-info-bar {
    flex-direction: column;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .exam-info-item {
    border-radius: 0 !important;
    border-left: 1px solid var(--border) !important;
  }

  .exam-info-item:first-child {
    border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
  }

  .exam-info-item:last-child {
    border-radius: 0 0 var(--radius-md) var(--radius-md) !important;
    border-top: none !important;
  }

  .navbar-actions .btn-ghost {
    display: none;
  }

  .cta-banner {
    padding: 40px 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Dashboard mobile */
  .sidebar {
    display: none;
  }

  .main-content {
    margin-left: 0;
    max-width: 100vw;
    padding: 20px 16px;
  }

  .stats-row {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .section-cards {
    grid-template-columns: 1fr;
  }

  .section-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr 1fr !important;
  }

  .otp-box {
    width: 42px;
    height: 50px;
    font-size: 1.3rem;
  }

  .otp-container {
    gap: 7px;
  }
}

/* ============================================================
   17. Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
