/* ============================================
   ZYADA ACADEMY — Cinematic Luxury EdTech
   Design System v2.0
   ============================================ */

:root {
  /* Background layers */
  --bg-void: #0E0720;
  --bg-base: #1A0D3B;
  --bg-raised: #231250;
  --bg-surface: #2A1760;
  --bg-elevated: #321C72;

  /* Rose-gold palette */
  --gold-100: #FDF0E8;
  --gold-200: #F5D5B8;
  --gold-300: #E8B88A;
  --gold-400: #D9996A;
  --gold-500: #C9956A;
  --gold-600: #A87550;
  --gold-glow: rgba(201,149,106,0.35);
  --gold-glow-strong: rgba(201,149,106,0.65);

  /* Typography */
  --text-primary: #F5EFE6;
  --text-secondary: rgba(245,239,230,0.7);
  --text-muted: rgba(245,239,230,0.45);

  /* Borders */
  --border-gold: rgba(201,149,106,0.3);
  --border-subtle: rgba(255,255,255,0.08);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 600ms ease;

  /* Shadows */
  --shadow-glow: 0 8px 32px var(--gold-glow);
  --shadow-glow-strong: 0 8px 48px var(--gold-glow-strong);
  --shadow-depth: 0 20px 60px rgba(0,0,0,0.4);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: 'Readex Pro', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--gold-500);
  color: var(--bg-void);
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
#progress-bar {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500), var(--gold-300));
  background-size: 200% 100%;
  animation: progressShine 2s linear infinite;
  z-index: 2000;
  width: 0%;
  transition: width 80ms linear;
}

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

/* ============================================
   DESIGN TOKENS — UTILITY CLASSES
   ============================================ */

/* Gold Gradient Text */
.text-gold {
  background: linear-gradient(135deg, var(--gold-200) 0%, var(--gold-400) 50%, var(--gold-300) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: textGoldShift 4s ease infinite;
}

@keyframes textGoldShift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  will-change: transform, opacity;
}

.reveal-left {
  opacity: 0;
  transform: translateX(28px);
  will-change: transform, opacity;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}

/* ============================================
   GLASS CARD
   ============================================ */
.glass-card {
  background: rgba(35,18,80,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

/* Shimmer line at top of card */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-300), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.glass-card:hover {
  border-color: rgba(201,149,106,0.5);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow), var(--shadow-depth);
}

.glass-card:hover::before {
  opacity: 1;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.875rem;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--bg-void);
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.btn-gold::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-gold:hover::after { left: 150%; }

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--gold-glow-strong);
}

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

.btn-gold:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.875rem;
  background: transparent;
  color: var(--gold-300);
  font-weight: 600;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-base);
}

.btn-ghost:hover {
  background: rgba(201,149,106,0.12);
  border-color: var(--gold-300);
  color: var(--gold-200);
  transform: translateY(-2px);
}

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

.btn-ghost:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: linear-gradient(135deg, rgba(201,149,106,0.25), rgba(201,149,106,0.1));
  border: 1px solid var(--border-gold);
  color: var(--gold-300);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background var(--transition-slow), border-color var(--transition-slow), backdrop-filter var(--transition-slow);
}

#navbar.scrolled {
  background: rgba(10,5,25,0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  /* Subtle pill container — gives the logo a "framed" premium feel */
  background: rgba(201,149,106,0.06);
  border: 1px solid rgba(201,149,106,0.12);
  border-radius: 14px;
  padding: 5px 10px;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.logo a:hover {
  background: rgba(201,149,106,0.11);
  border-color: rgba(201,149,106,0.28);
}

.logo img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  border-radius: 10px;
  /* Subtle rose-gold glow matching the logo's own palette */
  filter:
    drop-shadow(0 2px 8px rgba(201,149,106,0.30))
    brightness(1.05)
    contrast(1.02);
  transition:
    filter 0.35s ease,
    transform 0.35s cubic-bezier(0.22,1,0.36,1);
  will-change: transform, filter;
}

