/* =========================================================
   Mudit Gupta Stock Trading Institute — mgstionline.com
   Single-page, scroll-animated, mobile-first stylesheet
   ========================================================= */

:root {
  /* Brand palette */
  --green: #16a34a;
  --green-light: #22c55e;
  --green-soft: #dcfce7;
  --amber: #f59e0b;
  --amber-soft: #fef3c7;
  --navy: #0b1220;
  --navy-2: #111a2e;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f9fc;
  --bg-cream: #fffcf5;
  --red: #ef4444;

  /* Pastels (cute accents) */
  --mint: #c7f9cc;
  --peach: #ffd6a5;
  --lavender: #e4c1f9;
  --sky: #bde0fe;
  --lemon: #fdffb6;
  --rose: #ffc8dd;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 25px 60px rgba(15, 23, 42, 0.14);

  --font-head: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, -apple-system, sans-serif;

  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea { font: inherit; }
section { scroll-margin-top: var(--header-h); }

h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 32px); }

.highlight {
  background: linear-gradient(120deg, var(--green) 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--green), var(--amber));
  z-index: 1001; transition: width 0.1s linear;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 800; font-size: 15px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.6s;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: linear-gradient(135deg, var(--green) 0%, #15803d 100%); color: #fff; box-shadow: 0 10px 25px rgba(22, 163, 74, 0.35); }
.btn-primary:hover { box-shadow: 0 16px 35px rgba(22, 163, 74, 0.45); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 2px solid rgba(255,255,255,0.25); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-emoji { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .btn-emoji { transform: translateX(4px) rotate(10deg) scale(1.15); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 1000;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}
.header.scrolled { background: rgba(255,255,255,0.86); backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(15,23,42,0.08); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; color: #fff; transition: color 0.35s; }
.header.scrolled .brand { color: var(--ink); }
.brand-logo { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--green), #0ea5e9); display: grid; place-items: center; padding: 7px; box-shadow: 0 8px 20px rgba(22,163,74,0.35); flex-shrink: 0; }
.brand-logo svg .c1 { fill: rgba(255,255,255,0.55); }
.brand-logo svg .c2 { fill: #fff; }
.brand-logo svg .line { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.brand-sub { font-size: 11px; letter-spacing: 0.08em; opacity: 0.85; font-weight: 700; }
.brand-sub em { font-style: normal; color: var(--amber); }

.nav { display: flex; align-items: center; gap: 18px; }
.nav-list { display: flex; gap: 4px; }
.nav-link {
  display: block; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  color: rgba(255,255,255,0.85); position: relative; transition: color 0.3s, background 0.3s;
}
.nav-link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: #fff; }
.header.scrolled .nav-link { color: var(--ink-2); }
.header.scrolled .nav-link.active { color: var(--green); }
.header.scrolled .nav-link::after { background: var(--green); }

.hamburger { display: none; width: 44px; height: 44px; border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: rgba(255,255,255,0.12); transition: background 0.3s; }
.hamburger span { display: block; width: 22px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform 0.3s var(--ease), opacity 0.3s, background 0.3s; }
.header.scrolled .hamburger { background: var(--bg-soft); }
.header.scrolled .hamburger span { background: var(--ink); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px; color: #fff; overflow: hidden;
  background: radial-gradient(1200px 600px at 80% -10%, #1e3a5f 0%, transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, #0d1f33 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; animation: blobMove 14s ease-in-out infinite alternate; }
.blob-1 { width: 420px; height: 420px; background: #16a34a; top: -120px; left: -120px; }
.blob-2 { width: 380px; height: 380px; background: #0ea5e9; bottom: -140px; right: 5%; animation-delay: -5s; }
.blob-3 { width: 260px; height: 260px; background: #f59e0b; top: 30%; right: 35%; opacity: 0.3; animation-delay: -9s; }
@keyframes blobMove { 0% { transform: translate(0,0) scale(1); } 100% { transform: translate(40px, 30px) scale(1.15); } }
.grid-overlay {
  position: absolute; inset: 0; opacity: 0.08;
  background-image: linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.candles { position: absolute; inset: 0; }
.candle {
  position: absolute; left: var(--x); bottom: -120px; width: 10px; height: var(--h); border-radius: 3px;
  animation: candleRise 12s linear infinite; animation-delay: var(--d); opacity: 0;
}
.candle::before { content: ''; position: absolute; left: 50%; top: -14px; bottom: -14px; width: 2px; transform: translateX(-50%); background: inherit; opacity: 0.8; }
.candle.up { background: var(--green-light); box-shadow: 0 0 18px rgba(34,197,94,0.6); }
.candle.down { background: var(--red); box-shadow: 0 0 18px rgba(239,68,68,0.5); }
@keyframes candleRise {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.55; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-120vh) rotate(8deg); opacity: 0; }
}

.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18); font-weight: 700; font-size: 13px;
  backdrop-filter: blur(6px); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7);} 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0);} 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0);} }

.hero-title { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; margin-bottom: 20px; }
.hero-title .highlight { background: linear-gradient(120deg, #4ade80, #fbbf24); -webkit-background-clip: text; background-clip: text; }
.typewriter { color: var(--amber); }
.cursor { color: var(--amber); animation: blink 1s steps(2) infinite; font-weight: 300; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(255,255,255,0.8); max-width: 560px; margin-bottom: 30px; }
.hero-sub strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; padding-left: 16px; border-left: 3px solid var(--amber); }
.stat-num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; line-height: 1; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 600; margin-top: 4px; }

/* Hero visual */
.hero-visual { position: relative; width: min(420px, 100%); margin-inline: auto; }
.chart-card {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 24px; padding: 20px; backdrop-filter: blur(14px); box-shadow: 0 30px 70px rgba(0,0,0,0.4);
}
.chart-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-weight: 700; font-size: 14px; }
.chart-card-title { display: flex; align-items: center; gap: 8px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: pulseRed 1.4s infinite; }
@keyframes pulseRed { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.6);} 50% { box-shadow: 0 0 0 7px rgba(239,68,68,0);} }
.chart-card-change { color: #4ade80; }
.chart-svg { width: 100%; height: 160px; }
.chart-line { stroke-dasharray: 800; stroke-dashoffset: 800; animation: draw 3s var(--ease) forwards 0.6s; }
.chart-area { opacity: 0; animation: fadeIn 1.2s forwards 2.6s; }
.chart-pulse { opacity: 0; animation: fadeIn 0.3s forwards 3.4s, pulseDot 1.6s infinite 3.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes pulseDot { 0%,100% { r: 5; } 50% { r: 8; } }
.chart-card-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 10px; }
.mini { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; }
.mini-label { font-size: 11px; color: rgba(255,255,255,0.6); font-weight: 700; }
.mini-val { font-weight: 800; font-size: 14px; }
.mini-val.green { color: #4ade80; }
.mini-val.red { color: #f87171; }

.mini-card {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); font-size: 13px; white-space: nowrap;
}
.mini-card strong { display: block; font-size: 13px; }
.mini-card span { color: var(--muted); font-weight: 600; font-size: 12px; }
.mini-card img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.mini-card .emoji { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--bg-soft); font-size: 20px; }
/* positioned over empty chart area so they never cover the card's text */
.mc-1 { top: 64px; left: -44px; }
.mc-2 { bottom: 104px; right: -44px; }
.mc-3 { bottom: -34px; left: 24px; }

.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 7s ease-in-out infinite; }
.float-fast { animation: float 4.5s ease-in-out infinite 0.6s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); opacity: 0.7; }
.mouse { display: block; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.6); border-radius: 14px; position: relative; }
.wheel { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: #fff; transform: translateX(-50%); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translate(-50%, 0);} 100% { opacity: 0; transform: translate(-50%, 14px);} }

/* ---------- Ticker ---------- */
.ticker { background: var(--navy); color: #fff; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.ticker-track { display: flex; gap: 48px; width: max-content; padding: 12px 0; animation: ticker 40s linear infinite; font-weight: 700; font-size: 13.5px; letter-spacing: 0.04em; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; gap: 8px; align-items: center; }
.ticker .up { color: #4ade80; }
.ticker .down { color: #f87171; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
/* overflow-x clip: elements waiting to slide in from the sides must never widen the page on mobile */
.section { padding: 96px 0; position: relative; overflow-x: hidden; overflow-x: clip; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; padding: 6px 16px; border-radius: 999px; background: var(--green-soft); color: var(--green);
  font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px;
}
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 14px; }
.section-desc { color: var(--muted); font-size: 1.05rem; }

/* ---------- About ---------- */
.about { background: var(--bg-cream); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-content p { color: var(--ink-2); margin-bottom: 16px; font-size: 1.05rem; }
.about-content .section-title { text-align: left; }
.check-list { margin: 20px 0 28px; display: grid; gap: 10px; font-weight: 700; color: var(--ink-2); }

.mentor-frame { position: relative; width: min(360px, 100%); aspect-ratio: 1; margin: 0 auto; display: grid; place-items: center; }
.mentor-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--green), var(--amber), #0ea5e9, var(--green));
  animation: spin 10s linear infinite;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 8px), #000 calc(100% - 7px));
}
@keyframes spin { to { transform: rotate(360deg); } }
.mentor-img { width: 84%; height: 84%; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.mentor-badge {
  position: absolute; padding: 8px 14px; border-radius: 999px; background: #fff; font-weight: 800; font-size: 13px;
  box-shadow: var(--shadow); white-space: nowrap; animation: float 5s ease-in-out infinite;
}
.badge-a { top: 6%; right: -6%; animation-delay: -1s; }
.badge-b { bottom: 10%; left: -8%; animation-delay: -2.5s; }
.badge-c { bottom: -4%; right: 4%; animation-delay: -4s; }

/* ---------- Why / Features ---------- */
.why { background: var(--bg); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 30px 26px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; margin-bottom: 18px; transition: transform 0.4s var(--ease); }
.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.1); }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 15px; }
.bg-mint { background: var(--mint); } .bg-peach { background: var(--peach); } .bg-lavender { background: var(--lavender); }
.bg-sky { background: var(--sky); } .bg-lemon { background: var(--lemon); } .bg-rose { background: var(--rose); }

