:root {
    --bg: #0b0f1a; /* single solid page background */
    --bg-2: #101625;
    --surface: rgba(255, 255, 255, 0.04);
    --glass: rgba(255, 255, 255, 0.07);
    --stroke: rgba(255, 255, 255, 0.12);
    --text: #eef2fb;
    --muted: #aeb9d2;
  
    /* Yellow–orange brand */
    --brand: #ff8a00;
    --brand-2: #ffd166;
    --accent: #ff6b00;
    --danger: #ff5a5a;
  
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    --radius: 16px;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html,
  body {
    height: 100%;
    background: var(--bg); /* single clean background */
    color: var(--text);
    font-family: Manrope, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
      Cantarell, Noto Sans, Helvetica, Arial, sans-serif;
    line-height: 1.65;
  }

  /* Background effects: layered glow + animated grain */
  .bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
  }
  .bg-effects::before,
  .bg-effects::after {
    content: "";
    position: absolute;
    inset: 0;
    will-change: transform, opacity, filter;
    mix-blend-mode: screen;
    opacity: 0.9;
    pointer-events: none;
  }
  /* Warm drifting glow */
  .bg-effects::before {
    background: radial-gradient(600px 400px at 10% 20%, rgba(255,138,0,0.12), transparent 25%),
                radial-gradient(500px 300px at 90% 80%, rgba(255,209,102,0.08), transparent 30%);
    filter: blur(60px);
    transform: translate3d(-6%, -4%, 0);
    animation: drift 12s ease-in-out infinite alternate;
  }
  /* Subtle grain / noise layer */
  .bg-effects::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><filter id="n"><feTurbulence baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/><feComponentTransfer><feFuncA type="table" tableValues="0 0.06"/></feComponentTransfer></filter><rect width="100%" height="100%" filter="url(%23n)" fill="black"/></svg>');
    opacity: 0.06;
    mix-blend-mode: overlay;
    animation: grain 3s steps(4) infinite;
  }

  @keyframes drift {
    0% { transform: translate3d(-8%, -6%, 0) scale(1); }
    100% { transform: translate3d(8%, 6%, 0) scale(1.05); }
  }
  @keyframes grain {
    0% { transform: translateZ(0); }
    100% { transform: translate3d(6px,4px,0); }
  }

  @media (prefers-reduced-motion: reduce) {
    .bg-effects::before,
    .bg-effects::after {
      animation: none !important;
      transition: none !important;
    }
    .bg-effects::before { filter: blur(48px); }
  }
  
  img,
  video,
  iframe {
    max-width: 100%;
    display: block;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  .container {
    width: min(1120px, 92vw);
    margin-inline: auto;
  }
  
  .section {
    position: relative;
    padding: clamp(64px, 8vw, 96px) 0;
    isolation: isolate;
  }
  
  /* Brand gradient text */
  .gradient-text {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  
  /* Header */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(9, 13, 22, 0.86);
    border-bottom: 1px solid var(--stroke);
  }
  
  .nav {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
  }
  
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
  }
  
  .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #0b0f1a;
    font-weight: 900;
  }

  .brand-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
  }
  
  .primary-nav {
    display: none;
    gap: 24px;
  }
  
  .primary-nav a {
    color: var(--muted);
    transition: color 0.2s ease;
  }
  
  .primary-nav a:hover {
    color: var(--text);
  }
  
  /* Buttons with improved typography */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
    border-radius: 999px;
    padding: 12px 20px;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 1px solid var(--stroke);
    transition: transform 0.15s ease, background 0.2s ease, border 0.2s ease,
      box-shadow 0.2s ease;
    will-change: transform;
  }
  
  .btn-primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #231a0f;
    border: none;
    box-shadow: 0 10px 25px rgba(255, 138, 0, 0.28),
      inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
  }
  
  .btn-ghost {
    background: transparent;
    color: var(--text);
  }
  
  .menu-toggle {
    display: inline-grid;
    gap: 4px;
    border: 0;
    background: transparent;
    width: 40px;
    height: 40px;
    align-content: center;
  }
  .menu-toggle span {
    height: 2px;
    background: var(--text);
    border-radius: 2px;
  }
  
  /* Mobile nav */
  .mobile-nav {
    display: grid;
    gap: 12px;
    padding: 12px 4vw 16px;
    background: #0b0f1a;
    border-bottom: 1px solid var(--stroke);
  }
  
  @media (min-width: 980px) {
    .primary-nav {
      display: flex;
    }
    .menu-toggle {
      display: none;
    }
    .mobile-nav {
      display: none !important;
    }
  }
  
  /* HERO */
  .hero {
    padding-top: clamp(72px, 10vw, 120px);
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(28px, 4vw, 60px);
    align-items: center;
  }
  
  .eyebrow {
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--brand-2);
  }
  
  .hero h1 {
    font-size: clamp(36px, 5.5vw, 64px);
    line-height: 1.05;
    margin: 8px 0 14px;
  }
  
  .lead {
    color: var(--muted);
    max-width: 55ch;
    margin-bottom: 18px;
  }
  
  .hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
  }
  
  /* Redesigned metrics */
  .metrics {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .metric {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(16, 22, 37, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    flex: 0 0 auto;
    transition: all 0.3s ease;
  }
  .metric:hover {
    background: rgba(16, 22, 37, 0.8);
    border-color: rgba(255, 138, 0, 0.3);
    transform: translateY(-2px);
  }
  .metric-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 138, 0, 0.15), rgba(255, 209, 102, 0.1));
    border: 1px solid rgba(255, 138, 0, 0.2);
  }
  /* SVG inside metric icon: use stroke for crisp, theme-aware icons */
  .metric-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    stroke: #ffd166;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
  /* Tweak metric text layout for better vertical rhythm */
  .metric-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.3;
  }
  /* Ensure bold lines wrap nicely and don't overflow */
  .metric-text b {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
    letter-spacing: -0.01em;
  }
  .metric-text small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
  }

  /* Make metrics stack on narrow screens */
  @media (max-width: 520px) {
    .metrics {
      flex-direction: column;
      gap: 10px;
    }
    .metric {
      padding: 14px 16px;
      gap: 12px;
    }
    .metric-icon {
      width: 44px;
      height: 44px;
      border-radius: 10px;
    }
    .metric-icon svg {
      width: 22px;
      height: 22px;
    }
  }
  
  /* Visual */
  .hero-visual .portrait-wrap {
    position: relative;
    border-radius: 24px;
    background: radial-gradient(
        600px 300px at 60% 10%,
        rgba(255, 138, 0, 0.25),
        transparent 60%
      ),
      radial-gradient(
        400px 200px at 40% 90%,
        rgba(255, 209, 102, 0.25),
        transparent 60%
      );
    overflow: hidden;
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
  }
  .portrait {
    border-radius: 24px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.05);
  }
  .ring {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    animation: pulse 6s ease-in-out infinite;
    pointer-events: none;
  }
  .ring-2 {
    inset: 12px;
    animation-delay: 1s;
  }
  .ring-3 {
    inset: 24px;
    animation-delay: 2s;
  }
