/* CFGT — Lavender / Sky Theme */

:root {
  --cfg-pink: #fce7f3;
  --cfg-lavender: #f3e8ff;
  --cfg-purple: #e9d5ff;
  --cfg-periwinkle: #e0e7ff;
  --cfg-sky: #bae6fd;
  --cfg-sky-light: #dbeafe;
  --cfg-primary: #111827;
  --cfg-primary-hover: #000000;
  --cfg-bg: #eef2ff;
  --cfg-surface: rgba(255, 255, 255, 0.78);
  --cfg-heading: #111827;
  --cfg-text: #374151;
  --cfg-muted: #6b7280;
  --cfg-subtle: #9ca3af;
  --cfg-border: rgba(255, 255, 255, 0.55);
  --cfg-shadow: 0 8px 32px rgba(17, 24, 39, 0.08);
  /* Left: soft blush-lavender → center: periwinkle → right: sky blue (50/50 mix) */
  --cfg-gradient-bg: linear-gradient(
    90deg,
    #fdf2f8 0%,
    #fae8ff 16%,
    #f3e8ff 32%,
    #ede9fe 48%,
    #e0e7ff 58%,
    #dbeafe 72%,
    #bfdbfe 86%,
    #bae6fd 100%
  );
  --cfg-gradient-text: linear-gradient(90deg, #c026d3 0%, #9333ea 40%, #3b82f6 100%);
  --cfg-motion-fast: 220ms;
  --cfg-motion-base: 360ms;
  --cfg-motion-slow: 560ms;
  --cfg-motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Decorative background blobs (light mode) */
.cfg-bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -5;
  opacity: 0.42;
}

.cfg-bg-blob-1 {
  width: 55%;
  height: 55%;
  max-width: 640px;
  max-height: 640px;
  top: -8%;
  left: -12%;
  background: radial-gradient(circle, rgba(252, 231, 243, 0.65) 0%, rgba(243, 232, 255, 0.35) 45%, transparent 72%);
}

.cfg-bg-blob-2 {
  width: 55%;
  height: 55%;
  max-width: 640px;
  max-height: 640px;
  bottom: -5%;
  right: -12%;
  background: radial-gradient(circle, rgba(186, 230, 253, 0.7) 0%, rgba(191, 219, 254, 0.4) 45%, transparent 72%);
}

.cfg-bg-blob-3 {
  width: 45%;
  height: 45%;
  max-width: 520px;
  max-height: 520px;
  top: 35%;
  left: 30%;
  background: radial-gradient(circle, rgba(224, 231, 255, 0.55) 0%, transparent 70%);
  opacity: 0.35;
}

.cfg-theme-bg {
  background: var(--cfg-gradient-bg) !important;
}

/* Primary CTA — solid black like reference */
html.light-theme .hero-step-btn-primary,
html.light-theme .cfg-btn-dark,
html.light-theme a.bg-gradient-to-r,
html.light-theme button.bg-gradient-to-r,
html.light-theme .bg-gradient-to-r.from-oracle-red,
html.light-theme a.bg-gradient-to-r.from-oracle-red,
html.light-theme button.bg-gradient-to-r.from-oracle-red,
html.light-theme button.bg-gradient-to-r.from-ai-cyan,
html.light-theme #enroll-ok,
html.light-theme .enroll-action,
html.light-theme [class*="from-oracle-red"][class*="to-ai-purple"] {
  background: var(--cfg-primary) !important;
  background-image: none !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

html.light-theme .hero-step-btn-primary:hover,
html.light-theme .cfg-btn-dark:hover,
html.light-theme a.bg-gradient-to-r:hover,
html.light-theme button.bg-gradient-to-r:hover,
html.light-theme #enroll-ok:hover,
html.light-theme .enroll-action:hover {
  background: var(--cfg-primary-hover) !important;
  background-image: none !important;
  color: #ffffff !important;
}

html.light-theme button.bg-gradient-to-r.from-green-600,
html.light-theme button.bg-gradient-to-r.from-green-600.to-ai-cyan {
  background: var(--cfg-primary) !important;
  background-image: none !important;
  color: #ffffff !important;
}

html.light-theme button.bg-gradient-to-r.from-green-600:hover {
  background: var(--cfg-primary-hover) !important;
}

html:not(.light-theme) .cfg-bg-blob {
  opacity: 0;
}

/* Modern card surface */
.cfg-card {
  background: var(--cfg-surface);
  border: 1px solid var(--cfg-border);
  border-radius: 1rem;
  box-shadow: var(--cfg-shadow);
}

.cfg-section-alt {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Unified section headings */
.cfg-section-head {
  margin-bottom: 3rem;
}

.cfg-section-head-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .cfg-section-head-row {
    flex-direction: row;
    align-items: flex-end;
  }
}

.cfg-section-head-center {
  text-align: center;
}

.cfg-section-head-center .cfg-section-accent {
  margin-left: auto;
  margin-right: auto;
}

.cfg-section-head-main {
  max-width: 42rem;
}

.cfg-section-accent {
  display: block;
  width: 3.25rem;
  height: 3px;
  background: var(--cfg-gradient-text);
  margin-bottom: 1rem;
  border-radius: 9999px;
}

.cfg-section-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9333ea;
}

.cfg-section-title {
  margin: 0;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--cfg-heading);
}

.cfg-brand-gradient {
  background: linear-gradient(90deg, #111827 0%, #7c3aed 55%, #d946ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.cfg-page-title {
  font-size: clamp(2rem, 4vw, 3rem);
}

html:not(.light-theme) .cfg-section-title,
html:not(.light-theme) .cfg-page-title {
  color: #f9fafb;
}

.cfg-section-desc {
  margin: 0.65rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--cfg-text);
  max-width: 36rem;
}

html:not(.light-theme) .cfg-section-desc {
  color: #d1d5db;
}

.cfg-section-head-center .cfg-section-desc {
  margin-left: auto;
  margin-right: auto;
}

.cfg-section-link {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #9333ea;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cfg-section-link:hover {
  color: #c026d3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

html.light-theme .cfg-section-alt,
html.light-theme [class*="bg-fusion-800/30"],
html.light-theme [class*="bg-fusion-800/40"] {
  background: rgba(255, 255, 255, 0.38) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html.light-theme .course-card,
html.light-theme .batch-card,
html.light-theme .batches-page-card,
html.light-theme .reveal.rounded-2xl[class*="bg-fusion"],
html.light-theme .reveal.rounded-xl[class*="bg-fusion"] {
  background: var(--cfg-surface) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--cfg-border) !important;
  box-shadow: var(--cfg-shadow) !important;
}

html.light-theme .course-card:hover,
html.light-theme .batch-card:hover {
  box-shadow: 0 12px 36px rgba(17, 24, 39, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.85) !important;
}

html.light-theme footer:not(.cfg-footer) {
  background: rgba(255, 255, 255, 0.72) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top-color: var(--cfg-border) !important;
}

/* CFG super footer */
.cfg-footer.cfg-super-footer {
  position: relative;
  margin-top: 4rem;
  overflow: hidden;
  color: #e5e7eb;
  background: #030303;
  border-top: 1px solid rgba(147, 51, 234, 0.35);
}

.cfg-super-footer-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 0% 0%, rgba(124, 58, 237, 0.45) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(6, 182, 212, 0.28) 0%, transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(109, 40, 217, 0.22) 0%, transparent 55%),
    linear-gradient(180deg, #050505 0%, #0a0a12 40%, #000000 100%);
  z-index: 0;
}

.cfg-super-footer-gridlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
  z-index: 0;
}

.cfg-footer-inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 1.25rem;
}

.cfg-super-footer-hero {
  position: relative;
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2rem;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: 1.5rem;
  border: 1px solid rgba(192, 132, 252, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.cfg-super-footer-hero-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  width: 55%;
  height: 140%;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.35) 0%, transparent 68%);
  pointer-events: none;
}

.cfg-super-footer-hero-main {
  position: relative;
  z-index: 1;
}

.cfg-super-footer-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.cfg-super-footer-title {
  margin: 0 0 0.65rem;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.cfg-super-footer-lead {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.cfg-super-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cfg-super-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  border-radius: 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cfg-super-footer-btn--primary {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 55%, #06b6d4 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.cfg-super-footer-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.5);
}

.cfg-super-footer-btn--ghost {
  background: rgba(255, 255, 255, 0.95);
  color: #5b21b6;
}

.cfg-super-footer-btn--ghost:hover {
  transform: translateY(-2px);
  background: #fff;
}

.cfg-super-footer-btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.cfg-super-footer-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.cfg-super-footer-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .cfg-super-footer-hero {
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 2rem;
  }

  .cfg-super-footer-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cfg-super-footer-stat {
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  text-align: center;
}

.cfg-super-footer-stat-value {
  display: block;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.cfg-super-footer-stat-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.cfg-super-footer-modules {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .cfg-super-footer-modules {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }
}

.cfg-super-footer-modules-label {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a78bfa;
}

.cfg-super-footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cfg-super-footer-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.cfg-super-footer-pill:hover {
  background: rgba(147, 51, 234, 0.25);
  border-color: rgba(192, 132, 252, 0.55);
  color: #fff;
}

.cfg-super-footer-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .cfg-super-footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cfg-super-footer-columns {
    grid-template-columns: 1.35fr 0.75fr 0.75fr 1.15fr;
    gap: 2rem;
  }
}

.cfg-footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  text-decoration: none;
}

.cfg-footer-logo-wrap {
  height: 3.25rem;
  width: 4rem;
}

.cfg-footer-brand-name {
  font-size: 1.35rem;
  font-weight: 900;
  color: #f9fafb;
  line-height: 1.2;
}

.cfg-footer-brand-accent {
  color: #c084fc;
}

.cfg-footer-brand-text {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 22rem;
}

.cfg-footer-social-label {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c084fc;
}

.cfg-footer-social-icons {
  gap: 0.55rem;
}

.cfg-footer-social-icons .social-icon {
  width: 2.35rem;
  height: 2.35rem;
}

.cfg-footer-heading {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f9fafb;
}

.cfg-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cfg-footer-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cfg-footer-link:hover {
  color: #67e8f9;
}

.cfg-footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cfg-footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.cfg-footer-contact-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
}

.cfg-super-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cfg-super-contact-card {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.cfg-super-contact-card:hover {
  border-color: rgba(192, 132, 252, 0.45);
  background: rgba(147, 51, 234, 0.12);
  transform: translateX(3px);
}

.cfg-super-contact-card--static {
  cursor: default;
}

.cfg-super-contact-card--static:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.cfg-super-contact-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.35), rgba(6, 182, 212, 0.25));
  font-size: 0.9rem;
}

.cfg-super-contact-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.cfg-super-contact-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4b5fd;
}

.cfg-super-contact-value {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.cfg-super-footer-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

@media (min-width: 768px) {
  .cfg-super-footer-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    text-align: left;
  }
}

.cfg-super-footer-bar-start {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cfg-super-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .cfg-super-footer-badges {
    justify-content: flex-start;
  }
}

.cfg-super-footer-badge {
  padding: 0.28rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(167, 139, 250, 0.3);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.cfg-footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.cfg-footer-bottom-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
}

.cfg-footer-bottom-link {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cfg-footer-bottom-link:hover {
  color: #e9d5ff;
}

.cfg-footer-theme-toggle {
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #f3f4f6 !important;
}

.cfg-footer-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: rgba(192, 132, 252, 0.45) !important;
  color: #e9d5ff !important;
}

html.light-theme .cfg-footer.cfg-super-footer {
  border-top-color: rgba(147, 51, 234, 0.28);
  color: #e5e7eb;
}

.footer-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: rgba(255, 255, 255, 0.55);
  color: var(--cfg-heading, #111827);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(147, 51, 234, 0.35);
  color: #9333ea;
}

html:not(.light-theme) .footer-theme-toggle {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
}

html:not(.light-theme) .footer-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(147, 51, 234, 0.45);
  color: #c084fc;
}

html.light-theme .hero-badge {
  background: rgba(255, 255, 255, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  color: var(--cfg-heading) !important;
}

html.light-theme .btn-outline-light {
  border-color: rgba(17, 24, 39, 0.12) !important;
  color: var(--cfg-heading) !important;
  background: rgba(255, 255, 255, 0.65) !important;
  backdrop-filter: blur(8px);
}

html.light-theme .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(17, 24, 39, 0.2) !important;
  color: var(--cfg-primary) !important;
}

/* Dark mode (optional toggle) */
html:not(.light-theme) body {
  background-color: #0a0e1a !important;
  color: #ffffff !important;
}

html:not(.light-theme) #theme-overlay {
  background: linear-gradient(to bottom, rgba(10, 14, 26, 0.8), rgba(10, 14, 26, 0.9)) !important;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Site-wide smooth motion polish */
a,
button,
input,
select,
textarea,
[role="button"],
.course-card,
.course-catalog-card,
.batch-card,
.batches-page-card,
.demos-page-card,
.offer-card,
.hero-step-form-card,
.cfg-card,
.reveal {
  transition-timing-function: var(--cfg-motion-ease);
}

a,
button,
[role="button"] {
  transition-duration: var(--cfg-motion-fast);
}

input,
select,
textarea {
  transition-duration: var(--cfg-motion-base);
}

.cfg-logo {
  flex-shrink: 0;
  object-fit: contain;
  background: transparent;
  display: block;
}

.cfg-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 2rem;
  width: 2.45rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .cfg-logo-wrap {
    height: 2.125rem;
    width: 2.6rem;
  }
}

@media (min-width: 1024px) {
  .cfg-logo-wrap {
    height: 2.25rem;
    width: 2.75rem;
  }
}

.cfg-logo-nav {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cfg-nav-tagline {
  font-size: 0.625rem;
  line-height: 1.25;
  font-weight: 500;
  color: var(--cfg-muted);
  letter-spacing: 0.02em;
}

html:not(.light-theme) .cfg-nav-tagline {
  color: #9ca3af;
}

.cfg-top-strip {
  border-bottom: 1px solid rgba(147, 51, 234, 0.2);
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.95) 0%, rgba(124, 58, 237, 0.9) 100%);
  color: #fff;
}

.cfg-top-strip-inner {
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.cfg-webinar-topbar-link {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  min-width: 0;
  flex: 1 1 auto;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  text-decoration: none;
  transition: filter 0.2s ease;
}

.cfg-webinar-topbar-link:hover {
  filter: brightness(1.08);
  color: #fff;
}

.cfg-webinar-topbar-link:focus-visible {
  outline: 2px solid #fde68a;
  outline-offset: -2px;
}

.cfg-top-strip-social {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.cfg-topbar-social-icons {
  gap: 0.4rem;
}

.cfg-topbar-social-icons .social-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: #fff;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.cfg-topbar-social-icons .social-icon svg {
  width: 0.85rem;
  height: 0.85rem;
}

.cfg-topbar-social-icons .social-icon:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.06);
}

.cfg-topbar-social-icons .social-icon--youtube {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff0000 52%, #b80000 100%);
  box-shadow: 0 2px 10px rgba(255, 0, 0, 0.35);
}

.cfg-topbar-social-icons .social-icon--youtube:hover {
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.45);
}

.cfg-topbar-social-icons .social-icon--instagram {
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%);
  box-shadow: 0 2px 10px rgba(238, 42, 123, 0.35);
}

.cfg-topbar-social-icons .social-icon--instagram:hover {
  box-shadow: 0 4px 14px rgba(238, 42, 123, 0.45);
}