/* ---------- Modules ---------- */
.modules { background: var(--bg-soft); }
.module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.module-card {
  position: relative; padding: 30px 26px 26px; border-radius: var(--radius); background: #fff; overflow: hidden;
  box-shadow: var(--shadow);
}
.module-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--green), var(--amber)); transform: scaleY(0); transform-origin: top; transition: transform 0.4s var(--ease); }
.module-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.module-card:hover::before { transform: scaleY(1); }
.module-num { position: absolute; top: 14px; right: 18px; font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--line); line-height: 1; }
.module-icon { font-size: 34px; margin-bottom: 12px; }
.module-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.module-card ul { display: grid; gap: 8px; }
.module-card li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.module-card li::before { content: '▸'; position: absolute; left: 4px; color: var(--green); font-weight: 900; }

.bonus-strip {
  margin-top: 36px; display: flex; align-items: center; gap: 18px; padding: 20px 26px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--amber-soft), #fff7ed); border: 2px dashed var(--amber); font-size: 15.5px;
}
.bonus-strip > div { flex: 1; }
.bonus-emoji { font-size: 34px; animation: wiggle 2.5s ease-in-out infinite; }
@keyframes wiggle { 0%,100% { transform: rotate(-8deg);} 50% { transform: rotate(8deg);} }