.admin-wrap { padding: 40px 0; }
.admin-header { margin-bottom: 18px; }
.admin-header h1 { font-size: 28px; margin: 0; }
.admin-header .muted { color: var(--muted); margin-top: 6px; }

.card { background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)); border: 1px solid rgba(255,255,255,0.04); padding: 18px; border-radius: 12px; margin-bottom: 16px; }

.auth-card { max-width: 420px; }
.panel { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.panel-head { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom: 12px; }
.panel-controls { display:flex; gap:8px; align-items:center; }

.admin-cards { display:grid; grid-template-columns: 1fr; gap:12px; }
.batch-card { padding: 14px; border-radius: 10px; background: rgba(12,16,28,0.6); border: 1px solid rgba(255,255,255,0.04); }
.batch-head h3 { margin: 0 0 6px; }
.meta { display:flex; gap:8px; align-items:center; margin-top:8px; }
.pill { background: rgba(255,255,255,0.03); padding:6px 8px; border-radius: 999px; font-size:13px; }

.course-form { position: sticky; top: 20px; }
.admin-form { display:flex; flex-direction:column; gap:10px; }
.form-row { display:flex; flex-direction:column; gap:6px; }
.form-row input, .form-row textarea, .form-row select { padding:10px 12px; border-radius:8px; border:1px solid rgba(255,255,255,0.04); background: rgba(0,0,0,0.2); color: var(--text); }
.form-actions { display:flex; gap:10px; justify-content:flex-end; margin-top:8px; }

@media (max-width: 900px) {
  .panel { grid-template-columns: 1fr; }
  .course-form { position: static; }
}

/* ==================== ADMIN PANEL REDESIGN ==================== */

.admin {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
  padding: 40px 20px;
}

.admin-wrap {
  max-width: 1600px;
  margin: 0 auto;
}

/* Header Section */
.admin-header {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.admin-header > div:first-child {
  flex: 1;
}

.admin-header h1 {
  font-size: clamp(32px, 5vw, 48px);
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--text);
}

.admin-header .muted {
  color: var(--muted);
  font-size: 15px;
  margin: 0;
  font-weight: 400;
}

.admin-header .panel-controls {
  display: flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}

/* Authentication Card */
.card.auth-card {
  max-width: 520px;
  margin: 60px auto;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  padding: 48px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.auth-card h2 {
  font-size: 26px;
  margin: 0 0 28px;
  color: var(--text);
  font-weight: 600;
}

/* Main Panel Section */
.card.panel {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  margin-bottom: 0;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 0;
  border-bottom: none;
}

.panel-head h2 {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.panel-head > div:first-child {
  flex: 1;
}

.panel-head .muted {
  color: var(--muted);
  margin-top: 4px;
  font-size: 14px;
}

.panel-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  white-space: nowrap;
}

/* Admin Course Cards Grid */
.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.admin-cards.list {
  display: grid;
  grid-template-columns: 1fr; /* column style */
  gap: 14px;
}

.batch-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.07);
  padding: 16px 18px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.batch-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand), transparent);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.batch-card:hover {
  border-color: rgba(255,138,0,0.3);
  background: linear-gradient(135deg, rgba(255,138,0,0.06), rgba(255,138,0,0.02));
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(255,138,0,0.15);
}