.logo img:hover {
  filter:
    drop-shadow(0 4px 18px rgba(201,149,106,0.55))
    brightness(1.12)
    contrast(1.04);
  transform: scale(1.05);
}

/* Footer logo */
.footer-logo {
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 64px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  border-radius: 14px;
  display: block;
  /* Slightly stronger glow in the dark footer */
  filter:
    drop-shadow(0 4px 16px rgba(201,149,106,0.35))
    brightness(1.08);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.footer-logo img:hover {
  filter:
    drop-shadow(0 6px 24px rgba(201,149,106,0.6))
    brightness(1.15);
  transform: scale(1.03);
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  left: 50%;
  height: 2px;
  background: var(--gold-400);
  border-radius: 2px;
  transition: right var(--transition-base), left var(--transition-base);
}

.nav-links a:hover {
  color: var(--gold-300);
  background: rgba(201,149,106,0.07);
}

.nav-links a:hover::after {
  right: 0.75rem;
  left: 0.75rem;
}

.nav-links a.active {
  color: var(--gold-400);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base), width var(--transition-base);
}

.hamburger span:nth-child(3) { width: 14px; }

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(10,5,25,0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  display: block;
  border-radius: 12px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--gold-300);
  background: rgba(201,149,106,0.08);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-void);
}

/* Animated mesh gradient background */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(201,149,106,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 70%, rgba(123,97,255,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(26,13,59,0.6) 0%, transparent 70%);
  animation: meshShift 12s ease-in-out infinite;
}

@keyframes meshShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

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

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  animation: orbFadeIn 2s ease forwards;
}

@keyframes orbFadeIn {
  to { opacity: 0.35; }
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--gold-400) 0%, var(--gold-600) 60%, transparent 100%);
  top: -5%;
  right: 5%;
  animation: orbFadeIn 2s ease forwards, orbDrift1 18s ease-in-out infinite 2s;
}

.orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #8B5CF6 0%, #6D28D9 60%, transparent 100%);
  bottom: 5%;
  left: 5%;
  animation: orbFadeIn 2.5s ease forwards, orbDrift2 22s ease-in-out infinite 2.5s;
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 20px) scale(1.05); }
  66% { transform: translate(20px, -15px) scale(0.95); }
}

@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(25px, -20px) scale(1.08); }
  66% { transform: translate(-15px, 25px) scale(0.92); }
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* Particles */
.particles { position: absolute; inset: 0; pointer-events: none; }

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold-400);
  opacity: 0;
  will-change: transform, opacity;
  animation: particleLife var(--dur, 8s) ease-in-out infinite var(--delay, 0s);
}

@keyframes particleLife {
  0% { opacity: 0; transform: translateY(10px) scale(0); }
  15% { opacity: 0.7; transform: translateY(0) scale(1); }
  70% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-40px) scale(0.5); }
}

.particle:nth-child(1)  { width:3px;height:3px; top:18%;right:22%; --dur:7s; --delay:0s; }
.particle:nth-child(2)  { width:4px;height:4px; top:58%;right:78%; --dur:9s; --delay:1.2s; }
.particle:nth-child(3)  { width:2px;height:2px; top:78%;right:42%; --dur:6s; --delay:0.8s; }
.particle:nth-child(4)  { width:3px;height:3px; top:38%;right:62%; --dur:8s; --delay:2.5s; }
.particle:nth-child(5)  { width:5px;height:5px; top:28%;right:68%; --dur:10s; --delay:0.3s; }
.particle:nth-child(6)  { width:2px;height:2px; top:68%;right:32%; --dur:7s; --delay:3.1s; }
.particle:nth-child(7)  { width:4px;height:4px; top:48%;right:12%; --dur:9s; --delay:1.7s; }
.particle:nth-child(8)  { width:3px;height:3px; top:8%; right:52%; --dur:8s; --delay:4.0s; }
.particle:nth-child(9)  { width:2px;height:2px; top:88%;right:88%; --dur:6s; --delay:2.0s; }
.particle:nth-child(10) { width:4px;height:4px; top:22%;right:88%; --dur:11s; --delay:1.0s; }