.cfg-topbar-social-icons .social-icon--facebook {
  background: linear-gradient(135deg, #4d9fff 0%, #1877f2 55%, #0d47a1 100%);
  box-shadow: 0 2px 10px rgba(24, 119, 242, 0.35);
}

.cfg-topbar-social-icons .social-icon--facebook:hover {
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.cfg-topbar-social-icons .social-icon--whatsapp {
  background: linear-gradient(135deg, #5efc82 0%, #25d366 50%, #128c7e 100%);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.35);
}

.cfg-topbar-social-icons .social-icon--whatsapp:hover {
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
}

.cfg-topbar-social-icons .social-icon--linkedin {
  background: linear-gradient(135deg, #4ba3f5 0%, #0a66c2 55%, #004182 100%);
  box-shadow: 0 2px 10px rgba(10, 102, 194, 0.35);
}

.cfg-topbar-social-icons .social-icon--twitter {
  background: linear-gradient(135deg, #4b5563 0%, #111827 55%, #000000 100%);
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.35);
}

.cfg-topbar-social-icons .social-icon--telegram {
  background: linear-gradient(135deg, #6dd5fa 0%, #26a5e4 55%, #0088cc 100%);
  box-shadow: 0 2px 10px rgba(38, 165, 228, 0.35);
}

.cfg-topbar-social-icons .social-icon--custom {
  background: linear-gradient(135deg, #c4b5fd 0%, #7c3aed 55%, #5b21b6 100%);
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.35);
}

.cfg-webinar-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cfg-webinar-price {
  color: #fde68a;
  font-weight: 800;
}

.cfg-webinar-cta {
  margin-left: 0.15rem;
  padding: 0.1rem 0.55rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

html.light-theme .cfg-top-strip {
  background: linear-gradient(90deg, rgba(30, 64, 175, 0.9) 0%, rgba(147, 51, 234, 0.88) 100%);
  border-bottom-color: rgba(99, 102, 241, 0.25);
}

@media (max-width: 639px) {
  .cfg-top-strip-inner {
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }

  .cfg-webinar-topbar-link {
    justify-content: center;
    flex: 1 1 100%;
  }

  .cfg-top-strip-social {
    flex: 1 1 100%;
    justify-content: center;
  }
}

.cfg-logo-sm {
  height: 1.75rem;
  width: auto;
  max-width: 2.15rem;
  object-fit: contain;
}

.cfg-logo-lg {
  height: 4.5rem;
  width: auto;
  max-width: 5.5rem;
  object-fit: contain;
}

/* Social media icons */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.social-icons-highlight {
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  color: #ffffff;
  background: var(--social-color);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12), 0 8px 20px var(--social-glow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.social-icons-highlight .social-icon {
  width: 3.25rem;
  height: 3.25rem;
}

.social-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.social-icons-highlight .social-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.social-icon:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2), 0 14px 28px var(--social-glow);
  color: #ffffff;
}

html.light-theme .social-icon {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 8px 18px var(--social-glow);
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Image styles */
.img-cover-wrap {
  position: relative;
  width: 100%;
  height: 10rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .img-cover,
.batch-type-card:hover .img-cover,
.gallery-item:hover img {
  transform: scale(1.06);
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.25rem;
}

.hero-image-panel {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45);
  min-height: 280px;
}

.hero-image-panel img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.hero-image-panel .hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 26, 0.92) 0%, rgba(10, 14, 26, 0.2) 55%, transparent 100%);
}

.hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
}

.instructor-photo {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 3px solid rgba(0, 212, 255, 0.35);
  margin: 0 auto 1rem;
}

.testimonial-photo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  object-fit: cover;
  border: 2px solid rgba(0, 212, 255, 0.4);
}

.batch-type-img {
  width: 100%;
  height: 8rem;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.4s ease;
}

.gallery-item {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 180px;
}

html.light-theme .hero-image-panel {
  border-color: rgba(0, 0, 0, 0.1);
}

html.light-theme .hero-image-panel .hero-image-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 60%);
}

/* Navbar scroll state */
#navbar.scrolled {
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Navbar Courses mega menu */
.nav-courses-dropdown {
  position: relative;
}

.nav-courses-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font: inherit;
}

.nav-courses-mega {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  width: 42rem;
  min-width: 42rem;
  max-width: calc(100vw - 2rem);
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 60;
}

.nav-courses-dropdown:hover .nav-courses-mega,
.nav-courses-dropdown:focus-within .nav-courses-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-courses-mega-panel {
  padding: 0;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(192, 132, 252, 0.22);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.nav-courses-mega-layout {
  position: relative;
  min-width: 0;
  padding-left: 14.5rem;
}

.nav-courses-mega-visual {
  position: absolute;
  inset: 0 auto 0 0;
  width: 14.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: linear-gradient(180deg, #fdf4ff 0%, #e0e7ff 55%, #dbeafe 100%);
  border-right: 1px solid rgba(192, 132, 252, 0.14);
  overflow: hidden;
}

.nav-courses-mega-visual img {
  width: auto;
  height: 96%;
  min-height: 14rem;
  max-width: 135%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  transform: translateX(2%) scale(1.05);
  transform-origin: bottom center;
}

.nav-courses-mega-content {
  padding: 1.15rem 1.25rem 1.15rem 1rem;
  min-width: 0;
}

.nav-courses-mega-accent {
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--cfg-gradient-text);
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.nav-courses-mega-label {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9333ea;
}

.nav-courses-grid {
  display: grid;
  gap: 0.5rem;
}

.nav-course-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.8rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(192, 132, 252, 0.18);
  background: linear-gradient(145deg, #fdf4ff 0%, #f5f3ff 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.nav-course-item-it {
  background: linear-gradient(145deg, #eff6ff 0%, #e0e7ff 100%);
  border-color: rgba(59, 130, 246, 0.22);
}

.nav-course-item-nonit {
  background: linear-gradient(145deg, #fdf4ff 0%, #fce7f3 100%);
  border-color: rgba(192, 132, 252, 0.25);
}

.nav-course-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.08);
  border-color: rgba(147, 51, 234, 0.35);
}

.nav-course-item-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(147, 51, 234, 0.18);
  color: #9333ea;
}

.nav-course-item-it .nav-course-item-icon {
  color: #2563eb;
  border-color: rgba(59, 130, 246, 0.22);
}

.nav-course-item-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.nav-course-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.nav-course-item-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
}

.nav-course-item-desc {
  font-size: 0.75rem;
  color: #4b5563;
  line-height: 1.3;
}

.nav-course-item-count {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #9333ea;
}

.nav-course-item-it .nav-course-item-count {
  color: #2563eb;
}

.nav-course-item-arrow {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #9333ea;
  opacity: 0.55;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-course-item:hover .nav-course-item-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.nav-courses-mega-divider {
  height: 1px;
  margin: 0.75rem 0;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.35), transparent);
}

.nav-courses-mega-links {
  display: grid;
  gap: 0.35rem;
}

.nav-courses-mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-courses-mega-link:hover {
  background: rgba(243, 232, 255, 0.65);
  color: #9333ea;
}

.nav-courses-mega-link-flash {
  background: linear-gradient(145deg, rgba(253, 244, 255, 0.85), rgba(254, 243, 199, 0.45));
  border: 1px solid rgba(217, 119, 6, 0.18);
}

.nav-courses-mega-link-flash:hover {
  background: linear-gradient(145deg, rgba(253, 244, 255, 1), rgba(254, 243, 199, 0.65));
  color: #92400e;
}

.nav-courses-mega-link-main {
  display: block;
}

.nav-courses-mega-link-meta {
  font-size: 0.6875rem;
  font-weight: 500;
  color: #6b7280;
}

html:not(.light-theme) .nav-courses-mega-panel {
  background: rgba(17, 24, 39, 0.97);
  border-color: rgba(192, 132, 252, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

html:not(.light-theme) .nav-courses-mega-visual {
  background: linear-gradient(180deg, rgba(88, 28, 135, 0.28) 0%, rgba(30, 58, 138, 0.22) 100%);
  border-right-color: rgba(192, 132, 252, 0.18);
}

html:not(.light-theme) .nav-courses-mega-label {
  color: #c084fc;
}

html:not(.light-theme) .nav-course-item {
  background: linear-gradient(145deg, rgba(31, 41, 55, 0.95), rgba(17, 24, 39, 0.92));
  border-color: rgba(192, 132, 252, 0.22);
}

html:not(.light-theme) .nav-course-item-it {
  background: linear-gradient(145deg, rgba(30, 58, 138, 0.35), rgba(17, 24, 39, 0.92));
  border-color: rgba(59, 130, 246, 0.28);
}

html:not(.light-theme) .nav-course-item-nonit {
  background: linear-gradient(145deg, rgba(88, 28, 135, 0.28), rgba(17, 24, 39, 0.92));
}

html:not(.light-theme) .nav-course-item-title {
  color: #f9fafb;
}

html:not(.light-theme) .nav-course-item-desc {
  color: #d1d5db;
}

html:not(.light-theme) .nav-course-item-icon {
  background: rgba(255, 255, 255, 0.08);
}

html:not(.light-theme) .nav-courses-mega-link {
  color: #e5e7eb;
}

html:not(.light-theme) .nav-courses-mega-link:hover {
  background: rgba(147, 51, 234, 0.18);
  color: #f9fafb;
}

html:not(.light-theme) .nav-courses-mega-link-flash {
  background: linear-gradient(145deg, rgba(88, 28, 135, 0.25), rgba(17, 24, 39, 0.9));
  border-color: rgba(217, 119, 6, 0.28);
}

html.light-theme .nav-courses-mega-panel {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(192, 132, 252, 0.22);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.1);
}

@media (max-width: 720px) {
  .nav-courses-mega {
    width: min(22rem, calc(100vw - 2rem));
    min-width: min(22rem, calc(100vw - 2rem));
  }
}

@media (max-width: 520px) {
  .nav-courses-mega {
    width: min(20rem, calc(100vw - 2rem));
    min-width: min(20rem, calc(100vw - 2rem));
  }

  .nav-courses-mega-layout {
    padding-left: 0;
  }

  .nav-courses-mega-visual {
    display: none;
  }
}

/* Hero 3D Cards */
.hero-3d-scene {
  position: relative;
  perspective: 1200px;
  min-height: 420px;
}

.hero-3d-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
}

.hero-3d-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  text-decoration: none;
  color: inherit;
  border-radius: 1.25rem;
  outline: none;
}

.hero-3d-card:nth-child(1) { transform: rotateY(8deg) rotateX(4deg) translateZ(10px); }
.hero-3d-card:nth-child(2) { transform: rotateY(-6deg) rotateX(3deg) translateZ(20px); }
.hero-3d-card:nth-child(3) { transform: rotateY(5deg) rotateX(-3deg) translateZ(15px); }
.hero-3d-card:nth-child(4) { transform: rotateY(-8deg) rotateX(-4deg) translateZ(25px); }

.hero-3d-card:nth-child(1) .hero-3d-card-inner { animation: heroCardFloatInner 5s ease-in-out infinite; }
.hero-3d-card:nth-child(2) .hero-3d-card-inner { animation: heroCardFloatInner 5.5s ease-in-out infinite 0.5s; }
.hero-3d-card:nth-child(3) .hero-3d-card-inner { animation: heroCardFloatInner 6s ease-in-out infinite 1s; }
.hero-3d-card:nth-child(4) .hero-3d-card-inner { animation: heroCardFloatInner 5.8s ease-in-out infinite 1.5s; }

.hero-3d-card-inner {
  position: relative;
  padding: 1.5rem;
  min-height: 160px;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, rgba(26, 34, 53, 0.95) 0%, rgba(17, 24, 39, 0.85) 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.3),
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(var(--accent-rgb), 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 10px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.hero-3d-card:hover .hero-3d-card-inner {
  border-color: rgba(var(--accent-rgb), 0.7);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.35),
    0 30px 60px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(var(--accent-rgb), 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hero-3d-glow {
  position: absolute;
  top: -40%;
  right: -30%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.4) 0%, transparent 70%);
  pointer-events: none;
  transform: translateZ(-10px);
}

.hero-3d-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  transform: skewX(-15deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.hero-3d-card:hover .hero-3d-shine {
  left: 150%;
}

.hero-3d-icon-wrap {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.25), rgba(var(--accent-rgb), 0.08));
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateZ(30px);
  box-shadow:
    0 8px 20px rgba(var(--accent-rgb), 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.hero-3d-card:hover .hero-3d-icon-wrap {
  transform: translateZ(45px) scale(1.08) rotateY(10deg);
}

.hero-3d-icon {
  width: 24px;
  height: 24px;
  color: var(--accent);
  filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.6));
}

.hero-3d-title {
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  transform: translateZ(20px);
  position: relative;
}

.hero-3d-desc {
  font-size: 0.75rem;
  color: #9ca3af;
  transform: translateZ(15px);
  position: relative;
}

.hero-3d-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  background: rgba(var(--accent-rgb), 0.15);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  color: var(--accent);
  transform: translateZ(25px);
  backdrop-filter: blur(4px);
}

.hero-3d-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.1);
  pointer-events: none;
  z-index: 0;
}

.hero-3d-orbit-1 {
  width: 280px;
  height: 280px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(70deg);
  animation: heroOrbitSpin 20s linear infinite;
}

.hero-3d-orbit-2 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(70deg) rotateY(30deg);
  border-color: rgba(124, 58, 237, 0.15);
  animation: heroOrbitSpin 15s linear infinite reverse;
}

@keyframes heroOrbitSpin {
  from { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg); }
  to { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg); }
}

@keyframes heroCardFloatInner {
  0%, 100% { transform: translateZ(0); }
  50% { transform: translateZ(12px) translateY(-3px); }
}

/* Light theme hero 3D cards */
html.light-theme .hero-3d-card-inner {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%) !important;
  border: 1px solid rgba(var(--accent-rgb), 0.45) !important;
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.08),
    0 0 24px rgba(var(--accent-rgb), 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

html.light-theme .hero-3d-card:hover .hero-3d-card-inner {
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.1),
    0 24px 48px rgba(0, 0, 0, 0.12),
    0 0 40px rgba(var(--accent-rgb), 0.28) !important;
  border-color: rgba(var(--accent-rgb), 0.75) !important;
}

html.light-theme .hero-3d-title {
  color: #0f172a !important;
}

html.light-theme .hero-3d-desc {
  color: #64748b !important;
}

html.light-theme .hero-3d-icon-wrap {
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.18), rgba(var(--accent-rgb), 0.06)) !important;
  border-color: rgba(var(--accent-rgb), 0.45) !important;
  box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.2) !important;
}

html.light-theme .hero-3d-badge {
  background: rgba(var(--accent-rgb), 0.12) !important;
  border-color: rgba(var(--accent-rgb), 0.35) !important;
}

@media (max-width: 1023px) {
  .hero-3d-scene { min-height: auto; }
  .hero-3d-card:nth-child(n) { transform: none !important; animation: none !important; }
  .hero-3d-orbit { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-3d-card-inner { animation: none !important; }
  .hero-3d-orbit { animation: none !important; }
}

/* 3D Perspective */
.perspective-1000 {
  perspective: 1000px;
}

.card-3d {
  transform-style: preserve-3d;
}

.rotate-y-12 {
  transform: rotateY(-12deg) rotateX(5deg);
}

.rotate-y-12:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--cfg-motion-slow) var(--cfg-motion-ease), transform var(--cfg-motion-slow) var(--cfg-motion-ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-100 { transition-delay: 0.1s; }
.reveal.delay-200 { transition-delay: 0.2s; }
.reveal.delay-300 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Course cards — detail layout */
.course-card-detail {
  display: flex;
  flex-direction: column;
  border-radius: 1.35rem;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #fdf2f8 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.course-card-detail:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.1);
}

.course-card-hero {
  margin: 0.85rem 0.85rem 0;
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(145deg, #e0f2fe 0%, #fbcfe8 100%);
  aspect-ratio: 16 / 10;
}

.course-card-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-card-body {
  padding: 1rem 1.1rem 1.15rem;
  color: #111827;
}

.course-card-title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 0.55rem;
}

.course-card-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.85rem;
}

.course-card-rating-num {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #eab308;
}

.course-card-stars {
  display: inline-flex;
  gap: 0.05rem;
  line-height: 1;
}

.course-card-star {
  font-size: 0.8125rem;
  color: #d1d5db;
}

.course-card-star.is-full {
  color: #eab308;
}

.course-card-rating-meta {
  font-size: 0.6875rem;
  color: #6b7280;
}

.course-card-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #374151;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-card-price {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #9333ea;
  margin: 0 0 1rem;
}

.course-card-price-note {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
}

.course-card-buy {
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 9999px;
  background: #111827;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.course-card-buy:hover {
  background: #000;
  transform: translateY(-1px);
}

.course-card-title-link {
  color: inherit;
  text-decoration: none;
}

.course-card-title-link:hover {
  color: #9333ea;
}

.course-card-hero {
  display: block;
  text-decoration: none;
}

.course-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.course-card-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: #111827;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}

.course-card-view:hover {
  background: #fff;
}

.course-card-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(17, 24, 39, 0.14);
  background: rgba(255, 255, 255, 0.7);
  color: #111827;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.course-card-contact:hover {
  border-color: rgba(8, 145, 178, 0.45);
  color: #0891b2;
}

.course-card-actions .course-card-buy {
  width: 100%;
}

.courses-detail-grid {
  align-items: stretch;
}

.courses-detail-grid .course-card-detail {
  height: 100%;
}

.courses-catalog {
  position: relative;
  z-index: 1;
}

.courses-page-main,
.offers-page-main,
.demos-page-main,
.about-page-main,
.contact-page-main,
.batches-page-main {
  padding-top: 1.5rem;
}

.about-why-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92) 0%, rgba(243, 232, 255, 0.88) 100%);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.about-why-title {
  color: var(--cfg-heading, #111827);
}

.about-why-item {
  color: var(--cfg-muted, #4b5563);
}

html:not(.light-theme) .about-why-panel {
  background: linear-gradient(145deg, rgba(31, 41, 55, 0.92) 0%, rgba(55, 48, 163, 0.35) 100%);
  border-color: rgba(255, 255, 255, 0.12) !important;
}

html:not(.light-theme) .about-why-title {
  color: #f9fafb;
}

html:not(.light-theme) .about-why-item {
  color: #d1d5db;
}

.courses-filter-shell {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
  backdrop-filter: blur(10px);
}

.courses-track-filters,
.courses-category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.courses-category-filters {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.courses-offer-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(147, 51, 234, 0.16), transparent 42%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.96) 0%, rgba(124, 58, 237, 0.92) 100%);
  border: 1px solid rgba(147, 51, 234, 0.35);
  box-shadow: 0 16px 36px rgba(124, 58, 237, 0.18);
  color: #fff;
}