.batch-head {
  margin-bottom: 12px;
}

.batch-head h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.batch-head .sub {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  font-weight: 400;
}

.specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
  padding: 0;
  list-style: none;
}

.specs li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.specs li::before {
  content: '•';
  color: var(--brand);
  font-weight: bold;
  flex-shrink: 0;
}

.meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 16px 0 14px;
  flex-wrap: wrap;
}

.pill {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 18px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.pill:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.12);
}

.pill.seats {
  background: rgba(76, 175, 80, 0.1);
  border-color: rgba(76, 175, 80, 0.2);
  color: #4caf50;
}

.price-cta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ==================== MODAL STYLES ==================== */

/* Modal Overlay */
body.modal-open {
  overflow: hidden;
}

body.modal-open::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(2px);
  z-index: 60;
  animation: fadeIn 0.25s ease;
}

/* Overlay element created by JS to host the modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 65;
  display: grid;
  place-items: center;
  padding: 24px; /* keep some breathing room on small screens */
}

/* Respect the hidden attribute even if we set display in CSS elsewhere */
.course-form[hidden], .modal-root[hidden] {
  display: none !important;
}

/* Ensure the HTML5 hidden attribute is respected across browsers and styles to prevent
   content flashes before JS runs (important for admin panel visibility). */
[hidden] {
  display: none !important;
  visibility: hidden !important;
}