/* ---------- Audience ---------- */
.audience { background: #fff; }
.audience-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.audience-card {
  text-align: center; padding: 26px 14px; border-radius: var(--radius); background: var(--bg-soft);
}
.audience-card:hover { transform: translateY(-6px) rotate(-1.5deg); background: var(--green-soft); }
.audience-emoji { display: block; font-size: 38px; margin-bottom: 10px; transition: transform 0.4s var(--ease); }
.audience-card:hover .audience-emoji { transform: scale(1.25); }
.audience-card h4 { font-size: 1rem; margin-bottom: 6px; }
.audience-card p { font-size: 13px; color: var(--muted); font-weight: 600; }

/* ---------- Steps ---------- */
.steps { background: var(--navy); color: #fff; overflow: hidden; }
.steps .section-tag { background: rgba(255,255,255,0.1); color: #fbbf24; }
.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 20px; align-items: center; }
.step { position: relative; text-align: center; padding: 36px 24px 28px; border-radius: var(--radius); background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); }
.step:hover { transform: translateY(-6px); background: rgba(255,255,255,0.09); }
.step-num { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--amber)); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); box-shadow: 0 8px 20px rgba(22,163,74,0.4); }
.step-emoji { font-size: 40px; display: block; margin-bottom: 10px; }
.step h4 { font-size: 1.15rem; margin-bottom: 6px; }
.step p { color: rgba(255,255,255,0.7); font-size: 14.5px; }
.step-arrow { font-size: 28px; color: var(--amber); }
.step-arrow.revealed { animation: nudge 1.5s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0);} 50% { transform: translateX(6px);} }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-cream); }
.testi-slider { position: relative; display: flex; align-items: center; gap: 12px; }
.testi-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 4px 20px; scrollbar-width: none; flex: 1; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; background: #fff; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; position: relative; transition: transform 0.35s var(--ease);
}
.testi-card:hover { transform: translateY(-6px); }
.testi-card::before { content: '"'; position: absolute; top: 10px; right: 22px; font-family: Georgia, serif; font-size: 80px; color: var(--green-soft); line-height: 1; }
.stars { color: var(--amber); letter-spacing: 2px; font-size: 18px; }
.testi-card p { color: var(--ink-2); font-size: 15px; flex: 1; }
.testi-user { display: flex; align-items: center; gap: 12px; }
.testi-user .avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--av, var(--bg-soft)); font-weight: 800; font-family: var(--font-head); flex-shrink: 0; }
.testi-user strong { display: block; font-size: 14px; }
.testi-user span:not(.avatar) { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.testi-btn { width: 44px; height: 44px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); font-size: 26px; display: grid; place-items: center; color: var(--ink); transition: transform 0.25s, background 0.25s; flex-shrink: 0; }
.testi-btn:hover { background: var(--green); color: #fff; transform: scale(1.08); }
.testi-dots { display: flex; justify-content: center; gap: 8px; margin-top: 8px; }
.testi-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--line); transition: width 0.3s var(--ease), background 0.3s; }
.testi-dots button.active { width: 28px; border-radius: 6px; background: var(--green); }