.courses-offer-banner-tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.courses-offer-banner-title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
}

.courses-offer-banner-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 42rem;
}

.courses-offer-banner-was {
  text-decoration: line-through;
  opacity: 0.72;
}

.courses-offer-banner-btn {
  flex-shrink: 0;
  border: none;
  border-radius: 9999px;
  padding: 0.85rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16);
}

.courses-offer-banner-btn:hover {
  transform: translateY(-1px);
}

.course-catalog-section {
  position: relative;
}

.course-catalog-section-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
}

.course-catalog-section-accent {
  width: 4px;
  min-height: 3.5rem;
  border-radius: 9999px;
  background: linear-gradient(180deg, #9333ea, #7c3aed);
  flex-shrink: 0;
}

.course-catalog-section[data-track="non-it"] .course-catalog-section-accent {
  background: linear-gradient(180deg, #d946ef, #9333ea);
}

.course-catalog-section-title {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.course-catalog-section-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
  max-width: 42rem;
}

.courses-catalog-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.35rem;
}

@media (min-width: 640px) {
  .courses-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .courses-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.course-catalog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 1.35rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.course-catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(17, 24, 39, 0.1);
  border-color: rgba(147, 51, 234, 0.22);
}

.course-catalog-card.is-it:hover {
  border-color: rgba(147, 51, 234, 0.28);
}

.course-catalog-card.is-non-it:hover {
  border-color: rgba(217, 70, 239, 0.28);
}

.course-catalog-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  text-decoration: none;
}

.course-catalog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.course-catalog-card:hover .course-catalog-card-img {
  transform: scale(1.04);
}

.course-catalog-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.05) 0%, rgba(17, 24, 39, 0.55) 100%);
}

.course-catalog-card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 1;
  padding: 0.28rem 0.65rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #111827;
}

.course-catalog-card-track {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 1;
  padding: 0.28rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(6px);
}

.course-catalog-card.is-it .course-catalog-card-track {
  background: rgba(124, 58, 237, 0.88);
}

.course-catalog-card.is-non-it .course-catalog-card-track {
  background: rgba(217, 70, 239, 0.88);
}

.course-catalog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.1rem 1.15rem 1.15rem;
}

.course-catalog-card-title {
  margin: 0 0 0.45rem;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.35;
}

.course-catalog-card-title a {
  color: #111827;
  text-decoration: none;
}

.course-catalog-card-title a:hover {
  color: #9333ea;
}

.course-catalog-card-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.45rem;
  margin-bottom: 0.75rem;
}

.course-catalog-card-rating-num {
  font-size: 0.8125rem;
  font-weight: 800;
  color: #eab308;
}

.course-catalog-card-stars {
  display: inline-flex;
  gap: 0.05rem;
}

.course-catalog-card-stars .course-card-star {
  font-size: 0.75rem;
}

.course-catalog-card-rating-meta {
  font-size: 0.6875rem;
  color: #94a3b8;
}

.course-catalog-card-desc {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-catalog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.85rem;
}

.course-catalog-card-meta span {
  padding: 0.28rem 0.55rem;
  border-radius: 9999px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.95);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #64748b;
}

.course-catalog-card-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.85rem;
}

.course-catalog-card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: #7c3aed;
  line-height: 1;
}

.course-catalog-card.is-non-it .course-catalog-card-price {
  color: #c026d3;
}

.course-catalog-card-price-note {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #94a3b8;
}

.course-catalog-card-modules {
  margin-bottom: 0.85rem;
  padding: 0.75rem;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.85));
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.course-catalog-card-modules-label {
  margin: 0 0 0.45rem;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}

.course-catalog-card-module-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  max-height: 8.5rem;
  overflow: auto;
}

.course-catalog-card-module {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.45rem;
}

.course-catalog-card-module-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  min-width: 0;
}

.course-catalog-card-module-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: #7c3aed;
  white-space: nowrap;
}

.course-catalog-card-module.is-free .course-catalog-card-module-price {
  color: #16a34a;
}

.course-catalog-card-module-add {
  border: none;
  border-radius: 9999px;
  padding: 0.28rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: #9333ea;
  cursor: pointer;
}

.course-catalog-card-module-add.cart-add-btn-free {
  background: #16a34a;
}

.course-catalog-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: auto;
}

.course-catalog-card-view,
.course-catalog-card-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.course-catalog-card-view {
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(203, 213, 225, 0.95);
}

.course-catalog-card-view:hover {
  background: #fff;
}

.course-catalog-card-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #fff;
  padding: 0.82rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #374151;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.course-catalog-card-contact:hover {
  border-color: rgba(8, 145, 178, 0.45);
  color: #0891b2;
}

.course-catalog-card-cart {
  border: none;
  color: #fff;
  background: linear-gradient(90deg, #111827, #7c3aed);
}

.course-catalog-card-cart:hover {
  transform: translateY(-1px);
}

.course-catalog-card.is-non-it .course-catalog-card-cart {
  background: linear-gradient(90deg, #111827, #d946ef);
}

.course-catalog-group {
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.course-catalog-group-title {
  margin: 0;
  padding: 1rem 1.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  background: linear-gradient(90deg, rgba(147, 51, 234, 0.08) 0%, rgba(219, 234, 254, 0.5) 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.course-catalog-table-wrap {
  overflow-x: auto;
}

.course-catalog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.course-catalog-table th,
.course-catalog-table td {
  padding: 0.85rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
}

.course-catalog-table th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
  background: rgba(248, 250, 252, 0.9);
}

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

.course-catalog-row-main td {
  font-weight: 600;
  color: #111827;
}

.course-catalog-row-module td:first-child {
  padding-left: 2.25rem;
  color: #374151;
  position: relative;
}

.course-catalog-row-module td:first-child::before {
  content: '↳';
  position: absolute;
  left: 1.25rem;
  color: #9333ea;
}

.course-catalog-link {
  color: inherit;
  text-decoration: none;
}

.course-catalog-link:hover {
  color: #9333ea;
}

.course-catalog-price {
  font-weight: 700;
  color: #9333ea;
  white-space: nowrap;
}

.course-catalog-action {
  text-align: right;
  white-space: nowrap;
}

.course-catalog-view,
.course-catalog-enroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
}

.course-catalog-view {
  margin-right: 0.35rem;
  color: #374151;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #fff;
  text-decoration: none;
}

.course-catalog-enroll {
  border: none;
  background: #111827;
  color: #fff;
  cursor: pointer;
}

.course-catalog-enroll:hover,
.course-catalog-view:hover {
  opacity: 0.92;
}

.course-catalog-cart,
.course-view-module-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  background: #9333ea;
  color: #fff;
  cursor: pointer;
}

.cart-add-btn-free {
  background: #16a34a;
}

.cart-add-btn-added,
.course-catalog-card-module-add.cart-add-btn-added,
.course-catalog-card-cart.cart-add-btn-added,
.course-view-module-add.cart-add-btn-added,
.course-view-buy.cart-add-btn-added,
.course-card-buy.cart-add-btn-added,
.course-catalog-cart.cart-add-btn-added {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #16a34a !important;
  color: #fff !important;
  border-color: #16a34a !important;
  cursor: default;
  opacity: 1;
}

.cart-add-btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.course-catalog-row-free .course-catalog-price {
  color: #16a34a;
}

.cfg-cart-nav-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.85);
  color: #111827;
}

@keyframes cfg-elearning-border-rotate {
  to {
    transform: rotate(360deg);
  }
}

.cfg-elearning-switch {
  position: relative;
  isolation: isolate;
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.55rem 0.28rem 0.4rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  overflow: hidden;
  cursor: pointer;
}

.cfg-elearning-switch::before {
  content: '';
  position: absolute;
  inset: -120%;
  z-index: 0;
  background: conic-gradient(
    from 0deg,
    #7c3aed,
    #06b6d4,
    #d946ef,
    #f59e0b,
    #22c55e,
    #7c3aed
  );
  animation: cfg-elearning-border-rotate 3.5s linear infinite;
}

.cfg-elearning-switch::after {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
}

.cfg-elearning-switch > * {
  position: relative;
  z-index: 1;
}

.cfg-elearning-switch:has(.cfg-elearning-toggle:checked)::before {
  animation-duration: 2.5s;
}

.cfg-elearning-switch-mobile {
  display: inline-flex;
  margin-top: 0.35rem;
}

.cfg-elearning-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cfg-elearning-slider {
  position: relative;
  width: 2.1rem;
  height: 1.2rem;
  border-radius: 9999px;
  background: #cbd5e1;
  transition: background 0.2s ease;
}

.cfg-elearning-slider::after {
  content: '';
  position: absolute;
  top: 0.12rem;
  left: 0.12rem;
  width: 0.96rem;
  height: 0.96rem;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.cfg-elearning-toggle:checked + .cfg-elearning-slider {
  background: #9333ea;
}

.cfg-elearning-toggle:checked + .cfg-elearning-slider::after {
  transform: translateX(0.9rem);
}

.cfg-elearning-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  white-space: nowrap;
}

@media (min-width: 1280px) {
  .cfg-elearning-switch {
    display: inline-flex;
  }
}

.cfg-nav-phone {
  display: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .cfg-nav-phone.is-visible {
    display: inline-flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.cfg-cart-nav-btn svg {
  width: 1.15rem;
  height: 1.15rem;
}

.cfg-cart-count {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  border-radius: 9999px;
  background: #9333ea;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cfg-cart-modal.flex {
  display: flex;
}

.cfg-cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
}

.cfg-cart-close {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 9999px;
  background: #f3f4f6;
  color: #374151;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.cfg-cart-list {
  max-height: 20rem;
  overflow-y: auto;
  padding: 0.75rem 1.25rem;
}

.cfg-cart-empty {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
  padding: 2rem 0;
}

.cfg-cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.cfg-cart-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.cfg-cart-item-meta {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.15rem;
}

.cfg-cart-item-was {
  text-decoration: line-through;
  color: #9ca3af;
}

.cfg-cart-item-bonus {
  color: #15803d;
  font-weight: 600;
}

.cfg-cart-item-remove {
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.cfg-cart-foot {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid #e5e7eb;
}

.cfg-cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-size: 0.9375rem;
  color: #374151;
}

.cfg-cart-total-row strong {
  font-size: 1.125rem;
  color: #9333ea;
}

.cfg-cart-checkout {
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 9999px;
  background: #111827;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}

.cfg-cart-checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cfg-payment-body {
  padding: 1rem 1.25rem 1.25rem;
}

.cfg-payment-note,
.cfg-payment-upi-row,
.cfg-payment-amount-row {
  font-size: 0.875rem;
  color: #374151;
  margin-bottom: 0.65rem;
}

.cfg-payment-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 0.75rem 0 1rem;
}

.cfg-payment-qr {
  width: min(100%, 220px);
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
}

.cfg-payment-summary {
  margin: 0 0 1rem;
  padding: 0.75rem 0 0 1rem;
  font-size: 0.8125rem;
  color: #4b5563;
}

.cfg-payment-form {
  display: grid;
  gap: 0.65rem;
}

.cfg-payment-either {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0 0 0.25rem;
}

.cfg-payment-or {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  margin: 0.15rem 0;
}

.cfg-payment-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
}

.cfg-payment-input,
.cfg-payment-file {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.85rem;
  padding: 0.7rem 0.85rem;
  font-size: 0.875rem;
}

.course-view-module-pricing li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.5rem;
  align-items: center;
}

.course-view-module-price {
  font-weight: 600;
  color: #9333ea;
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.course-card {
  transform-style: preserve-3d;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.course-card:not(.course-card-detail):hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.08);
}

.course-card.hidden-card {
  display: none;
}

/* Course detail / view page */
.course-view-page {
  min-height: 60vh;
}

.course-view {
  width: 100%;
}

@media (min-width: 1024px) {
  .course-view-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
    gap: 1.5rem;
    align-items: start;
    padding: 0;
  }

  .course-view-main {
    min-width: 0;
  }

  .course-view-sidebar {
    position: sticky;
    top: 6.5rem;
    padding: 1rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.06);
  }

  .course-view-hero {
    margin: 0 0 1.5rem;
  }

  .course-view-head,
  .course-view-tabs,
  .course-view-panels {
    padding-left: 0;
    padding-right: 0;
  }

  .course-view-head {
    padding-top: 1rem;
  }

  .course-view-buy {
    width: 100%;
    margin: 0;
  }

  .course-view-sidebar-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.25rem;
  }

  .course-view-sidebar-original {
    font-size: 0.875rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-bottom: 1rem;
  }

  .course-view-module-pricing {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: 0.35rem;
    font-size: 0.8125rem;
  }

  .course-view-module-pricing li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: #374151;
  }

  .course-view-module-pricing li span:last-child {
    font-weight: 600;
    color: #9333ea;
    white-space: nowrap;
  }

  .course-view-sidebar-meta {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    color: #374151;
  }
}

.course-view-hero {
  position: relative;
  margin: 0 0 1.25rem;
  border-radius: 1.15rem;
  overflow: hidden;
  background: linear-gradient(145deg, #e0f2fe 0%, #fbcfe8 100%);
  aspect-ratio: 21 / 9;
}

.course-view-hero-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 9999px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(17, 24, 39, 0.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.25);
}

.course-view-hero-play:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(124, 58, 237, 0.72);
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.28);
}

.course-view-hero-play svg {
  width: 1.35rem;
  height: 1.35rem;
  margin-left: 0.15rem;
}

.course-view-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-view-demo {
  margin: 0 0 1.5rem;
}

.course-view-demo-frame {
  position: relative;
  width: 100%;
  border-radius: 1.15rem;
  overflow: hidden;
  background: #0f172a;
  aspect-ratio: 16 / 9;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
}

.course-view-demo-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.course-view-head {
  padding: 0 0 0.5rem;
}

.course-view-title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 0.65rem;
}

.course-view-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.course-view-rating-num {
  font-size: 0.875rem;
  font-weight: 700;
  color: #eab308;
}

.course-view-stars {
  display: inline-flex;
  gap: 0.05rem;
}

.course-view-stars .course-card-star {
  font-size: 0.875rem;
}

.course-view-rating-meta {
  font-size: 0.75rem;
  color: #6b7280;
}

.course-view-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.75rem 0 0.25rem;
}

.course-view-tab {
  border: none;
  background: transparent;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #9ca3af;
  padding: 0.45rem 0.7rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.course-view-tab.is-active {
  color: #111827;
  background: #fff;
  box-shadow: 0 2px 12px rgba(17, 24, 39, 0.08);
}

.course-view-panels {
  padding: 0.75rem 0 1rem;
}

.course-view-panel {
  display: none;
}

.course-view-panel.is-active {
  display: block;
}

.course-view-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.85rem;
}

.course-view-features {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.course-view-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #111827;
}

.course-view-feature-icon {
  width: 1.35rem;
  height: 1.35rem;
  color: #9333ea;
  flex-shrink: 0;
}

.course-view-feature-icon svg {
  width: 100%;
  height: 100%;
}

.course-view-desc {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 0.75rem;
}

.course-view-modules {
  display: grid;
  gap: 0.65rem;
}

.course-view-module {
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 18px rgba(17, 24, 39, 0.06);
  overflow: hidden;
}

.course-view-module-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.course-view-module-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
}

.course-view-module-meta {
  font-size: 0.6875rem;
  color: #6b7280;
  white-space: nowrap;
}

.course-view-module-lessons {
  list-style: none;
  margin: 0;
  padding: 0 1rem 0.85rem;
  display: none;
  gap: 0.55rem;
}

.course-view-module.is-open .course-view-module-lessons {
  display: grid;
}

.course-view-lesson {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  color: #111827;
}

.course-view-lesson-play {
  width: 1.35rem;
  height: 1.35rem;
  color: #9333ea;
  display: inline-flex;
}

.course-view-lesson-play svg {
  width: 100%;
  height: 100%;
}

.course-view-lesson-time {
  font-size: 0.6875rem;
  color: #6b7280;
}

.course-view-instructor-head {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.course-view-instructor-photo {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 1rem;
  object-fit: cover;
}

.course-view-instructor-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.2rem;
}

.course-view-instructor-role {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0 0 0.65rem;
}

.course-view-instructor-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.course-view-instructor-stats li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #374151;
}

.course-view-stat-icon {
  width: 1rem;
  height: 1rem;
  color: #6b7280;
  display: inline-flex;
}

.course-view-stat-icon svg {
  width: 100%;
  height: 100%;
}

.course-view-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.course-view-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9333ea;
  text-decoration: none;
}

.course-view-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.course-view-mini-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 9.5rem;
  padding: 0.55rem;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--mini-bg, linear-gradient(145deg, #ddd6fe, #fbcfe8));
  text-decoration: none;
  color: #fff;
}

.course-view-mini-rating {
  align-self: flex-start;
  font-size: 0.625rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.85);
  color: #111827;
  padding: 0.15rem 0.4rem;
  border-radius: 9999px;
  z-index: 2;
}

.course-view-mini-img {
  width: 70%;
  align-self: center;
  margin: 0.25rem auto;
  object-fit: contain;
}

.course-view-mini-title {
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.35;
  margin-top: auto;
  z-index: 2;
}