/* Extra safeguard specifically for the admin panel */
#panel[hidden] {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, -45%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Modal Form */
.course-form {
  display: none; /* hidden by default; JS will mount into .modal-overlay to show */
  position: fixed;
  z-index: 70;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(700px, 95%);
  max-height: 95vh;
  padding: 0;
  background: linear-gradient(135deg, rgba(20,24,40,0.95), rgba(12,16,28,0.95));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 25px 70px rgba(0,0,0,0.7), 0 0 40px rgba(255,138,0,0.1);
  /* display is intentionally not set here; shown inside .modal-overlay */
  animation: slideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Admin tabs */
.admin-tabs .btn.active {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

/* Registrations list styling */
#registrations-list {
  display: grid;
  gap: 12px;
}
.registration-card {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.02));
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.45);
}
.registration-card .reg-avatar {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffb74d, #ff8a65);
  display: grid;
  place-items: center;
  color: #111;
  font-weight: 700;
  font-size: 16px;
}
.registration-card .reg-body { display: block; }
.reg-row { display:flex; justify-content:space-between; align-items:center; gap:12px }
.reg-name { margin:0; font-size:16px }
.reg-info, .reg-details { margin-top:6px; font-size:13px }
.reg-details { color: var(--muted) }
.reg-right { text-align:right; color: var(--muted); font-size:13px }
.pill.small { padding: 4px 8px; font-size:12px }

@media (max-width:720px) {
  .registration-card { grid-template-columns: 48px 1fr; }
  .reg-right { display:none }
}

/* When rendered inside the overlay, center via grid and remove fixed offsets */
.modal-overlay .course-form {
  display: flex !important; /* show when inside overlay */
  flex-direction: column;
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  width: min(720px, 92%);
  max-height: 90vh;
}

/* Modal Header */
.course-form h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  padding: 0;
}

/* Modal Body */
.course-form .admin-form {
  flex: 1;
  overflow-y: auto;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Modal Footer Actions */
.course-form .form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 20px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin: 0;
}

/* ==================== FORM STYLING ==================== */

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-row input,
.form-row textarea,
.form-row select {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.3);
  color: var(--text);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.25s ease;
  outline: none;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-row input:hover,
.form-row textarea:hover,
.form-row select:hover {
  border-color: rgba(255,255,255,0.12);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--brand);
  background: rgba(0,0,0,0.5);
  box-shadow: 0 0 0 3px rgba(255,138,0,0.12);
}

.form-row textarea {
  resize: vertical;
  min-height: 90px;
  max-height: 180px;
}

.form-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 8px;
}

/* ==================== BUTTON STYLES ==================== */

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: white;
  box-shadow: 0 4px 15px rgba(255,138,0,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255,138,0,0.4);
}

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

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

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

.status-btn {
  padding: 6px 12px;
  font-size: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
}

.status-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

.edit {
  background: linear-gradient(135deg, rgba(255,138,0,0.12), rgba(255,138,0,0.08));
  color: var(--brand);
  border: 1px solid rgba(255,138,0,0.24);
}

.edit:hover {
  background: linear-gradient(135deg, rgba(255,138,0,0.18), rgba(255,138,0,0.12));
  border-color: rgba(255,138,0,0.35);
  box-shadow: 0 4px 12px rgba(255,138,0,0.15);
}

.btn.delete {
  background: rgba(255,90,90,0.08);
  color: var(--danger);
  border: 1px solid rgba(255,90,90,0.18);
}

.btn.delete:hover {
  background: rgba(255,90,90,0.14);
  border-color: rgba(255,90,90,0.28);
  box-shadow: 0 4px 12px rgba(255,90,90,0.12);
}

/* ==================== ERROR MESSAGES ==================== */

.admin-error {
  padding: 12px 16px;
  background: rgba(255,90,90,0.1);
  border: 1px solid rgba(255,90,90,0.24);
  color: var(--danger);
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  margin-top: 12px;
  animation: slideInUp 0.3s ease;
}

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

/* -----------------------
   Disable fade/slide animations for immediate visibility
   ----------------------- */
/* Turn off modal overlay fade */
body.modal-open::before {
  animation: none !important;
  opacity: 1 !important;
}

/* Turn off modal slide animation and show immediately when mounted */
.course-form {
  animation: none !important;
  opacity: 1 !important;
}
.modal-overlay .course-form {
  animation: none !important;
  transition: none !important;
}

/* Disable other page-level decorative animations that may hide content */
.bg-effects::before,
.bg-effects::after,
.admin-error {
  animation: none !important;
  transition: none !important;
}

