/*
 * Wibes Academy public storefront + guest pages.
 * Visual language ported from the main website (wibesacademy.com): the same palette, fonts,
 * section rhythm, gold labels, cards, buttons and footer. Plain static CSS (no build step).
 * Fonts are self-hosted from the main site's font files (latin + latin-ext subsets only).
 */

/* ============================================================
   FONTS
============================================================ */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(../fonts/cormorant-garamond-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Great Vibes';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/great-vibes-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Poppins: latin, plus latin-ext (it carries the rupee sign U+20B9). */
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/poppins-300-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/poppins-300-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/poppins-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/poppins-500-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/poppins-600-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Metric-matched local fallbacks, so the swap to the web fonts barely moves the layout. */
@font-face { font-family: 'Poppins Fallback'; src: local('Arial'); size-adjust: 112.5%; ascent-override: 93%; descent-override: 31%; line-gap-override: 9%; }
@font-face { font-family: 'Cormorant Fallback'; src: local('Times New Roman'); size-adjust: 92%; ascent-override: 100%; descent-override: 31%; line-gap-override: 0%; }

/* ============================================================
   TOKENS (the main website's :root palette)
============================================================ */
:root {
  --black:        #0A0A0A;
  --royal-purple: #6B2D8B;
  --deep-purple:  #2D0845;
  --gold:         #D4AF37;
  --light-gold:   #F0D060;
  --cream:        #FAF6F0;
  --white:        #FFFFFF;
  --nav-height:   80px;

  --font-display: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  --font-body:    'Poppins', 'Poppins Fallback', Arial, sans-serif;
  --font-script:  'Great Vibes', cursive;

  --gold-gradient: linear-gradient(135deg, var(--gold), var(--light-gold));
  --hero-gradient: linear-gradient(155deg, var(--deep-purple) 0%, #1a0530 40%, var(--black) 100%);
  --ink:          #3a3a3a;
  --ink-soft:     #5a5a5a;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-height); }

body.store, body.guest {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; }
strong { font-weight: 600; }

:focus-visible { outline: 2px solid var(--light-gold); outline-offset: 3px; border-radius: 2px; }
.bg-light :focus-visible, .on-light :focus-visible { outline-color: var(--royal-purple); }

/* Custom scrollbar (as on the main site) */
html { scrollbar-color: var(--gold) var(--black); scrollbar-width: thin; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--gold); color: var(--black); font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 2px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container { max-width: 1200px; margin: 0 auto; }
.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }

/* ============================================================
   NAVBAR (fixed; transparent over the dark hero, deep purple + blur once scrolled)
============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 48px;
  background: transparent;
  transition: background 0.5s ease, box-shadow 0.5s ease, backdrop-filter 0.5s ease;
}
#navbar.scrolled {
  background: rgba(45, 8, 69, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 40px rgba(0,0,0,0.6);
}

.nav-logo { flex-shrink: 0; }
.nav-logo img { height: 52px; width: auto; object-fit: contain; transition: transform 0.3s ease; }
.nav-logo:hover img { transform: scale(1.04); }

.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  padding: 6px 14px;
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 14px; right: 14px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* Gold CTA (the main site's "Enroll Now" button) */
.btn-enroll {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--black);
  background: var(--gold-gradient);
  background-size: 160% 100%;
  background-position: 0% 50%;
  padding: 11px 28px;
  border-radius: 2px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.4s ease;
  animation: btnPulse 3s ease-in-out infinite;
}
.btn-enroll:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 8px 32px rgba(212,175,55,0.55); }
@keyframes btnPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.5), 0 0 18px rgba(212,175,55,0.25); }
  50%      { box-shadow: 0 0 0 8px rgba(212,175,55,0), 0 0 30px rgba(212,175,55,0.45); }
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px 6px;
  z-index: 1100;
  position: relative;
}
.nav-hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-in drawer */
.nav-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 88vw);
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  background: linear-gradient(180deg, rgba(45,8,69,0.99) 0%, rgba(10,10,10,0.99) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 96px 40px 48px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s linear 0.45s;
  border-left: 1px solid rgba(212,175,55,0.2);
}
.nav-drawer.open { transform: translateX(0); visibility: visible; transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s; }
.nav-drawer ul { list-style: none; display: flex; flex-direction: column; gap: 4px; width: 100%; }
.nav-drawer ul a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(212,175,55,0.1);
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.nav-drawer ul a:hover { color: var(--gold); padding-left: 8px; }
.drawer-cta { margin-top: 32px; }
.drawer-close {
  position: absolute;
  top: 18px; right: 20px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--gold);
  font-size: 26px; line-height: 1;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.drawer-close:hover { background: rgba(212,175,55,0.15); border-color: var(--gold); }
.drawer-cta .btn-enroll { display: block; width: 100%; text-align: center; }

.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

@media (max-width: 1024px) {
  #navbar { padding: 0 28px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  #navbar { padding: 0 20px; }
  .nav-logo img { height: 44px; }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn-gold, .btn-outline, .btn-outline-gold, .btn-dark, .btn-wa, .btn-closed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
}

/* Solid gold (main site: .btn-primary-gold) */
.btn-gold {
  font-weight: 600;
  color: var(--black);
  background: var(--gold-gradient);
  border: none;
  padding: 16px 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-gold::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 50%; height: 200%;
  background: rgba(255,255,255,0.25);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  z-index: -1;
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(212,175,55,0.6); }
.btn-gold:hover::after { left: 120%; }
.btn-gold.pulse { animation: btnPulseHero 3s ease-in-out infinite 2.5s; }
@keyframes btnPulseHero {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,55,0.55), 0 0 20px rgba(212,175,55,0.3); }
  50%      { box-shadow: 0 0 0 10px rgba(212,175,55,0), 0 0 35px rgba(212,175,55,0.5); }
}

/* Outline on dark (main site: .btn-outline-white) */
.btn-outline {
  font-weight: 500;
  color: var(--white);
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.55);
  padding: 15px 40px;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.btn-outline::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}
.btn-outline:hover { color: var(--black); border-color: var(--gold); }
.btn-outline:hover::before { transform: scaleX(1); }

/* Gold outline on light (main site: .btn-gold-outline) */
.btn-outline-gold {
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
  background: transparent;
  border: 2px solid var(--gold);
  padding: 14px 38px;
  transition: color 0.35s ease, box-shadow 0.35s ease;
}
.btn-outline-gold::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}
.btn-outline-gold:hover { box-shadow: 0 8px 30px rgba(212,175,55,0.4); }
.btn-outline-gold:hover::before { transform: scaleX(1); }
.btn-outline-gold .arrow { font-size: 16px; transition: transform 0.3s ease; }
.btn-outline-gold:hover .arrow { transform: translateX(4px); }
.on-dark .btn-outline-gold { color: var(--gold); }
.on-dark .btn-outline-gold:hover { color: var(--black); }

/* Dark on gold (main site: .btn-fcta-dark) */
.btn-dark {
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--black);
  border: none;
  padding: 17px 44px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-dark:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,0.35); }

/* WhatsApp green (main site: .btn-fcta-wa) */
.btn-wa {
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
  background: #1f9d50;
  border: none;
  padding: 17px 36px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-wa svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-wa:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(37,211,102,0.45); }

/* Disabled "Enrollment closed" */
.btn-closed {
  font-weight: 600;
  color: #5c5563;
  background: #e7e2ec;
  border: 1px solid #d6cfdd;
  padding: 15px 32px;
  cursor: not-allowed;
}
.on-dark .btn-closed { color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); }

