/* ============================================================
   NTNL Academy — Homepage design system (hp-*)
   Loaded only on site.home via @push('styles')
   ============================================================ */

:root {
  --hp-ink: #0A0F1E;
  --hp-ink-2: #111A2E;
  --hp-paper: #F4F3EE;
  --hp-blue: #2F6BFF;
  --hp-violet: #8B7CF6;
  --hp-mint: #19C892;
  --hp-coral: #FF6B6B;
  --hp-hair: rgba(15, 24, 42, 0.09);
  --hp-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-display: 'Space Grotesk', 'Noto Sans Devanagari', 'Poppins', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
  --font-serif: 'Instrument Serif', 'Georgia', serif;
  --hp-shadow: 0 26px 60px -22px rgba(10, 15, 30, 0.22);
}

/* ---- Keyframes ---- */
@keyframes hpDriftA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px,50px) scale(1.18); } }
@keyframes hpDriftB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,-40px) scale(1.12); } }
@keyframes hpDriftC { 0%,100% { transform: translate(0,0); } 33% { transform: translate(80px,-50px); } 66% { transform: translate(-50px,60px); } }
@keyframes hpFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes hpSpin { to { transform: rotate(360deg); } }
@keyframes hpMarquee { to { transform: translateX(-50%); } }
@keyframes hpPulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.75); } }
@keyframes hpFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Layout ---- */
.hp-container, .hp-container-hp { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.hp-container-hp { height: 100%; display: flex; align-items: center; position: relative; z-index: 1; }
.hp-section { padding: 104px 0; background: #fff; }
.hp-section--paper { background: var(--hp-paper); }
.hp-section--ink { background: var(--hp-ink); color: #fff; }
.hp-section[id], .hp-app[id], .hp-cta[id] { scroll-margin-top: 92px; }

/* ---- Motion primitives ---- */
.hp-reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.75s var(--hp-ease), translate 0.75s var(--hp-ease);
  transition-delay: var(--d, 0s);
}
.hp-reveal.is-in { opacity: 1; translate: none; }

.hp-tilt {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.18s ease-out, box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
  transform-style: preserve-3d;
}

/* ---- Editorial section header ---- */
.hp-sec-head { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: end; margin-bottom: 56px; }
.hp-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hp-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hp-kicker::before { content: ''; width: 30px; height: 1px; background: currentColor; }
.hp-kicker--light { color: #97b0e8; }
.hp-sec-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--hp-ink);
  margin-top: 18px;
}
.hp-sec-title--light { color: #fff; }
.hp-italic { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.hp-sec-desc { font-size: 1rem; line-height: 1.75; color: #5b6472; max-width: 500px; }
.hp-sec-head--light .hp-sec-desc { color: rgba(255, 255, 255, 0.7); }
.hp-sec-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--hp-ink); padding-bottom: 6px; border-bottom: 1px solid var(--hp-hair);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.hp-sec-link:hover { color: var(--hp-blue); border-color: var(--hp-blue); }

/* ---- Buttons ---- */    
.hp-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 30px; border-radius: 999px;
  background: #fff; color: var(--hp-ink); font-family: var(--font-display); font-weight: 600;
  font-size: 0.95rem; letter-spacing: 0.01em; border: 1px solid transparent;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.hp-btn:hover { transform: translateY(-3px); box-shadow: 0 22px 42px -16px rgba(0, 0, 0, 0.5); }
.hp-btn__arrow { transition: transform 0.3s ease; font-size: 1.05rem; }
.hp-btn:hover .hp-btn__arrow { transform: translateX(5px); }
.hp-btn--glass { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.35); box-shadow: none; backdrop-filter: blur(8px); }
.hp-btn--glass:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
.hp-btn--white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.5); box-shadow: none; }
.hp-btn--white:hover { background: #fff; color: var(--hp-ink); }
.hp-btn--ink { background: var(--hp-ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(10, 15, 30, 0.5); }
.hp-btn--block { width: 100%; justify-content: center; }
.hp-btn__kbd { font-family: var(--font-mono); font-size: 0.8rem; background: rgba(10, 15, 30, 0.07); padding: 3px 8px; border-radius: 6px; }

/* ---- Aurora orbs / textures ---- */
.hp-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; mix-blend-mode: screen; pointer-events: none; }
.hp-orb--a { width: 640px; height: 640px; background: #3b2f8f; top: -180px; left: -120px; animation: hpDriftA 18s ease-in-out infinite; }
.hp-orb--b { width: 520px; height: 520px; background: #123f7d; bottom: -160px; right: -80px; animation: hpDriftB 22s ease-in-out infinite; }
.hp-orb--c { width: 340px; height: 340px; background: #0b5d43; top: 34%; left: 46%; opacity: 0.32; animation: hpDriftC 26s ease-in-out infinite; }
.hp-hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 30% 35%, #000 15%, transparent 72%);
  mask-image: radial-gradient(ellipse 90% 90% at 30% 35%, #000 15%, transparent 72%);
  opacity: 0.6;
}
.hp-hero__noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.55'/></svg>");
  opacity: 0.05; mix-blend-mode: overlay;
}

/* ===== HERO ===== */
.hp-hero.hero-carousel { height: 92vh; min-height: 700px; max-height: 960px; background: var(--hp-ink); color: #fff; }
.hp-hero.hero-carousel .hp-container-hp { max-width: none; margin: 0; padding-left: 150px; }
.hp-hero__back { position: absolute; inset: 0; overflow: hidden; z-index: 0; }

.hp-hero.hero-carousel .hero-carousel__slide {
  position: absolute; inset: 0; display: flex; align-items: center; z-index: 1;
}
.hp-hero__copy { max-width: 720px; }
.hp-hero__copy > *:nth-child(1) { animation-delay: 0.1s; }
.hp-hero__copy > *:nth-child(2) { animation-delay: 0.2s; }
.hp-hero__copy > *:nth-child(3) { animation-delay: 0.3s; }
.hp-hero__copy > *:nth-child(4) { animation-delay: 0.4s; }
.hp-hero.hero-carousel .hero-carousel__slide:not(.is-active) .hp-hero__copy > * { opacity: 0; transform: translateY(20px); }
.hp-hero.hero-carousel .hero-carousel__slide.is-active .hp-hero__copy > * { animation: hpFadeUp 0.7s var(--hp-ease) both; }

/* Dashboard-managed carousel slides: photo background + scrim */
.hp-hero__slide-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transform: scale(1.02); will-change: transform;
}
.hp-hero.hero-carousel .hero-carousel__slide.is-active .hp-hero__slide-bg { animation: hpKenburns 9s ease-out forwards; }
@keyframes hpKenburns { from { transform: scale(1.1); } to { transform: scale(1.02); } }
.hp-hero__slide-scrim {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(100deg, rgba(4, 9, 22, 0.92) 0%, rgba(9, 17, 40, 0.66) 40%, rgba(9, 17, 40, 0.26) 100%);
}

.hp-eyebrow { font-family: var(--font-mono); text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.22em; color: #9fb4e8; display: inline-flex; align-items: center; gap: 14px; }
.hp-eyebrow i { display: inline-block; width: 36px; height: 1px; background: #9fb4e8; }
.hp-eyebrow--light { color: #c6d4f7; }
.hp-h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 5.2vw, 4.4rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.025em; color: #fff; margin: 26px 0 6px; }
.hp-h1__sup { font-family: var(--font-mono); font-size: 0.94rem; letter-spacing: 0.08em; color: var(--hp-mint); font-weight: 600; margin-bottom: 18px; }
.hp-lead { font-size: 1.08rem; line-height: 1.75; color: rgba(255, 255, 255, 0.78); max-width: 560px; margin-top: 8px; }
.hp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Hero 3D scene */
.hp-hero__scene {
  position: absolute; z-index: 2; right: max(24px, 4vw); top: 50%; translate: 0 -50%;
  width: min(440px, 36vw); min-width: 320px; height: 520px;
  perspective: 1200px; transform-style: preserve-3d;
}
.hp-scene-card {
  position: absolute; top: 16%; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.07); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 22px; padding: 26px; color: #fff;
  box-shadow: 0 34px 70px -24px rgba(0, 0, 0, 0.55); transform-style: preserve-3d;
}
.hp-scene-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hp-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hp-mint); font-weight: 600; }
.hp-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--hp-mint); display: inline-block; animation: hpPulse 1.6s ease-in-out infinite; }
.hp-scene-card__time { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.7); }
.hp-scene-card h4 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.01em; }
.hp-scene-card p { color: rgba(255, 255, 255, 0.72); font-size: 0.92rem; margin: 6px 0 20px; }
.hp-progress { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.hp-progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--hp-mint), var(--hp-blue)); }
.hp-scene-card__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.7); }
.hp-scene-card__foot b { color: #fff; font-family: var(--font-display); font-size: 0.86rem; }

.hp-scene-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.09); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 14px; padding: 13px 18px; color: #fff;
  box-shadow: 0 20px 44px -16px rgba(0, 0, 0, 0.5);
}
.hp-scene-chip b { font-family: var(--font-display); font-size: 1.15rem; }
.hp-scene-chip span { color: rgba(255, 255, 255, 0.72); font-size: 0.74rem; }
.hp-scene-chip--a { top: 4%; right: 2%; animation: hpFloat 8s ease-in-out infinite; }
.hp-scene-chip--b { bottom: 14%; left: -5%; animation: hpFloat 9s ease-in-out 1s infinite; }