/* Ensure enrollment/course details are visible and not faded out */
.course-summary,
.enrollment-card,
#course-details,
.detail-item,
.detail-item .value {
  opacity: 1 !important;
  transition: none !important;
  visibility: visible !important;
}

/* In case any other selector was setting display/visibility, enforce display */
#course-details,
.course-summary {
  display: block !important;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1200px) {
  .admin-cards {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .admin {
    padding: 24px 16px;
  }

  .admin-header {
    flex-direction: column;
    margin-bottom: 28px;
  }

  .admin-header .panel-controls {
    width: 100%;
  }

  .admin-header .panel-controls .btn {
    flex: 1;
  }

  .panel-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
  }

  .panel-controls {
    width: 100%;
  }

  .panel-controls .btn {
    flex: 1;
  }

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

  .course-form {
    width: 98% !important;
    max-height: 90vh;
  }

  .course-form h3 {
    font-size: 20px;
    padding: 20px 20px 12px;
  }

  .course-form .admin-form {
    padding: 16px 20px;
  }

  .course-form .form-actions {
    padding: 16px 20px;
    flex-direction: column;
  }

  .course-form .form-actions .btn {
    width: 100%;
  }
}

.course-form {
  position: sticky;
  top: 20px;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row label {
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
}

.form-row input,
.form-row textarea,
.form-row select {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.3);
  color: var(--text);
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--brand);
  background: rgba(0,0,0,0.5);
  box-shadow: 0 0 0 3px rgba(255,138,0,0.1);
}

.form-row textarea {
  resize: vertical;
  min-height: 80px;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: white;
  box-shadow: 0 4px 15px rgba(255,138,0,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,138,0,0.4);
}

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

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