/* ---------- Enroll / Pricing + UPI ---------- */
.enroll { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.enroll-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: stretch; max-width: 980px; margin: 0 auto; }

.price-card {
  position: relative; background: var(--navy); color: #fff; border-radius: 28px; padding: 40px 36px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.price-card::before { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(34,197,94,0.35), transparent 70%); top: -100px; right: -100px; }
.price-ribbon { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--amber); color: var(--navy); font-weight: 800; font-size: 13px; margin-bottom: 16px; animation: float 3s ease-in-out infinite; }
.price-card h3 { font-size: 1.5rem; margin-bottom: 18px; }
.price { display: flex; flex-direction: column; margin-bottom: 24px; }
.price-old { color: rgba(255,255,255,0.5); text-decoration: line-through; font-weight: 700; font-size: 1.1rem; }
.price-new { font-family: var(--font-head); font-size: 3.2rem; font-weight: 700; line-height: 1; color: #4ade80; }
.price-note { font-size: 13px; color: rgba(255,255,255,0.65); font-weight: 600; margin-top: 6px; }
.price-list { display: grid; gap: 10px; font-weight: 600; font-size: 15px; margin-bottom: 26px; }
.seats-bar { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.12); overflow: hidden; margin-bottom: 8px; }
.seats-bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--green), var(--amber)); transition: width 1.6s var(--ease) 0.4s; }
.revealed .seats-bar span { width: var(--w); }
.seats small { color: rgba(255,255,255,0.75); font-weight: 700; }

