/* =============================================
   万能教 Jack 老师 - Main Stylesheet
   Design: White + Pink Neon | Mobile First
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=Nunito:wght@400;600;700;800;900;1000&display=swap');

/* =============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================= */
:root {
  /* Brand Colors */
  --pink: #fc0c97;
  --pink-hover: #e0087f;
  --pink-light: #ff66c4;
  --pink-pale: #ffd6f0;
  --pink-bg: #fff0fa;
  --pink-bg-2: #ffe6f5;
  --pink-glow: rgba(252, 12, 151, 0.15);
  --pink-glow-strong: rgba(252, 12, 151, 0.25);

  /* Neutrals */
  --white: #ffffff;
  --off-white: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-text: #4b4b4b;
  --gray-light: #666666;
  --gray-muted: #999999;
  --dark: #1a1a1a;

  /* Status */
  --success: #16a34a;
  --success-bg: #dcfce7;
  --warning: #f97316;
  --warning-bg: #fff7ed;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
  --shadow-pink: 0 8px 32px rgba(252, 12, 151, 0.22);
  --shadow-pink-lg: 0 16px 48px rgba(252, 12, 151, 0.3);

  /* Border Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.2s;
  --t-normal: 0.35s;
  --t-slow: 0.5s;

  /* Spacing */
  --section-py: 72px;
  --container-px: 20px;
  --nav-height: 68px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans SC', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 72px; /* Mobile bottom nav space */
}

@media (min-width: 768px) {
  body { padding-bottom: 0; }
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

h1, h2, h3, h4 {
  font-family: 'Nunito', 'Noto Sans SC', sans-serif;
  font-weight: 800;
  line-height: 1.25;
}

/* =============================================
   TYPOGRAPHY UTILITIES
   ============================================= */
.text-pink { color: var(--pink); }
.text-gray { color: var(--gray-text); }
.text-muted { color: var(--gray-muted); }

/* Mobile responsive line break */
.mobile-break {
  display: none;
}
@media (max-width: 767px) {
  .mobile-break {
    display: block;
  }
}


/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--section-py) 0;
}

/* =============================================
   ANIMATION BASE CLASSES
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  will-change: opacity, transform;
}

.fade-up.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.fade-in {
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
  will-change: opacity;
}

.fade-in.visible {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.92) translate3d(0,0,0);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease-bounce);
  will-change: opacity, transform;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1) translate3d(0,0,0);
}

/* Staggered animation delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* =============================================
   KEYFRAME ANIMATIONS
   ============================================= */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 var(--pink-glow-strong); }
  70% { transform: scale(1); box-shadow: 0 0 0 16px transparent; }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 transparent; }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes bounce-x {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blob {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

@keyframes slide-in-left {
  from { transform: translateX(-40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slide-in-right {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes count-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* =============================================
   BUTTON COMPONENTS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Nunito', 'Noto Sans SC', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--r-full);
  transition: all var(--t-normal) var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0));
  opacity: 0;
  transition: opacity var(--t-fast);
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(252, 12, 151, 0.35);
}

.btn-primary:hover {
  background: var(--pink-hover);
  box-shadow: var(--shadow-pink-lg);
  transform: translateY(-2px);
}

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

.btn-secondary {
  background: var(--white);
  color: var(--pink);
  border: 2px solid var(--pink);
}

.btn-secondary:hover {
  background: var(--pink-bg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background: transparent;
  color: var(--pink);
  border: 2px solid var(--pink-pale);
}

.btn-outline:hover {
  border-color: var(--pink);
  background: var(--pink-bg);
}

.btn-lg {
  font-size: 1.1rem;
  padding: 16px 36px;
}

.btn-sm {
  font-size: 0.875rem;
  padding: 10px 20px;
}

.btn-full { width: 100%; }

/* Arrow animation inside buttons */
.btn .arrow {
  display: inline-block;
  animation: bounce-x 1.2s ease-in-out infinite;
}

/* =============================================
   BADGE / CHIP COMPONENTS
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-full);
  white-space: nowrap;
}

.badge-pink {
  background: var(--pink-bg);
  color: var(--pink);
  border: 1px solid var(--pink-pale);
}

.badge-hot {
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  color: white;
}

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

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--t-normal) var(--ease);
}

.navbar.scrolled {
  box-shadow: 0 4px 24px rgba(252, 12, 151, 0.08);
  border-bottom-color: var(--pink-pale);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--container-px);
  max-width: 1200px;
  margin: 0 auto;
}

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

.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(252, 12, 151, 0.3);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-main {
  font-family: 'Nunito', 'Noto Sans SC', sans-serif;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--dark);
}

.nav-logo-sub {
  font-size: 0.68rem;
  color: var(--pink);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 32px;
}

@media (min-width: 768px) {
  .nav-menu { display: flex; }
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-text);
  transition: color var(--t-fast);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink);
  border-radius: 2px;
  transition: width var(--t-normal) var(--ease);
}

.nav-link:hover { color: var(--pink); }
.nav-link:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-icon-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  border: none;
  background: transparent;
  color: var(--gray-text);
  cursor: pointer;
  transition: all var(--t-fast);
  font-family: 'Noto Sans SC', sans-serif;
}

.nav-icon-btn:hover {
  background: var(--pink-bg);
  color: var(--pink);
}

.nav-icon-btn svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.nav-icon-btn span.icon-label {
  font-size: 0.6rem;
  font-weight: 600;
  display: none;
}

@media (min-width: 400px) {
  .nav-icon-btn span.icon-label { display: block; }
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: var(--pink);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: var(--r-xs);
  transition: background var(--t-fast);
}

.hamburger:hover { background: var(--pink-bg); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--t-normal) var(--ease);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (min-width: 768px) {
  .hamburger { display: none; }
}

/* Mobile Dropdown Menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  padding: 16px var(--container-px) 24px;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--t-normal) var(--ease), opacity var(--t-normal) var(--ease);
  z-index: 999;
  box-shadow: var(--shadow-md);
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-text);
  border-bottom: 1px solid var(--gray-200);
  transition: color var(--t-fast);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--pink); }

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--nav-height) + 32px);
  padding-bottom: 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  animation: blob 8s ease-in-out infinite;
}

.hero-blob-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
  background: radial-gradient(ellipse, rgba(252, 12, 151, 0.1) 0%, transparent 70%);
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 400px;
  height: 400px;
  bottom: -80px;
  left: -80px;
  background: radial-gradient(ellipse, rgba(252, 12, 151, 0.07) 0%, transparent 70%);
  animation-delay: -4s;
}

.hero-dots {
  position: absolute;
  top: 30%;
  left: 5%;
  opacity: 0.35;
}

.hero-dot {
  width: 6px;
  height: 6px;
  background: var(--pink);
  border-radius: 50%;
  display: inline-block;
  margin: 4px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.hero-content {
  text-align: center;
}

@media (min-width: 768px) {
  .hero-content { text-align: left; }
}

.hero-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  animation: slide-in-left 0.7s var(--ease) both;
}

@media (min-width: 768px) {
  .hero-badge-wrap { justify-content: flex-start; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-bg);
  border: 1.5px solid var(--pink-pale);
  border-radius: var(--r-full);
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pink);
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--pink);
  border-radius: 50%;
  position: relative;
}

.hero-badge .dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--pink);
  animation: ping 1.5s ease-out infinite;
  opacity: 0.4;
}

.hero-title {
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 18px;
  animation: slide-in-left 0.7s var(--ease) 0.15s both;
}

.hero-title .highlight {
  position: relative;
  color: var(--pink);
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--pink-light));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: scaleX-in 0.6s var(--ease) 0.8s both;
}

@keyframes scaleX-in {
  to { transform: scaleX(1); }
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 480px;
  animation: slide-in-left 0.7s var(--ease) 0.25s both;
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.05rem; }
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  margin-bottom: 36px;
  animation: slide-in-left 0.7s var(--ease) 0.35s both;
}

@media (min-width: 400px) {
  .hero-cta { flex-direction: row; justify-content: center; }
}

@media (min-width: 768px) {
  .hero-cta { justify-content: flex-start; }
}

.hero-stats {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  animation: slide-in-left 0.7s var(--ease) 0.45s both;
}

@media (min-width: 768px) {
  .hero-stats { justify-content: flex-start; }
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-stat { align-items: flex-start; }
}

.hero-stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--gray-muted);
  font-weight: 500;
  margin-top: 2px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
  align-self: center;
}

/* Hero Image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  animation: slide-in-right 0.8s var(--ease) 0.2s both;
}

.hero-img-bg {
  position: absolute;
  width: 85%;
  height: 85%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--pink-bg), var(--pink-bg-2));
  border-radius: 50%;
  z-index: 0;
}

.hero-teacher-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  object-fit: cover;
  object-position: top center;
  filter: drop-shadow(0 16px 40px rgba(252, 12, 151, 0.2));
  animation: float 5s ease-in-out infinite;
}

/* Floating badges on hero image */
.hero-float-badge {
  position: absolute;
  z-index: 2;
  background: white;
  border-radius: var(--r-md);
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}

.hero-float-badge-1 {
  top: 12%;
  left: 0;
  animation-delay: -1s;
  border: 1.5px solid var(--pink-pale);
}

.hero-float-badge-2 {
  bottom: 18%;
  right: 0;
  animation-delay: -2.5s;
  border: 1.5px solid rgba(22, 163, 74, 0.2);
}

.hero-float-badge .badge-icon {
  font-size: 1.2rem;
}

/* =============================================
   MARQUEE STRIP
   ============================================= */
.marquee-section {
  background: var(--pink);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 32px;
  color: white;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.marquee-item .sep {
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  flex-shrink: 0;
}

/* =============================================
   FEATURED COURSES SECTION
   ============================================= */
.courses-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(to right, transparent, var(--pink-pale));
  width: 24px;
}

.section-label::after {
  background: linear-gradient(to left, transparent, var(--pink-pale));
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-light);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Course Cards Grid */
.courses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

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

.course-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  transition: all var(--t-normal) var(--ease);
  position: relative;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  border-color: var(--pink-pale);
  box-shadow: var(--shadow-pink);
  transform: translateY(-6px);
}

.course-card.featured {
  border-color: var(--pink);
  box-shadow: 0 4px 24px rgba(252, 12, 151, 0.12);
}

.course-card.featured::before {
  content: '🔥 最热门';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pink);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 20px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  z-index: 1;
  white-space: nowrap;
}

.course-img-wrap {
  position: relative;
  height: 200px;
  background: var(--pink-bg);
  overflow: hidden;
}

.course-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.course-card:hover .course-img-wrap img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  border-radius: var(--r-full);
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.course-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-form-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.course-form-tag {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-full);
  background: var(--gray-100);
  color: var(--gray-light);
}

.course-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}

.course-desc {
  font-size: 0.875rem;
  color: var(--gray-light);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.course-features {
  list-style: none;
  margin-bottom: 18px;
}

.course-features li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--gray-text);
  padding: 3px 0;
}

.course-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.course-footer {
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.course-price {
  display: flex;
  flex-direction: column;
}

.course-price-from {
  font-size: 0.72rem;
  color: var(--gray-muted);
  font-weight: 500;
}

.course-price-amount {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
}

.course-price-period {
  font-size: 0.72rem;
  color: var(--gray-muted);
}

.btn-add-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--pink);
  color: white;
  border: none;
  border-radius: var(--r-full);
  padding: 10px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t-normal) var(--ease);
  white-space: nowrap;
  font-family: 'Noto Sans SC', sans-serif;
}