.course-view-mini-foot {
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.5625rem;
  opacity: 0.95;
  z-index: 2;
}

.course-view-reviews {
  list-style: none;
  margin: 0;
  padding: 0;
}

.course-view-review {
  display: grid;
  grid-template-columns: 2.5rem 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}

.course-view-review:last-child {
  border-bottom: none;
}

.course-view-review-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  object-fit: cover;
}

.course-view-review-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.25rem;
}

.course-view-review-text {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #374151;
  margin: 0;
}

.course-view-review-stars .course-card-star {
  font-size: 0.75rem;
}

.course-view-buy {
  display: block;
  width: calc(100% - 2.3rem);
  margin: 0.25rem auto 0;
  padding: 0.95rem 1rem;
  border: none;
  border-radius: 9999px;
  background: #111827;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.course-view-buy:hover {
  background: #000;
}

.course-view-sidebar {
  display: none;
}

.course-view-buy-mobile {
  margin-top: 1rem;
}

.course-view-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 2.3rem);
  margin: 0.25rem auto 0;
  padding: 0.9rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #fff;
  color: #374151;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.course-view-contact-link:hover {
  border-color: rgba(8, 145, 178, 0.45);
  color: #0891b2;
}

.course-view-contact-mobile {
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .course-view-sidebar {
    display: block;
  }

  .course-view-buy-mobile {
    display: none;
  }
}

/* Shared horizontal carousel (related courses, testimonials, etc.) */
.cfg-carousel-head,
.course-related-head {
  margin-bottom: 1.25rem;
}

.cfg-carousel-nav,
.course-related-nav {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cfg-carousel-prev,
.cfg-carousel-next,
.course-related-prev,
.course-related-next {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: rgba(255, 255, 255, 0.88);
  color: #111827;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.cfg-carousel-prev:hover:not(:disabled),
.cfg-carousel-next:hover:not(:disabled),
.course-related-prev:hover:not(:disabled),
.course-related-next:hover:not(:disabled) {
  background: #fff;
  border-color: rgba(147, 51, 234, 0.45);
  transform: translateY(-1px);
}

.cfg-carousel-prev:disabled,
.cfg-carousel-next:disabled,
.course-related-prev:disabled,
.course-related-next:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cfg-carousel-wrap,
.course-related-carousel-wrap {
  position: relative;
}

.cfg-carousel-track,
.course-related-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.cfg-carousel-track::-webkit-scrollbar,
.course-related-track::-webkit-scrollbar {
  display: none;
}

/* Course view — related courses carousel */
.course-related-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.course-related-carousel-card {
  position: relative;
  flex: 0 0 min(85vw, 300px);
  scroll-snap-align: start;
  border-radius: 1.15rem;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 640px) {
  .course-related-carousel-card {
    flex-basis: 300px;
  }
}

.course-related-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.12);
}

.course-related-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-related-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, rgba(15, 23, 42, 0.82) 72%);
}

.course-related-carousel-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem 1.15rem;
  z-index: 1;
}

.course-related-carousel-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e9d5ff;
  margin-bottom: 0.35rem;
}

.course-related-carousel-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 0.35rem;
}

.course-related-carousel-meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Home — testimonials carousel */
#testimonials-section.cfg-carousel-section {
  padding-top: 0;
}

.testimonial-carousel-card {
  position: relative;
  flex: 0 0 min(85vw, 320px);
  scroll-snap-align: start;
  border-radius: 1.15rem;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 640px) {
  .testimonial-carousel-card {
    flex-basis: 320px;
  }
}

.testimonial-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.12);
}

.testimonial-carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.9) 78%);
}

.testimonial-carousel-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.1rem 1.15rem;
  z-index: 1;
}

.testimonial-carousel-stars {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #fbbf24;
  margin-bottom: 0.5rem;
}

.testimonial-carousel-quote {
  font-size: 0.875rem;
  line-height: 1.5;
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-carousel-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.testimonial-carousel-meta {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.82);
}

.course-view-career {
  margin-top: 3rem;
  padding: 2.5rem 0 0;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.25rem;
}

html:not(.light-theme) .course-related-section,
html:not(.light-theme) .course-view-career {
  border-top-color: rgba(255, 255, 255, 0.1);
}

html:not(.light-theme) .cfg-carousel-prev,
html:not(.light-theme) .cfg-carousel-next,
html:not(.light-theme) .course-related-prev,
html:not(.light-theme) .course-related-next {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #f9fafb;
}

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

  .cfg-carousel-nav,
  .course-related-nav {
    width: 100%;
    justify-content: flex-end;
  }

  .course-view-module-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-view-instructor-head {
    grid-template-columns: 1fr;
  }
}

/* Nuton-style bento cards */
.cfg-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  grid-auto-flow: dense;
}

@media (min-width: 1024px) {
  .cfg-bento-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.cfg-bento-card {
  position: relative;
  display: block;
  border-radius: 1.25rem;
  overflow: hidden;
  background: var(--bento-bg, linear-gradient(145deg, #ddd6fe 0%, #fbcfe8 100%));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
  min-height: 128px;
  text-decoration: none;
  color: #111827;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cfg-bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.12);
}

.cfg-bento-card-tall {
  min-height: 196px;
  grid-row: span 2;
}

.cfg-bento-card-wide {
  grid-column: span 2;
  min-height: 144px;
}

.cfg-bento-deco {
  position: absolute;
  width: min(68%, 220px);
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  opacity: 0.98;
  transform: rotate(var(--deco-rotate, -10deg)) scale(var(--deco-scale, 0.95));
  filter: drop-shadow(0 12px 28px rgba(17, 24, 39, 0.16));
  transition: transform 0.45s ease;
}

.cfg-bento-card:hover .cfg-bento-deco {
  transform: rotate(calc(var(--deco-rotate, -10deg) + 10deg)) scale(calc(var(--deco-scale, 0.95) + 0.06));
}

.cfg-bento-pos-br .cfg-bento-deco { right: -16%; bottom: -20%; }
.cfg-bento-pos-tr .cfg-bento-deco { right: -12%; top: -18%; }
.cfg-bento-pos-bl .cfg-bento-deco { left: -14%; bottom: -16%; }
.cfg-bento-pos-tl .cfg-bento-deco { left: -12%; top: -16%; }

.cfg-bento-pos-cr .cfg-bento-deco {
  right: -10%;
  top: 50%;
  transform: translateY(-50%) rotate(var(--deco-rotate, -10deg)) scale(var(--deco-scale, 0.95));
}

.cfg-bento-card:hover.cfg-bento-pos-cr .cfg-bento-deco {
  transform: translateY(-50%) rotate(calc(var(--deco-rotate, -10deg) + 10deg)) scale(calc(var(--deco-scale, 0.95) + 0.06));
}

.cfg-bento-content {
  position: relative;
  z-index: 2;
  padding: 0.95rem 1rem;
  max-width: 78%;
}

.cfg-bento-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: #111827;
}

.cfg-bento-sub {
  margin-top: 0.2rem;
  font-size: 0.6875rem;
  line-height: 1.35;
  color: #374151;
}

.cfg-bento-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(17, 24, 39, 0.12);
}

.cfg-bento-meta {
  font-size: 0.625rem;
  line-height: 1.35;
  color: #4b5563;
}

.cfg-bento-action {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #111827;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 9999px;
  padding: 0.2rem 0.55rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cfg-bento-action:hover {
  background: rgba(255, 255, 255, 0.85);
}

.home-batch-card {
  min-height: 168px;
}

.home-batch-card .cfg-bento-deco {
  width: min(46%, 140px);
}

.home-batch-card .cfg-bento-content {
  max-width: 100%;
  min-height: 100%;
  padding: 1rem 46% 1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.home-batch-card .cfg-bento-title {
  font-size: 0.9375rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-batch-card .cfg-bento-sub {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.home-batch-card .cfg-bento-foot {
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.home-batch-card .cfg-bento-meta {
  font-size: 0.75rem;
  flex: 1 1 8rem;
}

.home-batch-card .cfg-bento-action {
  flex-shrink: 0;
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
}

@media (max-width: 640px) {
  .cfg-bento-card-wide {
    grid-column: span 1;
  }

  .cfg-bento-card-tall {
    grid-row: span 1;
    min-height: 128px;
  }

  .cfg-bento-deco {
    width: min(58%, 160px);
  }

  .home-batch-card {
    min-height: 156px;
  }

  .home-batch-card .cfg-bento-content {
    padding-right: 42%;
  }

  .home-batch-card .cfg-bento-deco {
    width: min(42%, 120px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cfg-bento-card,
  .cfg-bento-deco,
  .cfg-bento-card:hover .cfg-bento-deco {
    transition: none;
  }
}

/* Crash course flip cards */
.flash-flip-card {
  perspective: 1100px;
  min-height: 22rem;
  cursor: pointer;
}

.flash-flip-inner {
  position: relative;
  width: 100%;
  min-height: 22rem;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.flash-flip-card:hover .flash-flip-inner,
.flash-flip-card.is-flipped .flash-flip-inner {
  transform: rotateY(180deg);
}

.flash-flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(217, 70, 239, 0.22);
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
  background: var(--flash-bg, linear-gradient(145deg, #fdf4ff, #fce7f3));
}

.flash-flip-back {
  transform: rotateY(180deg);
}

.flash-flip-deco {
  position: absolute;
  right: -12%;
  bottom: -18%;
  width: min(58%, 170px);
  transform: rotate(var(--deco-rotate, -12deg));
  pointer-events: none;
  opacity: 0.95;
}

.flash-flip-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  color: #111827;
}

.flash-flip-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.flash-flip-discount {
  display: inline-flex;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #86198f;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
}

.flash-flip-module {
  display: inline-flex;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #374151;
  background: rgba(255, 255, 255, 0.55);
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
}

.flash-flip-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  margin: 0 0 0.5rem;
  max-width: 78%;
}

.flash-flip-meta {
  font-size: 0.8125rem;
  color: #374151;
  margin: 0 0 0.75rem;
}

.flash-flip-desc {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #374151;
  margin: 0 0 0.85rem;
  flex: 1;
}

.flash-flip-price {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #86198f;
  margin-top: auto;
}

.flash-flip-hint {
  margin-top: 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6b7280;
}

.flash-flip-details {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.flash-flip-details li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: #374151;
}

.flash-flip-details strong {
  color: #111827;
  font-weight: 600;
}

.flash-flip-back-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
}

.flash-flip-original {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.flash-flip-back-foot .flash-flip-price {
  font-size: 1.15rem;
  margin-top: 0;
}

.flash-flip-enroll {
  flex-shrink: 0;
  padding: 0.55rem 0.9rem;
  border: none;
  border-radius: 0.65rem;
  background: #111827;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.flash-flip-enroll:hover {
  background: #000;
}

.flash-flip-contact {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(17, 24, 39, 0.2);
  background: rgba(255, 255, 255, 0.85);
  color: #111827;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.flash-flip-contact:hover {
  background: #fff;
  border-color: rgba(147, 51, 234, 0.35);
}

.flash-flip-card--no-price .flash-flip-back-foot {
  justify-content: flex-end;
}

@media (prefers-reduced-motion: reduce) {
  .flash-flip-inner {
    transition: none;
  }

  .flash-flip-card:hover .flash-flip-inner {
    transform: none;
  }

  .flash-flip-back {
    position: relative;
    inset: auto;
    transform: none;
    margin-top: 0.75rem;
  }

  .flash-flip-front {
    position: relative;
    inset: auto;
  }

  .flash-flip-inner {
    display: grid;
    gap: 0.75rem;
    transform: none !important;
  }

  .flash-flip-hint {
    display: none;
  }
}

/* Demo session ticket cards — expand on hover (distinct from flip cards) */
.demo-ticket-card {
  cursor: pointer;
}

.demo-ticket-shell {
  position: relative;
  border-radius: 1.15rem;
  background: var(--demo-bg, linear-gradient(145deg, #ecfeff, #cffafe));
  border: 1px solid rgba(6, 182, 212, 0.28);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.07);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.demo-ticket-card:hover .demo-ticket-shell,
.demo-ticket-card.is-expanded .demo-ticket-shell {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(6, 182, 212, 0.16);
}

.demo-ticket-notch {
  position: absolute;
  top: 50%;
  width: 1rem;
  height: 1rem;
  margin-top: -0.5rem;
  border-radius: 50%;
  background: #f8fafc;
  z-index: 3;
}

html:not(.light-theme) .demo-ticket-notch {
  background: #0a0e1a;
}

.demo-ticket-notch-left {
  left: -0.5rem;
}

.demo-ticket-notch-right {
  right: -0.5rem;
}

.demo-ticket-main {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 1.15rem 1.25rem 1rem;
  min-height: 11.5rem;
}

.demo-ticket-date {
  flex-shrink: 0;
  width: 4.25rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: 0.85rem;
  padding: 0.55rem 0.35rem;
  align-self: flex-start;
}

.demo-ticket-weekday {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #0891b2;
}

.demo-ticket-day {
  display: block;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  color: #111827;
}

.demo-ticket-month {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #374151;
}

.demo-ticket-content {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  color: #111827;
}

.demo-ticket-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.demo-ticket-live {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #0e7490;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.18rem 0.45rem;
  border-radius: 9999px;
}

.demo-ticket-live-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #06b6d4;
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.25);
  animation: demo-live-pulse 1.6s ease-in-out infinite;
}

@keyframes demo-live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.demo-ticket-badge {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #374151;
  background: rgba(255, 255, 255, 0.55);
  padding: 0.18rem 0.45rem;
  border-radius: 9999px;
}

.demo-ticket-badge-free {
  color: #047857;
  background: rgba(209, 250, 229, 0.85);
}

.demo-ticket-title {
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.35rem;
  max-width: 92%;
}

.demo-ticket-instructor {
  font-size: 0.8125rem;
  color: #374151;
  margin: 0 0 0.25rem;
}

.demo-ticket-meta {
  font-size: 0.8125rem;
  color: #4b5563;
  margin: 0;
}

.demo-ticket-hint {
  margin-top: auto;
  padding-top: 0.65rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6b7280;
}

.demo-ticket-deco {
  position: absolute;
  right: -10%;
  bottom: -22%;
  width: min(52%, 150px);
  transform: rotate(var(--deco-rotate, 10deg));
  pointer-events: none;
  opacity: 0.88;
}

.demo-ticket-expand {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.demo-ticket-card:hover .demo-ticket-expand,
.demo-ticket-card.is-expanded .demo-ticket-expand {
  grid-template-rows: 1fr;
}

.demo-ticket-expand-inner {
  overflow: hidden;
  padding: 0 1.25rem;
}

.demo-ticket-card:hover .demo-ticket-expand-inner,
.demo-ticket-card.is-expanded .demo-ticket-expand-inner {
  padding-bottom: 1.15rem;
}

.demo-ticket-topics-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0891b2;
  margin: 0 0 0.45rem;
  padding-top: 0.15rem;
  border-top: 1px dashed rgba(6, 182, 212, 0.35);
}

.demo-ticket-topics {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.demo-ticket-topics li {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #0e7490;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
}

.demo-ticket-seats-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #4b5563;
  margin-bottom: 0.35rem;
}

.demo-ticket-urgent {
  color: #b45309;
  font-weight: 700;
}

.demo-ticket-progress {
  height: 0.45rem;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.demo-ticket-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #06b6d4, #6366f1);
  transition: width 0.4s ease;
}

.demo-ticket-register {
  width: 100%;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #0891b2, #6366f1);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.demo-ticket-register:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {
  .demo-ticket-shell,
  .demo-ticket-expand,
  .demo-ticket-progress-fill,
  .demo-ticket-register {
    transition: none;
  }

  .demo-ticket-live-dot {
    animation: none;
  }

  .demo-ticket-expand {
    grid-template-rows: 1fr;
  }

  .demo-ticket-expand-inner {
    padding-bottom: 1.15rem;
  }

  .demo-ticket-hint {
    display: none;
  }
}

@media (max-width: 640px) {
  .demo-ticket-main {
    min-height: 10.5rem;
  }

  .demo-ticket-title {
    max-width: 100%;
  }
}

/* Upcoming Batches — split showcase carousel */
.batch-showcase-section {
  background:
    radial-gradient(circle at 18% 22%, rgba(243, 232, 255, 0.55) 0%, transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(186, 230, 253, 0.48) 0%, transparent 40%),
    rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

html:not(.light-theme) .batch-showcase-section {
  background:
    radial-gradient(circle at 18% 22%, rgba(147, 51, 234, 0.14) 0%, transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(59, 130, 246, 0.12) 0%, transparent 40%),
    rgba(255, 255, 255, 0.03);
}

.batch-showcase-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .batch-showcase-layout {
    grid-template-columns: minmax(280px, 34%) 1fr;
    gap: 2.75rem;
  }
}

.batch-showcase-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 22rem;
  padding-bottom: 3.5rem;
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .batch-showcase-copy {
    min-height: 26rem;
    padding-bottom: 0;
  }
}

.batch-showcase-more {
  margin-top: 1.35rem;
  align-self: flex-start;
}

.batch-showcase-nav {
  display: flex;
  gap: 0;
  margin-top: 1.75rem;
}

@media (min-width: 1024px) {
  .batch-showcase-nav {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-top: 0;
  }
}

.batch-showcase-prev,
.batch-showcase-next {
  width: 2.85rem;
  height: 2.85rem;
  border: none;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.batch-showcase-prev {
  background: var(--cfg-lavender);
  color: var(--cfg-heading);
  border: 1px solid rgba(192, 132, 252, 0.25);
}

.batch-showcase-next {
  background: var(--cfg-primary);
  color: #fff;
}

html:not(.light-theme) .batch-showcase-prev {
  background: rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.12);
}

html:not(.light-theme) .batch-showcase-next {
  background: linear-gradient(90deg, #9333ea, #c026d3);
}

.batch-showcase-prev:hover:not(:disabled),
.batch-showcase-next:hover:not(:disabled) {
  transform: translateY(-1px);
}

.batch-showcase-next:hover:not(:disabled) {
  background: var(--cfg-primary-hover);
}

html:not(.light-theme) .batch-showcase-next:hover:not(:disabled) {
  background: linear-gradient(90deg, #7e22ce, #a21caf);
}

.batch-showcase-prev:disabled,
.batch-showcase-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.batch-showcase-carousel-wrap {
  min-width: 0;
  overflow: hidden;
}

.batch-showcase-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.15rem 0 0.35rem;
}

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

.batch-showcase-card {
  position: relative;
  flex: 0 0 min(74%, 17.5rem);
  height: 26rem;
  overflow: hidden;
  scroll-snap-align: start;
  border: none;
  padding: 0;
  background: var(--cfg-primary);
}

@media (min-width: 640px) {
  .batch-showcase-card {
    flex-basis: min(46%, 16.25rem);
  }
}

@media (min-width: 1024px) {
  .batch-showcase-card {
    flex-basis: min(38%, 15.5rem);
  }
}

.batch-showcase-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.batch-showcase-card:hover .batch-showcase-card-img {
  transform: scale(1.05);
}

.batch-showcase-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 24, 39, 0.9) 0%,
    rgba(147, 51, 234, 0.42) 38%,
    rgba(59, 130, 246, 0.12) 58%,
    transparent 72%
  );
  pointer-events: none;
}

.batch-showcase-card-text {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  color: #fff;
}

.batch-showcase-card-title {
  margin: 0 0 0.3rem;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
}

.batch-showcase-card-sub {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  line-height: 1.4;
  opacity: 0.95;
}

.batch-showcase-card-meta {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.82;
}

.batch-showcase-card-join {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 3;
  border: none;
  border-radius: 0.55rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  background: var(--cfg-primary);
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  cursor: pointer;
}

.batch-showcase-card-join:hover {
  background: var(--cfg-primary-hover);
}

.batch-showcase-card:hover .batch-showcase-card-join,
.batch-showcase-card:focus-within .batch-showcase-card-join {
  opacity: 1;
  transform: translateY(0);
}

.batch-showcase-card:hover .batch-showcase-card-text,
.batch-showcase-card:focus-within .batch-showcase-card-text {
  transform: translateY(-2.75rem);
  transition: transform 0.25s ease;
}

@media (hover: none) {
  .batch-showcase-card-join {
    opacity: 1;
    transform: none;
  }

  .batch-showcase-card-text {
    bottom: 4.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .batch-showcase-card-img,
  .batch-showcase-card-join,
  .batch-showcase-card-text {
    transition: none;
  }

  .batch-showcase-card-join {
    opacity: 1;
    transform: none;
  }

  .batch-showcase-card-text {
    bottom: 4.25rem;
  }
}

/* Offer voucher cards — peel-reveal on hover */
.offer-voucher-card {
  cursor: pointer;
  width: 100%;
}

.offer-voucher-shell {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  border: 1px solid rgba(217, 119, 6, 0.28);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.offer-voucher-card.is-hot .offer-voucher-shell {
  border-color: rgba(220, 38, 38, 0.45);
  box-shadow: 0 12px 32px rgba(220, 38, 38, 0.14);
}

.offer-voucher-card:hover .offer-voucher-shell,
.offer-voucher-card.is-peeled .offer-voucher-shell {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(217, 119, 6, 0.18);
}

.offer-voucher-ribbon {
  position: absolute;
  top: 0.85rem;
  right: -2rem;
  z-index: 5;
  width: 7.5rem;
  text-align: center;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: linear-gradient(90deg, #dc2626, #ea580c);
  padding: 0.28rem 0;
  transform: rotate(36deg);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.offer-voucher-inner {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  background: #fff;
}

.offer-voucher-front {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: var(--offer-bg, linear-gradient(145deg, #fffbeb, #fde68a));
  transition: transform 0.55s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.offer-voucher-card:hover .offer-voucher-front,
.offer-voucher-card.is-peeled .offer-voucher-front {
  transform: translateY(-100%);
}

.offer-voucher-badge {
  align-self: flex-start;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #92400e;
  background: rgba(255, 255, 255, 0.72);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.offer-voucher-stamp {
  align-self: center;
  width: 7rem;
  height: 7rem;
  margin: 0.25rem 0 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: radial-gradient(circle at 30% 25%, #fff 0%, #fef3c7 45%, #fbbf24 100%);
  border: 3px dashed rgba(180, 83, 9, 0.45);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.55), 0 8px 20px rgba(180, 83, 9, 0.18);
  transform: rotate(-8deg);
}

.offer-voucher-card.is-hot .offer-voucher-stamp {
  animation: offer-stamp-pulse 2.4s ease-in-out infinite;
}

@keyframes offer-stamp-pulse {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(-8deg) scale(1.04); }
}

.offer-voucher-discount {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
  color: #92400e;
  max-width: 5.5rem;
}

.offer-voucher-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  margin: 0 0 0.35rem;
  text-align: center;
}

.offer-voucher-price-tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.25rem;
  text-align: center;
}

.offer-voucher-complimentary {
  margin: 0.65rem 0 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px dashed rgba(34, 197, 94, 0.45);
  text-align: center;
}

.offer-voucher-complimentary-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #15803d;
  margin-bottom: 0.2rem;
}

.offer-voucher-complimentary-text {
  margin: 0;
  font-size: 0.6875rem;
  line-height: 1.45;
  font-weight: 600;
  color: #166534;
}

.offer-voucher-back .offer-voucher-complimentary {
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.offer-voucher-valid {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
  text-align: center;
}

.offer-voucher-hint {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #78716c;
  text-align: center;
}

.offer-voucher-tear {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 10px;
  background:
    radial-gradient(circle at 8px 0, transparent 7px, rgba(255, 255, 255, 0.95) 7px) repeat-x;
  background-size: 16px 10px;
  pointer-events: none;
}

.offer-voucher-back {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  background: #fff;
  color: #111827;
}

.offer-voucher-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #374151;
  margin: 0 0 1rem;
  flex: 1;
}

.offer-voucher-code {
  padding: 0.85rem;
  border-radius: 0.85rem;
  background: linear-gradient(145deg, #fffbeb, #fef3c7);
  border: 1px dashed rgba(217, 119, 6, 0.45);
  margin-bottom: 1rem;
}

.offer-voucher-code-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #92400e;
  margin-bottom: 0.35rem;
}

.offer-voucher-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.offer-voucher-code-value {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #111827;
}

.offer-copy-btn {
  flex-shrink: 0;
  border: none;
  border-radius: 0.55rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #92400e;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.2s ease;
}

.offer-copy-btn:hover {
  background: #fff;
}

.offer-voucher-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.offer-voucher-foot-price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #4b5563;
}

.offer-voucher-claim {
  border: none;
  border-radius: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #d97706, #dc2626);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.offer-voucher-claim:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.offer-voucher-card:not(.is-hot) .offer-voucher-claim {
  background: linear-gradient(90deg, #b45309, #9333ea);
}

@media (prefers-reduced-motion: reduce) {
  .offer-voucher-shell,
  .offer-voucher-front,
  .offer-voucher-claim {
    transition: none;
  }

  .offer-voucher-card.is-hot .offer-voucher-stamp {
    animation: none;
  }

  .offer-voucher-card .offer-voucher-front {
    transform: translateY(-100%);
  }

  .offer-voucher-hint {
    display: none;
  }
}

/* Filter buttons */
.filter-btn.active {
  background: rgba(255, 255, 255, 0.65);
  color: #9333ea;
  border-color: rgba(192, 132, 252, 0.45);
}

/* Chat scrollbar */
.chat-scroll::-webkit-scrollbar {
  width: 4px;
}

.chat-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.chat-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Typing indicator */
.typing-dots span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9333ea;
  animation: typing 1.4s infinite;
  margin: 0 2px;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Path step connector (desktop) */
@media (min-width: 768px) {
  .path-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -12px;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.3), rgba(124, 58, 237, 0.3));
    transform: translateY(-50%);
  }
}

/* Instructor card hover */
.instructor-card {
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.instructor-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.3);
}

.instructor-card:hover .instructor-avatar {
  transform: scale(1.05);
}

.instructor-avatar {
  transition: transform 0.3s ease;
}

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

#demo-modal.flex,
#enroll-modal.flex,
#offer-welcome-modal.flex,
#hero-video-modal.flex {
  display: flex;
}

/* Offer welcome popup */
.cfg-offer-welcome-panel {
  animation: cfgOfferWelcomeIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes cfgOfferWelcomeIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cfg-offer-welcome-close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #475569;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.cfg-offer-welcome-close:hover {
  background: #fff;
  color: #111827;
}

.cfg-offer-welcome-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
}

.cfg-offer-welcome-hero {
  position: relative;
  padding: 2rem 1.5rem;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(145deg, #111827 0%, #7c3aed 52%, #9333ea 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.cfg-offer-welcome-ribbon {
  position: absolute;
  top: 1rem;
  left: -2.1rem;
  width: 8rem;
  padding: 0.28rem 0;
  transform: rotate(-36deg);
  background: linear-gradient(90deg, #dc2626, #ea580c);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cfg-offer-welcome-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.cfg-offer-welcome-stamp {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 25%, #fff 0%, #fde68a 42%, #f59e0b 100%);
  border: 3px dashed rgba(220, 38, 38, 0.55);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
}

.cfg-offer-welcome-stamp-value {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
  color: #991b1b;
}

.cfg-offer-welcome-save {
  margin: 1rem 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fef08a;
}

.cfg-offer-welcome-valid {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

.cfg-offer-welcome-body {
  padding: 1.75rem 1.75rem 1.5rem;
}

.cfg-offer-welcome-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #9333ea;
}

.cfg-offer-welcome-title {
  margin: 0 0 0.65rem;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 800;
  color: #111827;
}

.cfg-offer-welcome-lead {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: #64748b;
}

.cfg-offer-welcome-courses {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.75rem;
}

.cfg-offer-welcome-courses li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.75rem;
  color: #334155;
  font-weight: 600;
}

.cfg-offer-welcome-courses li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
}

.cfg-offer-welcome-price-row {
  display: flex;
  align-items: end;
  gap: 1.25rem;
  margin-bottom: 0.85rem;
}

.cfg-offer-welcome-price-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.15rem;
}

.cfg-offer-welcome-price {
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 800;
  color: #7c3aed;
}

.cfg-offer-welcome-was {
  font-size: 1.05rem;
  font-weight: 700;
  color: #94a3b8;
  text-decoration: line-through;
}

.cfg-offer-welcome-bonus {
  margin-bottom: 1rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(16, 185, 129, 0.06));
  border: 1px dashed rgba(34, 197, 94, 0.35);
}

.cfg-offer-welcome-bonus-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #15803d;
  margin-bottom: 0.15rem;
}