/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  padding: 6rem 2rem 2rem;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 7.5vw, 6.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 20px;
  height: 34px;
  border: 1.5px solid rgba(201,149,106,0.4);
  border-radius: 10px;
  margin: 0.5rem auto 0;
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 7px;
  background: var(--gold-400);
  border-radius: 2px;
  animation: scrollBob 2s ease-in-out infinite;
}

@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  60% { transform: translateX(-50%) translateY(8px); opacity: 0.4; }
}

/* ============================================
   STATS RIBBON
   ============================================ */
#stats {
  padding: 0;
  background: var(--bg-void);
  position: relative;
}

#stats::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

#stats::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.stats-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 2.5rem 1rem;
  position: relative;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 0;
  height: 60%;
  width: 1px;
  background: var(--border-subtle);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-500));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-item span:not(.stat-number) {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ============================================
   SECTION LAYOUT
   ============================================ */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  font-size: 1.05rem;
  max-width: 500px;
  margin-inline: auto;
}

/* ============================================
   COURSES SECTION
   ============================================ */
#courses {
  background: var(--bg-base);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.course-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0.875rem 0 0.5rem;
  letter-spacing: -0.01em;
}

.course-card ul {
  list-style: none;
  margin: 0.75rem 0 1.5rem;
  color: var(--text-secondary);
  flex: 1;
}

.course-card li {
  padding: 0.4rem 0;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.course-card li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--gold-400);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Override first char (the ✓) to keep it */
.course-card li:first-child::before { display: none; }

.course-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, rgba(232,184,138,0.2), rgba(201,149,106,0.3));
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.course-card:hover .course-icon {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  border-color: var(--gold-300);
  color: var(--bg-void);
}

.course-icon svg {
  width: 22px;
  height: 22px;
}

/* ============================================
   WHY ZYADA SECTION
   ============================================ */
#why {
  background: var(--bg-void);
  position: relative;
  padding: 2px 0;
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  text-align: center;
  padding: 1.75rem;
}

.why-icon {
  width: 44px;
  height: 44px;
  background: rgba(201,149,106,0.12);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  margin-bottom: 1rem;
  transition: background var(--transition-base), color var(--transition-base);
}

.why-card:hover .why-icon {
  background: rgba(201,149,106,0.25);
  color: var(--gold-200);
}

.why-icon svg {
  width: 20px;
  height: 20px;
}

.why-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* ============================================
   INSTAGRAM SECTION
   ============================================ */
#instagram {
  background: var(--bg-base);
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.insta-card {
  aspect-ratio: 1;
  border-radius: 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  will-change: transform;
}

.insta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5) 100%);
}

.insta-card:hover {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

.insta-card .icon {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}

.insta-label {
  position: relative;
  z-index: 1;
  font-size: 0.75rem;
  font-weight: 600;
}

.insta-placeholder {
  aspect-ratio: 1;
  border-radius: 0.875rem;
  background: var(--bg-raised);
}

.shimmer {
  background: linear-gradient(90deg, var(--bg-raised) 25%, var(--bg-surface) 50%, var(--bg-raised) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
}

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

#instagram .section-container { text-align: center; }

#instagram .btn-gold {
  display: inline-flex;
  margin: 0 auto;
}

/* ============================================
   TESTIMONIALS SLIDER — Professional
   ============================================ */
#testimonials {
  background: var(--bg-void);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Viewport — clips the track */
.slider-viewport {
  position: relative;
  overflow: hidden;
  /* Edge fade masks */
  mask-image: linear-gradient(to left, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 8%, black 92%, transparent 100%);
  padding: 1rem 0 1.5rem;
}

/* Track — slides via transform */
.slider-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  align-items: stretch;
}