.btn-add-cart:hover {
  background: var(--pink-hover);
  box-shadow: var(--shadow-pink);
  transform: scale(1.04);
}

.btn-add-cart svg {
  width: 16px;
  height: 16px;
}

/* =============================================
   WHY JACK TEACHER
   ============================================= */
.why-section {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--pink-bg) 50%, var(--white) 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

.why-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 24px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--t-normal) var(--ease);
}

.why-card:hover {
  border-color: var(--pink-pale);
  box-shadow: var(--shadow-pink);
  transform: translateY(-4px);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: var(--pink-bg);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px;
  transition: background var(--t-fast);
}

.why-card:hover .why-icon {
  background: var(--pink);
}

.why-card-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 7px;
  line-height: 1.3;
}

.why-card-desc {
  font-size: 0.78rem;
  color: var(--gray-light);
  line-height: 1.6;
}

/* =============================================
   TEACHER PROFILE
   ============================================= */
.teacher-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.teacher-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 768px) {
  .teacher-grid { grid-template-columns: 1fr 1.4fr; }
}

.teacher-img-wrap {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}

.teacher-deco-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--pink-pale) 0%, transparent 70%);
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
  transition: opacity var(--t-slow) var(--ease) !important;
}

.teacher-img-wrap:hover .teacher-deco-glow {
  opacity: 0.95 !important;
}

.teacher-img-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--pink-bg);
  position: relative;
  z-index: 2;
  border: 4px solid var(--white) !important;
  box-shadow: 0 10px 30px rgba(252, 12, 151, 0.12) !important;
  transition: transform var(--t-slow) var(--ease), box-shadow var(--t-slow) var(--ease) !important;
}

.teacher-img-wrap:hover .teacher-img-frame {
  transform: scale(1.02) rotate(-1deg) translateY(-5px) !important;
  box-shadow: 0 15px 40px rgba(252, 12, 151, 0.22) !important;
}

.teacher-img-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: top;
}

.teacher-img-deco {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 12px;
  left: 12px;
  border-radius: var(--r-xl);
  border: 3px solid var(--pink);
  z-index: 0;
  opacity: 0.35;
}

.teacher-award-pill {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: var(--r-full);
  padding: 10px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  z-index: 2;
  border: 1.5px solid var(--pink-pale);
}

.teacher-award-pill .award-emoji { font-size: 1.3rem; }
.teacher-award-pill .award-text { font-size: 0.82rem; font-weight: 700; color: var(--dark); }

.teacher-content {
  text-align: left;
}

.teacher-content-title {
  font-size: clamp(1.4rem, 3.2vw, 2.1rem) !important;
  font-weight: 900 !important;
  color: var(--dark) !important;
  margin-bottom: 24px !important;
  line-height: 1.35 !important;
}

.teacher-content-title span.text-pink {
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 1000 !important;
}

.reasons-simple-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 32px 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

.reasons-simple-list li {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem) !important;
  color: var(--gray-text) !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  background: var(--off-white) !important;
  padding: 12px 18px !important;
  border-radius: var(--r-sm) !important;
  border-left: 4px solid var(--pink) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02) !important;
  transition: all var(--t-fast) !important;
}

.reasons-simple-list li:hover {
  background: var(--pink-bg) !important;
  transform: translateX(4px) !important;
  box-shadow: 0 4px 12px rgba(252, 12, 151, 0.05) !important;
}

.reasons-simple-list li .reason-num {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  background: var(--white) !important;
  border-radius: 50% !important;
  color: var(--pink) !important;
  font-weight: 900 !important;
  font-size: 0.95rem !important;
  font-family: 'Nunito', sans-serif !important;
  box-shadow: 0 2px 5px rgba(252, 12, 151, 0.1) !important;
  flex-shrink: 0 !important;
}

.reasons-simple-list li strong {
  font-weight: 850 !important;
  color: var(--dark) !important;
  margin-right: 4px !important;
}

.reasons-simple-list li span.reason-text-part {
  color: var(--dark) !important;
  font-weight: 700 !important;
}

/* Pink background checkmark circles */
.simple-checkmarks {
  border-top: 1px solid var(--gray-200) !important;
  padding-top: 24px !important;
  margin-bottom: 0 !important;
}

.simple-checkmarks .core-feat-item {
  gap: 10px !important;
  margin-bottom: 6px !important;
  font-size: clamp(0.85rem, 1.6vw, 0.95rem) !important;
  font-weight: 700 !important;
  transition: transform var(--t-fast) !important;
}

.simple-checkmarks .core-feat-item:hover {
  transform: translateX(2px) !important;
}

.simple-checkmarks .feat-check {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: #ffe6f5 !important; /* Soft light pink circle */
  color: var(--pink) !important; /* Vibrant checkmark */
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.8rem !important;
  font-weight: 900 !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 6px rgba(252, 12, 151, 0.1) !important;
}

.teacher-name {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 4px;
}

.teacher-title-tag {
  font-size: 0.9rem;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 16px;
}

.teacher-bio {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

.teacher-achievements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.teacher-achievement {
  background: var(--gray-100);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background var(--t-fast);
}

.teacher-achievement:hover { background: var(--pink-bg); }

.achievement-icon { font-size: 1.3rem; }
.achievement-text { font-size: 0.82rem; font-weight: 600; color: var(--gray-text); line-height: 1.3; }

.awards-row {
  margin-top: 32px;
}

.awards-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gray-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.awards-logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.award-logo-box {
  height: 44px;
  padding: 8px 16px;
  background: var(--gray-100);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-light);
  transition: all var(--t-fast);
  cursor: default;
  border: 1px solid var(--gray-200);
}

.award-logo-box:hover {
  background: var(--pink-bg);
  color: var(--pink);
  border-color: var(--pink-pale);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--pink-bg) 50%, var(--white) 100%);
  position: relative;
}

/* Beautifully centered single slider container */
.testimonials-slider-container {
  position: relative;
  max-width: 800px; /* Large, widescreen landscape card width */
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

@keyframes mobileGlowPulse {
  0%, 100% {
    box-shadow: 0 8px 30px rgba(252, 12, 151, 0.1);
  }
  50% {
    box-shadow: 0 16px 45px rgba(252, 12, 151, 0.22);
  }
}

.testimonials-track-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  aspect-ratio: auto;
  border-radius: 24px;
  border: none !important;
  background: var(--white);
  animation: mobileGlowPulse 5s infinite ease-in-out;
  transition: all 0.4s var(--ease);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.testimonials-track {
  display: flex;
  gap: 0;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.testimonial-card {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid rgba(252, 12, 151, 0.06) !important;
  border-radius: 24px;
  overflow: hidden;
  transition: transform var(--t-normal) var(--ease-bounce), box-shadow var(--t-normal) var(--ease), border-color var(--t-normal) var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(252, 12, 151, 0.14), 0 0 25px rgba(252, 12, 151, 0.08);
  border-color: rgba(252, 12, 151, 0.28) !important;
}

.testimonial-video-wrapper {
  width: 100% !important;
  aspect-ratio: 16 / 9 !important; /* Strictly widescreen 16:9 like the school lecture video */
  flex: 0 0 auto !important; /* Absolutely locked */
  position: relative;
  background: var(--dark);
  overflow: hidden;
  border: none !important;
  border-radius: 24px 24px 0 0 !important; /* Top round corners */
}

.testimonial-video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important; /* Guarantees 100% of the video content is displayed with absolutely ZERO cropping */
  aspect-ratio: 16 / 9 !important;
  display: block;
  border: none !important;
  outline: none;
  transition: transform 0.5s var(--ease);
}

.testimonial-card:hover .testimonial-video {
  transform: scale(1.02); /* Delicate premium zoom on card hover */
}

.testimonial-card-content {
  padding: 28px;
  background: var(--white);
  border-radius: 0 0 24px 24px !important;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center-align for perfect balance */
  text-align: center; /* Center-align text */
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  justify-content: center;
}

.testimonial-rating .star-icon {
  color: #ffb800;
  font-size: 18px;
  transition: transform var(--t-fast) var(--ease);
}

.testimonial-card:hover .testimonial-rating .star-icon {
  transform: scale(1.15);
}

.testimonial-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.testimonial-card-desc {
  font-size: 0.98rem;
  color: var(--gray-light);
  line-height: 1.65;
  margin: 0;
  max-width: 640px; /* Comfort reading line length */
}

/* Widescreen Glassmorphic Arrow Buttons flanking the centered card */
.slider-btn-floating {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  border: 1.5px solid rgba(252, 12, 151, 0.2);
  color: var(--pink);
  box-shadow: 0 8px 24px rgba(252, 12, 151, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease-bounce);
  z-index: 10;
  outline: none;
}

.slider-btn-floating:hover {
  background: var(--pink);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-pink);
  border-color: var(--pink);
}

.slider-btn-floating.prev {
  left: -24px;
}

.slider-btn-floating.next {
  right: -24px;
}

.slider-btn-floating svg {
  width: 24px;
  height: 24px;
}

.testimonials-dots-container {
  margin-top: 28px !important;
  display: flex !important; /* Active globally */
  justify-content: center;
}

/* Responsive Adaptive Styling */
@media (max-width: 900px) {
  .testimonials-slider-container {
    max-width: 580px; /* Medium screen card scale */
  }
}

@media (max-width: 580px) {
  .testimonials-slider-container {
    max-width: 100%;
    padding: 0 16px;
  }
  .testimonials-track-wrap {
    border-radius: 20px;
  }
  .testimonial-card {
    border-radius: 20px;
  }
  .testimonial-video-wrapper {
    border-radius: 20px 20px 0 0 !important;
  }
  .testimonial-card-content {
    padding: 20px;
    border-radius: 0 0 20px 20px !important;
  }
  .testimonial-card-title {
    font-size: 1.15rem;
  }
  .testimonial-card-desc {
    font-size: 0.92rem;
  }
  .slider-btn-floating {
    width: 40px;
    height: 40px;
  }
  .slider-btn-floating svg {
    width: 20px;
    height: 20px;
  }
  .slider-btn-floating.prev {
    left: -8px;
  }
  .slider-btn-floating.next {
    right: -8px;
  }
}

/* =============================================
   COURSES SLIDER STYLES
   ============================================= */
.courses-track-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 10px 0 20px 0;
}

.courses-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s var(--ease);
  width: 100%;
}

@media (max-width: 599px) {
  .courses-track {
    gap: 16px;
  }
}

.courses-track .course-card {
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

@media (max-width: 599px) {
  .courses-track .course-card {
    min-width: 85%;
    width: 85%;
  }
}

@media (min-width: 600px) {
  .courses-track .course-card {
    min-width: calc(50% - 12px);
    width: calc(50% - 12px);
  }
}

@media (min-width: 1024px) {
  .courses-track .course-card {
    min-width: calc(33.333% - 16px);
    width: calc(33.333% - 16px);
  }
}

.courses-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
}

@media (min-width: 1024px) {
  .courses-slider-controls {
    display: none !important;
  }
}

/* Premium Screenshot/Photo Testimonial Support (Border/Box removed) */
.testimonial-card-img {
  height: 365px; /* Mobile height - Shrunk by 15px */
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.testimonial-card-img .testimonial-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--r-md);
  background-color: transparent;
  display: block;
  transition: transform 0.3s var(--ease);
}

.testimonial-card-img:hover .testimonial-img {
  transform: translateY(-5px) scale(1.02);
}