.hp-orbit { position: absolute; bottom: 2%; right: -2%; width: 190px; height: 190px; display: flex; align-items: center; justify-content: center; }
.hp-orbit svg { position: absolute; inset: 0; animation: hpSpin 22s linear infinite; }
.hp-orbit text { font-family: var(--font-mono); font-size: 13.5px; letter-spacing: 2.5px; fill: #9fb4e8; }
.hp-orbit__core {
  width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, #2F6BFF, #8B7CF6);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -8px rgba(47, 107, 255, 0.55);
}
.hp-orbit__core b { color: #fff; font-size: 1.5rem; font-family: var(--font-display); }

/* Hero: stats bar + dots */
.hp-hero__stats {
  position: absolute; z-index: 2; bottom: 0; left: max(32px, 4vw);
  display: flex; align-items: center; border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.hp-hero__stat { display: flex; flex-direction: column; gap: 2px; padding: 18px 34px 18px 0; margin-right: 34px; position: relative; }
.hp-hero__stat:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 34px; width: 1px; background: rgba(255, 255, 255, 0.14); }
.hp-hero__stat b { font-family: var(--font-display); font-size: 1.28rem; color: #fff; }
.hp-hero__stat span { font-size: 0.76rem; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.04em; }

.hp-hero.hero-carousel .hero-carousel__arrow { display: flex; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.22); }
.hp-hero.hero-carousel .hero-carousel__arrow--prev { left: 22px; }
.hp-hero.hero-carousel .hero-carousel__arrow--next { right: 22px; }
.hp-hero.hero-carousel .hero-carousel__dots { left: auto; right: max(32px, 4vw); top: 50%; transform: none; flex-direction: column; gap: 10px; z-index: 3; }
.hp-hero.hero-carousel .hero-carousel__dots button { width: 3px; height: 26px; border-radius: 3px; background: rgba(255, 255, 255, 0.25); border: none; padding: 0; transition: height 0.3s ease, background 0.3s ease; }
.hp-hero.hero-carousel .hero-carousel__dots button.is-active { background: #fff; height: 44px; }

/* ===== Marquee ===== */
.hp-marquee { background: var(--hp-ink); border-top: 1px solid rgba(255, 255, 255, 0.08); overflow: hidden; padding: 22px 0; }
.hp-marquee__track { display: flex; width: max-content; animation: hpMarquee 34s linear infinite; }
.hp-marquee:hover .hp-marquee__track { animation-play-state: paused; }
.hp-marquee__group { display: flex; align-items: center; gap: 34px; padding: 0 17px; }
.hp-marquee__chip { font-family: var(--font-mono); font-size: 1.5rem;font-weight: 700; letter-spacing: 0.22em; color: #dfe6f5; text-transform: uppercase; white-space: nowrap; }
.hp-marquee__dot { color: var(--hp-mint); font-size: 0.9rem; }

/* ===== Programs tiles ===== */
.hp-programs { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.hp-program {
  grid-column: span 5; position: relative; border-radius: 24px; padding: 36px 34px; min-height: 380px;
  background: var(--tint, #fff); border: 1px solid rgba(15, 24, 42, 0.08); color: var(--hp-ink);
  overflow: hidden; display: flex; flex-direction: column;
}
.hp-program--lg { grid-column: span 7; }
.hp-program:hover { box-shadow: var(--hp-shadow); border-color: var(--pa); }
.hp-program__glyph { position: absolute; right: 18px; top: 0; font-family: var(--font-display); font-weight: 700; font-size: 7.4rem; line-height: 1; color: var(--pa); opacity: 0.1; letter-spacing: -0.04em; }
.hp-program__num { position: absolute; top: 30px; right: 30px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; color: var(--pa); font-weight: 600; }
.hp-program__kicker { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #5b6472; display: inline-flex; align-items: center; gap: 8px; }
.hp-program__kicker::before { content: ''; width: 22px; height: 1px; background: var(--pa); }
.hp-program h3 { font-family: var(--font-display); font-size: 1.9rem; letter-spacing: -0.02em; line-height: 1.1; margin: 20px 0 12px; color: var(--hp-ink); position: relative; }
.hp-program p { font-size: 0.94rem; line-height: 1.65; color: #5b6472; max-width: 460px; margin-bottom: 20px; position: relative; }
.hp-program__bullets { display: grid; gap: 8px; margin-bottom: 26px; position: relative; }
.hp-program__bullets li { font-family: var(--font-mono); font-size: 0.82rem; color: #3a4356; display: flex; gap: 10px; align-items: baseline; }
.hp-program__bullets li span { color: var(--pa); font-weight: 600; }
.hp-program__go { margin-top: auto; align-self: flex-start; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; color: var(--pa); padding-bottom: 4px; border-bottom: 1px solid var(--pa); position: relative; }

/* ===== Rails & cards ===== */
.hp-rail { position: relative; }
.hp-rail__track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 4px 18px; scrollbar-width: none; -ms-overflow-style: none; }
.hp-rail__track::-webkit-scrollbar { display: none; }
.hp-rail__cell { flex: 0 0 356px; scroll-snap-align: start; }
.hp-rail__ui { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 12px; }
.hp-rail__hint { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; color: #97a1b0; text-transform: uppercase; margin-right: auto; }
.hp-rail__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(15, 24, 42, 0.14); background: #fff; color: var(--hp-ink); font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease; }
.hp-rail__btn:hover { background: var(--hp-ink); color: #fff; border-color: var(--hp-ink); transform: translateY(-2px); }

.hp-card { display: flex; flex-direction: column; background: #fff; border: 1px solid rgba(15, 24, 42, 0.08); border-radius: 20px; padding: 24px; height: 100%; color: var(--hp-ink); transition: box-shadow 0.35s ease, border-color 0.35s ease; }
.hp-card:hover { box-shadow: var(--hp-shadow); border-color: rgba(47, 107, 255, 0.4); }
.hp-card__head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.hp-card__logo { width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; flex-shrink: 0; box-shadow: 0 10px 22px -8px rgba(15, 24, 42, 0.35); }
.hp-card__head h3 { font-family: var(--font-display); font-size: 1.14rem; line-height: 1.2; letter-spacing: -0.01em; }
.hp-card__sub { font-size: 0.8rem; color: #8a93a3; }
.hp-card__desc { font-size: 0.9rem; line-height: 1.65; color: #5b6472; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hp-card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; margin-bottom: 20px; }
.hp-card__tag { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; background: #f1f3f7; color: #5b6472; }
.hp-card__foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(15, 24, 42, 0.07); padding-top: 16px; }
.hp-card__price { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.hp-card__price small { font-size: 0.78rem; color: #a0a8b6; text-decoration: line-through; margin-left: 6px; font-weight: 500; }
.hp-card__go { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 600; color: var(--hp-blue); letter-spacing: 0.03em; }

.hp-card--media { padding: 0; overflow: hidden; }
.hp-card__media { position: relative; height: 168px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hp-card:hover .hp-card__media img { transform: scale(1.05); }
.hp-card__media-icon { font-size: 3rem; }
.hp-card__tag--media { position: absolute; top: 14px; left: 14px; background: rgba(10, 15, 30, 0.65); color: #fff; backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.2); }
.hp-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.hp-card__body h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 4px 0 4px; }
.hp-card__body .hp-card__desc { margin-top: 8px; margin-bottom: 20px; -webkit-line-clamp: 2; }

.hp-course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ===== Stats band ===== */
.hp-stats-band { position: relative; background: var(--hp-ink); color: #fff; padding: 96px 0; overflow: hidden; }
.hp-stats-band__back { position: absolute; inset: 0; }
.hp-stats-band__head { position: relative; margin-bottom: 56px; }
.hp-stats { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hp-stat {
  padding: 44px 34px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 20px;
  background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(8px); display: flex; flex-direction: column; gap: 8px;
}
.hp-stat b { font-family: var(--font-display); font-size: 3rem; font-weight: 600; letter-spacing: -0.02em; background: linear-gradient(90deg, #fff, #8fb4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp-stat small { font-size: 0.84rem; color: rgba(255, 255, 255, 0.66); letter-spacing: 0.03em; }

/* ===== Why choose us (edge) ===== */
.hp-edge { display: grid; grid-template-columns: 5fr 7fr; gap: 44px; align-items: center; }
.hp-edge__media { position: relative; }
.hp-edge__mosaic { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 148px; gap: 12px; }
.hp-edge__mosaic figure { margin: 0; border-radius: 20px; overflow: hidden; position: relative; box-shadow: 0 22px 44px -26px rgba(15, 24, 42, 0.5); }
.hp-edge__mosaic figure:first-child { grid-row: span 2; }
.hp-edge__mosaic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.hp-edge__mosaic figure:hover img { transform: scale(1.07); }
.hp-edge__mosaic figcaption { position: absolute; left: 12px; bottom: 12px; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: rgba(10, 15, 30, 0.55); border: 1px solid rgba(255, 255, 255, 0.18); padding: 6px 11px; border-radius: 999px; backdrop-filter: blur(6px); }
.hp-edge__badge { position: absolute; left: -18px; bottom: -22px; background: #fff; border-radius: 18px; padding: 16px 20px; display: flex; align-items: center; gap: 12px; box-shadow: var(--hp-shadow); }
.hp-edge__badge b { font-family: var(--font-display); font-size: 1.8rem; color: var(--hp-blue); letter-spacing: -0.02em; line-height: 1; }
.hp-edge__badge span { font-size: 0.76rem; line-height: 1.4; color: #5b6472; }
.hp-edge__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hp-edge__item { display: flex; gap: 15px; background: #fff; border: 1px solid rgba(15, 24, 42, 0.08); border-radius: 18px; padding: 20px; transition: box-shadow 0.35s ease, transform 0.35s ease, border-color 0.35s ease; }
.hp-edge__item:hover { box-shadow: var(--hp-shadow); transform: translateY(-4px); border-color: rgba(47, 107, 255, 0.4); }
.hp-edge__icon { min-width: 46px; height: 46px; border-radius: 14px; background: #f1f3f7; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
@supports (background: color-mix(in srgb, red 50%, white)) {
  .hp-edge__icon { background: color-mix(in srgb, var(--rc, #2f6bff) 14%, #fff); }
}
.hp-edge__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.hp-edge__head h3 { font-family: var(--font-display); font-size: 1.02rem; color: var(--hp-ink); }
.hp-edge__num { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.1em; color: #b3bac6; }
.hp-edge__item p { font-size: 0.82rem; line-height: 1.55; color: #5b6472; margin: 4px 0 8px; }
.hp-edge__hindi { font-size: 0.72rem; color: #a0a8b6; font-family: 'Noto Sans Devanagari', serif; }

/* ===== Guarantees (3D flips) ===== */
.hp-flip-sec { background: var(--hp-paper); }
.hp-flips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hp-flip { perspective: 1400px; min-height: 240px; position: relative; }
.hp-flip__inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1); }
.hp-flip:hover .hp-flip__inner, .hp-flip:focus-within .hp-flip__inner { transform: rotateY(180deg); }
.hp-flip__face {
  position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px; gap: 10px;
}
.hp-flip__front { background: #fff; border: 1px solid rgba(15, 24, 42, 0.08); color: var(--hp-ink); }
.hp-flip__icon { font-size: 1.7rem; font-family: var(--font-display); color: var(--hp-blue); width: 58px; height: 58px; border-radius: 50%; background: #eef3ff; display: flex; align-items: center; justify-content: center; }
.hp-flip__front h3 { font-family: var(--font-display); font-size: 1.12rem; color: var(--hp-ink); }
.hp-flip__hint { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #a0a8b6; }
.hp-flip__back { background: var(--hp-ink); color: #fff; transform: rotateY(180deg); }
.hp-flip__back p { font-size: 0.88rem; line-height: 1.6; color: rgba(255, 255, 255, 0.85); max-width: 280px; }
.hp-flip__back .hp-reason__hindi { color: rgba(255, 255, 255, 0.55); }

.hp-promise {
  display: flex; align-items: center; gap: 28px; margin-top: 40px; border-radius: 24px; padding: 34px 40px;
  background: linear-gradient(100deg, #2F6BFF, #8B7CF6 60%, #7b5cff); color: #fff; position: relative; overflow: hidden;
}
.hp-promise__badge {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; width: 120px; height: 120px; flex-shrink: 0;
  border-radius: 50%; border: 2px dashed rgba(255, 255, 255, 0.55); display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.08);
}
.hp-promise h3 { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.hp-promise p { color: rgba(255, 255, 255, 0.85); font-size: 0.94rem; line-height: 1.7; }
.hp-promise__go { font-size: 1.6rem; margin-left: auto; flex-shrink: 0; }

/* ===== Testimonials slider ===== */
.hp-slider { position: relative; }
.hp-slider__stage { position: relative; max-width: 840px; margin: 0 auto; }
.hp-slider .testimonials-slide { display: block; position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.7s ease, visibility 0s linear 0.7s; }
.hp-slider .testimonials-slide.is-active { position: relative; opacity: 1; visibility: visible; transition: opacity 0.7s ease, visibility 0s linear 0s; }
.hp-tcard { text-align: center; padding: 10px 20px; }
.hp-tcard__mark { font-family: var(--font-serif); font-size: 5rem; line-height: 0.6; color: var(--hp-blue); opacity: 0.25; display: block; margin-bottom: 10px; }
.hp-tcard__text { font-size: 1.1rem; line-height: 1.85; color: #3a4356; max-width: 760px; margin: 0 auto 20px; }
.hp-tcard__stars { color: #f5b301; letter-spacing: 4px; margin-bottom: 18px; font-size: 1rem; }
.hp-tcard__person { display: flex; align-items: center; gap: 14px; justify-content: center; }
.hp-tcard__avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--hp-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.hp-tcard__person strong { display: block; font-size: 0.98rem; color: var(--hp-ink); }
.hp-tcard__person span { color: #8a93a3; font-size: 0.84rem; }
.hp-slider__nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 34px; }
.hp-slider__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(15, 24, 42, 0.14); background: #fff; color: var(--hp-ink); font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: background 0.3s ease, color 0.3s ease; }
.hp-slider__nav button:hover { background: var(--hp-ink); color: #fff; }
.hp-slider__dots button { width: 8px; height: 8px; border-radius: 50%; background: #d3d8e0; border: none; padding: 0; transition: width 0.3s ease, background 0.3s ease; }
.hp-slider__dots button.is-active { background: var(--hp-blue); width: 26px; border-radius: 4px; }

/* ===== Videos ===== */
.hp-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hp-video { background: #fff; border: 1px solid rgba(15, 24, 42, 0.08); border-radius: 20px; overflow: hidden; transition: box-shadow 0.35s ease; }
.hp-video:hover { box-shadow: var(--hp-shadow); }
.hp-video__frame { position: relative; aspect-ratio: 16 / 9; background: var(--hp-ink); overflow: hidden; }
.hp-video__frame iframe, .hp-video__frame img { width: 100%; height: 100%; border: 0; object-fit: cover; }
.hp-video__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 15, 30, 0.1), rgba(10, 15, 30, 0.35)); pointer-events: none; }
.hp-video__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--hp-ink); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; z-index: 2; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5); transition: transform 0.3s ease; }
.hp-video:hover .hp-video__play { transform: translate(-50%, -50%) scale(1.1); }
.hp-video__body { padding: 20px 22px 24px; }
.hp-video__body h3 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: 6px; color: var(--hp-ink); }
.hp-video__q { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--hp-blue); text-transform: uppercase; }
.hp-video__body p { font-size: 0.86rem; color: #5b6472; margin-top: 8px; line-height: 1.6; }
.hp-video--dark { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }
.hp-video--dark h3 { color: #fff; }
.hp-video--dark p { color: rgba(255, 255, 255, 0.6); }
.hp-video--dark .hp-video__q { color: var(--hp-mint); }

/* ===== Blog ===== */
.hp-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hp-blog { background: #fff; border: 1px solid rgba(15, 24, 42, 0.08); border-radius: 20px; overflow: hidden; color: var(--hp-ink); transition: box-shadow 0.35s ease; }
.hp-blog:hover { box-shadow: var(--hp-shadow); }
.hp-blog__img { height: 172px; overflow: hidden; background: #eaecef; }
.hp-blog__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hp-blog:hover .hp-blog__img img { transform: scale(1.06); }
.hp-blog__body { padding: 22px 24px 26px; }
.hp-blog__date { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: #97a1b0; }
.hp-blog__body h3 { font-family: var(--font-display); font-size: 1.18rem; line-height: 1.25; margin: 10px 0 8px; color: var(--hp-ink); }
.hp-blog__body p { font-size: 0.88rem; color: #5b6472; line-height: 1.65; margin-bottom: 14px; }
.hp-blog__link { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--hp-blue); }

/* ===== Resources ===== */
.hp-resources { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hp-resource { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid rgba(15, 24, 42, 0.08); border-radius: 20px; padding: 26px; color: var(--hp-ink); transition: box-shadow 0.35s ease, border-color 0.35s ease; }
.hp-resource:hover { box-shadow: var(--hp-shadow); border-color: rgba(47, 107, 255, 0.4); }
.hp-resource__num { font-family: var(--font-mono); font-size: 0.74rem; color: #c3c9d4; letter-spacing: 0.08em; padding-top: 6px; }
.hp-resource__icon { font-size: 1.6rem; width: 46px; height: 46px; flex-shrink: 0; background: #f1f3f7; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.hp-resource__body h3 { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 6px; color: var(--hp-ink); }
.hp-resource__body p { font-size: 0.86rem; color: #5b6472; line-height: 1.6; margin-bottom: 12px; }
.hp-resource__chips { display: flex; flex-wrap: wrap; gap: 7px; }
.hp-resource__chips span { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.02em; background: #eef3ff; color: var(--hp-blue); padding: 4px 10px; border-radius: 999px; }
.hp-resource__go { font-size: 1.2rem; color: #c3c9d4; margin-left: auto; align-self: center; transition: color 0.3s ease, transform 0.3s ease; }
.hp-resource:hover .hp-resource__go { color: var(--hp-blue); transform: translateX(4px); }

/* ===== App ===== */
.hp-app { position: relative; background: var(--hp-ink); color: #fff; padding: 110px 0; overflow: hidden; }
.hp-app__back { position: absolute; inset: 0; }
.hp-app__grid { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hp-app__lead { color: rgba(255, 255, 255, 0.72); font-size: 1rem; line-height: 1.75; margin: 14px 0 22px; max-width: 520px; }
.hp-app__bullets { display: grid; gap: 10px; margin-bottom: 30px; }
.hp-app__bullets li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.hp-app__buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-app__visual { display: flex; justify-content: center; }
.hp-qr {
  position: relative; width: 260px; padding: 34px 30px 26px; text-align: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 28px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); transform-style: preserve-3d;
}
.hp-qr img { width: 170px; margin: 0 auto 14px; border-radius: 12px; display: block; }
.hp-qr__label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.26em; color: var(--hp-mint); text-transform: uppercase; display: block; }
.hp-qr__tick { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--hp-mint); color: var(--hp-ink); font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; padding: 5px 12px; border-radius: 999px; white-space: nowrap; }

/* ===== CTA band ===== */
.hp-cta { padding: 84px 0 96px; background: var(--hp-paper); }
.hp-cta__panel { position: relative; overflow: hidden; border-radius: 32px; padding: 72px 64px; color: #fff; background: linear-gradient(120deg, #12307a, #2F6BFF 42%, #8B7CF6 100%); }
.hp-cta__panel h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.7rem); letter-spacing: -0.02em; line-height: 1.1; max-width: 720px; margin: 16px 0 16px; }
.hp-cta__panel p { color: rgba(255, 255, 255, 0.82); font-size: 1rem; max-width: 520px; margin-bottom: 32px; }
.hp-cta__actions { display: flex; flex-wrap: wrap; gap: 14px; position: relative; }

/* ===== Contact ===== */
.hp-contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.hp-contact__rows { display: grid; gap: 18px; margin-top: 34px; }
.hp-contact__row { display: flex; gap: 16px; align-items: center; }
.hp-contact__ico { width: 48px; height: 48px; border-radius: 14px; background: #e9eefb; color: var(--hp-blue); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.hp-contact__row strong { display: block; font-size: 0.98rem; color: var(--hp-ink); }
.hp-contact__row span { font-size: 0.84rem; color: #8a93a3; }
.hp-contact__hours { margin-top: 32px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; color: #97a1b0; text-transform: uppercase; border-top: 1px solid var(--hp-hair); padding-top: 22px; }
.hp-contact__hours b { color: var(--hp-blue); }

.hp-contact__form { background: #fff; border: 1px solid rgba(15, 24, 42, 0.08); border-radius: 24px; padding: 38px; box-shadow: 0 24px 60px -28px rgba(10, 15, 30, 0.25); }
.hp-contact__form .site-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-contact__form .site-form__group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.hp-contact__form .site-form__group label { font-size: 0.82rem; font-weight: 600; color: var(--hp-ink); }
.hp-contact__form .site-form__group label span { color: var(--hp-coral); }
.hp-contact__form .site-form__control { width: 100%; border: 1px solid rgba(15, 24, 42, 0.14); border-radius: 12px; padding: 13px 16px; font-size: 0.92rem; background: #fbfbfc; transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; }
.hp-contact__form .site-form__control:focus { border-color: var(--hp-blue); box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.14); background: #fff; }
.hp-contact__form .site-form__control--error { border-color: var(--hp-coral); }
.hp-contact__form textarea.site-form__control { min-height: 120px; resize: vertical; }
.hp-contact__form .site-form__error { font-size: 0.78rem; color: var(--hp-coral); }
.hp-contact__form .site-alert { border-radius: 12px; padding: 12px 16px; font-size: 0.86rem; margin-bottom: 18px; }
.hp-contact__form .site-alert--success { background: #e9f9f2; color: #0e7a57; border: 1px solid #c4ecd9; }
.hp-contact__form .site-alert--error { background: #fdeeee; color: #b3323c; border: 1px solid #f7cccc; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .hp-sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .hp-program, .hp-program--lg, .hp-program--sm { grid-column: span 6; }
  .hp-course-grid, .hp-blog-grid, .hp-video-grid { grid-template-columns: repeat(2, 1fr); }
  .hp-reasons { grid-template-columns: repeat(2, 1fr); }
  .hp-flips { grid-template-columns: repeat(2, 1fr); }
  .hp-resources { grid-template-columns: 1fr; }
  .hp-contact { grid-template-columns: 1fr; gap: 40px; }
  .hp-app__grid { grid-template-columns: 1fr; gap: 48px; }
  .hp-hero__scene { width: 300px; right: 2vw; }
}
@media (max-width: 992px) {
  .hp-hero__scene { display: none; }
  .hp-h1 { font-size: 2.6rem; }
  .hp-stats { grid-template-columns: repeat(2, 1fr); }
  .hp-video-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hp-section, .hp-stats-band, .hp-app { padding: 72px 0; }
  .hp-programs { grid-template-columns: 1fr; }
  .hp-program, .hp-program--lg, .hp-program--sm { grid-column: span 1; min-height: 0; }
  .hp-course-grid, .hp-blog-grid, .hp-video-grid, .hp-video-grid--3, .hp-reasons, .hp-flips { grid-template-columns: 1fr; }
  .hp-rail__cell { flex-basis: 300px; }
  .hp-rail__hint { display: none; }
  .hp-hero__stats { left: 24px; right: 24px; flex-wrap: wrap; }
  .hp-hero__stat { flex: 1 1 40%; padding: 14px 0; margin-right: 20px; }
  .hp-hero__stat:not(:last-child)::after { display: none; }
  .hp-cta__panel { padding: 48px 28px; border-radius: 24px; }
  .hp-promise { flex-direction: column; text-align: center; padding: 28px; }
  .hp-promise__go { margin-left: 0; }
  .hp-contact__form { padding: 26px; }
  .hp-contact__form .site-form__row { grid-template-columns: 1fr; }
  .hp-flip { min-height: 200px; }
}
@media (max-width: 560px) {
  .hp-container, .hp-container-hp { padding: 0 20px; }
  .hp-sec-title { font-size: 2rem; }
  .hp-h1 { font-size: 2.1rem; }
  .hp-hero.hero-carousel {
    height: 250px;
    min-height: 250px;
    max-height: 250px;
    width: 100%;
    margin: 74px 0 0;
    padding-top: 0px;
    overflow: hidden;
  }
  .hp-hero.hero-carousel .hero-carousel__arrow { display: none; }
  .hp-hero.hero-carousel .hp-container-hp { padding: 0; }
  .hp-hero.hero-carousel .hp-hero__copy { display: none; }
  .hp-hero.hero-carousel .hp-hero__stats { display: none; }
  .hp-hero__actions .hp-btn { width: 100%; justify-content: center; }
  .hp-program { padding: 28px 24px; }
  .hp-rail__cell { flex-basis: 262px; }
  .hp-qr img { width: 140px; }
  .hp-app__buttons .hp-btn { width: 100%; justify-content: center; }
}
@media (max-width: 992px) {
  .hp-edge { grid-template-columns: 1fr; gap: 40px; }
  .hp-edge__media { order: -1; }
  .hp-edge__badge { left: 14px; bottom: -18px; }
}
@media (max-width: 560px) {
  .hp-edge__list { grid-template-columns: 1fr; }
  .hp-edge__mosaic { grid-auto-rows: 116px; }
  .hp-edge__badge { left: 10px; bottom: -16px; padding: 12px 16px; }
  .hp-edge__badge b { font-size: 1.5rem; }
}