.btn-block { display: flex; width: 100%; }

@media (max-width: 600px) {
  .btn-gold, .btn-outline { padding: 14px 28px; font-size: 12px; }
}

/* ============================================================
   SECTIONS — shared rhythm, labels and headings
============================================================ */
.section { padding: 108px 48px; position: relative; overflow: hidden; }
.bg-black  { background: var(--black); color: var(--white); }
.bg-deep   { background: var(--deep-purple); color: var(--white); }
.bg-cream  { background: var(--cream); color: var(--black); }
.bg-white  { background: var(--white); color: var(--black); }
.gold-rules::before, .gold-rules::after {
  content: '';
  position: absolute;
  left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.35), transparent);
}
.gold-rules::before { top: 0; }
.gold-rules::after  { bottom: 0; }

.section-head { text-align: center; margin-bottom: 64px; position: relative; z-index: 1; }
.script-label {
  font-family: var(--font-script);
  font-size: 26px;
  line-height: 1.3;
  color: var(--royal-purple);
  display: block;
  margin-bottom: 8px;
}
.bg-black .script-label, .bg-deep .script-label, .on-dark .script-label { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--black);
}
.bg-black .section-title, .bg-deep .section-title, .on-dark .section-title { color: var(--white); }
.section-title em, .gold-text {
  font-style: italic;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 18px auto 0;
}
.bg-black .section-sub, .bg-deep .section-sub, .on-dark .section-sub { color: rgba(255,255,255,0.7); }

/* Animated gold underline (main site: .courses-h2::after) */
.title-underline { display: inline-block; position: relative; padding-bottom: 18px; }
.title-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 80%; height: 3px;
  transform: translateX(-50%) scaleX(0);
  background: linear-gradient(90deg, transparent, var(--gold), var(--light-gold), var(--gold), transparent);
  border-radius: 2px;
  transition: transform 0.8s cubic-bezier(0.25,0.46,0.45,0.94) 0.2s;
}
.title-underline.visible::after, html:not(.js) .title-underline::after { transform: translateX(-50%) scaleX(1); }

.accent-line { width: 60px; height: 3px; background: var(--gold-gradient); border-radius: 2px; margin-bottom: 20px; }

@media (max-width: 860px) {
  .section { padding: 80px 24px; }
  .section-head { margin-bottom: 48px; }
}
@media (max-width: 520px) {
  .section { padding: 72px 20px; }
}

/* Scroll reveal (only when JS runs, and never with reduced motion) */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.75s ease, transform 0.75s ease; }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.12s !important; }
.reveal-delay-2 { transition-delay: 0.24s !important; }
.reveal-delay-3 { transition-delay: 0.36s !important; }
.reveal-delay-4 { transition-delay: 0.48s !important; }

@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes fadeInUp   { from { opacity: 0; transform: translateY(28px); }  to { opacity: 1; transform: none; } }
@keyframes fadeIn     { from { opacity: 0; } to { opacity: 1; } }

/* ============================================================
   HERO (home) + PAGE HERO (course, policy)
============================================================ */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--hero-gradient);
  padding: calc(var(--nav-height) + 40px) 0 120px;
}
.particle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; z-index: 0; }
.hero-orb-1 { width: 600px; height: 600px; top: -150px; left: -100px; background: radial-gradient(circle, rgba(107,45,139,0.45) 0%, transparent 70%); animation: orbFloat1 12s ease-in-out infinite; }
.hero-orb-2 { width: 500px; height: 500px; bottom: -100px; right: -80px; background: radial-gradient(circle, rgba(212,175,55,0.2) 0%, transparent 70%); animation: orbFloat2 15s ease-in-out infinite; }
.hero-orb-3 { width: 350px; height: 350px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(107,45,139,0.15) 0%, transparent 70%); animation: orbFloat3 10s ease-in-out infinite; }
@keyframes orbFloat1 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, 30px); } }
@keyframes orbFloat2 { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, -40px); } }
@keyframes orbFloat3 { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -50%) scale(1.2); } }

.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; padding: 0 24px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  border: 1px solid rgba(212,175,55,0.5);
  border-radius: 100px;
  padding: 8px 22px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 36px;
  animation: fadeInDown 0.8s ease both 0.3s;
}
.hero-badge .star { font-size: 10px; opacity: 0.8; }

.hero-h1 { font-family: var(--font-display); line-height: 1.05; margin-bottom: 28px; }
.hero-h1 .line-1 {
  display: block;
  font-size: clamp(52px, 7.5vw, 86px);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
}
.hero-h1 .line-2 {
  display: block;
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 600;
  font-style: italic;
}
.hero-h1 .word {
  display: inline-block;
  animation: wordReveal 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.hero-h1 .line-2 .word {
  background: linear-gradient(135deg, var(--gold) 0%, var(--light-gold) 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-right: 0.06em; /* keeps the italic overhang inside the clipped background */
  animation: wordReveal 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both, shimmerText 4s linear infinite 1.5s;
}
@keyframes wordReveal { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes shimmerText { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.hero-sub {
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
  max-width: 620px;
  margin: 0 auto 44px;
  animation: fadeInUp 0.8s ease both 1.5s;
}
.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease both 1.8s;
}

.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
  text-decoration: none;
  animation: fadeIn 0.8s ease both 2.6s;
}
.hero-scroll span { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.scroll-chevron, .scroll-chevron-2 { width: 22px; height: 22px; transform: rotate(45deg); }
.scroll-chevron { border-right: 1.5px solid rgba(212,175,55,0.7); border-bottom: 1.5px solid rgba(212,175,55,0.7); animation: chevronBounce 1.8s ease-in-out infinite; }
.scroll-chevron-2 { border-right: 1.5px solid rgba(212,175,55,0.35); border-bottom: 1.5px solid rgba(212,175,55,0.35); margin-top: -12px; animation: chevronBounce 1.8s ease-in-out infinite 0.2s; }
@keyframes chevronBounce { 0%, 100% { opacity: 0.3; transform: rotate(45deg) translate(0,0); } 50% { opacity: 1; transform: rotate(45deg) translate(4px, 4px); } }

@media (max-width: 600px) {
  .hero-badge { font-size: 10px; padding: 7px 16px; letter-spacing: 0.14em; margin-bottom: 28px; }
  .hero-ctas { gap: 14px; }
  .hero-h1 .line-1 { font-size: clamp(44px, 12vw, 60px); }
  .hero-h1 .line-2 { font-size: clamp(46px, 12.5vw, 64px); }
}
@media (max-width: 420px) {
  .hero-badge { font-size: 9.5px; letter-spacing: 0.1em; padding: 7px 14px; gap: 6px; }
  .hero-badge .star { font-size: 8px; }
}
@media (max-height: 640px) { .hero-scroll { display: none; } }

/* Inner-page hero: same gradient, orbs and gold label */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-gradient);
  padding: calc(var(--nav-height) + 64px) 48px 80px;
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero-label {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  color: var(--white);
}
.page-hero-meta { margin-top: 18px; max-width: 680px; font-size: 14px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,0.75); }
.page-hero-meta strong { color: var(--white); font-weight: 500; }
.page-hero .narrow { max-width: 900px; }
@media (max-width: 860px) { .page-hero { padding: calc(var(--nav-height) + 40px) 24px 64px; } }
@media (max-width: 520px) { .page-hero { padding-left: 20px; padding-right: 20px; } }

/* ============================================================
   TRUST STRIP
============================================================ */
#trust { padding: 88px 48px; }
.trust-grid { display: flex; align-items: stretch; justify-content: center; max-width: 1100px; margin: 0 auto; }
.trust-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 32px;
  position: relative;
}
.trust-item + .trust-item::before {
  content: '';
  position: absolute;
  left: 0; top: 10%;
  height: 80%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212,175,55,0.6), transparent);
}
.trust-number, .ss-number {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.trust-number { font-size: clamp(52px, 6vw, 80px); }
.trust-label { font-size: 13px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); line-height: 1.5; }
@media (max-width: 768px) {
  #trust { padding: 64px 24px; }
  .trust-grid { flex-wrap: wrap; }
  .trust-item { flex: 0 0 50%; padding: 28px 12px; }
  .trust-item + .trust-item::before { display: none; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid rgba(212,175,55,0.2); }
  .trust-item:nth-child(2)::after, .trust-item:nth-child(4)::after {
    content: '';
    position: absolute;
    left: 0; top: 10%; height: 80%; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(212,175,55,0.4), transparent);
  }
  .trust-label { font-size: 11.5px; }
}