/* Cards */
.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 0;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    border-color 0.5s ease,
    box-shadow 0.5s ease;
  opacity: 0.45;
  transform: scale(0.94);
  cursor: pointer;
  user-select: none;
}

.testimonial-card.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(201,149,106,0.55);
  box-shadow: 0 8px 40px var(--gold-glow), 0 24px 60px rgba(0,0,0,0.35);
}

/* Quote icon */
.card-quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--gold-400);
  opacity: 0.35;
  font-family: Georgia, serif;
  margin-bottom: -0.5rem;
  user-select: none;
}

/* Card text */
.card-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  flex: 1;
}

/* Card footer */
.card-footer {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.card-footer img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-gold);
  object-fit: cover;
  flex-shrink: 0;
  transition: border-color 0.4s ease;
}

.testimonial-card.is-active .card-footer img {
  border-color: var(--gold-400);
}

.card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.card-meta .name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.card-meta .stars {
  font-size: 0.75rem;
  color: var(--gold-400);
  letter-spacing: 0.08em;
}

/* Controls row */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(35,18,80,0.9);
  border: 1px solid var(--border-gold);
  color: var(--gold-400);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), transform var(--transition-fast);
  flex-shrink: 0;
}

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

.slider-btn:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--bg-void);
  transform: scale(1.1);
}

.slider-btn:active { transform: scale(0.95); }

.slider-btn:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

/* Dots */
.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201,149,106,0.2);
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-base), width var(--transition-base);
}

.slider-dots .dot.active {
  background: var(--gold-400);
  border-color: var(--gold-400);
  width: 24px;
  border-radius: 4px;
}

/* Progress bar */
.slider-progress-wrap {
  max-width: 200px;
  margin: 1.25rem auto 0;
  height: 2px;
  background: rgba(201,149,106,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.slider-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  border-radius: 2px;
  width: 0%;
  transition: width 5s linear;
}

/* Responsive */
@media (max-width: 1024px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    flex: 0 0 calc(85vw);
  }

  .slider-viewport {
    mask-image: linear-gradient(to left, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, transparent 0%, black 5%, black 95%, transparent 100%);
  }
}

/* ============================================
   PRICING SECTION
   ============================================ */
#pricing {
  background: var(--bg-base);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 780px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  text-align: center;
}

.pricing-card[data-featured="true"] {
  border-color: rgba(201,149,106,0.6);
  background: rgba(50,28,114,0.7);
  animation: pricingPulse 3s ease-in-out infinite;
}

@keyframes pricingPulse {
  0%, 100% { box-shadow: 0 0 20px var(--gold-glow), 0 20px 60px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 0 35px var(--gold-glow-strong), 0 20px 60px rgba(0,0,0,0.3); }
}

.pricing-card[data-featured="true"]::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(1.5rem + 1px);
  background: linear-gradient(135deg, var(--gold-300), transparent, var(--gold-500));
  z-index: -1;
  opacity: 0.4;
}

.pricing-card .badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.pricing-card .price {
  margin-bottom: 1.5rem;
  line-height: 1;
}

.pricing-card .amount {
  font-size: 2.75rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-500));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.pricing-card .currency {
  color: var(--text-muted);
  font-size: 0.875rem;
  display: block;
  margin-top: 0.25rem;
}

.pricing-card ul {
  list-style: none;
  margin: 1.5rem 0;
  text-align: right;
}

.pricing-card li {
  padding: 0.45rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-card li:last-child { border-bottom: none; }

/* ============================================
   CONTACT SECTION
   ============================================ */
#contact {
  background: var(--bg-void);
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-gold), transparent);
}

.contact-strip {
  text-align: center;
  background: rgba(50,28,114,0.35);
  border-color: rgba(201,149,106,0.2);
}