.cfg-offer-welcome-bonus-text {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.45;
  font-weight: 600;
  color: #166534;
}

.cfg-offer-welcome-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.cfg-offer-welcome-claim {
  flex: 1 1 12rem;
  border: none;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #111827, #7c3aed);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.25);
}

.cfg-offer-welcome-claim:hover {
  filter: brightness(1.05);
}

.cfg-offer-welcome-later {
  flex: 0 0 auto;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748b;
  background: #fff;
  cursor: pointer;
}

.cfg-offer-welcome-later:hover {
  background: #f8fafc;
}

.cfg-offer-welcome-link {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #9333ea;
  text-decoration: none;
}

.cfg-offer-welcome-link:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .cfg-offer-welcome-grid {
    grid-template-columns: 1fr;
  }

  .cfg-offer-welcome-hero {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .cfg-offer-welcome-body {
    padding: 1.25rem;
  }

  .cfg-offer-welcome-courses {
    grid-template-columns: 1fr;
  }
}

/* Toast visible */
#toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Light theme overrides */
html.light-theme,
html.light-theme body {
  background-color: var(--cfg-bg) !important;
  color: var(--cfg-text) !important;
}

html.light-theme #theme-overlay {
  background: var(--cfg-gradient-bg) !important;
  position: fixed;
}

html.light-theme #bg-canvas {
  opacity: 0.12;
}

html.light-theme #navbar {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--cfg-border);
}

html.light-theme #navbar.scrolled {
  background: rgba(255, 255, 255, 0.88) !important;
  border-bottom-color: var(--cfg-border) !important;
  box-shadow: 0 4px 24px rgba(17, 24, 39, 0.06) !important;
}

html.light-theme #mobile-menu {
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(20px);
  border-top-color: var(--cfg-border) !important;
}

html.light-theme .nav-link {
  color: #1f2937 !important;
  font-weight: 500;
  font-size: 0.9375rem;
  position: relative;
}

html.light-theme .nav-link.nav-link-active {
  color: #9333ea !important;
  font-weight: 600;
}

html.light-theme #navbar .nav-link.nav-link-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: linear-gradient(90deg, #9333ea, #c084fc);
  border-radius: 9999px;
}

html.light-theme .nav-link:hover:not(.nav-link-active) {
  color: #4b5563 !important;
}

html.light-theme .nav-link.nav-link-active:hover {
  color: #7c3aed !important;
}

html.light-theme .text-white {
  color: var(--cfg-heading) !important;
}

html.light-theme .text-gray-300 {
  color: #4b5563 !important;
}

html.light-theme .text-gray-400 {
  color: var(--cfg-muted) !important;
}

html.light-theme .text-gray-500 {
  color: var(--cfg-subtle) !important;
}

html.light-theme [class*="bg-fusion-"] {
  background-color: var(--cfg-surface) !important;
}

html.light-theme [class*="border-white"] {
  border-color: var(--cfg-border) !important;
}

html.light-theme .bg-white\/5,
html.light-theme .bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.35) !important;
}

html.light-theme input,
html.light-theme select,
html.light-theme textarea {
  background-color: rgba(255, 255, 255, 0.92) !important;
  color: var(--cfg-heading) !important;
  border-color: rgba(17, 24, 39, 0.1) !important;
}

html.light-theme input::placeholder,
html.light-theme textarea::placeholder {
  color: var(--cfg-subtle) !important;
}

/* Admin / student portal forms — visible field borders on light theme */
.cfg-portal-admin input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),
.cfg-portal-admin select,
.cfg-portal-admin textarea {
  border-width: 1px !important;
  border-style: solid !important;
  border-color: rgba(15, 23, 42, 0.28) !important;
  background-color: #ffffff !important;
  color: #111827 !important;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.cfg-portal-admin input[type="file"] {
  border-width: 1px !important;
  border-style: dashed !important;
  border-color: rgba(15, 23, 42, 0.28) !important;
  background-color: #f8fafc !important;
  padding: 0.65rem 0.85rem !important;
}

.cfg-portal-admin input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):focus,
.cfg-portal-admin select:focus,
.cfg-portal-admin textarea:focus {
  border-color: rgba(124, 58, 237, 0.65) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14) !important;
}

.cfg-portal-admin input::placeholder,
.cfg-portal-admin textarea::placeholder {
  color: #6b7280 !important;
}

.cfg-portal-admin select option {
  color: #111827;
  background: #ffffff;
}

.cfg-portal-admin [class*="border-white"] {
  border-color: rgba(15, 23, 42, 0.18) !important;
}

.cfg-portal-admin label {
  color: #374151 !important;
}

/* Contact form readability fixes */
#contact-form input,
#contact-form select,
#contact-form textarea {
  color: #111827 !important;
  background-color: rgba(255, 255, 255, 0.94) !important;
  border-color: rgba(15, 23, 42, 0.16) !important;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #6b7280 !important;
}

#contact-form select option {
  color: #111827;
  background: #ffffff;
}

html:not(.light-theme) #contact-form input,
html:not(.light-theme) #contact-form select,
html:not(.light-theme) #contact-form textarea {
  color: #e5e7eb !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

html:not(.light-theme) #contact-form input::placeholder,
html:not(.light-theme) #contact-form textarea::placeholder {
  color: #9ca3af !important;
}

html.light-theme .course-card,
html.light-theme .instructor-card,
html.light-theme .pricing-card,
html.light-theme .reveal.rounded-2xl,
html.light-theme footer:not(.cfg-footer) {
  box-shadow: var(--cfg-shadow);
}

html.light-theme #enroll-modal > div,
html.light-theme #toast > div {
  background-color: rgba(255, 255, 255, 0.95) !important;
  color: var(--cfg-heading) !important;
  border-color: var(--cfg-border) !important;
}

html.light-theme .filter-btn:not(.active),
html.light-theme .job-filter:not(.active) {
  background-color: rgba(255, 255, 255, 0.5) !important;
  color: var(--cfg-muted) !important;
}

html.light-theme #mobile-menu-btn:hover,
html.light-theme .nav-courses-trigger:hover,
html.light-theme .cfg-cart-nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.55) !important;
}

html.light-theme a.bg-gradient-to-r,
html.light-theme button.bg-gradient-to-r,
html.light-theme a.bg-gradient-to-br,
html.light-theme button.bg-gradient-to-br,
html.light-theme a.bg-gradient-to-b,
html.light-theme button.bg-gradient-to-b,
html.light-theme .instructor-avatar[class*="bg-gradient"] {
  color: #ffffff !important;
}

html.light-theme .font-display.text-ai-cyan,
html.light-theme .text-ai-cyan {
  color: #9333ea !important;
}

html.light-theme .text-ai-purple {
  color: #7c3aed !important;
}

html.light-theme .text-oracle-gold {
  color: #c026d3 !important;
}

html.light-theme .text-oracle-red {
  color: #111827 !important;
}

html.light-theme ::selection {
  background: rgba(240, 171, 252, 0.45);
  color: var(--cfg-heading);
}

html.light-theme .hero-title-gradient {
  background: var(--cfg-gradient-text) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

html.light-theme .text-transparent.bg-clip-text {
  background: var(--cfg-gradient-text) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* Hero headline gradient */
.hero-title-gradient {
  background: var(--cfg-gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline;
}

.hero-title-accent {
  color: #9333ea;
}

.hero-typing-title {
  margin-bottom: 1rem;
}

.hero-typing-stack {
  position: relative;
  display: block;
  width: 100%;
}

.hero-typing-ghost {
  visibility: hidden;
  display: block;
  pointer-events: none;
  user-select: none;
}

.hero-typing-live {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
}

.hero-typing-cursor {
  display: inline-block;
  width: 3px;
  height: 0.82em;
  margin-left: 2px;
  background: #111827;
  vertical-align: baseline;
  transform: translateY(0.06em);
  border-radius: 1px;
  flex-shrink: 0;
  animation: heroTypingCursor 1.1s ease-in-out infinite;
}

.hero-typing-cursor.is-done {
  animation: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

@keyframes heroTypingCursor {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-typing-cursor {
    display: none;
  }
}

html:not(.light-theme) .hero-title-accent {
  color: #7c3aed;
}

/* Hero mesh gradient background */
.hero-section {
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
}

/* Courses page banner */
.courses-page-banner {
  margin-bottom: 2.5rem;
}

.courses-page-banner-inner {
  position: relative;
  height: clamp(160px, 22vw, 240px);
  border-radius: 0 0 1.5rem 1.5rem;
  overflow: hidden;
}

.courses-page-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.courses-page-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.6) 36%,
    rgba(255, 255, 255, 0.12) 58%,
    transparent 72%
  );
  pointer-events: none;
}

.courses-page-banner-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1.25rem 1rem;
  pointer-events: none;
}

.courses-page-banner-content h1 {
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.courses-page-banner-content p {
  font-size: clamp(0.875rem, 1.6vw, 1.05rem);
  line-height: 1.45;
  max-width: 34rem;
}

.courses-page-banner-badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9333ea;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(192, 132, 252, 0.35);
}

@media (min-width: 640px) {
  .courses-page-banner-content {
    padding: 1.5rem 1.5rem;
  }
}

html:not(.light-theme) .courses-page-banner-overlay {
  background: linear-gradient(
    90deg,
    rgba(17, 24, 39, 0.88) 0%,
    rgba(17, 24, 39, 0.55) 40%,
    rgba(17, 24, 39, 0.12) 60%,
    transparent 75%
  );
}

html:not(.light-theme) .courses-page-banner-content h1 {
  color: #f9fafb;
}

html:not(.light-theme) .courses-page-banner-content p {
  color: #d1d5db;
}

html:not(.light-theme) .courses-page-banner-badge {
  color: #c084fc;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(192, 132, 252, 0.35);
}

/* Batches page */

.batches-offer-slot:empty {
  display: none;
}

.batches-page-steps {
  margin-bottom: 2.5rem;
}

.batches-page-steps-head {
  margin-bottom: 1.25rem;
}

.batches-steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .batches-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .batches-steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.batches-step-card {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.batches-step-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #9333ea;
  margin-bottom: 0.35rem;
}

.batches-step-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.35rem;
}

.batches-step-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #6b7280;
  margin: 0;
}

.batches-filter-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.5rem;
  text-align: center;
}

.batches-filter-label--module {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}

.batches-module-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.batches-module-chip {
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: rgba(248, 250, 252, 0.9);
  color: #64748b;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.batches-module-chip:hover {
  color: #0891b2;
  border-color: rgba(8, 145, 178, 0.35);
}

.batches-module-chip.is-active {
  background: rgba(8, 145, 178, 0.12);
  color: #0e7490;
  border-color: rgba(8, 145, 178, 0.45);
}

.batches-page-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

@media (min-width: 768px) {
  .batches-page-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.batches-page-stat {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
  text-align: center;
}

.batches-page-stat-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  color: #111827;
  margin-bottom: 0.25rem;
}

.batches-page-stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.35;
}

.batches-page-stat--accent .batches-page-stat-value {
  color: #dc2626;
}

.batches-page-types {
  margin-bottom: 1.75rem;
}

.batches-page-types-head {
  margin-bottom: 1rem;
  align-items: flex-end;
}

.batches-page-types-title {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
}

.batches-page-results-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
}

.batches-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .batches-type-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .batches-type-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.batches-type-card {
  position: relative;
  min-height: 168px;
  border-radius: 1.1rem;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  text-align: left;
  background: #111827;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.batches-type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.14);
}

.batches-type-card.is-active {
  border-color: var(--batch-accent, #9333ea);
  box-shadow: 0 0 0 1px var(--batch-accent, #9333ea), 0 14px 32px rgba(124, 58, 237, 0.2);
}

.batches-type-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.batches-type-card:hover .batches-type-card-img {
  transform: scale(1.05);
}

.batches-type-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.88) 100%);
}

.batches-type-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 168px;
  padding: 0.85rem 0.95rem;
  color: #fff;
}

.batches-type-card-icon {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.batches-type-card-label {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.2rem;
}

.batches-type-card-desc {
  font-size: 0.6875rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.batches-type-card-count {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--batch-accent, #c084fc);
}

.batches-filter-shell {
  margin-bottom: 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.batches-chip-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.batches-chip {
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: rgba(248, 250, 252, 0.9);
  color: #64748b;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.batches-chip:hover {
  color: #9333ea;
  border-color: rgba(147, 51, 234, 0.35);
}

.batches-chip.is-active {
  background: rgba(147, 51, 234, 0.12);
  color: #7c3aed;
  border-color: rgba(147, 51, 234, 0.45);
}

.batches-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .batches-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .batches-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.batches-page-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.batches-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.1);
  border-color: rgba(147, 51, 234, 0.25);
}

.batches-page-card-media {
  position: relative;
  height: 140px;
  flex-shrink: 0;
}

.batches-page-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.batches-page-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.55) 100%);
}

.batches-page-card-type {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--batch-accent, #9333ea) 22%, transparent);
  color: var(--batch-accent, #9333ea);
  border: 1px solid color-mix(in srgb, var(--batch-accent, #9333ea) 44%, transparent);
  backdrop-filter: blur(6px);
}

.batches-page-card-status {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
}

.batches-page-status--open {
  background: rgba(34, 197, 94, 0.2);
  color: #15803d;
}

.batches-page-status--filling {
  background: rgba(239, 68, 68, 0.2);
  color: #b91c1c;
}

.batches-page-status--enquiry {
  background: rgba(147, 51, 234, 0.2);
  color: #7c3aed;
}

.batches-page-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.15rem;
}

.batches-page-card-module {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9333ea;
  margin-bottom: 0.35rem;
}

.batches-page-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 0.85rem;
}

.batches-page-card-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem 0.75rem;
  margin: 0 0 0.85rem;
}

.batches-page-card-meta div {
  min-width: 0;
}

.batches-page-card-meta dt {
  font-size: 0.6875rem;
  color: #9ca3af;
  margin-bottom: 0.1rem;
}

.batches-page-card-meta dd {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #374151;
  margin: 0;
  line-height: 1.35;
}

.batches-page-card-meta dd.is-highlight {
  color: #0891b2;
  font-weight: 600;
}

.batches-page-card-meta-wide {
  grid-column: 1 / -1;
}

.batches-page-card-seats {
  margin-bottom: 0.85rem;
}

.batches-page-card-seats-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.batches-page-card-seats-bar {
  height: 5px;
  border-radius: 9999px;
  background: rgba(226, 232, 240, 0.9);
  overflow: hidden;
}

.batches-page-card-seats-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--batch-accent, #9333ea);
}

.batches-page-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.batches-page-card-btn {
  width: 100%;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #c74634 0%, #9333ea 100%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.batches-page-card-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.batches-page-card-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
}

.batches-page-card-link {
  font-size: 0.75rem;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.batches-page-card-link:hover {
  color: #0891b2;
}

.batches-page-empty {
  text-align: center;
  color: #6b7280;
  padding: 2.5rem 1rem;
  margin-bottom: 2rem;
}

.batches-page-empty.hidden {
  display: none;
}

.batches-page-cta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 1.35rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(147, 51, 234, 0.2), transparent 45%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.97) 0%, rgba(88, 28, 135, 0.92) 100%);
  border: 1px solid rgba(147, 51, 234, 0.35);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.2);
  color: #fff;
}

@media (min-width: 768px) {
  .batches-page-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2rem;
  }
}

.batches-page-cta-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e9d5ff;
  margin-bottom: 0.35rem;
}

.batches-page-cta-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.batches-page-cta-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 36rem;
}

.batches-page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.batches-page-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.batches-page-cta-btn--primary {
  background: #fff;
  color: #6b21a8;
}

.batches-page-cta-btn--primary:hover {
  transform: translateY(-1px);
  background: #f3e8ff;
}

.batches-page-cta-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.batches-page-cta-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

html:not(.light-theme) .batches-page-stat,
html:not(.light-theme) .batches-filter-shell {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

html:not(.light-theme) .batches-page-stat-value,
html:not(.light-theme) .batches-page-card-title {
  color: #f9fafb;
}

html:not(.light-theme) .batches-page-stat-label,
html:not(.light-theme) .batches-page-results-count {
  color: #9ca3af;
}

html:not(.light-theme) .batches-page-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

html:not(.light-theme) .batches-page-card-meta dd {
  color: #e5e7eb;
}

html:not(.light-theme) .batches-page-card-meta dd.is-highlight {
  color: #67e8f9;
}

html:not(.light-theme) .batches-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #9ca3af;
}

html:not(.light-theme) .batches-chip.is-active {
  background: rgba(147, 51, 234, 0.22);
  color: #e9d5ff;
  border-color: rgba(192, 132, 252, 0.45);
}

html:not(.light-theme) .batches-step-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

html:not(.light-theme) .batches-step-title {
  color: #f9fafb;
}

html:not(.light-theme) .batches-step-text {
  color: #9ca3af;
}

html:not(.light-theme) .batches-module-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #9ca3af;
}

html:not(.light-theme) .batches-module-chip.is-active {
  background: rgba(8, 145, 178, 0.22);
  color: #a5f3fc;
  border-color: rgba(103, 232, 249, 0.45);
}

html:not(.light-theme) .batches-filter-label--module {
  border-top-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .batches-page-types-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .batches-page-results-count {
    white-space: normal;
  }
}

/* Demos page */
.demos-promo-slot:empty,
.demos-featured-slot:empty {
  display: none;
}

.demos-page-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .demos-page-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.demos-page-stat {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
  text-align: center;
}

.demos-page-stat-value {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  color: #111827;
  margin-bottom: 0.25rem;
}

.demos-page-stat-value--sm {
  font-size: 1rem;
  line-height: 1.25;
}

.demos-page-stat-label {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.35;
}

.demos-page-stat--accent .demos-page-stat-value {
  color: #7c3aed;
}

.demos-promo-banner {
  display: flex;
  flex-direction: column;
  gap: 1rem 1.5rem;
  padding: 1.25rem 1.35rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at 0% 0%, rgba(147, 51, 234, 0.18), transparent 45%),
    linear-gradient(135deg, rgba(88, 28, 135, 0.95) 0%, rgba(17, 24, 39, 0.96) 100%);
  border: 1px solid rgba(192, 132, 252, 0.35);
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.18);
  color: #fff;
}

@media (min-width: 768px) {
  .demos-promo-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.demos-promo-tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demos-promo-title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
}

.demos-promo-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.demos-promo-code {
  color: #fde68a;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.demos-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 0.85rem;
  background: #fff;
  color: #6b21a8;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.demos-promo-btn:hover {
  transform: translateY(-1px);
  background: #f3e8ff;
}

.demos-featured-card {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 40px rgba(17, 24, 39, 0.1);
  min-height: 280px;
}

.demos-featured-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demos-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.72) 42%, rgba(124, 58, 237, 0.35) 100%);
}

.demos-featured-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
}

@media (min-width: 768px) {
  .demos-featured-body {
    grid-template-columns: auto 1fr;
    align-items: start;
    padding: 1.75rem 2rem;
  }
}

.demos-featured-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 7rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  text-align: center;
}

.demos-featured-date-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e9d5ff;
  margin-bottom: 0.25rem;
}

.demos-featured-date-main {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.2;
}

.demos-featured-date-sub {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 0.25rem;
}

.demos-featured-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fca5a5;
  margin-bottom: 0.5rem;
}

.demos-featured-live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: #ef4444;
  animation: demo-live-pulse 1.6s ease-in-out infinite;
}

.demos-featured-title {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 0.35rem;
}

.demos-featured-meta {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0.75rem;
}

.demos-featured-topics {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.demos-featured-topics li {
  font-size: 0.75rem;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.12);
  color: #f3e8ff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.demos-featured-foot {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .demos-featured-foot {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.demos-featured-seats {
  flex: 1;
  min-width: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
}

.demos-featured-progress {
  height: 5px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  margin-top: 0.35rem;
  overflow: hidden;
}

.demos-featured-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c084fc, #67e8f9);
}

.demos-featured-btn {
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #111827;
  background: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.demos-featured-btn:hover {
  transform: translateY(-1px);
  background: #f3e8ff;
}

.demos-page-steps {
  margin-bottom: 2.5rem;
}

.demos-page-steps-head {
  margin-bottom: 1.25rem;
}

.demos-steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .demos-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .demos-steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.demos-step-card {
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.demos-step-num {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: #7c3aed;
  margin-bottom: 0.35rem;
}

.demos-step-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.35rem;
}

.demos-step-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #6b7280;
  margin: 0;
}

.demos-page-sessions-head {
  margin-bottom: 1rem;
  align-items: flex-end;
}

.demos-page-results-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
}

.demos-filter-shell {
  margin-bottom: 1.75rem;
  padding: 1rem 1.15rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
}

.demos-filter-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.5rem;
  text-align: center;
}

.demos-topic-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
}

.demos-topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: rgba(248, 250, 252, 0.9);
  color: #64748b;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.demos-topic-chip-count {
  font-size: 0.6875rem;
  font-weight: 700;
  opacity: 0.75;
}

.demos-topic-chip:hover {
  color: #7c3aed;
  border-color: rgba(147, 51, 234, 0.35);
}

.demos-topic-chip.is-active {
  background: rgba(147, 51, 234, 0.12);
  color: #7c3aed;
  border-color: rgba(147, 51, 234, 0.45);
}

.demos-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .demos-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .demos-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.demos-page-card {
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}

.demos-page-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.1);
  border-color: rgba(147, 51, 234, 0.25);
}

.demos-page-card-media {
  position: relative;
  height: 130px;
  flex-shrink: 0;
}

.demos-page-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.demos-page-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.65) 100%);
}

.demos-page-card-date {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.75rem;
  padding: 0.35rem 0.45rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.95);
  color: #111827;
  line-height: 1.1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.demos-page-card-weekday {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #7c3aed;
}

.demos-page-card-day {
  font-size: 1.1rem;
  font-weight: 800;
}

.demos-page-card-month {
  font-size: 0.5625rem;
  font-weight: 700;
  color: #6b7280;
}

.demos-page-card-live {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 9999px;
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
}

.demos-page-card-live-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 9999px;
  background: #fff;
  animation: demo-live-pulse 1.6s ease-in-out infinite;
}

.demos-page-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1rem 1.1rem 1.15rem;
}

.demos-page-card-topic {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7c3aed;
  margin-bottom: 0.3rem;
}

.demos-page-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #111827;
  margin-bottom: 0.35rem;
}

.demos-page-card-instructor {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-bottom: 0.2rem;
}

.demos-page-card-meta {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.65rem;
}

.demos-page-card-topics {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.demos-page-card-topics li {
  font-size: 0.6875rem;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: rgba(147, 51, 234, 0.08);
  color: #6b21a8;
  border: 1px solid rgba(147, 51, 234, 0.15);
}

.demos-page-card-seats-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

.demos-page-card-seats-labels .is-urgent {
  color: #dc2626;
  font-weight: 700;
}

.demos-page-card-seats-bar {
  height: 5px;
  border-radius: 9999px;
  background: rgba(226, 232, 240, 0.9);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.demos-page-card-seats-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #9333ea, #0891b2);
}

.demos-page-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.demos-page-card-btn {
  width: 100%;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #7c3aed 0%, #0891b2 100%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.demos-page-card-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.demos-page-card-link {
  font-size: 0.75rem;
  color: #9ca3af;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s ease;
}

.demos-page-card-link:hover {
  color: #0891b2;
}

.demos-page-empty {
  text-align: center;
  color: #6b7280;
  padding: 2.5rem 1rem;
  margin-bottom: 2rem;
}

.demos-page-empty.hidden {
  display: none;
}

.demos-page-cta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem 1.35rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(8, 145, 178, 0.22), transparent 45%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.97) 0%, rgba(30, 64, 175, 0.9) 100%);
  border: 1px solid rgba(103, 232, 249, 0.25);
  box-shadow: 0 16px 40px rgba(8, 145, 178, 0.15);
  color: #fff;
}

@media (min-width: 768px) {
  .demos-page-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2rem;
  }
}

.demos-page-cta-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a5f3fc;
  margin-bottom: 0.35rem;
}

.demos-page-cta-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.demos-page-cta-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.86);
  max-width: 36rem;
}

.demos-page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  flex-shrink: 0;
}

.demos-page-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 0.85rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.demos-page-cta-btn--primary {
  background: #fff;
  color: #0e7490;
}

.demos-page-cta-btn--primary:hover {
  transform: translateY(-1px);
  background: #ecfeff;
}

.demos-page-cta-btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.demos-page-cta-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

html:not(.light-theme) .demos-page-stat,
html:not(.light-theme) .demos-filter-shell,
html:not(.light-theme) .demos-step-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

html:not(.light-theme) .demos-page-stat-value,
html:not(.light-theme) .demos-step-title,
html:not(.light-theme) .demos-page-card-title {
  color: #f9fafb;
}

html:not(.light-theme) .demos-page-stat-label,
html:not(.light-theme) .demos-page-results-count,
html:not(.light-theme) .demos-step-text {
  color: #9ca3af;
}

html:not(.light-theme) .demos-page-card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

html:not(.light-theme) .demos-topic-chip {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #9ca3af;
}

html:not(.light-theme) .demos-topic-chip.is-active {
  background: rgba(147, 51, 234, 0.22);
  color: #e9d5ff;
  border-color: rgba(192, 132, 252, 0.45);
}

@media (max-width: 640px) {
  .demos-page-sessions-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .demos-page-results-count {
    white-space: normal;
  }
}

/* How we train — process timeline */
.how-we-train {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.train-timeline {
  position: relative;
  padding: 2.5rem 0 1rem;
}

.train-timeline-visual {
  display: none;
}

@media (min-width: 1024px) {
  .train-timeline-visual {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: min(17.5rem, 28vw);
    height: auto;
    transform: translate(-50%, -46%);
    pointer-events: none;
    object-fit: contain;
    mix-blend-mode: lighten;
    opacity: 0.98;
  }
}

html:not(.light-theme) .train-timeline-visual {
  mix-blend-mode: normal;
  opacity: 1;
}

.train-timeline-axis {
  display: none;
}

.train-timeline-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
}

.train-step {
  position: relative;
}

.train-step-body {
  position: relative;
  padding-right: 3.25rem;
}

.train-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.45rem;
}

.train-step-text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #6b7280;
  max-width: 16rem;
}

.train-step-num {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: #9333ea;
}

.train-step-marker {
  display: none;
}

@media (min-width: 1024px) {
  .train-timeline {
    padding: 5.5rem 0 5rem;
  }

  .train-timeline-axis {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #d1d5db;
    transform: translateY(-50%);
    z-index: 0;
  }

  .train-timeline-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: stretch;
    min-height: 320px;
  }

  .train-step {
    min-height: 320px;
  }

  .train-step-marker {
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 0;
    z-index: 2;
  }

  .train-step-dot {
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 12px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
  }

  .train-step-connector {
    position: absolute;
    left: 0;
  }

  .train-step-top .train-step-connector {
    bottom: 50%;
    height: 48px;
    width: calc(100% - 0.25rem);
    border-left: 1px solid #d1d5db;
    border-top: 1px solid #d1d5db;
    border-bottom: none;
    border-right: none;
  }

  .train-step-bottom .train-step-connector {
    top: 50%;
    height: 48px;
    width: calc(100% - 0.25rem);
    border-left: 1px solid #d1d5db;
    border-bottom: 1px solid #d1d5db;
    border-top: none;
    border-right: none;
  }

  .train-step-top .train-step-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(50% + 52px);
    padding-right: 3rem;
  }

  .train-step-bottom .train-step-body {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% + 52px);
    padding-right: 3rem;
  }

  .train-step-num {
    font-size: 2rem;
  }
}

html:not(.light-theme) .how-we-train {
  background: rgba(17, 24, 39, 0.45);
}

html:not(.light-theme) .how-we-train-header h2,
html:not(.light-theme) .train-step-title {
  color: #f9fafb;
}

html:not(.light-theme) .train-step-text {
  color: #9ca3af;
}

html:not(.light-theme) .train-step-num {
  color: #c084fc;
}

html:not(.light-theme) .train-timeline-axis,
html:not(.light-theme) .train-step-connector {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
}

html:not(.light-theme) .train-step-dot {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.hero-video-play-btn-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(147, 51, 234, 0.28);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.82);
  color: #111827;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hero-video-play-btn-form:hover {
  transform: translateY(-1px);
  border-color: rgba(147, 51, 234, 0.45);
  box-shadow: 0 10px 24px rgba(124, 58, 237, 0.14);
}

.hero-video-play-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  color: #fff;
  flex-shrink: 0;
}

.hero-video-play-icon svg {
  width: 0.95rem;
  height: 0.95rem;
  margin-left: 0.1rem;
}

.cfg-video-modal-panel {
  position: relative;
  width: min(960px, 100%);
}

.cfg-video-modal-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.cfg-video-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

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

.hero-bg-mesh-fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 72px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(238, 242, 255, 0.55));
}

/* Hero 3D step enquiry form */
.hero-step-form-scene {
  position: relative;
  perspective: 1200px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* 3D pattern backdrop — kept outside card only */
.hero-form-3d-pattern {
  position: absolute;
  inset: -20px -12px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  perspective: 900px;
  mask-image: radial-gradient(ellipse 58% 52% at 50% 50%, transparent 38%, #000 72%);
  -webkit-mask-image: radial-gradient(ellipse 58% 52% at 50% 50%, transparent 38%, #000 72%);
}

.hero-form-3d-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99, 102, 241, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: rotateX(58deg) scale(1.15);
  transform-origin: center center;
  animation: heroFormGridDrift 30s linear infinite;
}

.hero-form-3d-mesh {
  display: none;
}

@keyframes heroFormGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 0 36px, 36px 0; }
}

.hero-form-3d-shapes,
.hero-step-form-pattern-bg {
  display: none;
}

.hero-step-form-card {
  position: relative;
  z-index: 2;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
  overflow: visible;
}

@media (hover: hover) {
  .hero-step-form-card:hover {
    animation: heroFormFloat3d 6s ease-in-out infinite;
  }

  .hero-step-form-card:hover .hero-corner-3d-cube {
    animation: heroCornerCubeSpin 6s ease-in-out infinite;
  }
}

/* 3D corner brackets — accent moves per form step */
.hero-form-3d-corners {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  transform-style: preserve-3d;
}

.hero-corner-bracket {
  position: absolute;
  width: 32px;
  height: 32px;
  opacity: 0.28;
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.34, 1.1, 0.64, 1);
  transform-style: preserve-3d;
}

.hero-corner-bracket-tl {
  top: 10px;
  left: 10px;
  border-top: 2.5px solid rgba(79, 70, 229, 0.55);
  border-left: 2.5px solid rgba(79, 70, 229, 0.55);
  border-radius: 10px 0 0 0;
  transform: perspective(200px) rotateX(18deg) rotateY(-22deg);
}

.hero-corner-bracket-tr {
  top: 10px;
  right: 10px;
  border-top: 2.5px solid rgba(14, 165, 233, 0.55);
  border-right: 2.5px solid rgba(14, 165, 233, 0.55);
  border-radius: 0 10px 0 0;
  transform: perspective(200px) rotateX(18deg) rotateY(22deg);
}

.hero-corner-bracket-br {
  bottom: 10px;
  right: 10px;
  border-bottom: 2.5px solid rgba(124, 58, 237, 0.55);
  border-right: 2.5px solid rgba(124, 58, 237, 0.55);
  border-radius: 0 0 10px 0;
  transform: perspective(200px) rotateX(-18deg) rotateY(22deg);
}

.hero-corner-bracket-bl {
  bottom: 10px;
  left: 10px;
  border-bottom: 2.5px solid rgba(79, 70, 229, 0.55);
  border-left: 2.5px solid rgba(79, 70, 229, 0.55);
  border-radius: 0 0 0 10px;
  transform: perspective(200px) rotateX(-18deg) rotateY(-22deg);
}

.hero-step-form-card[data-step="1"] .hero-corner-bracket-tl,
.hero-step-form-card[data-step="2"] .hero-corner-bracket-tr,
.hero-step-form-card[data-step="3"] .hero-corner-bracket-br,
.hero-step-form-card[data-step="4"] .hero-corner-bracket-bl {
  opacity: 1;
  transform: perspective(200px) rotateX(22deg) rotateY(-28deg) scale(1.12);
}

.hero-step-form-card[data-step="2"] .hero-corner-bracket-tr {
  transform: perspective(200px) rotateX(22deg) rotateY(28deg) scale(1.12);
}

.hero-step-form-card[data-step="3"] .hero-corner-bracket-br {
  transform: perspective(200px) rotateX(-22deg) rotateY(28deg) scale(1.12);
}

.hero-step-form-card[data-step="4"] .hero-corner-bracket-bl {
  transform: perspective(200px) rotateX(-22deg) rotateY(-28deg) scale(1.12);
}

.hero-corner-3d-float {
  position: absolute;
  width: 26px;
  height: 26px;
  transition:
    top 0.55s cubic-bezier(0.34, 1.15, 0.64, 1),
    left 0.55s cubic-bezier(0.34, 1.15, 0.64, 1),
    right 0.55s cubic-bezier(0.34, 1.15, 0.64, 1),
    bottom 0.55s cubic-bezier(0.34, 1.15, 0.64, 1),
    transform 0.55s cubic-bezier(0.34, 1.15, 0.64, 1);
  transform-style: preserve-3d;
}

.hero-corner-3d-cube {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(79, 70, 229, 0.75);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25), rgba(14, 165, 233, 0.18));
  box-shadow: 0 6px 14px rgba(79, 70, 229, 0.22);
  transform-style: preserve-3d;
}

.hero-corner-3d-cube::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

@keyframes heroCornerCubeSpin {
  0%, 100% { transform: rotateX(45deg) rotateY(45deg) translateZ(0); }
  50% { transform: rotateX(52deg) rotateY(52deg) translateZ(4px); }
}

.hero-step-form-card[data-step="1"] .hero-corner-3d-float {
  top: 2px;
  left: 2px;
  right: auto;
  bottom: auto;
  transform: rotateX(48deg) rotateY(-38deg);
}

.hero-step-form-card[data-step="2"] .hero-corner-3d-float {
  top: 2px;
  right: 2px;
  left: auto;
  bottom: auto;
  transform: rotateX(48deg) rotateY(38deg);
}

.hero-step-form-card[data-step="3"] .hero-corner-3d-float {
  bottom: 2px;
  right: 2px;
  left: auto;
  top: auto;
  transform: rotateX(-48deg) rotateY(38deg);
}

.hero-step-form-card[data-step="4"] .hero-corner-3d-float {
  bottom: 2px;
  left: 2px;
  right: auto;
  top: auto;
  transform: rotateX(-48deg) rotateY(-38deg);
}

.hero-step-form-card.is-step-changing .hero-corner-3d-cube {
  animation-duration: 0.55s;
}

.hero-step-form-card.is-tilting {
  animation: none !important;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.hero-step-form-card.is-step-changing .hero-step-form-card-inner {
  box-shadow:
    0 12px 40px rgba(99, 102, 241, 0.12),
    0 4px 16px rgba(15, 23, 42, 0.06);
}

@keyframes heroFormFloat3d {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.hero-step-form-card-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 1.5rem;
  padding: 1rem 1.75rem 0.15rem;
  overflow: hidden;
  transform: translateZ(24px);
  box-shadow:
    0 12px 40px rgba(17, 24, 39, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  transition: box-shadow 0.35s ease, background 0.35s ease;
}

.hero-step-form-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.52) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0.02) 100%
  );
}

@media (min-width: 640px) {
  .hero-step-form-card-inner {
    padding: 1.25rem 2.25rem 0.25rem;
  }
}

.hero-enquiry-header {
  margin-bottom: 1rem;
}

.hero-enquiry-tagline {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: #0f766e;
}

.hero-enquiry-demo-info {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #64748b;
}

.hero-step-form-card-inner > .hero-form-social,
.hero-step-form-card-inner > .hero-enquiry-header,
.hero-step-form-card-inner > .hero-step-progress-bar,
.hero-step-form-card-inner > .hero-enquiry-form {
  position: relative;
  z-index: 2;
}

.hero-form-social {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.65rem;
}

.hero-form-social-icons {
  justify-content: flex-end;
  gap: 0.5rem;
}

.social-icons-transparent .social-icon-transparent {
  width: 2rem;
  height: 2rem;
  color: #64748b;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: none;
}

.social-icons-transparent .social-icon-transparent svg {
  width: 1rem;
  height: 1rem;
}

.social-icons-transparent .social-icon-transparent:hover {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(100, 116, 139, 0.45);
  transform: translateY(-1px);
  box-shadow: none;
  color: #334155;
}

html:not(.light-theme) .social-icons-transparent .social-icon-transparent {
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

html:not(.light-theme) .social-icons-transparent .social-icon-transparent:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  color: #e2e8f0;
}

.hero-step-form-glow,
.hero-step-form-shine {
  display: none;
}

.hero-step-progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.hero-step-progress-fill {
  height: 100%;
  width: 25%;
  background: var(--cfg-primary);
  border-radius: 9999px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-step-progress {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 1.5rem;
  padding: 0;
}

.hero-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
}

.hero-step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  background: #f1f5f9;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
}

.hero-step-item.active .hero-step-num {
  color: #ffffff;
  background: var(--cfg-primary);
  border-color: transparent;
  box-shadow: 0 2px 10px rgba(17, 24, 39, 0.2);
}

.hero-step-item.done .hero-step-num {
  color: #9333ea;
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(192, 132, 252, 0.45);
}

.hero-step-label {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94a3b8;
  transition: color 0.3s ease;
  text-align: center;
}

.hero-step-item.active .hero-step-label {
  color: var(--cfg-heading);
}

.hero-step-item.done .hero-step-label {
  color: #64748b;
}

.hero-step-connector {
  display: none;
}

.hero-step-viewport {
  position: relative;
  min-height: 220px;
}

.hero-step-track {
  position: relative;
  width: 100%;
  min-height: 220px;
}

.hero-step-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}

.hero-step-panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-step-title {
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero-step-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-step-actions .hero-step-btn {
  flex: 1;
}

.hero-step-icon {
  display: none;
}

.hero-step-btn {
  padding: 0.7rem 1.25rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
}

.hero-step-btn:active {
  transform: scale(0.98);
}

.hero-step-btn-primary {
  color: #ffffff;
  background: var(--cfg-primary);
  border-radius: 0.75rem;
}

.hero-step-btn-primary:hover {
  background: var(--cfg-primary-hover);
}

.hero-step-btn-ghost {
  color: #64748b;
  background: #ffffff;
  border-color: #e2e8f0;
}

.hero-step-btn-ghost:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #475569;
}

.hero-step-form-scene .hero-3d-orbit {
  display: none;
}

/* Light theme — subtle 3D pattern outside card */
html.light-theme .hero-step-form-scene::before {
  content: '';
  position: absolute;
  inset: -12px;
  z-index: 0;
  border-radius: 1.75rem;
  background: radial-gradient(ellipse 90% 80% at 50% 50%, rgba(255, 255, 255, 0.35) 0%, transparent 75%);
  pointer-events: none;
}

html.light-theme .hero-form-3d-grid {
  background-image:
    linear-gradient(rgba(192, 132, 252, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(147, 197, 253, 0.12) 1px, transparent 1px);
}

html.light-theme .hero-corner-bracket-tl,
html.light-theme .hero-corner-bracket-bl {
  border-color: rgba(192, 132, 252, 0.55);
}

html.light-theme .hero-corner-bracket-tr {
  border-color: rgba(147, 197, 253, 0.55);
}

html.light-theme .hero-corner-bracket-br {
  border-color: rgba(167, 139, 250, 0.55);
}

html.light-theme .hero-corner-3d-cube {
  border-color: rgba(192, 132, 252, 0.75);
  background: linear-gradient(135deg, rgba(240, 171, 252, 0.35), rgba(186, 230, 253, 0.3));
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

html.light-theme .hero-step-form-card-inner {
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(36px) saturate(190%);
  -webkit-backdrop-filter: blur(36px) saturate(190%);
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    0 16px 48px rgba(17, 24, 39, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(255, 255, 255, 0.2);
}

html.light-theme .hero-step-form-card-inner .hero-enquiry-input {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html.light-theme .hero-step-form-card-inner .hero-enquiry-input:focus {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--cfg-primary);
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

html.light-theme .hero-step-form-card-inner .hero-step-btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html.light-theme .hero-step-form-card-inner .hero-step-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.72);
}

html.light-theme .hero-step-progress-bar {
  background: rgba(255, 255, 255, 0.48);
}

html.light-theme .hero-step-progress-fill {
  background: var(--cfg-primary) !important;
}

html.light-theme .hero-enquiry-demo-info {
  color: #64748b;
}

html.light-theme .hero-enquiry-tagline {
  color: #0f766e;
}

html:not(.light-theme) .hero-corner-bracket {
  opacity: 0.4;
}

html:not(.light-theme) .hero-corner-bracket-tl,
html:not(.light-theme) .hero-corner-bracket-bl {
  border-color: rgba(129, 140, 248, 0.7);
}

html:not(.light-theme) .hero-corner-bracket-tr {
  border-color: rgba(56, 189, 248, 0.7);
}

html:not(.light-theme) .hero-corner-bracket-br {
  border-color: rgba(167, 139, 250, 0.7);
}

html:not(.light-theme) .hero-corner-3d-cube {
  border-color: rgba(129, 140, 248, 0.85);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.35), rgba(14, 165, 233, 0.2));
}

html:not(.light-theme) .hero-step-form-card-inner {
  background: rgba(30, 41, 59, 0.78);
  backdrop-filter: blur(40px) saturate(1.25);
  -webkit-backdrop-filter: blur(40px) saturate(1.25);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

html:not(.light-theme) .hero-enquiry-demo-info {
  color: #94a3b8;
}

html:not(.light-theme) .hero-enquiry-tagline {
  color: #5eead4;
}

html:not(.light-theme) .hero-step-form-card-inner .hero-enquiry-input {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html:not(.light-theme) .hero-step-form-card-inner .hero-step-btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html:not(.light-theme) .hero-step-title {
  color: #ffffff;
}

html:not(.light-theme) .hero-step-progress-bar {
  background: rgba(255, 255, 255, 0.1);
}

html:not(.light-theme) .hero-step-num {
  background: rgba(255, 255, 255, 0.06);
  color: #64748b;
  border-color: rgba(255, 255, 255, 0.1);
}

html:not(.light-theme) .hero-step-btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.12);
}

html:not(.light-theme) .hero-step-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1023px) {
  .hero-form-3d-pattern {
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 42%, #000 78%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 42%, #000 78%);
  }
  .hero-form-3d-corners {
    display: block;
  }
  .hero-corner-bracket {
    width: 24px;
    height: 24px;
  }
  .hero-corner-3d-float {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .hero-step-label { display: none; }
  .hero-step-connector { margin-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-step-track,
  .hero-step-panel,
  .hero-step-form-card,
  .hero-step-form-shine,
  .hero-step-form-glow,
  .hero-form-3d-grid,
  .hero-corner-3d-cube,
  .hero-corner-3d-float,
  .hero-corner-bracket { animation: none !important; transition: none !important; }
  .hero-step-form-card.is-tilting { transform: none !important; }
  .hero-step-panel.is-active .hero-step-icon,
  .hero-step-panel.is-active .hero-enquiry-label,
  .hero-step-panel.is-active .hero-enquiry-input,
  .hero-step-panel.is-active .hero-step-btn { animation: none !important; }
}

/* Hero enquiry form (shared inputs) */
.hero-enquiry-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(99, 102, 241, 0.06);
}

@media (min-width: 640px) {
  .hero-enquiry-card {
    padding: 2rem;
  }
}

.hero-enquiry-header {
  margin-bottom: 1.25rem;
}

.hero-enquiry-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9333ea;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(192, 132, 252, 0.35);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.hero-enquiry-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 0.375rem;
}

.hero-enquiry-input {
  width: 100%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: #0f172a;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-enquiry-input:focus {
  outline: none;
  border-color: var(--cfg-primary);
  box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.08);
}

.hero-enquiry-input::placeholder {
  color: #94a3b8;
}

html:not(.light-theme) .hero-enquiry-card {
  background: rgba(17, 24, 39, 0.95);
  border-color: rgba(255, 255, 255, 0.1);
}

html:not(.light-theme) .hero-enquiry-header h2 {
  color: #ffffff !important;
}

html:not(.light-theme) .hero-enquiry-label {
  color: #94a3b8;
}

html:not(.light-theme) .hero-enquiry-input {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Canvas */
#bg-canvas {
  pointer-events: none;
}

html:not(.light-theme) #navbar {
  background: rgba(17, 24, 39, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html:not(.light-theme) #navbar .text-slate-900,
html:not(.light-theme) #navbar .font-display {
  color: #ffffff !important;
}

html:not(.light-theme) #navbar .text-slate-500,
html:not(.light-theme) #navbar .text-slate-600,
html:not(.light-theme) #navbar .text-slate-700 {
  color: #94a3b8 !important;
}

html:not(.light-theme) #navbar button:hover,
html:not(.light-theme) #navbar #mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

html:not(.light-theme) .nav-link {
  color: #cbd5e1 !important;
  font-weight: 500;
  position: relative;
}

html:not(.light-theme) .nav-link.nav-link-active {
  color: #c084fc !important;
  font-weight: 600;
}

html:not(.light-theme) #navbar .nav-link.nav-link-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: linear-gradient(90deg, #9333ea, #c084fc);
  border-radius: 9999px;
}

html:not(.light-theme) .nav-link:hover:not(.nav-link-active) {
  color: #f9fafb !important;
}

html:not(.light-theme) #mobile-menu {
  background: rgba(17, 24, 39, 0.98) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html:not(.light-theme) footer.bg-white:not(.cfg-footer) {
  background: #111827 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

html:not(.light-theme) .cfg-elearning-switch::after {
  background: rgba(17, 24, 39, 0.94);
}

html:not(.light-theme) .cfg-elearning-slider {
  background: rgba(148, 163, 184, 0.55);
}

html:not(.light-theme) .cfg-elearning-label {
  color: #e2e8f0;
}

html:not(.light-theme) .course-card-contact,
html:not(.light-theme) .course-catalog-card-contact,
html:not(.light-theme) .course-view-contact-link {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}

html:not(.light-theme) .course-card-contact:hover,
html:not(.light-theme) .course-catalog-card-contact:hover,
html:not(.light-theme) .course-view-contact-link:hover {
  border-color: rgba(103, 232, 249, 0.45);
  color: #67e8f9;
}

html.cfg-elearning-off .cfg-cart-nav-btn,
body.cfg-elearning-off .cfg-cart-nav-btn {
  display: none !important;
}

/* Selection */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: white;
}

/* Focus styles */
input:focus,
select:focus,
textarea:focus,
button:focus-visible {
  outline: 2px solid rgba(0, 212, 255, 0.5);
  outline-offset: 2px;
}

/* CFG AI Tutor chat */
.cfg-ai-tutor-panel {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(147, 51, 234, 0.15);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 245, 255, 0.95) 100%);
  box-shadow: 0 16px 48px rgba(17, 24, 39, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.cfg-ai-tutor-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(147, 51, 234, 0.12);
  background: linear-gradient(90deg, rgba(243, 232, 255, 0.6), rgba(219, 234, 254, 0.4));
}

.cfg-ai-tutor-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.cfg-ai-tutor-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #111827;
}

.cfg-ai-tutor-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.125rem;
}

.cfg-ai-tutor-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: cfg-ai-pulse 2s ease-in-out infinite;
}

@keyframes cfg-ai-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.cfg-ai-tutor-messages {
  height: 18rem;
  overflow-y: auto;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  background: rgba(255, 255, 255, 0.5);
}

.cfg-ai-tutor-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  max-width: 92%;
  animation: cfg-ai-fade-in 0.35s ease;
}

.cfg-ai-tutor-row.is-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

@keyframes cfg-ai-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.cfg-ai-tutor-mini-avatar {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.5625rem;
  font-weight: 700;
}

.cfg-ai-tutor-mini-avatar.is-bot {
  color: #fff;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
}

.cfg-ai-tutor-mini-avatar.is-user {
  color: #fff;
  background: linear-gradient(135deg, #111827, #374151);
}

.cfg-ai-tutor-bubble {
  padding: 0.625rem 0.875rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.cfg-ai-tutor-bubble-bot {
  background: #fff;
  color: #374151;
  border: 1px solid rgba(147, 51, 234, 0.12);
  border-bottom-left-radius: 0.25rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.cfg-ai-tutor-bubble-user {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  color: #fff;
  border-bottom-right-radius: 0.25rem;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.cfg-ai-tutor-typing {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 3rem;
  padding: 0.75rem 1rem !important;
}

.cfg-ai-tutor-typing span {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #9333ea;
  animation: cfg-ai-typing 1.2s ease-in-out infinite;
}

.cfg-ai-tutor-typing span:nth-child(2) { animation-delay: 0.15s; }
.cfg-ai-tutor-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes cfg-ai-typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.cfg-ai-tutor-form {
  display: flex;
  gap: 0.625rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(147, 51, 234, 0.12);
  background: #fff;
}

.cfg-ai-tutor-input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border-radius: 0.875rem;
  border: 1.5px solid #e5e7eb;
  background: #f9fafb;
  color: #111827;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.cfg-ai-tutor-input::placeholder {
  color: #9ca3af;
}

.cfg-ai-tutor-input:focus {
  outline: none;
  border-color: #9333ea;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.12);
}

.cfg-ai-tutor-input:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.cfg-ai-tutor-send {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.cfg-ai-tutor-send:hover:not(:disabled) {
  transform: translateY(-1px);
}

.cfg-ai-tutor-send:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

html:not(.light-theme) .cfg-ai-tutor-panel {
  background: linear-gradient(165deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.98) 100%);
  border-color: rgba(255, 255, 255, 0.1);
}

html:not(.light-theme) .cfg-ai-tutor-header {
  background: rgba(255, 255, 255, 0.04);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

html:not(.light-theme) .cfg-ai-tutor-title {
  color: #f3f4f6;
}

html:not(.light-theme) .cfg-ai-tutor-messages {
  background: rgba(0, 0, 0, 0.15);
}

html:not(.light-theme) .cfg-ai-tutor-bubble-bot {
  background: rgba(255, 255, 255, 0.06);
  color: #e5e7eb;
  border-color: rgba(255, 255, 255, 0.1);
}

html:not(.light-theme) .cfg-ai-tutor-form {
  background: rgba(17, 24, 39, 0.6);
  border-top-color: rgba(255, 255, 255, 0.08);
}

html:not(.light-theme) .cfg-ai-tutor-input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f9fafb;
}

html:not(.light-theme) .cfg-ai-tutor-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(147, 51, 234, 0.6);
}

/* Fixed AI chat widget */
#cfg-chat-widget {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
}

.cfg-chat-launcher {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 1rem 0.375rem 0.375rem;
  border: none;
  border-radius: 9999px;
  color: #ffffff;
  background: #0a0a0a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cfg-chat-launcher-icon-wrap,
.cfg-chat-panel-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: #ffffff;
  flex-shrink: 0;
  padding: 0.1875rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.cfg-chat-panel-logo-wrap {
  border-radius: 0.625rem;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.25rem;
  box-shadow: 0 0 0 1px rgba(147, 51, 234, 0.12);
}

.cfg-chat-panel-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cfg-chat-launcher-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.cfg-chat-launcher svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.cfg-chat-launcher-label {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  color: #ffffff;
}

.cfg-chat-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

#cfg-chat-widget.is-open .cfg-chat-launcher {
  transform: scale(0.92);
  opacity: 0.92;
}

.cfg-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(22rem, calc(100vw - 2rem));
  max-height: min(32rem, calc(100vh - 6rem));
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(147, 51, 234, 0.15);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 245, 255, 0.98) 100%);
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.18);
  animation: cfg-chat-slide-up 0.28s ease;
}

@keyframes cfg-chat-slide-up {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cfg-chat-panel-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(147, 51, 234, 0.12);
  background: linear-gradient(90deg, rgba(243, 232, 255, 0.7), rgba(219, 234, 254, 0.45));
}

.cfg-chat-panel-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  flex-shrink: 0;
}

.cfg-chat-panel-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.cfg-chat-panel-headtext {
  flex: 1;
  min-width: 0;
}

.cfg-chat-panel-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: #111827;
}

.cfg-chat-panel-status {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  color: #6b7280;
  margin-top: 0.125rem;
}

.cfg-chat-close {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 9999px;
  background: rgba(17, 24, 39, 0.06);
  color: #374151;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.cfg-chat-close:hover {
  background: rgba(17, 24, 39, 0.1);
}

.cfg-chat-panel-messages {
  flex: 1;
  min-height: 14rem;
  max-height: 20rem;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.55);
}

.cfg-chat-panel-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  border-top: 1px solid rgba(147, 51, 234, 0.12);
  background: #fff;
}

.cfg-chat-panel-input {
  flex: 1;
  min-width: 0;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  border: 1.5px solid #e5e7eb;
  background: #f9fafb;
  color: #111827;
  font-size: 0.8125rem;
}

.cfg-chat-panel-input:focus {
  outline: none;
  border-color: #9333ea;
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.12);
  background: #fff;
}

.cfg-chat-panel-send {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 0.75rem;
  color: #fff;
  background: linear-gradient(135deg, #9333ea, #7c3aed);
  cursor: pointer;
}

.cfg-chat-credit {
  margin: 0;
  padding: 0.5rem 1rem 0.625rem;
  text-align: center;
  font-size: 0.625rem;
  color: #9ca3af;
  background: #fff;
  border-top: 1px solid rgba(147, 51, 234, 0.08);
}

.cfg-chat-credit a {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: none;
}

.cfg-chat-credit a:hover {
  text-decoration: underline;
}

.cfg-chat-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  padding-left: 2.25rem;
  max-width: 92%;
}

.cfg-chat-quick-btn {
  padding: 0.375rem 0.625rem;
  border-radius: 9999px;
  border: 1px solid rgba(147, 51, 234, 0.25);
  background: #fff;
  color: #7c3aed;
  font-size: 0.6875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.cfg-chat-quick-btn:hover:not(:disabled) {
  background: rgba(147, 51, 234, 0.08);
  border-color: rgba(147, 51, 234, 0.45);
}

.cfg-chat-quick-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.cfg-chat-suggest-block p {
  margin: 0 0 0.375rem;
}

.cfg-chat-suggest-heading {
  margin-top: 0.625rem !important;
}

.cfg-chat-suggest-list {
  margin: 0;
  padding-left: 1rem;
  list-style: disc;
}

.cfg-chat-suggest-list li {
  margin-bottom: 0.375rem;
}

.cfg-chat-suggest-meta {
  font-size: 0.75rem;
  color: #6b7280;
}

@media (max-width: 640px) {
  #cfg-chat-widget {
    right: 1rem;
    bottom: 1rem;
  }

  .cfg-chat-launcher-label {
    display: none;
  }

  .cfg-chat-launcher {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0.375rem;
    justify-content: center;
    border-radius: 50%;
  }

  .cfg-chat-launcher-icon-wrap {
    width: 2.75rem;
    height: 2.75rem;
  }

  .cfg-chat-panel {
    width: calc(100vw - 2rem);
    right: 0;
    max-height: calc(100vh - 5.5rem);
  }
}

html:not(.light-theme) .cfg-chat-panel {
  background: linear-gradient(165deg, rgba(31, 41, 55, 0.98), rgba(17, 24, 39, 0.99));
  border-color: rgba(255, 255, 255, 0.1);
}

html:not(.light-theme) .cfg-chat-panel-header {
  background: rgba(255, 255, 255, 0.04);
}

html:not(.light-theme) .cfg-chat-panel-title {
  color: #f3f4f6;
}

html:not(.light-theme) .cfg-chat-panel-messages {
  background: rgba(0, 0, 0, 0.15);
}

html:not(.light-theme) .cfg-chat-panel-form {
  background: rgba(17, 24, 39, 0.75);
}

html:not(.light-theme) .cfg-chat-credit {
  background: rgba(17, 24, 39, 0.75);
  color: #9ca3af;
  border-top-color: rgba(255, 255, 255, 0.06);
}

html:not(.light-theme) .cfg-chat-credit a {
  color: #c084fc;
}

html:not(.light-theme) .cfg-chat-panel-input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #f9fafb;
}

html:not(.light-theme) .cfg-chat-quick-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #e9d5ff;
  border-color: rgba(255, 255, 255, 0.12);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .course-card,
  .instructor-card,
  .animate-float,
  .animate-bounce {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