/* ============================================================
   MARQUEE
============================================================ */
.marquee {
  background: var(--deep-purple);
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(212,175,55,0.18);
  border-bottom: 1px solid rgba(212,175,55,0.18);
}
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--deep-purple), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--deep-purple), transparent); }
.marquee-track { display: flex; width: max-content; animation: marqueeScroll 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-content { display: flex; align-items: center; white-space: nowrap; list-style: none; }
.marquee-item { font-size: 14px; font-weight: 500; letter-spacing: 0.06em; color: var(--gold); padding: 0 36px; display: flex; align-items: center; gap: 10px; }
.marquee-divider { color: rgba(212,175,55,0.35); font-size: 18px; line-height: 1; }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ============================================================
   ABOUT (cream, text + framed photo)
============================================================ */
#about { padding: 112px 64px; }
.about-watermark {
  position: absolute;
  top: 50%; left: -2%;
  transform: translateY(-50%);
  font-family: var(--font-script);
  font-size: clamp(120px, 16vw, 220px);
  color: rgba(107, 45, 139, 0.07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  z-index: 0;
}
.about-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.about-label { font-family: var(--font-script); font-size: 28px; color: var(--royal-purple); margin-bottom: 10px; display: block; }
.about-h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  color: var(--black);
  line-height: 1.15;
  margin-bottom: 28px;
}
.about-body p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink);
  margin-bottom: 16px;
  text-align: justify;
  hyphens: auto;
}
.about-body p:last-child { margin-bottom: 0; }
.about-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; list-style: none; }
.about-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1.5px solid rgba(212,175,55,0.5);
  border-radius: 100px;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  box-shadow: 0 2px 12px rgba(212,175,55,0.15);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.about-pill:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(212,175,55,0.3); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-gradient); flex-shrink: 0; }
.about-more { margin-top: 32px; }
.about-image-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.about-image-wrap::before {
  content: '';
  position: absolute;
  inset: -14px;
  border: 2px solid rgba(212,175,55,0.55);
  border-radius: 4px;
  transform: rotate(2.5deg);
  transition: transform 0.4s ease;
}
.about-image-wrap::after {
  content: '';
  position: absolute;
  inset: -28px;
  border: 1px solid rgba(212,175,55,0.18);
  border-radius: 6px;
  transform: rotate(-1deg);
}
.about-image-wrap:hover::before { transform: rotate(1.5deg) scale(1.01); }
.about-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 3px;
  transform: rotate(-2deg);
  box-shadow: 20px 28px 60px rgba(0,0,0,0.22);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.about-image-wrap:hover .about-img { transform: rotate(-1deg) scale(1.01); box-shadow: 24px 34px 72px rgba(0,0,0,0.28); }
@media (max-width: 900px) {
  #about { padding: 80px 28px; }
  .about-inner { grid-template-columns: 1fr; gap: 64px; }
  .about-image-wrap { order: -1; max-width: 380px; margin: 16px auto 0; }
  .about-body p { text-align: left; }
}
@media (max-width: 520px) { #about { padding: 72px 24px; } .about-image-wrap { max-width: 290px; } }

/* ============================================================
   VISION & MISSION (dark / cream halves, gold divider, floating 3D logo)
============================================================ */
#vision-mission { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; position: relative; overflow: hidden; }
#vision-mission::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: calc(50% - 1px);
  width: 2px;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 20%, var(--gold) 80%, transparent 100%);
  z-index: 2;
  transform: skewX(-4deg);
}
.vm-half { padding: 88px 72px; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.vm-vision  { background: var(--black); }
.vm-mission { background: var(--cream); }
.vm-tag { font-family: var(--font-script); font-size: 24px; margin-bottom: 12px; display: block; }
.vm-vision .vm-tag  { color: var(--gold); }
.vm-mission .vm-tag { color: var(--royal-purple); }
.vm-h3 { font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 48px); font-weight: 600; line-height: 1.15; margin-bottom: 24px; position: relative; z-index: 1; }
.vm-vision .vm-h3  { color: var(--white); }
.vm-mission .vm-h3 { color: var(--black); }
.vm-bar { width: 50px; height: 3px; border-radius: 2px; margin-bottom: 24px; }
.vm-vision .vm-bar  { background: var(--gold-gradient); }
.vm-mission .vm-bar { background: linear-gradient(90deg, var(--royal-purple), #9B4DC0); }
.vm-text { font-size: 15px; font-weight: 300; line-height: 1.9; position: relative; z-index: 1; max-width: 520px; }
.vm-vision .vm-text  { color: rgba(255,255,255,0.75); }
.vm-mission .vm-text { color: #444; }
.vm-watermark { position: absolute; font-family: var(--font-display); font-size: 280px; font-weight: 700; line-height: 1; pointer-events: none; user-select: none; bottom: -60px; }
.vm-vision .vm-watermark  { right: -30px; color: rgba(212,175,55,0.05); }
.vm-mission .vm-watermark { left: -30px; color: rgba(107,45,139,0.06); }
.vm-centre-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; width: 130px; height: 130px; }
.vm-centre-logo::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.18) 0%, transparent 70%);
  animation: logoGlow 3s ease-in-out infinite;
  pointer-events: none;
}
.vm-centre-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(212,175,55,0.55)) drop-shadow(0 8px 30px rgba(0,0,0,0.5));
  animation: logoFloat 4s ease-in-out infinite;
  position: relative;
}
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes logoGlow { 0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 0.6; } 50% { transform: translate(-50%,-50%) scale(1.35); opacity: 1; } }
@media (max-width: 860px) {
  #vision-mission { grid-template-columns: 1fr; }
  #vision-mission::after, .vm-watermark, .vm-centre-logo { display: none; }
  .vm-half { padding: 64px 28px; }
}