.upi-card { background: #fff; border-radius: 28px; padding: 28px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line); }
.upi-head { text-align: center; }
.upi-title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; }
.upi-apps { font-size: 12.5px; color: var(--muted); font-weight: 700; }
.qr-wrap { position: relative; width: min(280px, 100%); margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.qr-img { width: 100%; }
.qr-scan-line { position: absolute; left: 8%; right: 8%; height: 3px; background: linear-gradient(90deg, transparent, var(--green), transparent); top: 20%; animation: scan 2.6s ease-in-out infinite; box-shadow: 0 0 14px rgba(34,197,94,0.8); }
@keyframes scan { 0%,100% { top: 22%; } 50% { top: 78%; } }
.upi-id { display: flex; align-items: center; gap: 10px; background: var(--bg-soft); border-radius: 14px; padding: 10px 12px; }
.upi-id-label { font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: 0.08em; }
.upi-id code { flex: 1; font-family: ui-monospace, Menlo, monospace; font-weight: 700; font-size: 14px; color: var(--ink); overflow-wrap: anywhere; }
.copy-btn { padding: 6px 12px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 12.5px; font-weight: 800; transition: background 0.25s, transform 0.25s; white-space: nowrap; }
.copy-btn:hover { background: var(--green); transform: scale(1.05); }
.copy-btn.copied { background: var(--green); }
.upi-note { text-align: center; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.upi-note a { color: var(--green); font-weight: 800; text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { background: #fff; }
.accordion { display: grid; gap: 12px; }
.acc-item { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.acc-item.open { box-shadow: var(--shadow); border-color: var(--green-soft); }
.acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; text-align: left; font-weight: 800; font-size: 15.5px; }
.acc-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-size: 20px; font-weight: 800; transition: transform 0.35s var(--ease), background 0.3s; flex-shrink: 0; }
.acc-item.open .acc-icon { transform: rotate(45deg); background: var(--green); color: #fff; }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc-body p { padding: 0 22px 20px; color: var(--ink-2); font-size: 15px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.8); padding: 64px 0 28px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14.5px; max-width: 380px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-links a {
  display: inline-block; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 700;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease), border-color 0.25s;
}
.footer-links a:hover { background: rgba(74,222,128,0.12); border-color: rgba(74,222,128,0.4); color: #4ade80; transform: translateY(-2px); }
.footer-links .footer-cta { background: var(--green); border-color: var(--green); color: #fff; }
.footer-links .footer-cta:hover { background: #4ade80; border-color: #4ade80; color: var(--navy); }
.disclaimer { padding-top: 24px; font-size: 12.5px; color: rgba(255,255,255,0.55); text-align: center; }
.disclaimer strong { color: rgba(255,255,255,0.8); }
.disclaimer .copy { margin-top: 12px; font-weight: 700; }
.disclaimer .powered { margin-top: 6px; font-weight: 600; }
.disclaimer .powered a { color: #4ade80; font-weight: 800; border-bottom: 1px dashed rgba(74,222,128,0.5); transition: color 0.25s, border-color 0.25s; }
.disclaimer .powered a:hover { color: #fbbf24; border-color: #fbbf24; }

/* ---------- Floating elements ---------- */
.back-top {
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: #fff;
  font-size: 20px; font-weight: 800; box-shadow: var(--shadow-lg); z-index: 900; opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease), background 0.3s;
}
.back-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-top:hover { background: var(--green); }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 20px); background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease); z-index: 1100; box-shadow: var(--shadow-lg);
  max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Scroll reveal ----------
   Elements start hidden and animate in when they enter the viewport.
   Once revealed, cards switch to short hover transitions so they feel snappy. */
.reveal { opacity: 0; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--delay, 0ms); }
.reveal[data-reveal="fade-up"] { transform: translateY(40px); }
.reveal[data-reveal="fade-right"] { transform: translateX(-50px); }
.reveal[data-reveal="fade-left"] { transform: translateX(50px); }
.reveal[data-reveal="zoom-in"] { transform: scale(0.85); }
.reveal[data-reveal="flip"] { transform: perspective(800px) rotateY(-30deg) translateY(20px); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal.revealed.feature-card,
.reveal.revealed.module-card,
.reveal.revealed.audience-card,
.reveal.revealed.step,
.reveal.revealed.acc-item {
  transition-delay: 0ms;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s, border-color 0.35s;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid, .module-grid { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .testi-card { flex-basis: calc((100% - 20px) / 2); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .stat { text-align: left; }
  .hero-visual { margin: 44px auto 40px; }
  .mc-1 { left: -8px; }
  .mc-2 { right: -8px; }
  .about-grid, .enroll-grid { grid-template-columns: 1fr; }
  .about-content .section-title { text-align: center; }
  .about-content { text-align: center; }
  .check-list { justify-items: center; }
  .footer-grid { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand .brand { justify-content: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .nav {
    position: fixed; top: var(--header-h); left: 12px; right: 12px; flex-direction: column; align-items: stretch; gap: 10px;
    background: #fff; color: var(--ink); border-radius: 20px; padding: 16px; box-shadow: var(--shadow-lg);
    transform: translateY(-16px) scale(0.98); opacity: 0; pointer-events: none; transition: transform 0.35s var(--ease), opacity 0.3s;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-link, .header.scrolled .nav-link { color: var(--ink-2); padding: 12px 16px; font-size: 15.5px; border-radius: 12px; }
  .nav-link::after { display: none; }
  .nav-link.active, .header.scrolled .nav-link.active { background: var(--green-soft); color: var(--green); }
  .nav-cta { width: 100%; }
  .hamburger { display: flex; }
  .header.menu-open { background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); }
  .header.menu-open .brand { color: var(--ink); }
  .header.menu-open .hamburger { background: var(--bg-soft); }
  .header.menu-open .hamburger span { background: var(--ink); }

  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .steps-grid { grid-template-columns: 1fr; gap: 34px; }
  .step-arrow { text-align: center; }
  .step-arrow.revealed { animation: nudgeY 1.5s ease-in-out infinite; }
  @keyframes nudgeY { 0%,100% { transform: rotate(90deg) translateX(0);} 50% { transform: rotate(90deg) translateX(6px);} }
  .bonus-strip { flex-direction: column; text-align: center; }
  .mc-1 { left: 0; }
  .mc-2 { right: 0; }
  .mc-3 { left: 12px; }
  .footer { padding: 48px 0 24px; }
  .footer-grid { gap: 24px; padding-bottom: 28px; }
}

@media (max-width: 600px) {
  .hero { padding-top: calc(var(--header-h) + 28px); padding-bottom: 70px; min-height: auto; }
  .hero-title { font-size: 2.1rem; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.5rem; }
  .stat-label { font-size: 12px; }
  .btn-lg { padding: 14px 24px; font-size: 15px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .chart-card { padding: 16px; }
  .mini-card { padding: 8px 12px; font-size: 12px; }
  .mini-card img, .mini-card .emoji { width: 32px; height: 32px; }
  .mini-card .emoji { font-size: 16px; }
  .scroll-hint { display: none; }
  .brand-name { font-size: 14px; }
  .feature-grid, .module-grid { grid-template-columns: 1fr; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .testi-card { flex-basis: 100%; }
  .testi-btn { display: none; }
  .price-card { padding: 30px 24px; }
  .price-new { font-size: 2.6rem; }
  .upi-card { padding: 22px 18px; }
  .mentor-badge { font-size: 11.5px; padding: 6px 10px; }
  .badge-a { right: 0; } .badge-b { left: 0; } .badge-c { right: 6%; }
  .back-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