@media (min-width: 600px) {
  .testimonial-card-img {
    height: 465px; /* PC/Tablet height - Shrunk by 15px */
    padding: 0 !important;
  }
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.testimonial-stars span { color: #fbbf24; font-size: 0.9rem; }

.testimonial-quote {
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}

.testimonial-quote::before {
  content: '"';
  color: var(--pink);
  font-size: 2rem;
  line-height: 0.5;
  vertical-align: -0.4rem;
  margin-right: 2px;
  font-family: Georgia, serif;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--gray-200);
  padding-top: 16px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
}

.testimonial-school {
  font-size: 0.75rem;
  color: var(--gray-muted);
}

.testimonial-result {
  margin-left: auto;
  background: var(--success-bg);
  color: var(--success);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--pink-pale);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  color: var(--pink);
}

.slider-btn:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
  box-shadow: var(--shadow-pink);
}

.slider-btn svg { width: 18px; height: 18px; }

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink-pale);
  cursor: pointer;
  transition: all var(--t-fast);
}

.slider-dot.active {
  background: var(--pink);
  width: 24px;
  border-radius: 4px;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-section {
  padding: var(--section-py) 0;
  background: var(--white);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
}

@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .how-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.67% + 20px);
    right: calc(16.67% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--pink-pale), var(--pink));
    background-size: 200% auto;
    animation: shimmer 2s linear infinite;
    border-radius: 2px;
    z-index: 0;
  }
}

.how-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.how-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(252, 12, 151, 0.3);
  position: relative;
  transition: transform var(--t-normal) var(--ease-bounce);
}

.how-step:hover .how-step-num {
  transform: scale(1.1);
}

.how-step-emoji {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.how-step-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.how-step-desc {
  font-size: 0.85rem;
  color: var(--gray-light);
  line-height: 1.6;
}

/* =============================================
   FAQ SECTION
   ============================================= */
.faq-section {
  padding: var(--section-py) 0;
  background: var(--pink-bg);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--r-md);
  border: 1.5px solid var(--gray-200);
  overflow: hidden;
  transition: border-color var(--t-fast);
}

.faq-item.open {
  border-color: var(--pink-pale);
  box-shadow: 0 4px 16px rgba(252, 12, 151, 0.08);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  transition: color var(--t-fast);
}

.faq-item.open .faq-question { color: var(--pink); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--t-normal) var(--ease);
  color: var(--gray-muted);
}

.faq-item.open .faq-icon {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
  transform: rotate(45deg);
}

.faq-icon svg { width: 14px; height: 14px; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-item.open .faq-answer {
  max-height: 200px;
}

.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--gray-light);
  line-height: 1.7;
}

/* =============================================
   FINAL CTA SECTION
   ============================================= */
.cta-section {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--pink) 0%, #e0087f 50%, #c8006e 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}

.cta-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.btn-cta-white {
  background: white;
  color: var(--pink);
  border: none;
  border-radius: var(--r-full);
  padding: 16px 40px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--t-normal) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito', 'Noto Sans SC', sans-serif;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.btn-cta-white:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.cta-note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: var(--dark);
  color: var(--gray-muted);
  padding: 48px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

@media (min-width: 600px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

.footer-brand .nav-logo-main {
  font-size: 1.1rem;
  color: white;
}

.footer-brand .nav-logo-sub {
  color: var(--pink-light);
  font-size: 0.75rem;
}

.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 12px;
  max-width: 260px;
}

.footer-col-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: white;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--gray-muted);
  transition: color var(--t-fast);
}

.footer-links a:hover { color: var(--pink-light); }

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
  font-size: 0.8rem;
}

@media (min-width: 600px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

.footer-pink { color: var(--pink, #fc0c97) !important; font-weight: 700; }

/* =============================================
   MOBILE BOTTOM NAVIGATION BAR
   ============================================= */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--gray-200);
  padding: 8px 0;
  display: flex;
  justify-content: space-around;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.07);
}

@media (min-width: 768px) {
  .mobile-bottom-nav { display: none; }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 20px;
  color: var(--gray-muted);
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: all var(--t-fast);
  border: none;
  background: transparent;
  font-family: 'Noto Sans SC', sans-serif;
  text-decoration: none;
}

.bottom-nav-item:hover,
.bottom-nav-item.active {
  color: var(--pink);
}

.bottom-nav-item svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.bottom-nav-icon-wrap {
  position: relative;
}

.bottom-cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  width: 16px;
  height: 16px;
  background: var(--pink);
  color: white;
  font-size: 0.58rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
}

/* =============================================
   MODAL PLACEHOLDERS (Cart, Login)
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-normal) var(--ease);
}

@media (min-width: 600px) {
  .modal-overlay { align-items: center; }
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: white;
  width: 100%;
  max-width: 480px;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  padding: 28px 24px 32px;
  transform: translateY(40px);
  opacity: 0;
  transition: all var(--t-normal) var(--ease);
}

.modal-card {
  background-color: #ffffff !important;
  color: #111111 !important;
  width: 100%;
  max-width: 440px;
  border-radius: var(--r-xl, 20px);
  padding: 28px 24px 32px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  border-top: 4px solid var(--pink);
  transform: translateY(40px);
  opacity: 0;
  transition: all var(--t-normal) var(--ease);
}

@media (min-width: 600px) {
  .modal-box, .modal-card {
    border-radius: var(--r-xl);
    transform: scale(0.95) translateY(0);
  }
}

.modal-overlay.open .modal-box,
.modal-overlay.open .modal-card {
  transform: translateY(0);
  opacity: 1 !important;
}

@media (min-width: 600px) {
  .modal-overlay.open .modal-box,
  .modal-overlay.open .modal-card { transform: scale(1); }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark);
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast);
}

.modal-close:hover { background: var(--pink-bg); }
.modal-close svg { width: 16px; height: 16px; color: var(--gray-text); }

.modal-empty {
  text-align: center;
  padding: 36px 20px;
}

.modal-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.modal-empty-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.modal-empty-desc { font-size: 0.85rem; color: var(--gray-muted); margin-bottom: 20px; }

/* =============================================
   TOAST NOTIFICATION
   ============================================= */
.toast-container {
  position: fixed;
  top: calc(var(--nav-height) + 12px);
  right: 16px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: white;
  border-radius: var(--r-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  border-left: 4px solid var(--pink);
  transform: translateX(120%);
  opacity: 0;
  transition: all 0.4s var(--ease-bounce);
  pointer-events: all;
  max-width: 300px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon { font-size: 1.2rem; }

/* =============================================
   SCROLL TO TOP BUTTON
   ============================================= */
.scroll-top-btn {
  position: fixed;
  bottom: 88px;
  right: 20px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: var(--pink);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-pink);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--t-normal) var(--ease);
  pointer-events: none;
}

@media (min-width: 768px) {
  .scroll-top-btn { bottom: 28px; }
}

.scroll-top-btn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top-btn:hover {
  background: var(--pink-hover);
  transform: translateY(-3px);
}

.scroll-top-btn svg { width: 20px; height: 20px; }

/* =============================================
   UTILITY: Divider
   ============================================= */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink-pale), transparent);
  margin: 0 auto;
  max-width: 800px;
}

/* =============================================
   SKELETON PULSE (loading state)
   ============================================= */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% auto;
  animation: shimmer 1.5s linear infinite;
  border-radius: var(--r-sm);
}

/* =============================================
   NAVBAR: Updated Logo + Login Button
   ============================================= */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-logo-main {
  font-family: 'Nunito', 'Noto Sans SC', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.nav-link-active {
  color: var(--pink) !important;
}

.nav-link-active::after {
  width: 100% !important;
}

/* Filled pink login button */
.btn-nav-login {
  background: var(--pink);
  color: white;
  border: none;
  border-radius: var(--r-full);
  padding: 9px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t-normal) var(--ease);
  font-family: 'Noto Sans SC', sans-serif;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(252, 12, 151, 0.3);
}

.btn-nav-login:hover {
  background: var(--pink-hover);
  box-shadow: var(--shadow-pink);
  transform: translateY(-1px);
}

/* =============================================
   HERO V2 — Full Pink Design
   ============================================= */

/* =============================================
   HERO V2 — Full Pink Design Upgrades
   ============================================= */

.hero-v2 {
  position: relative;
  padding: 80px 0 80px 0;
  background: var(--white);
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  min-height: auto;
}

@media (min-width: 768px) {
  .hero-v2 {
    padding: 120px 0 80px 0;
  }
}

@media (min-width: 992px) {
  .hero-v2 {
    padding: 140px 0 100px 0;
  }
}

/* 16:9 Banner wrapper for video & text on mobile */
.hero-v2-banner {
  position: relative;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-v2-banner {
    position: static; /* Let video scale to section while keeping text in normal flow */
    padding-top: 120px; /* Pushes titles down to clear fixed navbar on medium desktop screens */
  }
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 240, 245, 0.6) 50%, var(--white) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: -1;
}

.hero-v2-pink {
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 33px; /* Reduced gap between cards and subtitle by 15px (48px -> 33px) */
}

.hero-v2-inner {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
}

.hero-v2-title {
  font-family: 'Nunito', 'Noto Sans SC', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  line-height: 1.25;
  color: var(--dark);
  text-align: center;
  font-weight: 900;
  letter-spacing: -0.8px;
}

@media (min-width: 992px) {
  .hero-v2-title {
    white-space: nowrap;
  }
}

.hero-v2-title-bold,
.hero-v2-title-highlight,
.hero-title-line {
  display: inline;
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(252, 12, 151, 0.12);
}

.hero-v2-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: #000000 !important; /* Deep black contrast text */
  font-weight: 750 !important; /* Bold */
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85); /* Readability shadow on video */
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  text-align: center;
}

.hero-v2-cta {
  margin-top: 8px;
  display: flex;
  justify-content: center;
}

.btn-hero-dark {
  background: var(--pink);
  color: white;
  border: none;
  border-radius: var(--r-full);
  padding: 16px 42px;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--t-normal) var(--ease);
  box-shadow: var(--shadow-pink);
  font-family: 'Noto Sans SC', sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-hero-dark:hover {
  background: var(--pink-hover);
  box-shadow: var(--shadow-pink-lg);
  transform: translateY(-3px);
}

/* Premium Achievement Slider Container (Desktop) */
.achievement-slider-container {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px; /* Room for absolute navigation buttons */
  z-index: 4;
}

.ach-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 15px rgba(252, 12, 151, 0.15);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--t-fast) var(--ease);
}

.ach-slider-btn:hover {
  background: var(--pink);
  color: white;
  border-color: var(--pink);
  box-shadow: var(--shadow-pink);
  transform: translateY(-50%) scale(1.08);
}

.ach-slider-btn.prev {
  left: 0;
}

.ach-slider-btn.next {
  right: 0;
}

.ach-slider-btn svg {
  width: 20px;
  height: 20px;
}

.achievement-cards-wrap {
  width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden !important; /* STOPS vertical scroll inside the slider */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 0 24px 0 !important;
}

.achievement-cards-wrap::-webkit-scrollbar {
  display: none;
}

.achievement-cards-track {
  display: flex !important;
  gap: 24px !important;
  width: max-content !important;
}

.ach-card {
  scroll-snap-align: start;
  width: 340px; /* Solid fixed width on desktop - reduced by 10px */
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--t-normal) var(--ease);
}

.ach-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-pink-lg);
  border-color: var(--pink-pale);
}