.contact-strip h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.contact-strip p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-buttons svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--bg-void);
  padding: 4rem 2rem 2rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 2rem; right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-col h4 {
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover { color: var(--gold-300); }

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(35,18,80,0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.social-links a:hover {
  background: rgba(201,149,106,0.2);
  border-color: var(--border-gold);
  color: var(--gold-300);
}

.social-links svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================
   ACTIVE NAV LINK STYLE
   ============================================ */
.nav-links a.active {
  color: var(--gold-400);
}

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ============================================
   RESPONSIVE — 768px
   ============================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  #navbar .btn-gold { display: none; }
  .hamburger { display: flex; }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::before { display: none; }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing-card[data-featured="true"] {
    animation: none;
    box-shadow: 0 0 20px var(--gold-glow);
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .insta-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
  .section-container {
    padding: 4rem 1.25rem;
  }

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

  .btn-gold, .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .stats-container {
    grid-template-columns: 1fr 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-card {
    min-width: 260px;
    max-width: 260px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .orb, .particle, .scroll-arrow::after {
    animation: none !important;
    opacity: 0.3;
  }

  .text-gold { animation: none !important; }

  .reveal, .reveal-left {
    opacity: 1 !important;
    transform: none !important;
  }

  #hero::before { animation: none !important; }
  #progress-bar { animation: none !important; }
  .pricing-card[data-featured="true"] { animation: none !important; }
}

/* ============================================
   PERFORMANCE
   ============================================ */
#courses, #why, #instagram, #testimonials, #pricing, #contact {
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

/* ============================================================
   TESTIMONIALS — Infinite Auto-Scroll Marquee
   ============================================================ */

#testimonials {
  background: var(--bg-void);
  padding-bottom: 0;
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  padding: 5rem 2rem 3rem;
}

/* Viewport — clips overflow + edge fade */
.marquee-viewport {
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  padding: 0.5rem 0;
}

/* Track — pure CSS infinite scroll */
.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
}

/* Row 1: scroll left */
.marquee-left {
  animation: scrollLeft 40s linear infinite;
}

/* Row 2: scroll right */
.marquee-right {
  animation: scrollRight 44s linear infinite;
}

/* Pause on hover */
.marquee-viewport:hover .marquee-left,
.marquee-viewport:hover .marquee-right {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .marquee-left,
  .marquee-right {
    animation: none;
  }
  .marquee-track {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    padding: 0 2rem;
  }
}

/* ── Testimonial Card ── */
.tcard {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.75rem;
  border-radius: 1.25rem;
  background: rgba(35, 18, 80, 0.65);
  border: 1px solid rgba(201, 149, 106, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
  user-select: none;
}

.tcard:hover {
  border-color: rgba(201, 149, 106, 0.45);
  box-shadow: 0 8px 32px rgba(201, 149, 106, 0.18), 0 20px 48px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

/* Opening quote mark */
.tcard-quote {
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gold-400);
  opacity: 0.5;
  font-family: Georgia, serif;
  margin-bottom: -0.5rem;
}

/* Review text */
.tcard p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.75;
  flex: 1;
}

/* Footer row */
.tcard-footer {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: auto;
}

.tcard-footer img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201, 149, 106, 0.3);
  flex-shrink: 0;
  transition: border-color 0.3s;
}

.tcard:hover .tcard-footer img {
  border-color: var(--gold-400);
}

.tcard-footer strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.tcard-stars {
  font-size: 0.75rem;
  color: var(--gold-400);
  letter-spacing: 0.05em;
  line-height: 1;
}

.tcard-role {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Mobile: slightly narrower cards */
@media (max-width: 480px) {
  .tcard { flex: 0 0 270px; }
}

/* ============================================================
   BUG FIXES — v3
   ============================================================ */

/* 1. Remove browser default red outlines on ALL elements */
*, *:focus, *:focus-visible {
  outline: none;
}

/* Restore accessible focus only on interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold-300);
  outline-offset: 3px;
}

/* 2. Hero needs top padding for fixed navbar */
#hero {
  padding-top: 80px;
}

/* 3. Footer logo — handled by .footer-logo img above */
.footer-container .footer-col:first-child img {
  height: auto;
  width: auto;
}