/* ============================================================
   GLASS FEATURE CARDS ("What We Do" style) — Why learn online, How it works
============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; list-style: none; }
.feature-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  padding: 52px 36px 44px;
  text-align: center;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 175, 55, 0.15);
}
.feature-num {
  position: absolute;
  top: -18px; right: 18px;
  font-family: var(--font-display);
  font-size: 130px;
  font-weight: 700;
  line-height: 1;
  color: rgba(212, 175, 55, 0.08);
  pointer-events: none;
  user-select: none;
  transition: color 0.4s ease;
}
.feature-card:hover .feature-num { color: rgba(212, 175, 55, 0.14); }
.feature-icon { font-size: 44px; line-height: 1; margin-bottom: 20px; display: block; filter: drop-shadow(0 0 12px rgba(212,175,55,0.3)); transition: transform 0.3s ease; }
.feature-card:hover .feature-icon { transform: scale(1.12); }
.feature-title { font-family: var(--font-body); font-size: 21px; font-weight: 600; color: var(--white); position: relative; z-index: 1; line-height: 1.35; }
.feature-title::after { content: ''; display: block; width: 40px; height: 2px; background: var(--gold-gradient); margin: 12px auto 0; border-radius: 2px; transition: width 0.35s ease; }
.feature-card:hover .feature-title::after { width: 70px; }
.feature-text { font-size: 14px; font-weight: 300; line-height: 1.85; color: rgba(255, 255, 255, 0.72); position: relative; z-index: 1; margin-top: 16px; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 640px)  { .feature-grid { grid-template-columns: 1fr; max-width: 440px; } .feature-card { padding: 44px 26px 36px; } }

/* ============================================================
   COURSES (white section, the main site's course cards)
============================================================ */
#courses { scroll-margin-top: var(--nav-height); }
.course-group { max-width: 1100px; margin: 0 auto 72px; }
.course-group:last-child { margin-bottom: 0; }
.course-group-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 600;
  font-style: italic;
  color: var(--royal-purple);
  text-align: center;
  margin-bottom: 36px;
}
.course-group-title::before, .course-group-title::after {
  content: '';
  flex: 0 1 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.course-group-title::after { background: linear-gradient(270deg, transparent, var(--gold)); }

/* Flex rather than grid so a short last row (or a one-course group) sits centred, as on the main site. */
.courses-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; list-style: none; }
.courses-grid > li { flex: 0 1 calc((100% - 56px) / 3); min-width: 0; }

.course-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.course-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(107,45,139,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.course-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 2;
}
.course-card:hover, .course-card:focus-within {
  border-color: var(--royal-purple);
  box-shadow: 0 16px 50px rgba(107,45,139,0.18), 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.course-card:hover::before { opacity: 1; }
.course-card:hover::after, .course-card:focus-within::after { transform: scaleX(1); }

.course-media { display: block; position: relative; overflow: hidden; text-decoration: none; }
.course-media img, .course-media .thumb-placeholder { transition: transform 0.5s ease; }
.course-card:hover .course-media img, .course-card:hover .course-media .thumb-placeholder { transform: scale(1.04); }

.course-body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 26px 22px 24px; position: relative; z-index: 1; }
.course-name { font-family: var(--font-body); font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--black); }
.course-name a { text-decoration: none; transition: color 0.3s ease; }
.course-name a:hover, .course-card:hover .course-name a { color: var(--royal-purple); }
.course-sub { font-size: 13px; font-weight: 400; color: #5f5f5f; line-height: 1.7; }
.course-foot { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.offer-line { font-size: 13px; font-weight: 500; color: var(--royal-purple); }
.course-foot .btn-card { width: 100%; }

/* Card enroll button: gold, uppercase (text sits directly in the link) */
.btn-card {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: var(--black);
  background: var(--gold-gradient);
  background-size: 160% 100%;
  background-position: 0% 50%;
  padding: 13px 20px;
  border-radius: 2px;
  transition: background-position 0.4s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.btn-card:hover { background-position: 100% 50%; box-shadow: 0 8px 26px rgba(212,175,55,0.45); transform: translateY(-2px); }
.btn-card.btn-closed { display: block; font-size: 13px; padding: 12px 20px; letter-spacing: 0.1em; color: #5c5563; background: #ece8f0; border: 1px solid #d9d2e0; box-shadow: none; transform: none; cursor: not-allowed; }

.courses-empty {
  max-width: 640px; margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-style: italic;
  color: var(--royal-purple);
  border: 1.5px solid rgba(212,175,55,0.45);
  border-radius: 8px;
  padding: 48px 24px;
  background: var(--cream);
}

@media (max-width: 960px) { .courses-grid { gap: 24px; } .courses-grid > li { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 560px) {
  .courses-grid { gap: 20px; max-width: 420px; margin: 0 auto; }
  .courses-grid > li { flex-basis: 100%; }
  .course-group { margin-bottom: 56px; }
  .course-group-title::before, .course-group-title::after { flex-basis: 40px; }
}

/* Thumbnail + branded placeholder */
.thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.thumb-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2D0845 0%, #6B2D8B 55%, #D4AF37 130%);
}
.thumb-placeholder::before {
  content: '';
  position: absolute; inset: 10px;
  border: 1px solid rgba(240,208,96,0.35);
  border-radius: 4px;
  pointer-events: none;
}
.thumb-placeholder::after {
  content: '\2726';
  position: absolute;
  right: 18px; bottom: 12px;
  font-size: 13px;
  color: rgba(240,208,96,0.6);
}
.thumb-brand { font-size: 10px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(240,208,96,0.85); position: relative; }
.thumb-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 600;
  font-style: italic;
  line-height: 1.15;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
  position: relative;
  overflow-wrap: anywhere;
}
.thumb-placeholder.thumb-lg .thumb-title { font-size: clamp(28px, 3.4vw, 42px); }

/* Price block */
.price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 12px; }
.price-mrp { font-size: 14px; font-weight: 400; color: #6f6f6f; }
.line-through { text-decoration: line-through; text-decoration-thickness: 1px; }
.price-current { font-family: var(--font-body); font-size: 26px; font-weight: 600; color: var(--royal-purple); line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-badge {
  display: inline-block;
  align-self: center;
  background: var(--gold-gradient);
  color: var(--black);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 4px 12px;
}
.price-lg .price-mrp { font-size: 18px; }
.price-lg .price-current { font-size: 44px; }
.price-lg .price-badge { font-size: 12px; padding: 5px 14px; }
.price-left { justify-content: flex-start; }
.price-on-dark .price-mrp { color: rgba(255,255,255,0.62); }
.price-on-dark .price-current { background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.price-on-gold .price-mrp { color: rgba(0,0,0,0.6); }
.price-on-gold .price-current { color: var(--black); }
.price-on-gold .price-badge { background: var(--black); color: var(--light-gold); }

/* ============================================================
   STUDENT STORIES (carousel of the main site's quotes)
============================================================ */
#stories { padding: 108px 0 88px; }
#stories .section-head { padding: 0 24px; margin-bottom: 48px; }
.stories-cursive { font-family: var(--font-script); font-size: clamp(42px, 6vw, 72px); color: var(--gold); display: block; line-height: 1.15; font-weight: 400; }
.stories-sub { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.7); margin-top: 8px; }
.stories-note { font-size: 12px; font-weight: 400; letter-spacing: 0.06em; color: rgba(212,175,55,0.85); margin-top: 6px; }
.carousel { position: relative; }
.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  list-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; scroll-snap-align: center; padding: 18px 72px; display: flex; justify-content: center; }
.story-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 12px;
  padding: 48px 48px 40px;
  max-width: 760px;
  width: 100%;
  position: relative;
  text-align: center;
}
.story-card::before {
  content: '\201C';
  position: absolute;
  top: -10px; left: 40px;
  font-family: var(--font-display);
  font-size: 120px;
  color: rgba(212,175,55,0.14);
  line-height: 1;
  pointer-events: none;
}
.story-quote { font-family: var(--font-display); font-size: clamp(19px, 2.2vw, 24px); font-style: italic; font-weight: 400; color: rgba(255,255,255,0.92); line-height: 1.7; margin-bottom: 32px; }
.story-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold-gradient);
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 26px; font-weight: 700;
  color: var(--black);
  border: 2px solid rgba(212,175,55,0.5);
}
.story-name { display: block; font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 4px; font-style: normal; }
.story-course { display: block; font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(212,175,55,0.85); }
.carousel-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(212,175,55,0.12);
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: none;
  align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 18px;
  transition: background 0.3s ease, border-color 0.3s ease;
  z-index: 5;
}
.js .carousel-arrow { display: flex; }
.carousel-arrow:hover { background: rgba(212,175,55,0.3); border-color: var(--gold); }
.carousel-prev { left: 16px; }
.carousel-next { right: 16px; }
.carousel-dots { display: none; justify-content: center; gap: 10px; margin-top: 28px; list-style: none; }
.js .carousel-dots { display: flex; }
.carousel-dot { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; padding: 0; }
.carousel-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: rgba(212,175,55,0.35); transition: background 0.3s ease, transform 0.3s ease; }
.carousel-dot.active::before { background: var(--gold); transform: scale(1.4); }
@media (max-width: 640px) {
  .carousel-slide { padding: 12px 16px; }
  .story-card { padding: 40px 22px 32px; }
  .js .carousel-arrow { display: none; }
}

/* ============================================================
   STUDENT SUCCESS (numbers)
============================================================ */
.ss-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; list-style: none; }
.ss-card {
  text-align: center;
  padding: 44px 20px 36px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.ss-card:hover { transform: translateY(-8px); border-color: rgba(212,175,55,0.6); box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(212,175,55,0.12); }
.ss-icon { font-size: 48px; line-height: 1; display: block; margin-bottom: 16px; filter: drop-shadow(0 0 12px rgba(212,175,55,0.4)); transition: transform 0.35s ease; }
.ss-card:hover .ss-icon { transform: scale(1.15) translateY(-4px); }
.ss-number { font-size: clamp(44px, 5vw, 68px); display: block; }
.ss-label-text { font-size: 13px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
@media (max-width: 860px) { .ss-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 520px) {
  .ss-grid { gap: 12px; }
  .ss-card { padding: 28px 10px 24px; }
  .ss-icon { font-size: 34px; margin-bottom: 10px; }
  .ss-number { font-size: 40px; }
  .ss-label-text { font-size: 10.5px; letter-spacing: 0.06em; display: block; line-height: 1.5; }
}

/* ============================================================
   GALLERY PREVIEW
============================================================ */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1100px; margin: 0 auto 52px; list-style: none; }
.gal-item { border-radius: 6px; overflow: hidden; position: relative; }
.gal-item img { width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: center 25%; transition: transform 0.5s ease; }
.gal-item:hover img { transform: scale(1.04); }
.gal-item::after {
  content: '';
  position: absolute; inset: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: border-color 0.35s ease;
  pointer-events: none;
  z-index: 2;
}
.gal-item:hover::after { border-color: var(--gold); }
.gal-item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 40px 12px 16px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-gold);
  background: linear-gradient(to top, rgba(45,8,69,0.8) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 1;
}
.gal-item:hover figcaption { opacity: 1; }
.gal-cta { text-align: center; }
@media (max-width: 860px) { .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* ============================================================
   FAQ (accordion built on <details>)
============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; list-style: none; }
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.1); }
.faq-item:first-child { border-top: 1px solid rgba(0,0,0,0.1); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--black);
  list-style: none;
  transition: color 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--royal-purple); }
.faq-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; line-height: 1; font-weight: 300;
  color: #9a7b14;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.4s ease, color 0.3s ease;
}
.faq-item[open] .faq-icon { background: var(--gold); border-color: var(--gold); color: var(--black); transform: rotate(45deg); }
.faq-answer { padding: 0 4px 22px; font-size: 14.5px; font-weight: 300; line-height: 1.9; color: #4a4a4a; }
.faq-item[open] .faq-answer { animation: fadeIn 0.35s ease; }

/* ============================================================
   FINAL CTA (gold shimmer band)
============================================================ */
.final-cta {
  position: relative;
  overflow: hidden;
  padding: 100px 48px;
  text-align: center;
  color: var(--black);
  background: linear-gradient(120deg, #b8860b 0%, var(--gold) 28%, var(--light-gold) 55%, var(--gold) 80%, #a0720a 100%);
  background-size: 300% auto;
  animation: bannerShimmer 6s linear infinite;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, transparent 0px, transparent 18px, rgba(255,255,255,0.04) 18px, rgba(255,255,255,0.04) 19px);
  pointer-events: none;
}
@keyframes bannerShimmer { 0% { background-position: 0% center; } 100% { background-position: 300% center; } }
.fcta-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.fcta-h2 { font-family: var(--font-display); font-size: clamp(38px, 5.5vw, 68px); font-weight: 700; color: var(--black); line-height: 1.1; margin-bottom: 14px; }
.fcta-sub { font-size: 16px; font-weight: 400; color: rgba(0,0,0,0.72); margin-bottom: 40px; }
.fcta-btns { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.fcta-price { display: flex; justify-content: center; margin-bottom: 28px; }
@media (max-width: 600px) { .final-cta { padding: 80px 20px; } }

/* ============================================================
   CONTACT BLOCK (home, glass card on deep purple)
============================================================ */
.contact-anchor { scroll-margin-top: var(--nav-height); }
.contact-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212,175,55,0.28);
  border-radius: 14px;
  padding: 56px 52px 52px;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.contact-card .script-label { color: var(--gold); }
.contact-h2 { font-family: var(--font-display); font-size: clamp(34px, 4vw, 44px); font-weight: 600; color: var(--white); margin-bottom: 12px; }
.contact-intro { font-size: 14px; font-weight: 300; color: rgba(255,255,255,0.72); margin-bottom: 36px; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; list-style: none; text-align: left; }
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 18px;
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,175,55,0.22);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.contact-item:hover { border-color: rgba(212,175,55,0.6); background: rgba(255,255,255,0.08); }
.contact-item-label { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.contact-item a { color: var(--white); font-size: 15px; font-weight: 500; text-decoration: none; overflow-wrap: break-word; transition: color 0.3s ease; }
.contact-item a:hover { color: var(--light-gold); }
.contact-login { margin-top: 32px; font-size: 14px; color: rgba(255,255,255,0.72); }
.contact-login a { color: var(--gold); font-weight: 500; }
@media (max-width: 640px) { .contact-card { padding: 40px 22px; } }

/* ============================================================
   SOCIAL STRIP
============================================================ */
.social-strip { background: var(--black); padding: 56px 24px; text-align: center; border-top: 1px solid rgba(212,175,55,0.15); }
.social-handle { font-family: var(--font-script); font-size: 32px; color: rgba(255,255,255,0.7); display: block; margin-bottom: 24px; }
.social-handle span { color: var(--gold); }
.social-icons { display: flex; justify-content: center; align-items: center; gap: 24px; list-style: none; }
.social-icon-link {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,0.35);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.social-icon-link svg { width: 22px; height: 22px; }
.social-icon-link:hover { transform: scale(1.18) translateY(-3px); border-color: var(--gold); background: rgba(212,175,55,0.1); box-shadow: 0 0 20px rgba(212,175,55,0.4); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: #050505; padding: 80px 48px 0; position: relative; color: var(--white); }
.footer-top { text-align: center; margin-bottom: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(212,175,55,0.15); }
.footer-logo { width: 100px; height: 100px; object-fit: contain; display: inline-block; margin-bottom: 14px; filter: drop-shadow(0 0 16px rgba(212,175,55,0.3)); }
.footer-tagline { font-family: var(--font-script); font-size: 36px; color: var(--gold); display: block; margin-bottom: 6px; line-height: 1.3; }
.footer-brand-name { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin: 0 auto 56px; max-width: 1200px; }
.footer-col-title {
  font-family: var(--font-body);
  font-size: 16px; font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; font-weight: 300; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact-item { font-size: 13.5px; font-weight: 300; color: rgba(255,255,255,0.65); line-height: 1.75; margin-bottom: 14px; }
.footer-contact-item strong { color: rgba(255,255,255,0.88); font-weight: 500; display: block; margin-bottom: 3px; }
.footer-contact-item a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color 0.3s ease; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-social-row { display: flex; align-items: center; gap: 14px; margin-top: 20px; list-style: none; }
.footer-social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.3);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.footer-social-icon svg { width: 16px; height: 16px; }
.footer-social-icon:hover { color: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px rgba(212,175,55,0.35); }
.footer-divider { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, rgba(212,175,55,0.3), transparent); }
.footer-bottom { text-align: center; padding: 24px 0 30px; font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.55); letter-spacing: 0.04em; }
@media (max-width: 860px) {
  .site-footer { padding: 64px 24px 0; }
  .footer-cols { grid-template-columns: 1fr; gap: 36px; }
}

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45);
  animation: waBounce 3s ease-in-out infinite;
  transition: transform 0.3s ease, bottom 0.3s ease;
}
.whatsapp-fab:hover { transform: scale(1.12); }
.whatsapp-fab svg { width: 30px; height: 30px; }
@keyframes waBounce {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4); }
  50%      { box-shadow: 0 4px 24px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0); }
}
@media (max-width: 600px) { .whatsapp-fab { bottom: 20px; right: 18px; width: 52px; height: 52px; } }