.ach-card-img-wrap {
  width: 100%;
  aspect-ratio: 16/9; /* Perfect landscape aspect ratio for student result slides and lecture layouts */
  overflow: hidden;
  background: var(--white); /* Crisp white background that blends seamlessly with the card container */
  border-bottom: 1px solid var(--gray-200);
}

.ach-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Guarantees 100% of the image is fully visible with absolutely ZERO cropping */
  transition: transform var(--t-slow) var(--ease);
}

.ach-card:hover .ach-card-img-wrap img {
  transform: scale(1.05);
}

.ach-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
  text-align: left;
}

.ach-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.ach-card-desc {
  font-size: 0.88rem;
  color: var(--gray-light);
  line-height: 1.5;
  margin: 0;
}

.hero-pill-banner-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 48px;
  margin-bottom: 24px;
  position: relative;
  z-index: 3;
}

.hero-pill-banner {
  background: linear-gradient(135deg, var(--pink), var(--pink-light)) !important;
  border: none !important;
  color: white !important;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px 38px;
  border-radius: var(--r-full);
  box-shadow: 0 8px 25px rgba(252, 12, 151, 0.35);
  animation: ach-btn-float 3s infinite ease-in-out !important;
  transition: all var(--t-normal) var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-pill-banner:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(252, 12, 151, 0.5);
  background: linear-gradient(135deg, var(--pink-hover), var(--pink)) !important;
  color: white !important;
}

/* Make desktop button overall 15px larger */
@media (min-width: 768px) {
  .hero-pill-banner {
    padding: 18px 53px;
    font-size: 1.15rem;
  }
}

@keyframes ach-btn-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-v2-wave {
  display: none !important; /* Removed wave background pattern */
}

/* Responsive Overrides (Mobile) */
@media (max-width: 767px) {
  .hero-v2 {
    padding: 80px 0 32px 0 !important;
  }
  .hero-v2-banner {
    aspect-ratio: 4/3 !important; /* Changed from 16/9 to 4/3 to provide 33% more vertical breathing space on mobile */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
  }
  .hero-v2-pink {
    margin-bottom: 0 !important;
    padding: 12px 0 !important; /* Added vertical padding for extra breathing room */
  }
  .hero-v2-inner {
    gap: 12px !important; /* Increased gap to give elements breathing space */
    padding: 0 20px !important;
  }
  .hero-v2-title {
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important; /* Set gap to 0 to eliminate excessive space */
    line-height: 1.15 !important;
  }
  .hero-v2-title br {
    display: none !important; /* Hide br to prevent it from acting as an empty flex item */
  }
  .hero-v2-title-bold {
    font-size: 24px !important; /* Base mobile title size */
    display: block !important;
  }
  .hero-v2-title-highlight {
    font-size: 44px !important; /* Increased by 20px (24px + 20px) for high contrast stand-out visual */
    display: block !important;
    letter-spacing: -0.5px !important;
  }
  .hero-title-line {
    display: inline !important;
  }
  .hero-v2-subtitle {
    font-size: clamp(0.78rem, 3.2vw, 0.92rem) !important; /* Increased minimum from 0.6rem (9.6px) to 0.78rem (12.5px) for clear legibility on phones */
    line-height: 1.5 !important; /* Balanced line height for subtitle */
    margin: 0 !important;
  }
  .hero-pill-banner-container {
    margin-top: 5px !important; /* Position button exactly 5px away from cards above */
  }
  .hero-video-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .hero-video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }
  .achievement-slider-container {
    padding: 0;
  }
  .ach-slider-btn {
    display: none;
  }
  .achievement-cards-wrap {
    padding: 10px 20px 24px 20px !important;
    margin: 0 !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }
  .achievement-cards-track {
    gap: 16px !important;
  }
  .ach-card {
    min-width: 290px !important;
    width: 290px !important;
  }
}

/* =============================================
   AWARD LOGOS BAR
   ============================================= */
.award-logos-bar {
  background: var(--white);
  border-top: none;
  border-bottom: none;
  padding: 24px var(--container-px);
}

.award-logos-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
}

.award-logo-item {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-normal) var(--ease), opacity var(--t-normal) var(--ease);
  opacity: 0.85;
}

.award-logo-item:hover {
  transform: scale(1.08);
  opacity: 1;
}

.award-logo-item img {
  height: 52px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .award-logo-item img {
    height: 40px;
    max-width: 80px;
  }
  .award-logos-inner { gap: 14px; }
}

/* =============================================
   HERO ADDON: Teacher + Stats Section
   ============================================= */
.hero-addon {
  padding: 64px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--pink-bg) 100%);
}

.hero-addon-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-addon-grid {
    grid-template-columns: 380px 1fr;
    gap: 56px;
  }
}

/* Teacher Image */
.hero-addon-img {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
}

.addon-img-frame {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--pink-bg);
  box-shadow: var(--shadow-pink);
  position: relative;
}

.addon-img-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.addon-img-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: var(--r-full);
  padding: 10px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  border: 1.5px solid var(--pink-pale);
  z-index: 2;
}

/* Content Side */
.hero-addon-content {
  padding-top: 24px;
}

@media (min-width: 768px) {
  .hero-addon-content { padding-top: 0; }
}

.addon-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.addon-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
}

.addon-subtitle {
  font-size: 0.95rem;
  color: var(--pink);
  font-weight: 600;
  margin-bottom: 18px;
}

.addon-bio {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 28px;
  max-width: 500px;
}

/* Stats Row */
.addon-stats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  background: white;
  border-radius: var(--r-lg);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
}

.addon-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 70px;
}

.addon-stat-num {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--pink);
  line-height: 1.1;
  text-align: center;
}

.addon-stat-label {
  font-size: 0.68rem;
  color: var(--gray-muted);
  font-weight: 500;
  margin-top: 4px;
  text-align: center;
  line-height: 1.3;
}

.addon-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
  align-self: center;
  flex-shrink: 0;
}

/* =============================================
   HERO V2: DIAGONAL STRIPE + WAVE
   ============================================= */

/* Add diagonal stripe texture to the pink hero */
.hero-v2-pink {
  /* Reset bottom padding since wave is removed */
  padding-bottom: 24px;
}

/* Wave div at the bottom of the pink area */
.hero-v2-wave {
  display: none !important;
}

.hero-v2-wave svg {
  display: none !important;
}

/* =============================================
   AWARD LOGOS: INFINITE SCROLLING MARQUEE
   ============================================= */
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* Override existing award-logos-bar to be a marquee container */
.award-logos-bar {
  overflow: hidden;
  padding: 22px 0;
  border-top: none;
  border-bottom: none;
  background: var(--white);
}

.award-logos-marquee-wrap {
  overflow: hidden;
  width: 100%;
  display: flex;
}

.award-logos-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 4px 56px 4px 0; /* padding-right of 56px to match the gap between items */
  flex-shrink: 0;
  animation: logo-scroll 25s linear infinite;
}

/* Pause on hover */
.award-logos-marquee-wrap:hover .award-logos-marquee-track {
  animation-play-state: paused;
}

.award-logos-marquee-track .award-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0.78;
  transition: opacity var(--t-normal) var(--ease), transform var(--t-normal) var(--ease);
}

.award-logos-marquee-track .award-logo-item:hover {
  opacity: 1;
  transform: scale(1.08);
}

.award-logos-marquee-track .award-logo-item img {
  height: 52px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}

/* =============================================
   STATS BANNER — 4 Large Numbers
   ============================================= */
.stats-banner {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 52px 20px;
}

.stats-banner-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.stats-banner-item {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 28px;
}

.stats-banner-divider {
  width: 1.5px;
  height: 72px;
  background: var(--gray-200);
  flex-shrink: 0;
  align-self: center;
}

.stats-banner-numline {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 10px;
  justify-content: center;
}

.stats-banner-num {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
  display: block;
}

/* For the text-based stat (Form 1-5) */
.stats-banner-text {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.1;
}

.stats-banner-suffix {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 900;
  color: var(--pink);
  line-height: 1;
}

.stats-banner-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-text);
  line-height: 1.4;
  letter-spacing: 0.2px;
}

/* Mobile: 2x2 grid */
@media (max-width: 600px) {
  .stats-banner-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stats-banner-divider { display: none; }
  .stats-banner-item {
    padding: 24px 16px;
    border-bottom: 1px solid var(--gray-200);
    border-right: none;
  }
  .stats-banner-item:nth-of-type(1),
  .stats-banner-item:nth-of-type(3) {
    border-right: 1px solid var(--gray-200);
  }
  .stats-banner-item:nth-of-type(3),
  .stats-banner-item:nth-of-type(4) {
    border-bottom: none;
  }
}

/* ==========================================================================
   WANNENG JIAO JACK - COMMERCE & STUDENT DASHBOARD DARK SYSTEM STYLES
   Adds support for: cart.html, checkout.html, student.html, success.html
   ========================================================================== */

/* Dark Mode Tokens */
:root {
  --dark-bg: #0b0612; /* Deep space dark purple */
  --dark-card: rgba(255, 255, 255, 0.04);
  --border-color: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --grey-muted: rgba(255, 255, 255, 0.55);
  --purple-soft: rgba(139, 92, 246, 0.25);
  --purple-hover: #8b5cf6;
}

/* Base override for pages using background-color: var(--dark) or body with dark theme */
body[style*="background-color: var(--dark)"],
body[style*="background-color:var(--dark)"] {
  background-color: var(--dark-bg) !important;
  color: var(--text-main) !important;
}

/* 1. Header Layout for child pages */
header {
  background: rgba(11, 6, 18, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 16px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header .logo {
  display: flex;
  align-items: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
}

header .logo span {
  color: var(--pink);
  margin-left: 4px;
}

header .nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

header .nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

header .nav-links a:hover, 
header .nav-links a.active {
  color: var(--pink);
}

header .header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

header .cart-icon-btn {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
  background: transparent;
  border: none;
}

header .cart-icon-btn:hover, 
header .cart-icon-btn.active {
  color: var(--pink);
}

header .cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--pink);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
}

@media (max-width: 768px) {
  header .nav-links {
    display: none !important;
  }
}

/* 2. Common Dark Form Components & Boxes */
.checkout-form-box {
  background: var(--dark-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  color: var(--text-main);
  margin-bottom: 24px;
}

.checkout-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Nunito', 'Noto Sans SC', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.checkout-section-title span {
  width: 26px;
  height: 26px;
  background: var(--pink);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
  }
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.form-control {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: all 0.3s;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-control:focus {
  border-color: var(--pink);
  box-shadow: 0 0 12px rgba(252, 12, 151, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 40px;
}

select.form-control option {
  background: #150e1f;
  color: var(--white);
}

/* Custom checkbox */
.custom-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  user-select: none;
  line-height: 1.5;
}

.custom-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.2s;
}

.custom-checkbox input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--pink);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.custom-checkbox input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.custom-checkbox input[type="checkbox"]:checked {
  border-color: var(--pink);
  background: rgba(252, 12, 151, 0.12);
  box-shadow: 0 0 8px rgba(252, 12, 151, 0.3);
}

/* 3. Grid layouts for cart and checkout */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  margin-top: 24px;
  align-items: start;
}

@media (max-width: 992px) {
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-summary {
  background: var(--dark-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  color: var(--white);
  position: sticky;
  top: 100px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.summary-row.total {
  margin-top: 12px;
  margin-bottom: 24px;
  font-weight: 800;
  color: var(--white);
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.promo-form {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.promo-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 0.875rem;
  color: var(--white);
  outline: none;
  flex: 1;
  transition: all 0.3s;
}

.promo-input:focus {
  border-color: var(--pink);
  background: rgba(255, 255, 255, 0.08);
}

/* 4. Cart Item Card styling */
.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--dark-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: all 0.3s;
}

.cart-item:hover {
  border-color: rgba(252, 12, 151, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(252, 12, 151, 0.08);
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.35;
}

.cart-item-price {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--pink);
  margin: 0 16px;
}

.btn-remove {
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s;
}

.btn-remove:hover {
  background: rgba(252, 12, 151, 0.12);
  color: var(--pink);
}

.badge-form {
  background: rgba(252, 12, 151, 0.12);
  color: var(--pink-light);
  border: 1px solid rgba(252, 12, 151, 0.3);
  font-size: 0.7rem;
  align-self: flex-start;
}

/* 5. FPX / TnG / Card payment selection grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

@media (max-width: 600px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.payment-method-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s;
  user-select: none;
  text-align: left;
}

.payment-method-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(252, 12, 151, 0.3);
}

.payment-method-card.selected {
  background: rgba(252, 12, 151, 0.08);
  border-color: var(--pink);
  box-shadow: 0 0 16px rgba(252, 12, 151, 0.25);
}

.payment-method-icon {
  font-size: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 6. Simulated Razorpay Popup Modal */
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.razorpay-modal {
  background: #14052e; /* Deep purple Razorpay layout styling */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-md);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: slide-in-up 0.4s var(--ease);
}

.rp-header {
  background: #0d0022;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rp-header-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
}

.rp-header-subtitle {
  font-size: 0.72rem;
  color: var(--grey-muted);
  margin-top: 2px;
}

.rp-body {
  padding: 24px;
  color: var(--white);
}

.rp-amount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: var(--r-xs);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rp-amount {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--pink);
}

.fpx-bank-select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-xs);
  padding: 12px;
  font-size: 0.92rem;
  color: var(--white);
  outline: none;
  margin-bottom: 20px;
  cursor: pointer;
}

.fpx-bank-select option {
  background: #14052e;
  color: var(--white);
}

.rp-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: var(--pink);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

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

/* 7. Student dashboard center grid & navigation */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: var(--dark-bg);
  color: var(--white);
}

@media (max-width: 900px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
}

.sidebar-nav {
  background: rgba(255, 255, 255, 0.02);
  border-right: 1px solid var(--border-color);
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 900px) {
  .sidebar-nav {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding: 24px var(--container-px);
  }
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  gap: 12px;
  font-size: 0.95rem;
}

.sidebar-link:hover, 
.sidebar-link.active {
  background: rgba(252, 12, 151, 0.1);
  color: var(--pink-light);
  border-left: 3px solid var(--pink);
}

.dashboard-content {
  padding: 48px;
  background: var(--dark-bg);
  color: var(--white);
  overflow-y: auto;
}

@media (max-width: 900px) {
  .dashboard-content {
    padding: 32px var(--container-px);
  }
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.dash-title h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--white);
}

.dash-title p {
  color: var(--grey-muted);
  font-size: 0.95rem;
  margin-top: 6px;
}

/* Zoom Link Neon Card */
.zoom-link-card {
  background: linear-gradient(135deg, rgba(252, 12, 151, 0.22) 0%, rgba(139, 92, 246, 0.22) 100%);
  border: 1px solid rgba(252, 12, 151, 0.35);
  box-shadow: 0 10px 36px rgba(252, 12, 151, 0.15);
  border-radius: var(--r-md);
  padding: 24px 30px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.zoom-link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Course cards inside dashboard (dark override) */
.dashboard-layout .course-card {
  background: var(--dark-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  color: var(--white);
}

.dashboard-layout .course-card:hover {
  border-color: rgba(252, 12, 151, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--shadow-pink);
}

.dashboard-layout .course-card .course-title {
  color: var(--white);
}

/* PDF notes table inside dashboard */
.table-responsive {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.25);
}

.dash-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.01);
  color: var(--white);
  font-size: 0.92rem;
  text-align: left;
}

.dash-table th, 
.dash-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.dash-table th {
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.dash-table tr:last-child td {
  border-bottom: none;
}

.dash-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

/* 8. Mobile bottom sticky menus fix */
.bottom-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(11, 6, 18, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 999;
}

@media (min-width: 768px) {
  .bottom-sticky-bar {
    display: none !important;
  }
}

.sticky-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
}

.sticky-nav-item:hover, 
.sticky-nav-item.active {
  color: var(--pink);
}

.sticky-nav-item svg {
  stroke-width: 2.2;
}

/* Premium Scrollbars styling */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
  border-left: 1px solid var(--gray-200);
}

::-webkit-scrollbar-thumb {
  background: var(--pink-pale);
  border: 2.5px solid var(--off-white);
  border-radius: var(--r-full);
  transition: background var(--t-fast) var(--ease);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--pink);
}

/* ==========================================================================
   WANNENG JIAO JACK - SHOP EXCLUSIVE MODERN NEON GLASSMORPHISM STYLES
   ========================================================================== */

/* 1. Shop Page Layout */
.shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

@media (min-width: 992px) {
  .shop-layout {
    grid-template-columns: 280px 1fr;
  }
}

/* 2. Advanced Left Sidebar Filters (Neon Glassmorphism) */
.shop-sidebar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--r-lg);
  padding: 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: fit-content;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 100px;
  transition: all 0.3s ease;
}

/* Sidebar mobile collapse rules */
@media (max-width: 991px) {
  .shop-sidebar {
    position: relative !important;
    top: 0 !important;
    z-index: 50 !important;
    margin-bottom: 20px;
    padding: 20px !important;
  }
  #shop-sidebar-content {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
  }
  .shop-sidebar.expanded #shop-sidebar-content {
    max-height: 1200px;
    opacity: 1;
    pointer-events: auto;
    margin-top: 20px;
  }
  .shop-sidebar .mobile-only-arrow {
    display: inline-block !important;
  }
  .shop-sidebar.expanded .mobile-only-arrow {
    transform: rotate(180deg) !important;
  }
}
@media (min-width: 992px) {
  .shop-sidebar .mobile-only-arrow {
    display: none !important;
  }
  #shop-sidebar-content {
    max-height: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

.shop-sidebar:hover {
  border-color: rgba(252, 12, 151, 0.2);
  box-shadow: 0 15px 40px rgba(252, 12, 151, 0.05);
}

.filter-group {
  margin-bottom: 28px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 8px;
  letter-spacing: 0.5px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Premium Filter Custom Checkbox styling */
.filter-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  position: relative;
  user-select: none;
}

.filter-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-color);
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.03);
  outline: none;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.filter-label input[type="checkbox"]:checked {
  background: var(--pink);
  border-color: var(--pink);
  box-shadow: 0 0 10px rgba(252, 12, 151, 0.5);
}

.filter-label input[type="checkbox"]::before {
  content: "✓";
  color: white;
  font-size: 11px;
  font-weight: bold;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
}

.filter-label input[type="checkbox"]:checked::before {
  opacity: 1;
  transform: scale(1);
}

.filter-label:hover {
  color: var(--pink-light);
}

.filter-label:hover input[type="checkbox"] {
  border-color: var(--pink-light);
}

/* 3. Search Bar and Content Header */
.shop-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--r-md);
  padding: 16px 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.search-wrapper {
  position: relative;
  flex: 1;
  max-width: 400px;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--grey-muted);
  pointer-events: none;
}

.search-input {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--r-full) !important;
  padding: 12px 20px 12px 46px !important;
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: 0.88rem !important;
  width: 100% !important;
  outline: none !important;
  transition: all 0.3s ease !important;
}

.search-input:focus {
  border-color: var(--pink) !important;
  box-shadow: 0 0 15px rgba(252, 12, 151, 0.35) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Sorting select */
#sort-select {
  background: rgba(11, 6, 18, 0.95) !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--r-sm) !important;
  padding: 10px 16px !important;
  color: var(--white) !important;
  font-family: var(--font-body);
  font-size: 0.85rem !important;
  outline: none !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

#sort-select:focus,
#sort-select:hover {
  border-color: var(--pink) !important;
  box-shadow: 0 0 12px rgba(252, 12, 151, 0.25) !important;
}

#sort-select option {
  background: #0b0612 !important;
  color: var(--white) !important;
  padding: 10px !important;
}

/* 4. Course Cards styling inside shop */
#shop-course-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  #shop-course-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.shop-layout .course-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  color: var(--white);
  height: 100%;
}

.shop-layout .course-card:hover {
  border-color: rgba(252, 12, 151, 0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-pink);
}

.shop-layout .course-card .course-title {
  color: var(--white) !important;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.35;
}

.shop-layout .course-card .course-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.shop-layout .course-card .course-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.shop-layout .course-card .course-meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.shop-layout .course-card .course-meta li svg {
  color: var(--pink-light);
  flex-shrink: 0;
}

.shop-layout .course-card .course-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.shop-layout .course-card .price-current {
  font-family: 'Nunito', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--pink);
}

.shop-layout .course-card .price-original {
  font-size: 0.85rem;
  color: var(--grey-muted);
  text-decoration: line-through;
}

.shop-layout .course-card .course-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.shop-layout .course-card .course-actions .btn {
  flex: 1;
  text-align: center;
}

.shop-layout .course-card .course-status-bar {
  margin-bottom: 12px;
}

/* Badge alignments */
.course-thumb-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.badge-subject {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.35);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
}

/* 5. Custom button styles */
.btn-outline-pink {
  background: transparent !important;
  border: 1.5px solid var(--pink) !important;
  color: var(--pink) !important;
  transition: all 0.3s ease !important;
}

.btn-outline-pink:hover {
  background: var(--pink) !important;
  color: white !important;
  box-shadow: var(--shadow-pink) !important;
}

.btn-outline-purple {
  background: transparent !important;
  border: 1.5px solid var(--purple-hover) !important;
  color: var(--purple-hover) !important;
  transition: all 0.3s ease !important;
}

.btn-outline-purple:hover {
  background: var(--purple-hover) !important;
  color: white !important;
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.4) !important;
}

/* 6. PC Layout Sticky Bars Guarantee */
@media (min-width: 768px) {
  .mobile-bottom-nav,
  .bottom-sticky-bar {
    display: none !important;
  }
}

/* ==========================================================================
   WANNENG JIAO JACK - NEW RESPONSIVE CTA BUTTON & LIGHT THEME OVERRIDES
   ========================================================================== */

.shop-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 22px 64px !important;
  border-radius: var(--r-full);
  font-family: 'Nunito', 'Noto Sans SC', sans-serif;
  font-weight: 800;
  font-size: 1.45rem !important;
  color: var(--white) !important;
  text-decoration: none;
  background: var(--pink) !important;
  box-shadow: 0 8px 24px rgba(252, 12, 151, 0.35) !important;
  transition: all 0.3s var(--ease) !important;
  border: none !important;
  cursor: pointer;
  white-space: normal !important; /* Allow wrapping on small screens */
  text-align: center;
  max-width: 92%;
  margin: 0 auto;
  letter-spacing: 0.5px;
}

.shop-cta-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 32px rgba(252, 12, 151, 0.5) !important;
  background: var(--pink-hover) !important;
}

@media (max-width: 768px) {
  .shop-cta-btn {
    font-size: 1.2rem !important;
    padding: 18px 36px !important;
    gap: 10px !important;
  }
}