/* 4. Instagram grid — ensure it renders even without JS */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  min-height: 120px;
}

.insta-card {
  aspect-ratio: 1;
  border-radius: 0.875rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
}

.insta-card:hover {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
  border-color: rgba(201,149,106,0.5);
}

.insta-card .icon {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
  position: relative;
  z-index: 1;
}

.insta-label {
  font-size: 0.72rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.4rem;
}

/* 5. Pricing card list — left align */
.pricing-card ul {
  text-align: left;
}

/* 6. Mobile close button */
.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.mobile-close:hover {
  background: rgba(201,149,106,0.2);
  color: var(--gold-300);
}

/* 7. Instagram section center alignment */
#instagram {
  background: var(--bg-base);
}

#instagram .section-container {
  text-align: center;
}

#instagram .btn-gold {
  display: inline-flex;
  margin: 0 auto;
}

/* 8. Responsive instagram grid */
@media (max-width: 1024px) {
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .insta-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PRICING — 3 Plans ($150 / $250 / $400)
   ============================================================ */

.pricing-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .pricing-grid--3 {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* Icon above tier name */
.pricing-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

/* Tier label */
.pricing-tier {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin-bottom: 0.75rem;
}

/* Short description */
.pricing-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  min-height: 2.8rem;
}

/* Feature list */
.pricing-card ul {
  list-style: none;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
}

.pricing-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-bottom: none;
  padding: 0;
}

.li-check {
  color: var(--gold-400);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.li-x {
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.pricing-card li:has(.li-x) {
  color: var(--text-muted);
}

/* CTA button full width */
.pricing-cta {
  display: block;
  text-align: center;
  width: 100%;
}

/* Featured card — middle one */
.pricing-card[data-featured="true"] {
  transform: scale(1.04);
  border-color: rgba(201,149,106,0.6);
  background: rgba(50,28,114,0.75);
  box-shadow: 0 0 40px rgba(201,149,106,0.2), 0 24px 60px rgba(0,0,0,0.35);
}

.pricing-card[data-featured="true"]:hover {
  transform: scale(1.04) translateY(-5px);
}

/* Note below pricing grid */
.pricing-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-note a {
  color: var(--gold-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pricing-note strong {
  color: var(--text-secondary);
}

/* ============================================================
   REAL IMAGES — Course thumbnails & Why cards
   ============================================================ */

/* Course card — image thumbnail replacing emoji */
.course-thumb-img {
  position: relative;
  height: 180px;
  overflow: hidden;
  border-radius: 1.25rem 1.25rem 0 0;
  margin: -2rem -2rem 1.25rem;
}

.course-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  filter: brightness(0.75) saturate(0.9);
}

.course-card:hover .course-thumb-img img {
  transform: scale(1.06);
  filter: brightness(0.85) saturate(1);
}

/* Gradient overlay + icon on top of image */
.course-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,13,59,0.2) 0%,
    rgba(26,13,59,0.65) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

/* Keep the icon visible over the image */
.course-thumb-overlay .course-icon {
  background: rgba(201,149,106,0.2);
  border: 1px solid rgba(201,149,106,0.4);
  backdrop-filter: blur(8px);
}

/* Why card — image strip at top */
.why-card-img {
  height: 140px;
  overflow: hidden;
  border-radius: 1rem 1rem 0 0;
  margin: -2rem -2rem 1.25rem;
  position: relative;
}

.why-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.65) saturate(0.8);
  transition: transform 0.5s ease, filter 0.4s ease;
}

.why-card:hover .why-card-img img {
  transform: scale(1.05);
  filter: brightness(0.75) saturate(1);
}

/* Gradient fade at bottom of why image */
.why-card-img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(26,13,59,0.8));
  pointer-events: none;
}

/* Responsive — smaller images on mobile */
@media (max-width: 640px) {
  .course-thumb-img { height: 140px; }
  .why-card-img { height: 110px; }
}

/* ============================================================
   SOCIAL ICONS — Brand Colors on Hover
   ============================================================ */

.social-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(35,18,80,0.8);
  border: 1px solid rgba(201,149,106,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.social-links a svg {
  width: 17px;
  height: 17px;
}

.social-links a:hover {
  transform: translateY(-3px);
}

/* Facebook — blue */
.social-links .social-fb:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #fff;
}

/* Instagram — gradient */
.social-links .social-ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  color: #fff;
}

/* TikTok — black/white */
.social-links .social-tt:hover {
  background: #010101;
  border-color: #69C9D0;
  color: #fff;
}

/* LinkedIn — blue */
.social-links .social-li:hover {
  background: #0A66C2;
  border-color: #0A66C2;
  color: #fff;
}

/* WhatsApp — green */
.social-links .social-wa:hover {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}

/* ============================================================
   PRICING V2 — Premium 3-Column Design
   ============================================================ */

.pricing-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1020px;
  margin: 0 auto;
  align-items: start;
}

@media (max-width: 900px) {
  .pricing-v2-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* Card base */
.pv2-card {
  background: rgba(35, 18, 80, 0.55);
  border: 1px solid rgba(201, 149, 106, 0.18);
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.pv2-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(201, 149, 106, 0.12);
  border-color: rgba(201, 149, 106, 0.38);
}

/* Featured card */
.pv2-card--featured {
  border-color: rgba(201, 149, 106, 0.55);
  background: rgba(50, 28, 114, 0.7);
  box-shadow: 0 0 40px rgba(201, 149, 106, 0.18), 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(1.03);
}

.pv2-card--featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 50px rgba(201, 149, 106, 0.28);
}

/* Shimmer top border on featured */
.pv2-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-300), var(--gold-500), var(--gold-300), transparent);
  animation: shimmerLine 3s ease-in-out infinite;
}

@keyframes shimmerLine {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Popular badge */
.pv2-popular {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--bg-void);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 0.45rem 1rem;
}

/* Top section */
.pv2-top {
  padding: 2rem 1.75rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Icon */
.pv2-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.pv2-card:hover .pv2-icon { transform: scale(1.1) rotate(-3deg); }

.pv2-icon--starter {
  background: rgba(100, 160, 255, 0.15);
  border: 1px solid rgba(100, 160, 255, 0.3);
  color: #7eb8ff;
}

.pv2-icon--pro {
  background: rgba(201, 149, 106, 0.18);
  border: 1px solid rgba(201, 149, 106, 0.4);
  color: var(--gold-300);
}

.pv2-icon--elite {
  background: rgba(180, 100, 255, 0.15);
  border: 1px solid rgba(180, 100, 255, 0.3);
  color: #c47fff;
}

/* Tier label */
.pv2-tier {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* Price */
.pv2-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.pv2-amount {
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-500));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.pv2-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Description */
.pv2-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Features list */
.pv2-features {
  list-style: none;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.pv2-features li {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1.4;
}

/* Check / Cross via ::before */
.pv2-yes {
  color: var(--text-secondary);
}

.pv2-yes::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(100, 220, 130, 0.15);
  border: 1px solid rgba(100, 220, 130, 0.4);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2364dc82' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.pv2-no {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.15);
}

.pv2-no::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px;
}

/* CTA button */
.pv2-btn {
  display: block;
  text-align: center;
  margin: 0 1.75rem 1.75rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  letter-spacing: 0.01em;
}

.pv2-btn--gold {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  color: var(--bg-void);
}

.pv2-btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 149, 106, 0.5);
}

.pv2-btn--ghost {
  background: transparent;
  color: var(--gold-300);
  border: 1px solid rgba(201, 149, 106, 0.3);
}

.pv2-btn--ghost:hover {
  background: rgba(201, 149, 106, 0.1);
  border-color: rgba(201, 149, 106, 0.5);
  transform: translateY(-2px);
}