.status-btn {
  padding: 6px 12px;
  font-size: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.status-btn:hover {
  background: rgba(255,255,255,0.1);
}

.edit {
  background: linear-gradient(135deg, rgba(255,138,0,0.1), rgba(255,138,0,0.05));
  color: var(--brand);
  border: 1px solid rgba(255,138,0,0.2);
}

.edit:hover {
  background: linear-gradient(135deg, rgba(255,138,0,0.2), rgba(255,138,0,0.1));
  border-color: rgba(255,138,0,0.4);
}

/* Delete button styling */
.btn.delete {
  background: rgba(255,90,90,0.06);
  color: var(--danger);
  border: 1px solid rgba(255,90,90,0.14);
}
.btn.delete:hover {
  background: rgba(255,90,90,0.12);
  border-color: rgba(255,90,90,0.22);
}

/* small helpers */
.muted { color: var(--muted); }

/* Loading spinner */
.spinner { display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.2); border-top-color: var(--brand); border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* end admin styles */

.admin-error { margin-top: 10px; color: var(--danger); font-weight: 700; font-size: 14px; padding: 10px; background: rgba(255,90,90,0.1); border-radius: 8px; border: 1px solid rgba(255,90,90,0.2); }
  
  .scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 6px;
    translate: -50% 0;
    width: 26px;
    height: 42px;
    border: 2px solid var(--stroke);
    border-radius: 999px;
    display: grid;
    place-items: center;
    opacity: 0.7;
  }
  .scroll-hint span {
    width: 4px;
    height: 8px;
    background: var(--text);
    border-radius: 2px;
    animation: wheel 2.4s ease-in-out infinite;
  }
  @keyframes wheel {
    0% {
      transform: translateY(-8px);
      opacity: 0;
    }
    40% {
      opacity: 1;
    }
    80% {
      transform: translateY(8px);
      opacity: 0;
    }
    100% {
      opacity: 0;
    }
  }
  
  /* Section headings */
  .section-head {
    margin-bottom: 18px;
  }
  .section-head h2 {
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.1;
  }
  .section-head p {
    color: var(--muted);
    margin-top: 6px;
  }
  
  /* GALLERY - seamless loop carousel */
  .gallery-section .carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--stroke);
    background: var(--surface);
    box-shadow: var(--shadow);
    margin-bottom: -40px;
  }
  .carousel-viewport {
    overflow: hidden;
  }
  .carousel-track {
    display: flex;
    gap: 14px;
    padding: 14px;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  .carousel-track img {
    height: clamp(180px, 28vw, 320px);
    width: clamp(260px, 38vw, 420px);
    object-fit: cover;
    border-radius: 12px;
    filter: saturate(1.05) contrast(1.03);
    flex: 0 0 auto;
  }
  .carousel-btn {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    border: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(16, 22, 37, 0.9);
    border: 1px solid var(--stroke);
    color: var(--text);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
    font-size: 18px;
    font-weight: bold;
  }
  
  .carousel-btn:hover {
    background: rgba(255, 138, 0, 0.2);
    border-color: var(--brand);
    transform: translateY(-50%) scale(1.1);
  }
  .carousel-btn.prev {
    left: 10px;
  }
  .carousel-btn.next {
    right: 10px;
  }
  .carousel-hint {
    text-align: center;
    color: var(--muted);
    margin-top: 10px;
  }
  
  /* /* BATCHES - hyper cards */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
  }
  
  .batch-card.hyper {
    position: relative;
    border-radius: 20px;
    padding: 18px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  
  .batch-card.hyper:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 60px rgba(255, 138, 0, 0.22),
      0 12px 30px rgba(0, 0, 0, 0.4);
  }
  
  /* Animated conic glow + cursor spotlight */
  .batch-card.hyper .bg {
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    pointer-events: none;
    background:
      radial-gradient(360px 240px at var(--mx, 60%) var(--my, 20%),
        rgba(255, 173, 51, 0.22), transparent 55%),
      radial-gradient(520px 280px at var(--mx, 40%) var(--my, 80%),
        rgba(255, 209, 102, 0.12), transparent 60%);
    z-index: -1;
  }
  
  .batch-card.hyper .bg::after {
    content: "";
    position: absolute;
    inset: -40%;
    border-radius: 50%;
    background: conic-gradient(
      from 0deg,
      rgba(255, 138, 0, 0.28),
      rgba(255, 209, 102, 0.1),
      rgba(255, 138, 0, 0.28)
    );
    animation: spin 16s linear infinite;
    filter: blur(40px);
    opacity: 0.35;
  }
  
  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  /* Sweeping light beam */
  .batch-card.hyper .beam {
    position: absolute;
    left: -20%;
    top: -60px;
    width: 140%;
    height: 180px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 209, 102, 0.15),
      transparent
    );
    transform: rotate(-12deg);
    animation: sweep 8s ease-in-out infinite;
    pointer-events: none;
    filter: blur(6px);
  }
  
  @keyframes sweep {
    0%,
    100% {
      transform: translateX(-10%) rotate(-12deg);
      opacity: 0.25;
    }
    50% {
      transform: translateX(10%) rotate(-12deg);
      opacity: 0.5;
    }
  }
  
  /* Header */
  .batch-head {
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    margin-bottom: 12px;
  }
  
  .chip {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 173, 51, 0.16);
    color: #ffbe55;
    border: 1px solid rgba(255, 173, 51, 0.4);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  
  .batch-card.hyper h3 {
    margin: 10px 0 2px;
  }
  
  .batch-card.hyper .sub {
    color: var(--muted);
    font-size: 14px;
  }
  
  /* Specs */
  .specs {
    margin: 12px 0 12px;
    color: var(--muted);
    display: grid;
    gap: 8px;
    list-style: none;
    padding-left: 0;
  }
  
  .specs li {
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 10px;
  }
  
  .specs li::before {
    content: "✓";
    color: var(--brand-2);
    font-weight: 900;
  }
  
  /* Meta pills */
  .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
  }
  
  .pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    color: #f9f2e4;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
  
  .pill.seats {
    background: rgba(255, 173, 51, 0.14);
    color: #ffd166;
    border-color: rgba(255, 173, 51, 0.35);
  }
  
  /* Price + CTA row */
  .price-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  
  .price {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }
  
  .price s {
    color: #91a0c5;
    opacity: 0.5;
    margin-right: 6px;
  }
  
  .price b {
    font-size: 28px;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 0 rgba(0, 0, 0, 0); /* crisp */
  }
  
  /* Corner ribbon */
  .ribbon {
    position: absolute;
    top: 12px;
    right: -38px;
    transform: rotate(35deg);
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    color: #231a0f;
    font-weight: 900;
    font-size: 12px;
    padding: 6px 42px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(255, 138, 0, 0.28);
    pointer-events: none;
  }
  
  /* HOWTO */
  .video-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--stroke);
    background: #000;
    box-shadow: var(--shadow);
  }
  .video-wrap iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .video-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
      600px 300px at 50% 100%,
      rgba(255, 173, 51, 0.25),
      transparent 60%
    );
    pointer-events: none;
  }
  
  /* CURRICULUM */
  .accordion {
    display: grid;
    gap: 10px;
  }
  details {
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 10px 14px;
  }
  summary {
    cursor: pointer;
    font-weight: 800;
    list-style: none;
  }
  summary::-webkit-details-marker {
    display: none;
  }
  details[open] summary {
    color: var(--brand-2);
  }
  details ul {
    margin: 8px 0 0 16px;
    color: var(--muted);
    display: grid;
    gap: 6px;
  }
  
  /* Notices */
  .notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 18px;
    padding-top: 30px;
  }
  .notice {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: center;
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--muted);
  }
  
  /* ENROLL */
  .enroll-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .enroll-form {
    display: grid;
    gap: 12px;
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: 14px;
    padding: 14px;
  }
  .enroll-form label {
    display: grid;
    gap: 6px;
  }
  .enroll-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--stroke);
    border-radius: 10px;
    padding: 12px 12px;
    color: var(--text);
    outline: none;
  }
  .enroll-form input:focus {
    border-color: var(--brand-2);
    box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.25);
  }
  .policy {
    color: var(--muted);
  }
  
  /* FAB */
  .fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.35);
    z-index: 60;
  }
  .fab img {
    width: 26px;
    filter: invert(1) brightness(0);
  }
  
  /* Footer */
  .site-footer {
    border-top: 1px solid var(--stroke);
    padding: 28px 0 34px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 20px;
    align-items: center;
  }
  .fine {
    color: var(--muted);
  }

  /* Footer tweaks */
  .brand-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .brand .brand-name {
    font-weight: 800;
    color: var(--text);
    margin-left: 6px;
  }
  .links {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: center;
  }
  .links a {
    color: var(--muted);
    padding: 6px 8px;
    border-radius: 8px;
    transition: color 0.18s ease, background 0.18s ease;
  }
  .links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.02);
  }
  .cta {
    justify-self: end;
  }

  /* Prototype credit line */
  .footer-credit {
    margin-top: 18px;
    color: var(--muted);
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .footer-credit a {
    color: var(--brand-2);
    text-decoration: none;
    font-weight: 700;
  }
  .footer-credit a:hover {
    text-decoration: underline;
  }

  /* ===== ENROLLMENT PAGE STYLES ===== */
  .enrollment-hero {
    padding: 120px 0;
  }

  /* Ensure the curriculum and course summary sit above the page background effects
     so the background vignette / glow doesn't fade the content. This only adjusts
     stacking context — it preserves the existing summary card styles. */
  .enrollment-hero .accordion,
  .enrollment-hero .enrollment-card,
  .enrollment-hero .course-summary {
    position: relative;
    z-index: 2;
  }

  /* Force full opacity for the entire curriculum section to remove accidental fades */
  #curriculum,
  #curriculum *,
  .curriculum,
  .curriculum * {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    -webkit-filter: none !important;
  }

  /* Remove any pseudo-element overlays within the curriculum */
  #curriculum::before,
  #curriculum::after,
  .curriculum::before,
  .curriculum::after,
  .curriculum *::before,
  .curriculum *::after {
    display: none !important;
    content: none !important;
    opacity: 1 !important;
  }

  .enrollment-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
  }

  .back-link:hover {
    transform: translateX(-4px);
    color: var(--brand-2);
  }

  .enrollment-header h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .enrollment-header .lead {
    font-size: 1.1rem;
    color: var(--muted);
  }

  .enrollment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .enrollment-card {
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 32px;
    backdrop-filter: blur(8px);
  }

  .enrollment-card h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    color: var(--brand-2);
  }

  .enrollment-card h4 {
    font-size: 1rem;
    margin-top: 24px;
    margin-bottom: 12px;
    color: var(--text);
  }

  /* Course Summary Card */
  .course-summary {
    display: flex;
    flex-direction: column;
  }

  #course-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }

  .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
  }

  .detail-item.highlight {
    background: rgba(255, 138, 0, 0.1);
    border: 1px solid rgba(255, 138, 0, 0.2);
  }

  .detail-item .label {
    color: var(--muted);
    font-size: 0.9rem;
  }

  .detail-item .value {
    font-weight: 600;
    color: var(--text);
  }

  .detail-item .price {
    font-size: 1.3rem;
    color: var(--brand);
  }

  .course-benefits ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .course-benefits li {
    color: var(--text);
    font-size: 0.95rem;
  }

  /* Enrollment Form */
  .enrollment-form-wrapper {
    display: flex;
    flex-direction: column;
  }

  .enrollment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
  }

  .form-group label {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .form-group span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
  }

  .form-group input {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--stroke);
    border-radius: 8px;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
  }

  .form-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.1);
  }

  .form-group input::placeholder {
    color: rgba(174, 185, 210, 0.5);
  }

  .form-group.checkbox {
    flex-direction: row;
    gap: 12px;
  }

  .form-group.checkbox label {
    flex-direction: row;
    gap: 10px;
  }

  .form-group.checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin-top: 2px;
  }

  .form-group small.error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: -4px;
  }

  .form-alert {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .form-alert.error {
    background: rgba(255, 90, 90, 0.1);
    border: 1px solid rgba(255, 90, 90, 0.2);
    color: #ff8a8a;
  }

  .form-alert.success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.2);
    color: #4caf50;
  }

  .btn-large {
    padding: 14px 32px;
    font-size: 1rem;
    margin-top: 8px;
  }

  .form-note {
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
    margin-top: 12px;
  }

  /* FAQ Section */
  .faq-section {
    padding: 80px 0;
  }

  .accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 800px;
    margin: 40px auto 0;
  }

  .accordion details {
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .accordion details:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--brand);
  }

  .accordion details[open] {
    background: rgba(255, 138, 0, 0.05);
    border-color: var(--brand);
  }

  .accordion summary {
    padding: 16px 20px;
    font-weight: 600;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
  }

  .accordion summary::marker {
    color: var(--brand);
  }

  .accordion details p {
    padding: 0 20px 16px;
    color: var(--muted);
    line-height: 1.6;
  }

  /* Trust Section */
  .trust-section {
    padding: 80px 0;
  }

  .trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }

  .trust-card {
    background: var(--glass);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
  }

  .trust-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
    background: rgba(255, 138, 0, 0.03);
  }

  .trust-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
  }

  .trust-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--brand-2);
  }

  .trust-card p {
    color: var(--muted);
    font-size: 0.9rem;
  }

  /* Responsive */
  @media (max-width: 980px) {
    .hero-grid {
      grid-template-columns: 1fr;
    }
    .metrics {
      grid-template-columns: 1fr;
    }
    .enroll-grid {
      grid-template-columns: 1fr;
    }
    .enrollment-grid {
      grid-template-columns: 1fr;
    }
    .carousel-track img {
      width: 80vw;
    }
  }

  @media (max-width: 640px) {
    .enrollment-hero {
      padding: 80px 0;
    }

    .enrollment-header {
      margin-bottom: 40px;
    }

    .enrollment-header h1 {
      font-size: 1.8rem;
    }

    .enrollment-card {
      padding: 24px;
    }

    .enrollment-grid {
      gap: 24px;
    }

    .faq-section {
      padding: 60px 0;
    }

    .trust-section {
      padding: 60px 0;
    }

    .trust-grid {
      gap: 16px;
    }
  }
  
  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }