/* ============================================================
   THE PRATIBIMB — Redesigned Style System
   Editorial · Bold · Authentic Indian Music Academy
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,700;0,9..144,900;1,9..144,400;1,9..144,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────────  */
:root {
  --bg:       #faf8f5;
  --bg-warm:  #f5f0eb;
  --ink:      #141020;
  --ink-mid:  #3d3556;
  --ink-soft: #7c7398;
  --cream:    #fffdf9;

  --primary:  #7c6af5;
  --primary-d:#5c4fd4;
  --lavender: #e8e4ff;
  --amber:    #f0a44a;
  --amber-d:  #d4882e;
  --amber-pale:#fff3e0;

  --dark-section: #120f24;
  --dark-mid:     #1e1a36;

  --s-raise: 5px 5px 15px rgba(124,106,245,.13), -3px -3px 10px rgba(255,255,255,.9);
  --s-deep:  8px 8px 24px rgba(124,106,245,.18), -4px -4px 16px rgba(255,255,255,.92);
  --s-press: inset 3px 3px 8px rgba(124,106,245,.15), inset -2px -2px 6px rgba(255,255,255,.8);
  --s-card:  0 2px 8px rgba(0,0,0,.06), 0 12px 32px rgba(124,106,245,.1);

  --r-xl: 24px;  --r-lg: 16px;  --r-md: 10px;
  --r-sm: 6px;   --r-pill: 999px;

  --ease-spring: cubic-bezier(.34,1.26,.64,1);
  --ease-out: cubic-bezier(.25,.8,.25,1);
  --t:   all .28s var(--ease-out);
  --t-s: all .45s var(--ease-out);
}

/* ── Reset ─────────────────────────────────────────────────  */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg); color: var(--ink);
  overflow-x: hidden; line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; border: none; background: transparent; }

/* ── Page Loader ──────────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--dark-section);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transition: opacity .6s ease, visibility .6s ease;
}
#page-loader.fade-out { opacity: 0; visibility: hidden; }
.loader-wordmark {
  font-family: 'Fraunces', serif; font-weight: 900; font-size: 2rem;
  color: #fff; letter-spacing: 6px; text-transform: uppercase;
}
.loader-wordmark em { font-style: italic; color: var(--amber); }
.loader-logo {
  height: 180px; width: auto; object-fit: contain;
  border-radius: 50%;
  animation: loader-fade .8s ease-in-out;
}
@keyframes loader-fade {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
.loader-rule {
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--primary), var(--amber));
  animation: rule-expand .9s .3s var(--ease-out) forwards;
}
@keyframes rule-expand { to { width: 160px; } }

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250,248,245,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: var(--t-s);
}
.navbar.scrolled {
  height: 62px; background: rgba(250,248,245,.98);
  box-shadow: 0 1px 20px rgba(0,0,0,.06);
}
.nav-logo {
  font-family: 'Fraunces', serif; font-weight: 900;
  font-size: 1.1rem; letter-spacing: 4px; text-transform: uppercase; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
}
.nav-logo:hover {
  opacity: 0.85;
}
.nav-logo img {
  height: 50px; width: auto; object-fit: contain;
  border-radius: 50%;
}
.nav-logo em { font-style: italic; color: var(--primary); }
.nav-center {
  display: flex; align-items: center; gap: 2px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-link {
  padding: 8px 16px; font-size: .8rem; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase;
  color: var(--ink-soft); border-radius: var(--r-sm);
  transition: var(--t); position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 4px; left: 16px; right: 16px;
  height: 1.5px; background: var(--primary);
  transform: scaleX(0); transition: transform .22s ease;
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.sound-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--lavender); box-shadow: var(--s-raise);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1rem; transition: var(--t);
}
.sound-toggle:hover { transform: translateY(-1px); box-shadow: var(--s-deep); }
.sound-toggle:active, .sound-toggle.pressed { box-shadow: var(--s-press); transform: translateY(1px); }
.sound-toggle.sound-off { color: var(--ink-soft); background: #efefef; }
.nav-cta {
  padding: 9px 20px; background: var(--ink); color: #fff;
  border-radius: var(--r-md); font-size: .8rem; font-weight: 700;
  letter-spacing: .5px; text-transform: uppercase; transition: var(--t);
}
.nav-cta:hover { background: var(--primary); transform: translateY(-1px); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px; transition: var(--t);
}

/* ── Containers & Utility ─────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--primary); margin-bottom: 20px;
}
.section-tag::before { content: ''; width: 20px; height: 1.5px; background: var(--primary); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--r-md);
  font-size: .88rem; font-weight: 700; letter-spacing: .3px;
  transition: var(--t); cursor: pointer; position: relative; overflow: hidden;
}
.btn-dark {
  background: var(--ink); color: #fff;
  box-shadow: 0 4px 14px rgba(20,16,32,.25);
}
.btn-dark:hover { background: var(--primary); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124,106,245,.35); }
.btn-amber {
  background: var(--amber); color: var(--ink);
  box-shadow: 0 4px 14px rgba(240,164,74,.3);
}
.btn-amber:hover { background: var(--amber-d); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid rgba(20,16,32,.18);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(124,106,245,.08); color: var(--primary);
  border: 1.5px solid rgba(124,106,245,.15);
}
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* ══════════════════════════════════════════════════════════ */
/*   HOME PAGE                                                */
/* ══════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh; padding-top: 68px;
  background: linear-gradient(135deg, #1e1740 0%, #120f24 100%);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.hero-with-bg #hero {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero-bg-image {
  position: absolute; inset: 0;
  background-image: url('../assets/ChatGPT Image Apr 5, 2026, 10_18_55 PM.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 1;
  opacity: 0.7;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 23, 64, 0.6) 0%, rgba(18, 15, 36, 0.7) 100%);
  z-index: 1.5;
}
#hero .hero-body {
  position: relative; z-index: 2;
}
.hero-deco-text {
  display: none;
}
.hero-body {
  flex: 1; display: flex; align-items: center; justify-content: center; padding: 0 48px;
}
.hero-left {
  padding: 100px 0 80px 0;
  display: flex; flex-direction: column; justify-content: center; max-width: 600px;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 28px;
}
.hero-eyebrow span { display: inline-block; width: 32px; height: 1px; background: rgba(255,255,255,.4); }
.hero-h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -.02em;
  color: #fff; margin-bottom: 32px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.hero-h1 em { font-style: italic; color: #fff; }
.hero-sub {
  font-size: .97rem; color: rgba(255,255,255,.65);
  line-height: 1.8; max-width: 400px; margin-bottom: 48px;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 68px; }
.hero-numbers {
  display: flex; gap: 0; border-top: 1px solid rgba(255,255,255,.1); padding-top: 30px;
}
.h-num { flex: 1; padding-right: 24px; border-right: 1px solid rgba(255,255,255,.1); margin-right: 24px; }
.h-num:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.h-num-val {
  font-family: 'Fraunces', serif; font-size: 2rem; font-weight: 900;
  color: #fff; line-height: 1; margin-bottom: 4px;
}
.h-num-val em { color: #fff; font-style: normal; }
.h-num-label {
  font-size: .7rem; font-weight: 500; letter-spacing: .5px;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}
.hero-right { display: none; }
.hero-img-block { display: none; }
.hero-img-block img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  opacity: .8;
}
.hero-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 35%, rgba(18,15,36,.75) 100%);
}
.hero-img-caption {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  color: rgba(255,255,255,.6); font-size: .72rem;
  font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}
.hero-img-placeholder {
  width: 100%; height: 100%; min-height: 400px;
  background: linear-gradient(135deg, #1e1740 0%, #120f24 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.hip-note {
  font-family: 'Fraunces', serif; font-size: 5rem; font-weight: 900;
  color: rgba(124,106,245,.25); font-style: italic;
}
.hip-text {
  font-size: .7rem; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,255,255,.2);
}
.hero-visualizer-strip {
  display: none;
}
.viz-label {
  display: none;
}
#visualizer { flex: 1; height: 34px; background: transparent; }

/* ── Ticker ───────────────────────────────────────────────── */
.ticker {
  background: var(--primary); color: rgba(255,255,255,.8);
  overflow: hidden; white-space: nowrap; padding: 10px 0;
}
.ticker-inner {
  display: inline-flex; animation: ticker-scroll 26s linear infinite;
}
.ticker-item {
  font-size: .68rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  padding: 0 28px; display: inline-flex; align-items: center; gap: 12px;
}
.ticker-item::after { content: '✦'; font-size: .45rem; opacity: .5; }
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Courses Preview ──────────────────────────────────────── */
#courses-preview { padding: 100px 0 80px; }
.courses-preview-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--r-xl); overflow: hidden; margin-top: 56px;
}
.cp-card {
  background: var(--cream); padding: 36px 28px;
  transition: var(--t-s); cursor: pointer; position: relative; overflow: hidden;
}
.cp-card::before {
  content: ''; position: absolute; inset: 0; background: var(--primary);
  transform: translateY(101%); transition: transform .4s var(--ease-out); z-index: 0;
}
.cp-card:hover::before { transform: translateY(0); }
.cp-card > * { position: relative; z-index: 1; }
.cp-num {
  font-family: 'Fraunces', serif; font-size: 3rem; font-weight: 900;
  color: rgba(124,106,245,.1); line-height: 1; margin-bottom: 18px; transition: color .4s;
}
.cp-card:hover .cp-num { color: rgba(255,255,255,.13); }
.cp-title {
  font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 700;
  color: var(--ink); margin-bottom: 10px; transition: color .3s;
}
.cp-desc { font-size: .82rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 22px; transition: color .3s; }
.cp-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--primary); border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px; transition: var(--t);
}
.cp-card:hover .cp-title, .cp-card:hover .cp-desc { color: rgba(255,255,255,.85); }
.cp-card:hover .cp-link { color: #fff; border-color: rgba(255,255,255,.5); }

/* ── Why Us (dark section) ────────────────────────────────── */
#why-us {
  padding: 90px 0 100px;
  background: var(--dark-section); color: #fff;
}
#why-us .section-tag { color: var(--amber); }
#why-us .section-tag::before { background: var(--amber); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 56px; }
.why-left h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.9rem,3.5vw,2.8rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 18px; color: #fff;
}
.why-left h2 em { font-style: italic; color: var(--amber); }
.why-left p { font-size: .93rem; line-height: 1.8; color: rgba(255,255,255,.48); margin-bottom: 32px; }
.why-features { display: flex; flex-direction: column; }
.wf-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,.07);
}
.wf-num {
  font-family: 'Fraunces', serif; font-size: 1.6rem; font-weight: 900;
  color: rgba(240,164,74,.2); line-height: 1; flex-shrink: 0; width: 36px;
}
.wf-text h4 { font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.wf-text p { font-size: .8rem; color: rgba(255,255,255,.4); line-height: 1.6; }
.why-right {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: rgba(255,255,255,.05);
  border-radius: var(--r-xl); overflow: hidden;
}
.wr-cell { background: var(--dark-mid); padding: 32px 24px; transition: background .3s; }
.wr-cell:hover { background: rgba(124,106,245,.12); }
.wr-cell-val {
  font-family: 'Fraunces', serif; font-size: 2.4rem; font-weight: 900;
  color: var(--amber); line-height: 1; margin-bottom: 8px;
}
.wr-cell-label { font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.36); line-height: 1.4; }

/* ── Register ─────────────────────────────────────────────── */
#register { padding: 100px 0 110px; background: var(--bg-warm); }
.register-grid {
  display: grid; grid-template-columns: 5fr 4fr;
  gap: 80px; align-items: start; margin-top: 56px;
}
.reg-info h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.9rem,3.5vw,2.8rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 16px;
}
.reg-info h2 em { font-style: italic; color: var(--primary); }
.reg-info p { font-size: .92rem; color: var(--ink-soft); line-height: 1.8; margin-bottom: 30px; }
.reg-perks { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.perk { display: flex; align-items: center; gap: 14px; font-size: .87rem; color: var(--ink-mid); }
.perk-icon {
  width: 30px; height: 30px; border-radius: 50%; background: var(--lavender);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; flex-shrink: 0; box-shadow: var(--s-raise);
}
.reg-form-box {
  background: var(--cream); border-radius: var(--r-xl);
  box-shadow: var(--s-card); border: 1px solid rgba(0,0,0,.05); overflow: hidden;
}
.form-header { background: var(--ink); padding: 26px 32px; color: #fff; }
.form-header h3 { font-family: 'Fraunces', serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 3px; }
.form-header p { font-size: .78rem; color: rgba(255,255,255,.45); }
.form-body { padding: 30px 32px; }
.fg { margin-bottom: 14px; }
.fg label {
  display: block; font-size: .7rem; font-weight: 700;
  letter-spacing: .8px; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px;
}
.fg input, .fg select {
  width: 100%; padding: 11px 14px;
  background: var(--bg); border-radius: var(--r-md);
  border: 1.5px solid rgba(0,0,0,.08);
  font-size: .87rem; color: var(--ink); transition: border-color .2s;
}
.fg input:focus, .fg select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124,106,245,.1);
}
.fg input::placeholder { color: rgba(0,0,0,.28); }
.fg select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 5 5-5' stroke='%238080a0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.btn-pay-full { width: 100%; justify-content: center; font-size: .9rem; padding: 14px; margin-top: 4px; }
.wa-link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; padding: 11px;
  background: #edfaf2; border-radius: var(--r-md);
  border: 1px solid rgba(37,211,102,.2);
  color: #1a8c47; font-size: .82rem; font-weight: 700; transition: var(--t);
}
.wa-link:hover { background: #d5f5e3; transform: translateY(-1px); }
.wa-icon { width: 16px; height: 16px; fill: #1a8c47; flex-shrink: 0; }

/* ── QR Modal ─────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(18,15,36,.6); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--t-s);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--cream); border-radius: 28px;
  box-shadow: 0 32px 80px rgba(0,0,0,.3);
  max-width: 360px; width: 90%; overflow: hidden;
  transform: translateY(24px) scale(.97); transition: var(--t-s);
}
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
.modal-top { background: var(--ink); padding: 26px 28px 18px; text-align: center; color: #fff; }
.modal-top h3 { font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 700; margin-bottom: 4px; }
.modal-top p { font-size: .78rem; color: rgba(255,255,255,.45); }
.modal-qr-area {
  padding: 26px 28px 20px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.qr-wrap {
  background: #fff; padding: 12px; border-radius: var(--r-lg);
  box-shadow: var(--s-card);
}
.qr-wrap img { width: 190px; height: 190px; border-radius: 6px; display: block; }
.modal-price {
  font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 900;
  color: var(--primary); line-height: 1;
}
.modal-note { font-size: .78rem; color: var(--ink-soft); text-align: center; }
.modal-footer { padding: 0 28px 26px; display: flex; gap: 10px; }
.modal-footer .btn { flex: 1; justify-content: center; }
.btn-close-modal { background: var(--bg); color: var(--ink); border: 1px solid rgba(0,0,0,.1); }
.btn-close-modal:hover { background: #eee; }

/* ── Success Modal ────────────────────────────────────────── */
.success-modal {
  max-width: 420px;
}

.success-modal .modal-top {
  background: linear-gradient(135deg, #1e1740 0%, #120f24 100%);
  padding: 40px 28px 28px;
}

.success-icon {
  font-size: 3.5rem;
  font-weight: 900;
  color: #4caf50;
  margin-bottom: 12px;
  animation: success-bounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes success-bounce {
  0% { transform: scale(0); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.success-modal h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 8px;
}

.success-modal > p {
  color: rgba(255,255,255,.7);
  font-size: .92rem;
  text-align: center;
  padding: 0 28px;
  margin-bottom: 28px;
}

.success-details {
  padding: 0 28px;
  margin-bottom: 28px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: .92rem;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row .label {
  color: #7c7398;
  font-weight: 600;
}

.detail-row .value {
  color: #141020;
  font-weight: 700;
}

.detail-row.amount {
  background: #f5f0eb;
  padding: 14px;
  margin: 0 -28px;
  padding-left: 28px;
  padding-right: 28px;
  border-bottom: none !important;
  border-radius: 12px;
  margin-left: -28px;
  margin-right: -28px;
}

.detail-row.amount .value {
  color: #7c6af5;
  font-size: 1.3rem;
}

.success-next-step {
  background: #e8f5e9;
  padding: 16px;
  border-radius: 12px;
  border-left: 4px solid #4caf50;
  margin: 0 28px 28px;
  font-size: .88rem;
}

.success-next-step p {
  font-weight: 700;
  color: #2e7d32;
  margin-bottom: 10px;
}

.success-next-step ol {
  margin-left: 20px;
  color: #2e7d32;
}

.success-next-step li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.success-modal .modal-footer {
  flex-direction: column;
  gap: 12px;
}

.success-modal .modal-footer .btn {
  flex: 1;
}

/* ── Form Error & States ──────────────────────────────────── */
.form-error {
  background: #fee;
  color: #c33;
  padding: 12px;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 600;
  border: 1px solid #f44336;
}

.form-error.success {
  background: #e8f5e9;
  color: #2e7d32;
  border-color: #4caf50;
}

#register-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#register-btn.loading {
  position: relative;
}

#register-btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  right: 16px;
  margin-top: -8px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

/* ══════════════════════════════════════════════════════════ */
/*   COURSES PAGE                                             */
/* ══════════════════════════════════════════════════════════ */
.page-hero {
  padding: 120px 0 70px; background: var(--dark-section); color: #fff;
  position: relative; overflow: hidden;
}
.ph-deco {
  position: absolute; right: -30px; top: 50%; transform: translateY(-50%);
  font-family: 'Fraunces', serif; font-size: 18vw; font-weight: 900; font-style: italic;
  color: rgba(255,255,255,.025); pointer-events: none; user-select: none;
}
.page-hero .section-tag { color: var(--amber); }
.page-hero .section-tag::before { background: var(--amber); }
.page-hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -.02em; max-width: 560px;
}
.page-hero h1 em { font-style: italic; color: var(--amber); }
.page-hero p { font-size: .93rem; color: rgba(255,255,255,.48); max-width: 420px; margin-top: 14px; line-height: 1.8; }

/* Tabs */
.courses-tabs-wrapper { padding: 80px 0 100px; }
.tab-nav {
  display: flex; gap: 2px;
  background: rgba(0,0,0,.06); border-radius: var(--r-pill);
  padding: 4px; width: fit-content; margin-bottom: 56px;
}
.tab-btn {
  padding: 10px 22px; border-radius: var(--r-pill);
  font-size: .78rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--ink-soft); transition: var(--t); background: transparent;
}
.tab-btn.active { background: var(--ink); color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.tab-btn:hover:not(.active) { color: var(--ink); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.course-block { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.crs-card {
  background: var(--cream); border-radius: var(--r-xl);
  border: 1px solid rgba(0,0,0,.06); padding: 30px;
  transition: var(--t-s); position: relative; overflow: hidden;
}
.crs-card::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--primary); transform: scaleY(0); transform-origin: bottom;
  transition: transform .32s var(--ease-out);
}
.crs-card:hover { box-shadow: var(--s-card); transform: translateY(-3px); }
.crs-card:hover::after { transform: scaleY(1); }
.crs-badge {
  display: inline-block; padding: 4px 12px; border-radius: var(--r-pill);
  font-size: .66rem; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; margin-bottom: 16px;
}
.badge-basic    { background: #e8f4fd; color: #2980b9; }
.badge-advanced { background: #fef0e8; color: #c0392b; border: 1px solid rgba(192,57,43,.15); }
.badge-recorded { background: #edfaf2; color: #1a8c47; }
.badge-live     { background: var(--lavender); color: var(--primary-d); border: 1px solid rgba(124,106,245,.2); }
.crs-name {
  font-family: 'Fraunces', serif; font-size: 1.35rem; font-weight: 700;
  color: var(--ink); margin-bottom: 5px;
}
.crs-duration { font-size: .77rem; color: var(--ink-soft); margin-bottom: 16px; }
.crs-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.crs-tag {
  padding: 4px 11px; background: var(--bg);
  border: 1px solid rgba(0,0,0,.07); border-radius: var(--r-pill);
  font-size: .72rem; color: var(--ink-soft); font-weight: 500;
}
.crs-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; border-top: 1px solid rgba(0,0,0,.07);
}
.crs-price { font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 900; color: var(--ink); }
.crs-price-sub { font-size: .7rem; color: var(--ink-soft); margin-top: 2px; }
.curriculum-strip {
  background: var(--dark-section); border-radius: var(--r-xl);
  padding: 32px; margin-bottom: 22px;
  display: flex; align-items: center; gap: 36px;
}
.curr-label {
  font-size: .68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); white-space: nowrap; flex-shrink: 0;
}
.curr-items { display: flex; flex-wrap: wrap; gap: 7px; }
.curr-item {
  padding: 5px 13px; background: rgba(255,255,255,.07); border-radius: var(--r-pill);
  font-size: .74rem; color: rgba(255,255,255,.6); font-weight: 500;
}

/* ══════════════════════════════════════════════════════════ */
/*   MENTORS PAGE                                             */
/* ══════════════════════════════════════════════════════════ */
.mentors-section { padding: 72px 0 100px; }

/* Featured mentor */
.mentor-featured {
  display: grid; grid-template-columns: 1fr 1.2fr;
  background: var(--dark-section); border-radius: var(--r-xl); overflow: hidden;
  margin-bottom: 3px;
}
.mf-img { position: relative; min-height: 480px; overflow: hidden; }
.mf-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.mf-img-placeholder {
  width: 100%; height: 100%; min-height: 480px;
  background: linear-gradient(135deg, #2a2445 0%, #1a1030 100%);
  display: flex; align-items: center; justify-content: center;
}
.mf-initials {
  font-family: 'Fraunces', serif; font-size: 8rem; font-weight: 900;
  color: rgba(124,106,245,.25); font-style: italic;
}
.mf-info { padding: 52px 44px; display: flex; flex-direction: column; justify-content: center; }
.mf-role {
  font-size: .68rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.mf-name {
  font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 900;
  color: #fff; line-height: 1.05; margin-bottom: 18px;
}
.mf-quote {
  font-family: 'Fraunces', serif; font-size: 1rem; font-style: italic;
  color: rgba(255,255,255,.48); line-height: 1.7;
  border-left: 2px solid var(--primary); padding-left: 18px; margin-bottom: 28px;
}
.mf-stats { display: flex; gap: 28px; margin-bottom: 28px; }
.ms-val {
  font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 900;
  color: var(--amber); line-height: 1; margin-bottom: 3px;
}
.ms-label {
  font-size: .68rem; font-weight: 500; color: rgba(255,255,255,.36);
  text-transform: uppercase; letter-spacing: .5px;
}
.mf-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.mf-tag {
  padding: 5px 14px; background: rgba(255,255,255,.07); border-radius: var(--r-pill);
  font-size: .74rem; color: rgba(255,255,255,.5); font-weight: 500;
}

/* Sub mentors grid */
.mentors-sub-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px;
}
.mentor-card-v2 { background: var(--cream); overflow: hidden; transition: var(--t-s); }
.mentors-sub-grid .mentor-card-v2:first-child { border-radius: 0 0 0 var(--r-xl); }
.mentors-sub-grid .mentor-card-v2:last-child  { border-radius: 0 0 var(--r-xl) 0; }

.mc2-img {
  height: 260px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--lavender), #f3eeff);
}
.mc2-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform .5s var(--ease-out);
}
.mentor-card-v2:hover .mc2-img img { transform: scale(1.04); }
.mc2-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--lavender) 0%, #d8d0ff 100%);
}
.mc2-initials-sm {
  font-family: 'Fraunces', serif; font-size: 4.5rem; font-weight: 900;
  color: rgba(124,106,245,.3); font-style: italic;
}
.mc2-body { padding: 22px 24px 28px; }
.mc2-role {
  font-size: .66rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary); margin-bottom: 5px;
}
.mc2-name {
  font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 700;
  color: var(--ink); margin-bottom: 10px;
}
.mc2-bio { font-size: .81rem; color: var(--ink-soft); line-height: 1.65; margin-bottom: 14px; }
.mc2-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mc2-tag {
  padding: 4px 10px; background: var(--lavender); border-radius: var(--r-pill);
  font-size: .68rem; color: var(--primary-d); font-weight: 600;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  padding: 80px 0; background: var(--amber-pale); text-align: center;
}
.cta-banner h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; color: var(--ink); margin-bottom: 12px;
}
.cta-banner h2 em { font-style: italic; color: var(--amber-d); }
.cta-banner p { font-size: .93rem; color: var(--ink-soft); max-width: 420px; margin: 0 auto 30px; line-height: 1.8; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────────── */
footer { background: var(--dark-section); color: rgba(255,255,255,.5); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 56px; margin-bottom: 48px; }
.f-brand .nav-logo { color: rgba(255,255,255,.88); margin-bottom: 14px; }
.f-brand p { font-size: .83rem; line-height: 1.8; }
.footer-col h5 {
  font-size: .68rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.88); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: .83rem; color: rgba(255,255,255,.38);
  margin-bottom: 10px; transition: var(--t);
}
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .74rem; color: rgba(255,255,255,.22);
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .courses-preview-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid { gap: 50px; }
  .mentor-featured { grid-template-columns: 1fr; }
  .mf-img { min-height: 320px; }
}
@media (max-width: 768px) {
  .container { padding: 0 22px; }
  .navbar { padding: 0 22px; }
  .nav-center {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; background: var(--bg); padding: 18px 22px;
    border-bottom: 1px solid rgba(0,0,0,.07);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: none; gap: 4px;
  }
  .nav-center.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .hero-body { grid-template-columns: 1fr; }
  .hero-right { order: -1; }
  .hero-img-block { min-height: 250px; }
  .hero-left { padding: 44px 22px 36px; border-right: none; border-bottom: 1px solid rgba(0,0,0,.07); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-right { grid-template-columns: repeat(2,1fr); }
  .register-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-hero { padding: 98px 0 48px; }
  .tab-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .course-block { grid-template-columns: 1fr; }
  .curriculum-strip { flex-direction: column; gap: 16px; }
  .mentors-sub-grid { grid-template-columns: 1fr; }
  .mentors-sub-grid .mentor-card-v2:first-child,
  .mentors-sub-grid .mentor-card-v2:last-child { border-radius: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .mf-info { padding: 30px 22px; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 2.1rem; }
  .courses-preview-grid { grid-template-columns: 1fr; }
  .hero-numbers { flex-wrap: wrap; gap: 16px; }
  .h-num { min-width: 100%; border-right: none; border-bottom: 1px solid rgba(0,0,0,.07); padding-bottom: 16px; margin-bottom: 0; padding-right: 0; margin-right: 0; }
  .h-num:last-child { border-bottom: none; padding-bottom: 0; }
  .cta-btns { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-btns .btn { width: 100%; justify-content: center; }
  .mf-stats { flex-wrap: wrap; gap: 18px; }
  
  /* Additional responsiveness for Courses page */
  .courses-tabs-wrapper { padding: 40px 0 60px; }
  .tab-nav { max-width: 100%; margin-bottom: 32px; border-radius: var(--r-md); overflow-x: auto; justify-content: flex-start; }
  .tab-btn { flex-shrink: 0; white-space: nowrap; }
  .crs-card { padding: 20px; }
  .crs-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .crs-footer .btn { width: 100%; justify-content: center; }
  .curriculum-strip { padding: 20px; }
}

/* ══════════════════════════════════════════════════════════ */
/*   PHYSICS FLOATING NOTES                                   */
/* ══════════════════════════════════════════════════════════ */

.floating-note {
  position: fixed;
  pointer-events: none;
  z-index: 1;
  font-family: 'Georgia', serif;
  will-change: transform, opacity;
  user-select: none;
  line-height: 1;
  filter: blur(0);
  transition: filter 0.1s;
}

/* Burst notes from click */
.burst-note {
  position: fixed;
  pointer-events: none;
  z-index: 10;
  font-family: 'Georgia', serif;
  will-change: transform, opacity;
  user-select: none;
}

/* ══════════════════════════════════════════════════════════ */
/*   3D MUSIC ORB — HERO                                      */
/* ══════════════════════════════════════════════════════════ */

.hero-orb-wrap {
  background: #0c0a1a !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

/* Ambient background glow */
.hero-orb-wrap::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(124,106,245,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: orb-bg-pulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orb-bg-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%       { transform: scale(1.15); opacity: 1; }
}

.orb-scene {
  perspective: 900px;
  perspective-origin: 50% 50%;
  width: min(340px, 80vw);
  height: min(340px, 80vw);
  cursor: pointer;
  position: relative;
  z-index: 2;
  /* tilt on mouse: applied via JS */
  transform-style: preserve-3d;
}

.orb-body {
  width: 100%; height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(0deg) rotateX(0deg);
  transition: transform 0.12s cubic-bezier(0.25,0.8,0.25,1);
  will-change: transform;
}

/* Spin keyframe triggered by JS class */
.orb-body.orb-spinning {
  animation: orb-full-spin 0.75s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes orb-full-spin {
  0%   { transform: rotateX(var(--ox, 0deg)) rotateY(var(--oy, 0deg)); }
  50%  { transform: rotateX(calc(var(--ox, 0deg) * 0.3)) rotateY(calc(var(--oy, 0deg) + 180deg)); }
  100% { transform: rotateX(0deg) rotateY(360deg); }
}

/* Canvas layer — ripples & sphere surface */
#orb-canvas {
  position: absolute; inset: 0;
  width: 100% !important;
  height: 100% !important;
  border-radius: 50%;
  display: block;
}

/* Glyph overlay — the 𝄞 note */
.orb-glyph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: clamp(5rem, 15vw, 7.5rem);
  font-weight: 900; font-style: italic;
  color: rgba(255,255,255,0.93);
  text-shadow:
    0 0 30px rgba(124,106,245,0.9),
    0 0 60px rgba(124,106,245,0.5),
    0 0 100px rgba(124,106,245,0.25),
    0 3px 8px rgba(0,0,0,0.6);
  pointer-events: none; user-select: none; z-index: 3;
  animation: glyph-breathe 3.5s ease-in-out infinite;
  transform-style: preserve-3d;
  /* subtle z-translation for 3D pop */
  transform: translateZ(20px);
}
@keyframes glyph-breathe {
  0%, 100% { text-shadow: 0 0 30px rgba(124,106,245,.9), 0 0 60px rgba(124,106,245,.5), 0 0 100px rgba(124,106,245,.2), 0 3px 8px rgba(0,0,0,.6); }
  50%       { text-shadow: 0 0 50px rgba(124,106,245,1),  0 0 90px rgba(124,106,245,.7), 0 0 140px rgba(124,106,245,.35), 0 3px 8px rgba(0,0,0,.6); }
}

/* Specular highlight ring — gives sphere curvature illusion */
.orb-spec {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    ellipse 55% 50% at 32% 28%,
    rgba(255,255,255,0.08) 0%,
    transparent 65%
  );
  pointer-events: none; z-index: 4;
}

/* Edge shadow ring */
.orb-shadow {
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow:
    inset 0 0 60px rgba(0,0,0,0.6),
    inset 0 -20px 40px rgba(0,0,0,0.4),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(124,106,245,0.15);
  pointer-events: none; z-index: 5;
}

/* Hint text */
.orb-hint {
  position: absolute; bottom: -36px; left: 50%;
  transform: translateX(-50%);
  font-size: .65rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  white-space: nowrap; pointer-events: none;
  transition: color .3s;
}
.orb-scene:hover .orb-hint { color: rgba(255,255,255,0.45); }

/* Orbit ring decoration */
.orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(124,106,245,0.15);
  pointer-events: none;
  animation: orb-ring-rotate 12s linear infinite;
  transform-style: preserve-3d;
}
.orb-ring-1 {
  inset: -18px;
  animation-duration: 14s;
  border-color: rgba(124,106,245,0.12);
}
.orb-ring-2 {
  inset: -34px;
  animation-duration: 22s;
  animation-direction: reverse;
  border-color: rgba(240,164,74,0.1);
  border-style: dashed;
}
@keyframes orb-ring-rotate {
  from { transform: rotateZ(0deg) rotateX(70deg); }
  to   { transform: rotateZ(360deg) rotateX(70deg); }
}