/* =============================================
   LIGHT THEME STYLES (SHOP & CART ADAPTABILITY)
   ============================================= */
body.light-theme {
  background-color: var(--white) !important;
  color: var(--dark) !important;
}

/* Header/Nav Adaptability */
body.light-theme header {
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid var(--gray-200) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

body.light-theme header .logo {
  color: var(--dark) !important;
}

body.light-theme header .logo span {
  color: var(--pink) !important;
}

body.light-theme header .nav-links a {
  color: var(--gray-text) !important;
}

body.light-theme header .nav-links a:hover,
body.light-theme header .nav-links a.active {
  color: var(--pink) !important;
}

body.light-theme header .cart-icon-btn {
  color: var(--gray-text) !important;
}

body.light-theme header .cart-icon-btn:hover,
body.light-theme header .cart-icon-btn.active {
  color: var(--pink) !important;
}

body.light-theme header .cart-count {
  background: var(--pink) !important;
  color: var(--white) !important;
}

/* Sidebar Filters (White Card) */
body.light-theme .shop-sidebar {
  background: var(--white) !important;
  border: 1px solid var(--gray-200) !important;
  box-shadow: var(--shadow-md) !important;
  color: var(--dark) !important;
}

body.light-theme .shop-sidebar:hover {
  border-color: var(--pink-pale) !important;
  box-shadow: 0 15px 40px rgba(252, 12, 151, 0.08) !important;
}

body.light-theme .shop-sidebar h2 {
  color: var(--dark) !important;
}

body.light-theme .filter-title {
  color: var(--dark) !important;
  border-bottom: 1.5px solid var(--gray-100) !important;
}

body.light-theme .filter-label {
  color: var(--gray-text) !important;
}

body.light-theme .filter-label input[type="checkbox"] {
  border: 1.5px solid var(--gray-300) !important;
  background: var(--white) !important;
}

body.light-theme .filter-label input[type="checkbox"]:checked {
  background: var(--pink) !important;
  border-color: var(--pink) !important;
  box-shadow: 0 0 8px rgba(252, 12, 151, 0.3) !important;
}

body.light-theme .filter-label:hover {
  color: var(--pink) !important;
}

body.light-theme .filter-label:hover input[type="checkbox"] {
  border-color: var(--pink) !important;
}

/* Content Header & Search controls */
body.light-theme .shop-content-header {
  background: var(--white) !important;
  border: 1px solid var(--gray-200) !important;
  box-shadow: var(--shadow-sm) !important;
}

body.light-theme .search-input {
  background: var(--white) !important;
  border: 1.5px solid var(--gray-300) !important;
  color: var(--dark) !important;
}

body.light-theme .search-input:focus {
  border-color: var(--pink) !important;
  box-shadow: 0 0 10px rgba(252, 12, 151, 0.15) !important;
  background: var(--white) !important;
}

body.light-theme .search-input::placeholder {
  color: var(--gray-muted) !important;
}

body.light-theme .search-icon {
  color: var(--gray-muted) !important;
}

body.light-theme #sort-select {
  background: var(--white) !important;
  border: 1.5px solid var(--gray-300) !important;
  color: var(--dark) !important;
}

body.light-theme #sort-select:focus,
body.light-theme #sort-select:hover {
  border-color: var(--pink) !important;
  box-shadow: 0 0 8px rgba(252, 12, 151, 0.15) !important;
}

body.light-theme #sort-select option {
  background: var(--white) !important;
  color: var(--dark) !important;
}

body.light-theme #results-count {
  color: var(--gray-light) !important;
}

body.light-theme #no-results-view h3 {
  color: var(--dark) !important;
}

body.light-theme #no-results-view p {
  color: var(--gray-light) !important;
}

/* Course Card Overrides */
body.light-theme .shop-layout .course-card {
  background: var(--white) !important;
  border: 1.5px solid var(--gray-200) !important;
  box-shadow: var(--shadow-sm) !important;
  color: var(--dark) !important;
}

body.light-theme .shop-layout .course-card:hover {
  border-color: var(--pink-pale) !important;
  box-shadow: var(--shadow-pink) !important;
  transform: translateY(-6px) !important;
}

body.light-theme .shop-layout .course-card .course-title {
  color: var(--dark) !important;
}

body.light-theme .shop-layout .course-card .course-meta li {
  color: var(--gray-light) !important;
}

body.light-theme .shop-layout .course-card .course-meta li svg {
  color: var(--pink) !important;
}

body.light-theme .shop-layout .course-card .price-current {
  color: var(--pink) !important;
}

body.light-theme .shop-layout .course-card .price-original {
  color: var(--gray-muted) !important;
}

/* Shopping Cart Overrides */
body.light-theme h1 {
  color: var(--dark) !important;
}

body.light-theme .cart-item {
  background: var(--white) !important;
  border: 1.5px solid var(--gray-200) !important;
  color: var(--dark) !important;
  box-shadow: var(--shadow-sm) !important;
}

body.light-theme .cart-item:hover {
  border-color: var(--pink-pale) !important;
  box-shadow: 0 8px 24px rgba(252, 12, 151, 0.06) !important;
}

body.light-theme .cart-item-title {
  color: var(--dark) !important;
}

body.light-theme .cart-item-price {
  color: var(--pink) !important;
}

body.light-theme .btn-remove {
  color: var(--gray-muted) !important;
}

body.light-theme .btn-remove:hover {
  background: var(--pink-bg) !important;
  color: var(--pink) !important;
}

body.light-theme .cart-summary {
  background: var(--white) !important;
  border: 1.5px solid var(--gray-200) !important;
  box-shadow: var(--shadow-md) !important;
  color: var(--dark) !important;
}

body.light-theme .cart-summary h2 {
  color: var(--dark) !important;
}

body.light-theme .summary-row {
  color: var(--gray-text) !important;
}

body.light-theme .summary-row.total {
  color: var(--dark) !important;
  border-top-color: var(--gray-200) !important;
}

body.light-theme .promo-input {
  background: var(--white) !important;
  border: 1.5px solid var(--gray-300) !important;
  color: var(--dark) !important;
}

body.light-theme .promo-input:focus {
  border-color: var(--pink) !important;
  background: var(--white) !important;
}

body.light-theme .checkout-form-box {
  background: var(--white) !important;
  border: 1.5px solid var(--gray-200) !important;
  box-shadow: var(--shadow-sm) !important;
  color: var(--dark) !important;
}

body.light-theme .checkout-form-box h2 {
  color: var(--dark) !important;
}

body.light-theme .checkout-form-box p {
  color: var(--gray-text) !important;
}

/* Mobile bottom sticky navigation bar */
body.light-theme .bottom-sticky-bar {
  background: rgba(255, 255, 255, 0.92) !important;
  border-top: 1px solid var(--gray-200) !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05) !important;
}

body.light-theme .sticky-nav-item {
  color: var(--gray-light) !important;
}

body.light-theme .sticky-nav-item.active {
  color: var(--pink) !important;
}

/* ==========================================================================
   WANNENG JIAO JACK - COURSE DETAIL PAGE STYLES (PREMIUM DARK & LIGHT STYLES)
   ========================================================================== */

/* 1. Base Layout */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 30px;
  margin-bottom: 60px;
}

@media (min-width: 992px) {
  .detail-layout {
    grid-template-columns: 2.5fr 1fr;
  }
}

.detail-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 2. Banner Block */
.detail-banner {
  background: linear-gradient(135deg, #1d123b 0%, #06020f 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--r-lg);
  padding: 48px 24px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.detail-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(252, 12, 151, 0.1) 0%, transparent 80%);
  pointer-events: none;
}

/* 3. Info Blocks (Cards) */
.detail-info-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.detail-info-block:hover {
  border-color: rgba(252, 12, 151, 0.15);
  box-shadow: 0 15px 40px rgba(252, 12, 151, 0.05);
}

.detail-info-block h2 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-info-block p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* Syllabus List */
.syllabus-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.syllabus-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  transition: all 0.25s var(--ease);
}

.syllabus-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(252, 12, 151, 0.2);
  transform: translateX(6px);
}

.syllabus-num {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--pink);
  background: rgba(252, 12, 151, 0.1);
  padding: 2px 8px;
  border-radius: var(--r-xs);
  flex-shrink: 0;
  line-height: 1;
}

/* 4. Sidebar & Pricing Card */
.detail-sidebar {
  height: fit-content;
}

.detail-sidebar-sticky {
  position: sticky;
  top: 100px;
}

.checkout-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(252, 12, 151, 0.25);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 15px 35px rgba(252, 12, 151, 0.05), 0 15px 35px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.checkout-box:hover {
  border-color: rgba(252, 12, 151, 0.45);
  box-shadow: 0 15px 40px rgba(252, 12, 151, 0.12);
}

.checkout-box-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  text-align: center;
  letter-spacing: 0.5px;
}

.price-block {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.price-block .price-current {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--pink);
}

.price-block .price-original {
  font-size: 1rem;
  color: var(--grey-muted);
  text-decoration: line-through;
}

.checkout-box-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.checkout-box-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.checkout-box-features li svg {
  color: var(--pink);
  flex-shrink: 0;
}

/* 5. Mobile Sticky CTA Bar overrides */
.mobile-detail-cta {
  background: rgba(11, 6, 18, 0.85) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4) !important;
  padding: 16px 20px !important;
}

.mobile-detail-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-full);
  font-weight: 700;
  transition: all 0.3s var(--ease);
}

.mobile-detail-cta .btn-whatsapp {
  background: rgba(37, 211, 102, 0.15) !important;
  color: #25d366 !important;
  border: 1px solid rgba(37, 211, 102, 0.3) !important;
}

.mobile-detail-cta .btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.25) !important;
}

.mobile-detail-cta .btn-outline-pink {
  border: 1.5px solid var(--pink) !important;
  color: var(--pink) !important;
  background: transparent !important;
}

.mobile-detail-cta .btn-outline-pink:hover {
  background: rgba(252, 12, 151, 0.05) !important;
}

.mobile-detail-cta .btn-primary {
  background: var(--pink) !important;
  color: var(--white) !important;
  border: none !important;
  box-shadow: var(--shadow-pink) !important;
}

.mobile-detail-cta .btn-primary:hover {
  background: var(--pink-hover) !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   LIGHT THEME OVERRIDES FOR COURSE DETAIL PAGE
   ========================================================================== */
body.light-theme {
  background-color: var(--white) !important;
  color: var(--dark) !important;
}

body.light-theme .detail-banner {
  background: linear-gradient(135deg, var(--pink-bg) 0%, var(--white) 100%) !important;
  border: 1.5px solid var(--gray-200) !important;
  box-shadow: var(--shadow-md);
}

body.light-theme .detail-banner::before {
  background: radial-gradient(circle at 50% 50%, rgba(252, 12, 151, 0.05) 0%, transparent 80%);
}

body.light-theme #detail-main-title {
  color: var(--dark) !important;
}

body.light-theme .detail-info-block {
  background: var(--white) !important;
  border: 1.5px solid var(--gray-200) !important;
  box-shadow: var(--shadow-sm) !important;
}

body.light-theme .detail-info-block:hover {
  border-color: var(--pink-pale) !important;
  box-shadow: var(--shadow-pink) !important;
}

body.light-theme .detail-info-block h2 {
  color: var(--dark) !important;
}

body.light-theme .detail-info-block p {
  color: var(--gray-text) !important;
}

body.light-theme .detail-info-block ul li {
  color: var(--gray-text) !important;
}

body.light-theme .syllabus-item {
  background: var(--off-white) !important;
  border: 1px solid var(--gray-200) !important;
  color: var(--gray-text) !important;
}

body.light-theme .syllabus-item:hover {
  background: var(--pink-bg) !important;
  border-color: var(--pink-pale) !important;
}

body.light-theme .checkout-box {
  background: var(--white) !important;
  border: 1.5px solid var(--pink-pale) !important;
  box-shadow: var(--shadow-md) !important;
}

body.light-theme .checkout-box:hover {
  border-color: var(--pink) !important;
  box-shadow: var(--shadow-pink) !important;
}

body.light-theme .checkout-box-title {
  color: var(--dark) !important;
}

body.light-theme .price-block {
  border-bottom-color: var(--gray-200) !important;
}

body.light-theme .price-block .price-original {
  color: var(--gray-muted) !important;
}

body.light-theme .checkout-box-features li {
  color: var(--gray-text) !important;
}

/* Light Theme Mobile Sticky CTA */
body.light-theme .mobile-detail-cta {
  background: rgba(255, 255, 255, 0.95) !important;
  border-top: 1px solid var(--gray-200) !important;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.05) !important;
}

/* Floating Swipe Guide Indicator for Mobile Featured Courses */
.swipe-indicator-arrow {
  display: none;
}

@media (max-width: 599px) {
  .swipe-indicator-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 4px 16px rgba(252, 12, 151, 0.35);
    z-index: 10;
    pointer-events: none; /* so it doesn't block touch/clicks on cards underneath */
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    animation: swipeBounce 1.6s infinite ease-in-out;
  }
  
  .swipe-indicator-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--pink);
  }
  
  .swipe-indicator-arrow.fade-out {
    opacity: 0 !important;
    transform: translateY(-50%) scale(0.8) !important;
    pointer-events: none !important;
  }
}

@keyframes swipeBounce {
  0%, 100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-50%) translateX(6px);
  }
}

/* ==========================================================================
   WANNENG JIAO JACK - NATIVE MOMENTUM SCROLL SNAPPING OVERRIDES FOR MOBILE
   ========================================================================== */

@media (max-width: 599px) {
  /* Disable JS transformation on mobile and force layout snap properties for courses slider only */
  .courses-track-wrap {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important; /* Momentum physics scroll */
    scrollbar-width: none !important;
    padding: 10px 20px 20px 20px !important;
    margin: 0 -20px !important;
  }
  
  .courses-track-wrap::-webkit-scrollbar {
    display: none !important;
  }
  
  .courses-track {
    transform: none !important; /* Block JS translation offsets */
    transition: none !important;
    gap: 16px !important;
    width: auto !important;
  }
  
  .courses-track .course-card {
    min-width: 85% !important;
    width: 85% !important;
    scroll-snap-align: start !important;
    scroll-margin-left: 20px !important;
  }

  /* Completely remove the dots and arrows below for mobile courses slider */
  .courses-slider-controls {
    display: none !important;
  }

  .swipe-indicator-arrow {
    display: none !important; /* Guided arrows not needed for native overflow scroll */
  }
}



/* ==========================================================================
   SECTION 2: 教学理念 (Philosophy Section) & SECTION 4: 挑战气泡云 (Bubble Cloud)
   ========================================================================== */

.philosophy-section {
  padding: 80px 0;
  background: var(--off-white);
  position: relative;
}

.philosophy-grid-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 991px) {
  .philosophy-grid-three {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.philosophy-new-card {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.philosophy-new-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-pink-lg);
  border-color: var(--pink-pale);
}

.phil-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--r-md);
  background: var(--pink-bg);
  border: 1px solid var(--pink-pale);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--t-normal) var(--ease);
}

.philosophy-new-card:hover .phil-icon-wrap {
  background: var(--pink);
  color: white;
  transform: rotate(8deg) scale(1.05);
  box-shadow: 0 4px 15px rgba(252, 12, 151, 0.2);
}

.phil-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.phil-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
}

.phil-card-desc {
  font-size: 0.92rem;
  color: var(--gray-light);
  line-height: 1.6;
  margin: 0;
}

.phil-card-desc strong {
  color: var(--pink);
  font-weight: 700;
}

/* --- Section 4: Bubble Cloud Pain Points --- */
.challenges-section {
  padding: 80px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.challenge-bubbles-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  max-width: 1050px;
  margin: 40px auto 0;
  padding: 20px;
}

.bubble-item {
  border-radius: var(--r-full);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 240, 245, 0.85) 100%);
  border: 1.5px solid rgba(252, 12, 151, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--dark);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  cursor: default;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  white-space: nowrap;
}

.bubble-lg {
  padding: 18px 32px;
  font-size: 1.05rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
}

.bubble-md {
  padding: 14px 24px;
  font-size: 0.92rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.03);
}

.bubble-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.02);
}

.bubble-item:hover {
  transform: scale(1.12) translateY(-6px) !important;
  box-shadow: 0 15px 35px rgba(252, 12, 151, 0.18);
  border-color: var(--pink);
  color: var(--pink);
  z-index: 10;
}

.challenge-focus-card {
  display: none !important;
}

/* Floating Animations */
.bubble-float-1 { animation: float-sway-1 6s ease-in-out infinite; }
.bubble-float-2 { animation: float-sway-2 7s ease-in-out infinite; }
.bubble-float-3 { animation: float-sway-3 8s ease-in-out infinite; }
.bubble-float-4 { animation: float-sway-4 6.5s ease-in-out infinite; }
.bubble-float-5 { animation: float-sway-1 7.5s ease-in-out infinite; }

@keyframes float-sway-1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
}

@keyframes float-sway-2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(-1deg); }
}

@keyframes float-sway-3 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes float-sway-4 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-1.5deg); }
}

/* --- Section 5: Teacher Detail Extras --- */
.teacher-highlight-headline {
  font-size: clamp(1.25rem, 3.2vw, 1.7rem);
  font-weight: 850;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 28px;
  font-family: 'Noto Sans SC', sans-serif;
  letter-spacing: -0.3px;
}

.reasons-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 32px;
}

.reason-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.reason-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
  font-family: 'Nunito', sans-serif;
  box-shadow: 0 4px 10px rgba(252, 12, 151, 0.28);
}

.reason-text {
  text-align: left;
}

.reason-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}

.reason-text p {
  font-size: 0.88rem;
  color: var(--gray-light);
  line-height: 1.5;
  margin: 0;
}

.core-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 32px;
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
}

@media (max-width: 480px) {
  .core-features-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.core-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-text);
  font-weight: 700;
  text-align: left;
}

.feat-check {
  color: var(--pink);
  font-size: 1.15rem;
  font-weight: 900;
}


/* ==========================================================================
   SECTION 5: ASEAN 介绍
   ========================================================================== */
.asean-section {
  background: var(--white);
  position: relative;
}

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

@media (min-width: 768px) {
  .asean-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
  }
}

.asean-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.asean-img-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-pink);
  border: 4px solid var(--white);
  transition: transform var(--t-slow) var(--ease);
}

.asean-img-frame:hover {
  transform: scale(1.02) rotate(1deg);
}

.asean-img-frame img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

.asean-deco-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, var(--pink-pale) 0%, transparent 70%);
  z-index: 1;
  opacity: 0.6;
}

.asean-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-bg);
  border: 1px solid var(--pink-pale);
  color: var(--pink);
  padding: 6px 16px;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.asean-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.asean-title span.gradient {
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.asean-desc {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 28px;
}

.asean-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 480px) {
  .asean-features {
    grid-template-columns: 1fr 1fr;
  }
}

.asean-feat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-text);
}

.asean-feat-item span.icon {
  width: 26px;
  height: 26px;
  background: var(--pink-bg);
  color: var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}


/* ==========================================================================
   SECTION 7: 学校巡回与自动播放视频
   ========================================================================== */
.school-tour-section {
  background: var(--off-white);
  position: relative;
}

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

@media (min-width: 992px) {
  .school-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
  }
}

.school-video-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--dark);
}

.school-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
}

.school-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Elegant Mute Button Overlay */
.video-mute-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 10;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--r-full);
  color: var(--white);
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all var(--t-fast) var(--ease);
}

.video-mute-btn:hover {
  transform: scale(1.05);
  background: var(--pink);
  border-color: var(--pink-pale);
}

.video-mute-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

/* Click-to-play overlay: avoids downloading the video until the user asks for it */
.video-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 11;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.45);
  border: none;
  cursor: pointer;
  color: var(--white);
  transition: background 0.25s ease;
}

.video-play-overlay:hover {
  background: rgba(10, 10, 15, 0.6);
}

.video-play-overlay .play-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: var(--r-full);
  background: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(252, 12, 151, 0.5);
  transition: transform 0.25s ease;
}

.video-play-overlay:hover .play-icon-circle {
  transform: scale(1.08);
}

.video-play-overlay .play-icon-circle svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.video-play-overlay span {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.school-content {
  text-align: left;
}

.school-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pink-bg);
  border: 1px solid var(--pink-pale);
  color: var(--pink);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.school-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--dark);
  margin-bottom: 20px;
}

.school-desc {
  font-size: 0.98rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 24px;
}


/* ==========================================================================
   SECTION 8: 学习资料 Sample 闪卡
   ========================================================================= */
.notes-sample-section {
  background: var(--white);
}

.notes-sample-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 480px) {
  .notes-sample-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .notes-sample-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }
}

.note-sample-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal) var(--ease);
  display: flex;
  flex-direction: column;
}

.note-sample-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-pink-lg);
  border-color: var(--pink-pale);
}

.note-sample-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--pink-bg);
}

.note-sample-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}

.note-sample-card:hover .note-sample-img-wrap img {
  transform: scale(1.08);
}

.note-sample-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(4px);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-full);
}

.note-sample-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.note-sample-title {
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 8px;
  font-weight: 800;
}

.note-sample-desc {
  font-size: 0.85rem;
  color: var(--gray-light);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.note-sample-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.note-sample-tag {
  background: var(--gray-100);
  color: var(--gray-light);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-xs);
}


/* ==========================================================================
   DESKTOP & GENERAL SMOOTH CSS SNAP SLIDER UPGRADE (COURSES TRACK)
   ========================================================================== */
@media (min-width: 600px) {
  /* Apply snapping properties on desktop/tablet as well */
  .courses-track-wrap {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 10px 4px 30px 4px !important;
    margin: 0 !important;
  }
  
  .courses-track-wrap::-webkit-scrollbar {
    display: none !important;
  }
  
  .courses-track {
    transform: none !important;
    transition: transform 0.4s var(--ease) !important;
    gap: 24px !important;
    width: max-content !important;
    display: flex !important;
  }
  
  .courses-track .course-card {
    scroll-snap-align: start !important;
    min-width: 360px !important;
    width: 360px !important;
  }
  
  /* Remove dots */
  .courses-slider-dots {
    display: none !important;
  }
  
  /* Align controls */
  .courses-slider-controls {
    justify-content: center !important;
    gap: 24px !important;
  }
}