/* ============================================================
   COURSE LANDING PAGE
============================================================ */
.course-hero { padding-bottom: 96px; }
.course-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; max-width: 1200px; margin: 0 auto; }
.course-hero-media { position: relative; }
.course-hero-media::before {
  content: '';
  position: absolute;
  inset: -12px;
  border: 1.5px solid rgba(212,175,55,0.45);
  border-radius: 10px;
  transform: rotate(-1.5deg);
  pointer-events: none;
}
.course-hero-media .media-frame { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,0.5); border: 1px solid rgba(212,175,55,0.3); }
.course-kicker { font-family: var(--font-script); font-size: 28px; color: var(--gold); display: block; margin-bottom: 6px; line-height: 1.3; }
.course-title { font-family: var(--font-display); font-size: clamp(38px, 4.8vw, 62px); font-weight: 600; line-height: 1.08; color: var(--white); overflow-wrap: anywhere; }
.course-lead { margin-top: 18px; font-size: 16px; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,0.78); max-width: 560px; }

.price-card {
  margin-top: 30px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(212,175,55,0.32);
  border-radius: 12px;
  padding: 28px 28px 26px;
  max-width: 520px;
}
.price-card .offer-line { color: var(--light-gold); margin-top: 14px; font-size: 14px; }
.launch-line { margin-top: 12px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.85); }
.price-card .btn-gold { margin-top: 22px; width: 100%; }
.closed-note { margin-top: 14px; font-size: 14px; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,0.8); }
.closed-card .btn-wa { margin-top: 18px; padding: 13px 26px; font-size: 13px; }

.countdown { margin-top: 14px; }
.countdown-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; }
.countdown-cell { border: 1px solid rgba(212,175,55,0.3); background: rgba(0,0,0,0.25); border-radius: 8px; padding: 10px 4px 8px; }
.countdown-num { font-family: var(--font-display); font-size: 34px; font-weight: 700; line-height: 1; color: var(--light-gold); font-variant-numeric: tabular-nums; }
.countdown-unit { margin-top: 4px; font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.65); }
.countdown-ended { border-radius: 8px; background: rgba(240,208,96,0.12); border: 1px solid rgba(240,208,96,0.4); padding: 10px 14px; font-size: 14px; font-weight: 500; color: var(--light-gold); }

.learn-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; list-style: none; }
.learn-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1.5px solid rgba(212,175,55,0.35);
  border-radius: 8px;
  padding: 22px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.learn-item:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 40px rgba(107,45,139,0.12); }
.check-dot {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-gradient);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}