/* ==========================================================================
   MOBILE INTERACTIVE BUBBLE CLOUD OVERRIDES (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
  .challenges-section {
    padding: 48px 0 !important;
  }

  .challenge-bubbles-wrap {
    gap: 12px !important;
    margin-top: 24px !important;
    padding: 10px 4px !important;
    max-width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .bubble-item {
    width: 54px !important;
    height: 54px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(252, 12, 151, 0.08) !important;
    cursor: pointer !important;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  }

  .bubble-item .bubble-text {
    display: none !important;
  }

  .bubble-item .bubble-emoji {
    margin: 0 !important;
    font-size: 1.55rem !important;
  }

  /* Active State for Circle Bubble */
  .bubble-item.active {
    border-color: var(--pink) !important;
    background: var(--white) !important;
    box-shadow: var(--shadow-pink-lg) !important;
    transform: scale(1.18) translateY(-4px) !important;
    z-index: 5;
  }

  /* Glow Card for Text Display on mobile */
  .challenge-focus-card {
    display: flex !important; /* Visible on mobile */
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 330px;
    margin: 24px auto 0;
    padding: 14px 20px;
    background: linear-gradient(135deg, #ffffff, #fff0f5);
    border: 1.5px solid var(--pink-pale);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-pink);
    font-weight: 750;
    font-size: 0.95rem;
    color: var(--dark);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 1;
    transform: scale(1);
  }

  .challenge-focus-card.updating {
    opacity: 0;
    transform: scale(0.95);
  }

  .challenge-focus-card .focus-emoji {
    font-size: 1.3rem;
    flex-shrink: 0;
  }

  .challenge-focus-card .focus-text {
    line-height: 1.4;
  }
}

/* Responsive Teacher Profile Title Toggles */
.mobile-teacher-title {
  display: block !important;
  text-align: center !important;
  margin-bottom: 24px !important;
}

.desktop-teacher-title {
  display: none !important;
}

@media (min-width: 768px) {
  .mobile-teacher-title {
    display: none !important;
  }
  .desktop-teacher-title {
    display: block !important;
  }
}

/* ==========================================================================
   STUDENT PROFILE ACCORDION / DROPDOWN STYLES
   ========================================================================== */
.nav-actions {
  position: relative; /* ensure absolute positioning works */
}

.student-profile-dropdown {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  width: 250px;
  background: rgba(30, 27, 75, 0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(252, 12, 151, 0.3) !important;
  border-radius: var(--r-md) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(252, 12, 151, 0.15) !important;
  padding: 18px !important;
  z-index: 2000 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: dropdownFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  text-align: left;
}

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

.student-profile-dropdown .dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.student-profile-dropdown .student-avatar {
  width: 38px;
  height: 38px;
  background: var(--pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 10px rgba(252, 12, 151, 0.4);
  flex-shrink: 0;
}

.student-profile-dropdown .student-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  overflow: hidden;
}

.student-profile-dropdown .student-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--white);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.student-profile-dropdown .student-email {
  font-size: 0.72rem;
  color: #e2e8f0 !important;
  word-break: break-all;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Hide redundant top navbar cart button on mobile viewports since bottom bar exists */
/* @media (max-width: 767px) {
  #navCartBtn {
    display: none !important;
  }
} */

.student-profile-dropdown .dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 4px 0;
}

.student-profile-dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r-sm) !important;
  color: var(--white) !important;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.student-profile-dropdown .dropdown-item:hover {
  background: rgba(252, 12, 151, 0.15) !important;
  border-color: rgba(252, 12, 151, 0.4) !important;
  color: var(--pink-light) !important;
}

.student-profile-dropdown .dropdown-item.logout-btn {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
  color: #f87171 !important;
}

.student-profile-dropdown .dropdown-item.logout-btn:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  color: #ef4444 !important;
}

/* ==========================================================================
   ADVANCED PREMIUM STUDENT DASHBOARD UI OVERHAUL
   ========================================================================== */
.student-mobile-header {
  display: none;
}

.student-pill-tabs-container {
  display: none;
}

@media (max-width: 900px) {
  .sidebar-nav {
    display: none !important;
  }

  .student-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .student-mobile-profile {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .student-mobile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--pink-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 0 12px rgba(252, 12, 151, 0.35);
  }

  .student-mobile-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .student-mobile-name {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--white);
  }

  .student-mobile-grade {
    align-self: flex-start;
  }

  .student-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .student-mobile-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--t-fast) var(--ease);
  }

  .student-mobile-btn:hover {
    background: rgba(252, 12, 151, 0.15);
    border-color: rgba(252, 12, 151, 0.4);
    color: var(--pink-light);
  }

  .student-mobile-btn.logout-btn:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
  }

  .student-pill-tabs-container {
    display: block;
    background: rgba(11, 6, 18, 0.4);
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
  }

  .student-pill-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .student-pill-tabs::-webkit-scrollbar {
    display: none;
  }

  .pill-tab {
    padding: 10px 18px;
    border-radius: var(--r-full);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 700;
    transition: all var(--t-fast) var(--ease);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
  }

  .pill-tab.active {
    background: var(--pink);
    border-color: var(--pink);
    color: var(--white);
    box-shadow: var(--shadow-pink);
  }
}

.svg-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.svg-icon-lg {
  width: 22px;
  height: 22px;
}

.svg-icon-sm {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.svg-icon-pink {
  color: var(--pink-light);
}

/* =============================================
   PREMIUM SAAS ABOUT PAGE REDESIGN STYLES
   ============================================= */

.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .about-hero-grid {
    grid-template-columns: 1.1fr 1.2fr;
    gap: 64px;
  }
}

.image-frame-glow {
  position: relative;
  border-radius: var(--r-lg);
  padding: 8px;
  background: linear-gradient(135deg, rgba(252, 12, 151, 0.4), rgba(100, 20, 150, 0.2));
  box-shadow: 0 20px 50px rgba(252, 12, 151, 0.2);
  transition: transform var(--t-normal) var(--ease), box-shadow var(--t-normal) var(--ease);
}

.image-frame-glow:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 30px 60px rgba(252, 12, 151, 0.35);
}

.image-frame-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--r-lg) + 1px);
  background: linear-gradient(135deg, var(--pink-light), transparent 50%, var(--pink));
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.image-frame-glow img {
  border-radius: calc(var(--r-lg) - 6px);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.glass-metrics-bar {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(252, 12, 151, 0.08);
  border-bottom: 1px solid rgba(252, 12, 151, 0.08);
  padding: 48px 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.02), 0 10px 40px rgba(0, 0, 0, 0.02);
  margin-top: -24px;
  position: relative;
  z-index: 10;
}

.glass-metrics-bar .stat-item {
  transition: transform var(--t-normal) var(--ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.glass-metrics-bar .stat-item:hover {
  transform: translateY(-4px);
}

.stat-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(252, 12, 151, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink);
  margin-bottom: 4px;
  border: 1px solid rgba(252, 12, 151, 0.12);
  transition: all var(--t-fast) var(--ease);
}

.stat-item:hover .stat-icon-wrapper {
  background: var(--pink);
  color: var(--white);
  box-shadow: var(--shadow-pink);
  transform: scale(1.05);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .philosophy-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.philosophy-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: all var(--t-normal) var(--ease);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.philosophy-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--pink), var(--pink-light));
  opacity: 0;
  transition: opacity var(--t-normal);
}

.philosophy-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(252, 12, 151, 0.15);
}

.philosophy-card:hover::after {
  opacity: 1;
}

.philosophy-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: rgba(252, 12, 151, 0.05);
  color: var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all var(--t-normal) var(--ease);
}

.philosophy-card:hover .philosophy-card-icon {
  background: var(--pink);
  color: var(--white);
  box-shadow: var(--shadow-pink);
}

.trust-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  padding: 0 16px;
}

.trust-logo-item img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.65);
  transition: filter var(--t-normal) var(--ease), opacity var(--t-normal) var(--ease), transform var(--t-normal) var(--ease);
}

.trust-logo-item:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

.saas-video-mockup {
  position: relative;
  background: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-lg);
  padding: 10px 10px 10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25), 0 0 40px rgba(252, 12, 151, 0.1);
  overflow: hidden;
}

.saas-video-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 3;
}

.saas-video-controls {
  position: absolute;
  top: 10px;
  left: 20px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.saas-video-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.saas-video-dot:nth-child(1) { background: #ef4444; }
.saas-video-dot:nth-child(2) { background: #eab308; }
.saas-video-dot:nth-child(3) { background: #22c55e; }

.saas-video-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: calc(var(--r-lg) - 10px);
  overflow: hidden;
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.radial-cta-banner {
  background: radial-gradient(circle at 50% -20%, rgba(252, 12, 151, 0.28) 0%, #11071c 65%, #05010a 100%);
  color: var(--white);
  padding: 80px 48px;
  border-radius: var(--r-xl);
  border: 1px solid rgba(252, 12, 151, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  box-shadow: 0 25px 60px rgba(252, 12, 151, 0.15);
}

.radial-cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(147, 51, 234, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.whatsapp-float-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #ffffff !important;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 99999;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  animation: wa-pulse 2s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.2);
  color: #ffffff !important;
}

.whatsapp-float-btn svg,
.whatsapp-float-btn img,
.whatsapp-float-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6), 0 4px 16px rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 4px 16px rgba(37, 211, 102, 0.4);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 16px rgba(37, 211, 102, 0.4);
  }
}

@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 75px;
    right: 18px;
    width: 52px;
    height: 52px;
  }
}

/* =============================================
   SOCIAL LOGIN & ORDER HISTORY STYLES
   ============================================= */
.social-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 13px 20px;
  border-radius: var(--radius-md, 12px);
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-btn-google {
  background-color: #ffffff;
  color: #1f1f1f !important;
  border: 1px solid #dadce0;
}

.social-btn-google:hover {
  background-color: #f8f9fa;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.social-btn-facebook {
  background-color: #1877F2;
  color: #ffffff !important;
}

.social-btn-facebook:hover {
  background-color: #166fe5;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
  transform: translateY(-2px);
}

.social-btn-demo {
  background-color: rgba(252, 12, 151, 0.08);
  color: var(--pink) !important;
  border: 1px dashed var(--pink);
}

.social-btn-demo:hover {
  background-color: rgba(252, 12, 151, 0.16);
  transform: translateY(-2px);
}

/* Order History Card */
.order-history-card {
  background: var(--dark-card, #160a28);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-lg, 16px);
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.order-history-card:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.order-card-id {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.order-card-status {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.order-card-body {
  margin-bottom: 16px;
}

.order-card-course {
  font-size: 16px;
  font-weight: 800;
  color: var(--pink-pale, #ff66cc);
  margin-bottom: 6px;
}

.order-card-meta {
  font-size: 13px;
  color: var(--grey-muted, #a0aec0);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  gap: 12px;
}

.order-card-price {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
}

/* ==========================================
   WHATSAPP FLOAT BUTTON & MOBILE STICKY OVERLAP PREVENTION
   ========================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.25s ease, box-shadow 0.25s ease, bottom 0.3s ease;
  cursor: pointer;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 85px !important;
    right: 16px !important;
    width: 52px !important;
    height: 52px !important;
  }
  .whatsapp-float-img {
    width: 30px !important;
    height: 30px !important;
  }
}

/* ==========================================
   MODAL RESPONSIVE MAX-HEIGHT & KEYBOARD SCROLLING
   ========================================== */
.modal-overlay,
.modal-backdrop,
.auth-modal-overlay,
#loginRegisterModal,
#scheduleDetailModal,
#payment-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}

.modal-card,
.modal-content,
.auth-modal-box,
.checkout-form-box,
.schedule-modal-content {
  max-height: 88vh;
  max-width: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}