.lesson-count { margin-top: 14px; font-size: 13px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: #8a6d12; }
.lesson-list { max-width: 820px; margin: 0 auto; padding: 8px; list-style: none; border: 1.5px solid rgba(0,0,0,0.08); border-radius: 14px; background: var(--white); }
.lesson-item { position: relative; display: flex; gap: 20px; align-items: baseline; padding: 18px 26px; font-size: 15px; color: var(--ink); border-radius: 10px; transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease; }
/* Hairline between rows, drawn inside the row so it can hide around the hovered one (the hovered row is a rounded, padded card). */
.lesson-item + .lesson-item::before { content: ""; position: absolute; top: 0; left: 26px; right: 26px; height: 1px; background: rgba(0,0,0,0.07); transition: opacity 0.3s ease; }
.lesson-item:hover::before, .lesson-item:hover + .lesson-item::before { opacity: 0; }
.lesson-item:hover { z-index: 1; background: var(--royal-purple); color: var(--light-gold); box-shadow: 0 4px 14px rgba(61,20,90,0.13); }
.lesson-num { flex: none; width: 36px; font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1; color: var(--royal-purple); font-variant-numeric: tabular-nums; transition: color 0.3s ease, transform 0.3s ease; }
.lesson-item:hover .lesson-num { color: var(--light-gold); }
/* Hovered lesson: the number and title grow slightly. A transform (not a bigger font-size) so rows below never jump, and only where hover exists and there is room, so long titles never clip on phones. */
.lesson-item > span { transform-origin: left center; transition: transform 0.3s ease, color 0.3s ease; }
@media (hover: hover) and (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .lesson-item:hover .lesson-num { transform: scale(1.15); }
  .lesson-item:hover > span:not(.lesson-num) { transform: scale(1.1); }
}

.about-course { max-width: 820px; margin: 0 auto; font-size: 16px; font-weight: 300; line-height: 1.95; color: rgba(255,255,255,0.82); text-align: center; overflow-wrap: anywhere; }

.steps-grid { grid-template-columns: repeat(3, 1fr); }
.step-card { padding: 48px 30px 40px; }
.step-card .feature-text { font-size: 15px; color: rgba(255,255,255,0.85); margin-top: 0; }

/* Sticky enroll bar (phones, open courses) */
.sticky-enroll { display: none; }
@media (max-width: 767px) {
  .sticky-enroll {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 950;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(45, 8, 69, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(212,175,55,0.35);
    box-shadow: 0 -8px 30px rgba(0,0,0,0.45);
  }
  .sticky-enroll .price { justify-content: flex-start; gap: 0 8px; }
  .sticky-enroll .price-current { font-size: 22px; }
  .sticky-enroll .price-mrp { font-size: 13px; }
  .sticky-enroll .price-badge { display: none; }
  .sticky-enroll .btn-gold { padding: 13px 22px; font-size: 12px; flex-shrink: 0; }
  body:has(.sticky-enroll) .site-footer { padding-bottom: 76px; }
  body:has(.sticky-enroll) .whatsapp-fab { bottom: 92px; }
}

@media (max-width: 960px) {
  .course-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .course-hero-media { max-width: 640px; }
  .steps-grid { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 640px) {
  .learn-grid { grid-template-columns: 1fr; }
  .price-card { padding: 22px 18px 20px; }
  .price-lg .price-current { font-size: 38px; }
  .countdown-num { font-size: 28px; }
  .lesson-item { padding: 16px 18px; gap: 14px; }
  .course-hero-media::before { inset: -8px; }
}

/* ============================================================
   POLICY PAGES
============================================================ */
.policy-wrap { background: var(--cream); padding: 72px 24px 108px; color: var(--black); }
.policy-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid rgba(212,175,55,0.35);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(45,8,69,0.08);
  padding: 56px 60px;
  position: relative;
}
.policy-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 10px 10px 0 0;
}
.policy-intro { margin-bottom: 40px; border-left: 3px solid var(--royal-purple); background: #f6f0f9; border-radius: 0 8px 8px 0; padding: 20px 24px; font-size: 14.5px; line-height: 1.8; color: var(--ink); }
.policy-prose .policy-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid #ece4f1; }
.policy-prose .policy-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.policy-heading { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.policy-num {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-gradient);
  color: var(--black);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}
.policy-title { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; line-height: 1.2; color: var(--deep-purple); padding-top: 2px; }
.policy-prose p { margin-bottom: 14px; font-size: 15px; font-weight: 400; line-height: 1.85; color: var(--ink); }
.policy-prose p:last-child { margin-bottom: 0; }
.policy-prose strong { font-weight: 600; color: var(--black); }
.policy-prose a { font-weight: 500; color: var(--royal-purple); text-decoration: underline; text-underline-offset: 2px; }
.policy-prose a:hover { color: var(--deep-purple); }
.policy-prose .policy-list { margin: 12px 0 16px 22px; list-style: disc; }
.policy-prose .policy-list li { margin-bottom: 8px; font-size: 15px; line-height: 1.75; color: var(--ink); padding-left: 4px; }
.policy-prose .policy-list li::marker { color: var(--gold); }
.policy-prose .contact-box { margin-top: 20px; border: 1px solid rgba(212,175,55,0.4); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; background: var(--cream); padding: 20px 24px; }
.policy-prose .contact-box p { margin-bottom: 6px; }
@media (max-width: 760px) {
  .policy-wrap { padding: 48px 16px 80px; }
  .policy-card { padding: 36px 22px; }
  .policy-heading { gap: 12px; }
  .policy-num { width: 32px; height: 32px; font-size: 16px; }
}

/* ============================================================
   GUEST PAGES (login, password, checkout, thank-you)
============================================================ */
body.guest {
  min-height: 100vh;
  background: var(--hero-gradient);
  position: relative;
}
.guest-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 32px;
  gap: 28px;
}
.guest-orbs { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.guest-logo img { height: 56px; width: auto; }
.auth-card {
  width: 100%;
  max-width: 460px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 14px;
  padding: 44px 40px 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
  position: relative;
}
.auth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--light-gold), var(--gold), transparent);
}
.auth-wide { max-width: 520px; }
.auth-label-script { font-family: var(--font-script); font-size: 26px; color: var(--gold); display: block; text-align: center; line-height: 1.3; }
.auth-title { font-family: var(--font-display); font-size: clamp(30px, 5vw, 38px); font-weight: 600; line-height: 1.15; color: var(--white); text-align: center; overflow-wrap: anywhere; }
.auth-text { font-size: 14px; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,0.78); text-align: center; }
.auth-stack > * + * { margin-top: 18px; }
.auth-stack-sm > * + * { margin-top: 12px; }
.field-label { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.field {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 4px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.field::placeholder { color: rgba(255,255,255,0.5); }
.field:focus { border-color: var(--gold); background: rgba(255,255,255,0.12); box-shadow: 0 0 0 3px rgba(212,175,55,0.25); }
.field-upper { text-transform: uppercase; }
.field-upper::placeholder { text-transform: none; }
.field-code { letter-spacing: 0.3em; }
.field-error { margin-top: 6px; font-size: 13px; color: #ffb4b4; }
.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; min-width: 0; }
.btn-apply {
  flex: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid rgba(212,175,55,0.6);
  border-radius: 4px;
  padding: 0 18px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.btn-apply:hover { background: var(--gold-gradient); color: var(--black); border-color: var(--gold); }
.btn-submit {
  display: block;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold-gradient);
  background-size: 160% 100%;
  background-position: 0% 50%;
  border-radius: 4px;
  padding: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 0.4s ease;
}
.btn-submit:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 12px 36px rgba(212,175,55,0.5); }
.btn-submit:disabled, .btn-submit[disabled] { opacity: 0.7; cursor: wait; transform: none; }
.auth-link { color: var(--gold); font-weight: 500; text-decoration: none; }
.auth-link:hover { color: var(--light-gold); text-decoration: underline; }
.auth-foot { font-size: 14px; text-align: center; color: rgba(255,255,255,0.7); }
.auth-small { font-size: 12.5px; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,0.72); text-align: center; }
.auth-small a { color: var(--light-gold); text-decoration: underline; text-underline-offset: 2px; }
.auth-small a:hover { color: var(--white); }
.auth-alert { font-size: 13.5px; line-height: 1.6; color: #ffb4b4; text-align: center; }
.auth-launch { text-align: center; font-size: 14px; font-weight: 500; color: var(--light-gold); }
.checkout-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 12px; }
.checkout-price .price-mrp { font-size: 16px; color: rgba(255,255,255,0.6); }
.checkout-amount { font-size: 40px; font-weight: 600; line-height: 1.1; background: var(--gold-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-variant-numeric: tabular-nums; }
.checkout-badge { text-align: center; }
.closed-panel { border: 1px solid rgba(255,255,255,0.18); background: rgba(0,0,0,0.25); border-radius: 10px; padding: 24px 22px; text-align: center; }
.closed-panel-title { font-size: 18px; font-weight: 600; color: var(--white); }
.guest-back { font-size: 13px; color: rgba(255,255,255,0.65); text-decoration: none; letter-spacing: 0.06em; }
.guest-back:hover { color: var(--gold); }
@media (max-width: 520px) {
  .auth-card { padding: 36px 22px 30px; }
  .guest-logo img { height: 46px; }
}

/* ============================================================
   REDUCED MOTION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .title-underline::after { transform: translateX(-50%) scaleX(1); }
  .marquee-track { animation: none; width: auto; justify-content: center; }
  .marquee-content { flex-wrap: wrap; justify-content: center; white-space: normal; row-gap: 10px; }
  .marquee-content[aria-hidden="true"] { display: none; }
  .marquee::before, .marquee::after { display: none; }
  .carousel-track { scroll-behavior: auto; }
}

/* "More courses you may like" on a course page: four cards in a row on wide screens, then two, then one. */
.courses-grid--four > li { flex-basis: calc((100% - 84px) / 4); }
@media (max-width: 1180px) { .courses-grid--four > li { flex-basis: calc((100% - 28px) / 2); } }
@media (max-width: 560px) { .courses-grid--four > li { flex-basis: 100%; } }
.section-cta { text-align: center; margin-top: 48px; }

/* Intro video (a YouTube embed) under the course hero: one 16:9 frame, capped so it never dominates a wide screen. */
.intro-video-frame { max-width: 880px; margin: 0 auto; position: relative; z-index: 1; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #000; box-shadow: 0 24px 60px rgba(31,16,48,0.28); border: 1px solid rgba(212,175,55,0.35); }
.intro-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }


/* Free sample clips: a grid of play cards, and a dialog that asks for name + WhatsApp before playing. */
.sample-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; max-width: 980px; margin: 0 auto; list-style: none; position: relative; z-index: 1; }
.sample-card { display: flex; flex-direction: column; gap: 14px; width: 100%; padding: 0 0 18px; overflow: hidden; text-align: left; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid rgba(0,0,0,0.08); border-radius: 10px; cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.sample-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #3b1259, #6b2d8b 60%, #8a4aa8); overflow: hidden; }
.sample-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.sample-card:hover .sample-img, .sample-card:focus-visible .sample-img { transform: scale(1.04); }
.sample-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(61,20,90,0.82); color: #f0d77b; box-shadow: 0 6px 20px rgba(0,0,0,0.35); border: 1.5px solid rgba(212,175,55,0.7); }
.sample-text { display: flex; flex-direction: column; gap: 4px; padding: 0 20px; }
.sample-card:hover, .sample-card:focus-visible { transform: translateY(-3px); border-color: rgba(212,175,55,0.7); box-shadow: 0 14px 32px rgba(31,16,48,0.14); }
.sample-title { font-weight: 600; font-size: 15px; line-height: 1.35; }
.sample-label { font-size: 12px; letter-spacing: 0.06em; color: #8a6d12; }
.sample-dialog { margin: auto; width: min(720px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 1px solid rgba(212,175,55,0.4); border-radius: 12px; background: #1b0b2e; color: #fff; box-shadow: 0 30px 80px rgba(0,0,0,0.55); }
.sample-dialog::backdrop { background: rgba(10,4,20,0.72); }
.sample-dialog-inner { position: relative; padding: 34px 30px 28px; }
.sample-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; padding: 6px 10px; }
.sample-dialog-title { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin: 0 28px 14px 0; }
.sample-dialog-lead { margin: 0 0 18px; color: rgba(255,255,255,0.78); font-size: 14px; line-height: 1.6; }
.sample-field { display: block; margin-bottom: 14px; font-size: 13px; letter-spacing: 0.04em; color: rgba(255,255,255,0.85); }
.sample-field input { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; font: inherit; font-size: 15px; color: #fff; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.28); border-radius: 6px; }
.sample-field input:focus { outline: 2px solid #d4af37; outline-offset: 1px; }
.sample-error { margin: 0 0 12px; color: #ffb4b4; font-size: 13px; }
.sample-notice { margin: 14px 0 0; font-size: 12px; line-height: 1.5; color: rgba(255,255,255,0.6); }
.sample-frame { max-width: none; margin: 0; }
.sample-enroll { display: block; margin-top: 20px; text-align: center; }
@media (max-width: 560px) { .sample-dialog-inner { padding: 30px 18px 22px; } .sample-grid { grid-template-columns: 1fr; } }

/* Personal-offer line on the checkout form. */
.offer-checkout { margin: 0 0 12px; padding: 10px 12px; font-size: 13px; line-height: 1.5; color: #f0d060; background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.35); border-radius: 6px; }
.offer-checkout b { font-variant-numeric: tabular-nums; }

/* ---- Timed personal offer (offer.js): top bar, section strips, popup, and the "use this code" line. ---- */
.offer-ended [data-offer] { display: none !important; }
.offer-timer { font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: 0.06em; }

.offer-bar { position: fixed; top: var(--nav-height); left: 0; right: 0; z-index: 990; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 22px; padding: 8px 20px; background: linear-gradient(90deg, #d4af37, #f0d060 50%, #d4af37); color: #2d0845; font-size: 14px; box-shadow: 0 4px 18px rgba(0,0,0,0.25); }
.offer-bar-headline { font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.offer-bar .offer-timer { padding: 2px 10px; background: #2d0845; color: #f0d060; border-radius: 999px; }
.offer-bar-cta { padding: 5px 16px; background: #2d0845; color: #f0d060; border-radius: 999px; font-weight: 700; font-size: 13px; text-decoration: none; }
.offer-bar-cta:hover { background: #4a1470; }

.offer-strip { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 20px; max-width: 880px; margin: 0 auto 28px; padding: 12px 20px; background: linear-gradient(135deg, #3b1259, #6b2d8b); color: #fff; border: 1px solid rgba(212,175,55,0.6); border-radius: 10px; box-shadow: 0 8px 24px rgba(31,16,48,0.22); font-size: 14px; }
.offer-strip-headline { color: #f0d060; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.offer-strip-code strong { color: #f0d060; letter-spacing: 0.08em; }
.offer-strip .offer-timer { padding: 2px 10px; background: #f0d060; color: #2d0845; border-radius: 999px; }
.offer-strip-cta { padding: 6px 16px; background: #f0d060; color: #2d0845; border-radius: 999px; font-weight: 700; font-size: 13px; text-decoration: none; }
.offer-strip-cta:hover { background: #fff; }
.price-card .offer-strip { margin: 0 0 16px; padding: 10px 14px; font-size: 13px; }
.offer-strip--mini { margin: 0; padding: 4px 10px; gap: 6px 10px; font-size: 11px; box-shadow: none; }

.promo-line { margin: 0 0 14px; text-align: center; font-size: 13px; font-weight: 700; letter-spacing: 0.05em; }
.promo-line a { color: #f0d060; text-decoration: underline; text-underline-offset: 3px; }

.offer-popup { margin: auto; width: min(440px, calc(100vw - 32px)); padding: 0; border: 1px solid rgba(212,175,55,0.7); border-radius: 14px; background: linear-gradient(160deg, #2d0845, #4a1470); color: #fff; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.offer-popup::backdrop { background: rgba(10,4,20,0.72); }
.offer-popup-inner { position: relative; padding: 36px 28px 26px; }
.offer-popup-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; padding: 6px 10px; }
.offer-popup-kicker { margin: 0 0 4px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.offer-popup-title { margin: 0; font-family: var(--font-display); font-size: 54px; line-height: 1.05; color: #f0d060; }
.offer-popup-sub { margin: 6px 0 14px; font-size: 15px; color: rgba(255,255,255,0.88); }
.offer-popup-code { margin: 0 0 6px; font-size: 14px; }
.offer-popup-code strong { color: #f0d060; letter-spacing: 0.1em; }
.offer-popup-timer { margin: 4px 0 18px; font-size: 34px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.08em; }
.offer-popup-cta { display: block; text-align: center; }
.offer-popup-skip { display: block; margin: 14px auto 0; background: none; border: 0; color: rgba(255,255,255,0.6); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

@media (max-width: 767px) {
  .offer-bar { gap: 4px 12px; padding: 6px 12px; font-size: 12px; }
  .offer-bar-code, .offer-bar-cta { display: none; }
  .offer-strip { margin-bottom: 22px; font-size: 13px; }
  .sticky-enroll .offer-strip--mini { flex: none; }
}
