/* ===================================================================
   Magic Language School — styles.css
   Dark navy + gold palette. Mobile-first. BEM-like naming.
   =================================================================== */

/* --- Variables & Reset --------------------------------------------- */
:root {
  --navy-950: #020814;
  --navy-850: #081421;
  --navy-800: #0b1827;
  --cream-50: #f6f1e8;
  --gold-300: #ddc28b;
  --gold-400: #c7a263;
  --gold-500: #aa7e42;
  --ink: #21170f;
  --muted: rgba(238, 230, 216, .68);
  --line-gold: rgba(199, 162, 99, .30);
  --line-soft: rgba(246, 241, 232, .12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: #01050d;
}

body {
  margin: 0;
  color: var(--cream-50);
  background: var(--navy-950);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .05;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 4px 4px;
  mix-blend-mode: screen;
  z-index: 50;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, blockquote { margin: 0; }

ul { list-style: none; padding: 0; margin: 0; }

/* --- Page wrapper -------------------------------------------------- */
.page {
  width: min(100%, 1440px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--navy-950);
  box-shadow: 0 0 80px rgba(0,0,0,.34);
}

/* ===================================================================
   Section utilities
   =================================================================== */
.section {
  padding: 64px 62px 68px;
}

.section--dark {
  background: var(--navy-950);
}

.section--cream {
  background:
    linear-gradient(180deg, rgba(246,241,232,.78), rgba(246,241,232,.92)),
    url("../assets/images/magic-bg-cream-paper.webp"),
    radial-gradient(circle at 50% -20%, rgba(170,126,66,.10), transparent 34%),
    var(--cream-50);
  background-size: cover;
  background-position: center;
  color: var(--ink);
}

.section--alt {
  background: #030b17;
}

.section__head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  color: rgba(170,126,66,.84);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.section--dark .section__eyebrow {
  color: var(--gold-300);
}

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.04;
  letter-spacing: .01em;
  margin-top: 10px;
  color: inherit;
}

.section--dark .section__title {
  color: #f4ead9;
}

.section--cream .section__title {
  color: #25180f;
}

.section__subtitle {
  margin: 14px auto 0;
  max-width: 520px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.section--cream .section__subtitle {
  color: rgba(33,23,15,.58);
}

/* fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================================
   Buttons
   =================================================================== */
.gold-btn {
  min-height: 66px;
  padding: 0 34px;
  background: linear-gradient(180deg, #d7b77b, #b88b4a);
  color: #fff8ea;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid rgba(244,224,178,.18);
  box-shadow: 0 18px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.22);
  font-size: 15px;
  font-weight: 500;
  transition: transform .18s ease, filter .18s ease;
  cursor: pointer;
  font-family: var(--sans);
}

.gold-btn svg { width: 18px; height: 18px; stroke-width: 1.7; }
.gold-btn:hover { transform: translateY(-2px); filter: brightness(1.04); }

.outline-btn {
  min-height: 54px;
  padding: 0 29px;
  border: 1px solid rgba(221,194,139,.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(246,241,232,.92);
  background: rgba(255,255,255,.012);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
  transition: border-color .18s ease, background .18s ease;
  cursor: pointer;
  font-family: var(--sans);
}

.outline-btn:hover {
  border-color: rgba(221,194,139,.78);
  background: rgba(221,194,139,.06);
}

.text-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--gold-300);
  font-size: 14px;
  font-weight: 500;
}
.text-link svg { width: 15px; height: 15px; stroke-width: 1.7; }

/* ===================================================================
   Header
   =================================================================== */
.site-header {
  height: 92px;
  padding: 0 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 9, 20, .96);
  border-bottom: 1px solid rgba(199,162,99,.20);
  position: relative;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 245px;
}

.brand-mark {
  width: 44px;
  height: 54px;
  position: relative;
  border: 1.25px solid rgba(221,194,139,.82);
  clip-path: polygon(50% 0%, 88% 14%, 88% 66%, 50% 100%, 12% 66%, 12% 14%);
  display: grid;
  place-items: center;
  color: var(--gold-300);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .04em;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(221,194,139,.35);
  clip-path: inherit;
}

.brand-mark svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  stroke-width: 1.45;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 2;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  line-height: .95;
  letter-spacing: .025em;
  color: #f2eadc;
}

.brand-name span { display: block; }

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
  color: rgba(246,241,232,.72);
  font-size: 13px;
  font-weight: 400;
}

.nav a {
  padding: 6px 0;
  white-space: nowrap;
  transition: color .18s ease;
}

.nav a:hover,
.nav a.active { color: var(--gold-300); }

.header-actions {
  min-width: 245px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(246,241,232,.82);
  letter-spacing: .04em;
}

.lang svg { width: 14px; height: 14px; stroke-width: 1.6; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream-50);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================================================
   Hero
   =================================================================== */
.hero {
  min-height: clamp(600px, calc(100vh - 112px), 640px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, #020814 0%, #020814 24%, rgba(2,8,20,.95) 37%, rgba(2,8,20,.42) 58%, rgba(2,8,20,.20) 100%),
    url("../assets/images/magic-bg-hero-navy.webp"),
    var(--navy-950);
  background-size: cover;
  background-position: center right;
  border-bottom: 1px solid rgba(199,162,99,.24);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2,8,20,.98) 0%, rgba(2,8,20,.92) 31%, rgba(2,8,20,.30) 64%, rgba(2,8,20,.12) 100%),
    linear-gradient(0deg, rgba(2,8,20,.52), transparent 38%);
}

.hero-magic {
  --cursor-x: 72%;
  --cursor-y: 44%;
  --cursor-energy: 0;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  perspective: 1100px;
}

.hero-magic__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .90;
}

.hero-magic__cursor-lens {
  position: absolute;
  z-index: 2;
  width: 240px;
  aspect-ratio: 1;
  left: var(--cursor-x);
  top: var(--cursor-y);
  border-radius: 50%;
  opacity: calc(.18 + var(--cursor-energy) * .42);
  transform: translate(-50%, -50%) scale(calc(.82 + var(--cursor-energy) * .18));
  background:
    radial-gradient(circle, rgba(255,239,201,.22) 0 3%, rgba(221,194,139,.10) 22%, transparent 64%);
  border: 1px solid rgba(235,211,160,.12);
  box-shadow:
    0 0 42px rgba(221,194,139,.12),
    inset 0 0 38px rgba(221,194,139,.08);
  filter: blur(.2px);
  transition: opacity .5s ease, transform .5s ease;
  will-change: left, top, opacity, transform;
}

.hero-magic__cursor-lens::before,
.hero-magic__cursor-lens::after {
  content: "";
  position: absolute;
  border-radius: inherit;
  border: 1px solid rgba(235,211,160,.14);
}

.hero-magic__cursor-lens::before {
  inset: 20%;
}

.hero-magic__cursor-lens::after {
  inset: 42%;
  background: rgba(255,243,211,.42);
  box-shadow: 0 0 16px rgba(255,229,173,.48);
}

.hero-magic__scene {
  --hero-rotate-x: 0deg;
  --hero-rotate-y: 0deg;
  position: absolute;
  width: 66%;
  height: 108%;
  top: -4%;
  right: -3%;
  transform-style: preserve-3d;
  transform: rotateX(var(--hero-rotate-x)) rotateY(var(--hero-rotate-y));
  transition: transform .16s linear;
  will-change: transform;
}

.hero-magic__layer {
  position: absolute;
  translate: var(--layer-x, 0px) var(--layer-y, 0px);
  will-change: transform;
}

.hero-magic__aurora {
  left: 48%;
  top: 50%;
  width: 720px;
  height: 360px;
  border-radius: 50%;
  filter: blur(54px);
  mix-blend-mode: screen;
  opacity: .24;
}

.hero-magic__aurora--blue {
  transform: translate(-50%, -50%) rotate(-18deg);
  background: linear-gradient(90deg, transparent, rgba(55,105,164,.42), transparent 72%);
  animation: aurora-breathe 8s ease-in-out infinite alternate;
}

.hero-magic__aurora--gold {
  width: 620px;
  height: 300px;
  transform: translate(-50%, -50%) rotate(24deg);
  background: linear-gradient(90deg, transparent 8%, rgba(203,165,91,.44), transparent 78%);
  animation: aurora-breathe 10s 1.2s ease-in-out infinite alternate-reverse;
}

.hero-magic__glow {
  inset: 8% 5% 4% 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 48%, rgba(244,222,170,.34), rgba(199,162,99,.10) 30%, transparent 64%);
  filter: blur(8px);
}

.hero-magic__rune {
  left: 53%;
  top: 48%;
  border-radius: 50%;
  border: 1px solid rgba(226,199,143,.27);
  box-shadow:
    0 0 42px rgba(199,162,99,.11),
    inset 0 0 34px rgba(221,194,139,.08);
}

.hero-magic__rune::before,
.hero-magic__rune::after {
  content: "";
  position: absolute;
  inset: 7%;
  border-radius: inherit;
  border: 1px dashed rgba(221,194,139,.23);
}

.hero-magic__rune::after {
  inset: 19%;
  border-style: solid;
  border-color: rgba(221,194,139,.14);
}

.hero-magic__rune--outer {
  width: 510px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  animation: rune-spin 38s linear infinite;
}

.hero-magic__rune--inner {
  width: 330px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) rotate(22deg);
  border-color: rgba(246,232,199,.32);
  animation: rune-spin-reverse 28s linear infinite;
}

.hero-magic__sigil {
  width: 210px;
  aspect-ratio: 1;
  left: 53%;
  top: 48%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: .62;
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(238,214,163,.42) 0deg 1deg,
      transparent 1deg 22.5deg
    );
  -webkit-mask: radial-gradient(circle, transparent 0 31%, #000 32% 34%, transparent 35% 48%, #000 49% 50%, transparent 51%);
  mask: radial-gradient(circle, transparent 0 31%, #000 32% 34%, transparent 35% 48%, #000 49% 50%, transparent 51%);
  filter: drop-shadow(0 0 9px rgba(221,194,139,.25));
  animation: sigil-pulse 4.8s ease-in-out infinite;
}

.hero-magic__orbit {
  left: 53%;
  top: 48%;
  width: 440px;
  aspect-ratio: 1;
  border: 1px solid rgba(235,211,160,.13);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(12deg);
  animation: orbit-spin 18s linear infinite;
}

.hero-magic__orbit span {
  position: absolute;
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f3d79c;
  box-shadow:
    0 0 6px rgba(255,232,183,.92),
    0 0 18px rgba(221,194,139,.55);
}

.hero-magic__orbit span:nth-child(1) { left: 49%; top: -4px; }
.hero-magic__orbit span:nth-child(2) { right: 5%; top: 25%; width: 4px; }
.hero-magic__orbit span:nth-child(3) { left: 18%; bottom: 9%; width: 5px; }
.hero-magic__orbit span:nth-child(4) { left: -3px; top: 54%; width: 3px; }

.hero-magic__orbit--two {
  width: 280px;
  transform: translate(-50%, -50%) rotate(-20deg);
  border-style: dashed;
  border-color: rgba(139,174,211,.18);
  animation: orbit-spin-reverse 12s linear infinite;
}

.hero-magic__orbit--two span {
  background: #a9caea;
  box-shadow:
    0 0 7px rgba(174,211,244,.86),
    0 0 17px rgba(91,143,192,.52);
}

.hero-magic__beams {
  width: 570px;
  aspect-ratio: 1;
  left: 53%;
  top: 48%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: beam-spin 24s linear infinite;
  opacity: .72;
}

.hero-magic__beams span {
  position: absolute;
  width: 46%;
  height: 1px;
  left: 50%;
  top: 50%;
  transform-origin: 0 50%;
  background: linear-gradient(90deg, rgba(255,228,171,.46), transparent);
  filter: drop-shadow(0 0 5px rgba(255,222,155,.36));
}

.hero-magic__beams span:nth-child(1) { transform: rotate(0deg); }
.hero-magic__beams span:nth-child(2) { transform: rotate(30deg); }
.hero-magic__beams span:nth-child(3) { transform: rotate(60deg); }
.hero-magic__beams span:nth-child(4) { transform: rotate(90deg); }
.hero-magic__beams span:nth-child(5) { transform: rotate(120deg); }
.hero-magic__beams span:nth-child(6) { transform: rotate(150deg); }
.hero-magic__beams span:nth-child(7) { transform: rotate(180deg); }
.hero-magic__beams span:nth-child(8) { transform: rotate(210deg); }
.hero-magic__beams span:nth-child(9) { transform: rotate(240deg); }
.hero-magic__beams span:nth-child(10) { transform: rotate(270deg); }
.hero-magic__beams span:nth-child(11) { transform: rotate(300deg); }
.hero-magic__beams span:nth-child(12) { transform: rotate(330deg); }

.hero-magic__shards {
  width: 480px;
  aspect-ratio: 1;
  left: 53%;
  top: 48%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: shard-orbit 15s linear infinite;
}

.hero-magic__shards span {
  position: absolute;
  width: 8px;
  height: 24px;
  clip-path: polygon(50% 0, 100% 68%, 50% 100%, 0 68%);
  background: linear-gradient(180deg, rgba(255,241,208,.92), rgba(191,146,73,.18));
  box-shadow: 0 0 14px rgba(236,204,140,.45);
}

.hero-magic__shards span:nth-child(1) { left: 17%; top: 13%; rotate: -24deg; }
.hero-magic__shards span:nth-child(2) { right: 4%; top: 38%; scale: .62; rotate: 34deg; }
.hero-magic__shards span:nth-child(3) { right: 18%; bottom: 8%; scale: .78; rotate: 72deg; }
.hero-magic__shards span:nth-child(4) { left: 8%; bottom: 24%; scale: .48; rotate: -68deg; }
.hero-magic__shards span:nth-child(5) { left: 48%; top: -3%; scale: .58; rotate: 8deg; }
.hero-magic__shards span:nth-child(6) { left: 45%; bottom: -4%; scale: .42; rotate: 88deg; }

.hero-magic__core {
  width: 174px;
  aspect-ratio: 1;
  left: 53%;
  top: 48%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle, rgba(255,255,246,.96) 0 4%, rgba(255,226,163,.74) 8%, rgba(201,159,87,.26) 31%, transparent 66%);
  border: 1px solid rgba(255,230,177,.34);
  box-shadow:
    0 0 15px rgba(255,236,196,.72),
    0 0 46px rgba(221,182,110,.42),
    0 0 110px rgba(178,131,58,.24),
    inset 0 0 36px rgba(255,239,204,.24);
  animation: core-bloom 3.2s ease-in-out infinite;
}

.hero-magic__core::before,
.hero-magic__core::after {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 1px solid rgba(255,239,204,.42);
}

.hero-magic__core::before {
  animation: core-ring 2.4s ease-out infinite;
}

.hero-magic__core::after {
  inset: 35%;
  background: #fff8df;
  border: 0;
  filter: blur(4px);
  box-shadow: 0 0 26px rgba(255,241,205,.92);
}

.hero-magic__core-star {
  position: absolute;
  z-index: 2;
  width: 190px;
  height: 2px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(255,246,219,.9), transparent);
  filter: drop-shadow(0 0 7px rgba(255,229,177,.8));
}

.hero-magic__core-star::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 190px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, transparent, rgba(255,246,219,.86), transparent);
}

.hero-magic__ribbon {
  width: 760px;
  height: 260px;
  left: 48%;
  top: 48%;
  border-radius: 50%;
  border-top: 2px solid rgba(230,204,149,.44);
  border-bottom: 1px solid rgba(221,194,139,.15);
  filter: drop-shadow(0 0 13px rgba(221,194,139,.22));
}

.hero-magic__ribbon::after {
  content: "";
  position: absolute;
  inset: 28px -30px;
  border-radius: inherit;
  border-top: 1px solid rgba(246,232,199,.24);
}

.hero-magic__ribbon--one {
  transform: translate(-50%, -50%) rotate(-19deg);
  animation: ribbon-float-one 7s ease-in-out infinite alternate;
}

.hero-magic__ribbon--two {
  width: 650px;
  height: 220px;
  transform: translate(-50%, -50%) rotate(23deg);
  border-color: rgba(116,151,190,.24);
  animation: ribbon-float-two 9s 1s ease-in-out infinite alternate-reverse;
}

.hero-magic__stars {
  inset: 3% 2% 3% 8%;
  opacity: .72;
  background:
    radial-gradient(circle at 17% 22%, rgba(255,237,194,.92) 0 1px, transparent 2px),
    radial-gradient(circle at 68% 16%, rgba(255,237,194,.70) 0 1px, transparent 2px),
    radial-gradient(circle at 84% 38%, rgba(255,237,194,.82) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 27% 72%, rgba(255,237,194,.68) 0 1px, transparent 2px),
    radial-gradient(circle at 71% 82%, rgba(255,237,194,.78) 0 1px, transparent 2px),
    radial-gradient(circle at 48% 48%, rgba(255,237,194,.72) 0 1.5px, transparent 2.5px);
}

@keyframes rune-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rune-spin-reverse {
  to { transform: translate(-50%, -50%) rotate(-338deg); }
}

@keyframes orbit-spin {
  to { transform: translate(-50%, -50%) rotate(372deg); }
}

@keyframes orbit-spin-reverse {
  to { transform: translate(-50%, -50%) rotate(-380deg); }
}

@keyframes sigil-pulse {
  0%, 100% { opacity: .38; scale: .94; }
  50% { opacity: .78; scale: 1.06; }
}

@keyframes aurora-breathe {
  0% { opacity: .14; scale: .88 1; }
  100% { opacity: .34; scale: 1.12 1.06; }
}

@keyframes ribbon-float-one {
  0% { transform: translate(-50%, -50%) rotate(-22deg) scaleX(.94); opacity: .58; }
  100% { transform: translate(-48%, -52%) rotate(-16deg) scaleX(1.04); opacity: 1; }
}

@keyframes ribbon-float-two {
  0% { transform: translate(-51%, -48%) rotate(19deg) scaleX(.96); opacity: .45; }
  100% { transform: translate(-48%, -51%) rotate(27deg) scaleX(1.06); opacity: .82; }
}

@keyframes beam-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes shard-orbit {
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes core-bloom {
  0%, 100% { scale: .88; opacity: .72; filter: brightness(.9); }
  50% { scale: 1.12; opacity: 1; filter: brightness(1.28); }
}

@keyframes core-ring {
  0% { opacity: .85; scale: .56; }
  100% { opacity: 0; scale: 2.8; }
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 68.5%;
  height: 100%;
  background:
    linear-gradient(90deg, #020814 0%, rgba(2,8,20,.70) 18%, rgba(2,8,20,.12) 51%, rgba(2,8,20,.22) 100%),
    linear-gradient(180deg, rgba(2,8,20,.04), rgba(2,8,20,.54)),
    url("../assets/images/magic-bg-hero-navy.webp"),
    var(--navy-950);
  background-size: cover;
  background-position: center;
  opacity: .90;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 71% 19%, rgba(221,194,139,.12), transparent 18%),
    linear-gradient(0deg, rgba(2,8,20,.48), transparent 32%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 55%;
  padding: 58px 0 46px 80px;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-300);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .19em;
  line-height: 1.1;
}

.label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(221,194,139,.55);
}

.hero h1 {
  margin-top: 28px;
  max-width: 600px;
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 76px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: .005em;
  color: #f4ecdd;
}

.hero-subtitle {
  margin-top: 28px;
  max-width: 480px;
  color: rgba(246,241,232,.72);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.video-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(246,241,232,.82);
  font-size: 14px;
  margin-top: 29px;
}

.video-link svg {
  width: 38px;
  height: 38px;
  color: var(--gold-300);
  stroke-width: 1.25;
}

.hero-quote {
  position: absolute;
  z-index: 3;
  right: 72px;
  top: 156px;
  width: 160px;
  color: var(--gold-300);
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  line-height: 1.05;
  text-align: left;
  letter-spacing: .015em;
}

.trust {
  position: absolute;
  z-index: 3;
  right: 63px;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: rgba(246,241,232,.78);
  font-size: 14px;
  line-height: 1.35;
}

.avatars { display: flex; }

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-left: -8px;
  border: 2px solid var(--navy-950);
  background: linear-gradient(135deg, #efd7b5, #4b5662);
  position: relative;
  overflow: hidden;
}

.avatar:first-child { margin-left: 0; }

.avatar::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255,239,211,.72);
  box-shadow: 0 16px 0 5px rgba(255,239,211,.48);
}

/* ===================================================================
   Feature strip
   =================================================================== */
.feature-strip {
  background: #030b17;
  min-height: 204px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 62px 30px;
  border-bottom: 1px solid rgba(199,162,99,.18);
}

.feature {
  padding: 0 58px 0 0;
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 22px;
  align-content: start;
  min-height: 132px;
}

.feature:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 34px;
  height: 116px;
  width: 1px;
  background: rgba(246,241,232,.13);
}

.icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--gold-400);
}

.icon-box svg { width: 34px; height: 34px; stroke-width: 1.35; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }

.feature h3 {
  margin-top: 5px;
  color: var(--gold-300);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .015em;
}

.feature p {
  grid-column: 2;
  margin-top: 13px;
  color: rgba(246,241,232,.62);
  font-size: 14px;
  line-height: 1.65;
  max-width: 205px;
}

/* ===================================================================
   Languages (3D deck)
   =================================================================== */
.languages {
  background:
    linear-gradient(180deg, rgba(246,241,232,.72), rgba(246,241,232,.94)),
    url("../assets/images/magic-bg-cream-paper.webp"),
    radial-gradient(circle at 50% -20%, rgba(170,126,66,.10), transparent 34%),
    var(--cream-50);
  background-size: cover;
  background-position: center;
  color: var(--ink);
  padding: 70px 62px 82px;
  position: relative;
  overflow: hidden;
}

.languages::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  left: 50%;
  top: 43%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,162,99,.14), transparent 67%);
  pointer-events: none;
}

.language-deck {
  --deck-rotate-x: 0deg;
  --deck-rotate-y: 0deg;
  --deck-drag-x: 0px;
  --deck-drag-rotate: 0deg;
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.language-deck__stage {
  position: relative;
  height: 510px;
  max-width: 1060px;
  margin: 0 auto;
  perspective: 1350px;
  transform-style: preserve-3d;
  transform:
    translateX(var(--deck-drag-x))
    rotateZ(var(--deck-drag-rotate))
    rotateX(var(--deck-rotate-x))
    rotateY(var(--deck-rotate-y));
  transition: transform .34s cubic-bezier(.2,.72,.2,1);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.language-deck__stage.is-dragging {
  cursor: grabbing;
  transition-duration: .06s;
}

.language-deck__stage.is-wheel-turning {
  cursor: ns-resize;
}

.language-card {
  --card-x: 0px;
  --card-y: 0px;
  --card-z: 0px;
  --card-rotate: 0deg;
  --card-rotate-y: 0deg;
  --card-scale: 1;
  position: absolute;
  width: 300px;
  height: 450px;
  left: 50%;
  top: 50%;
  overflow: hidden;
  border: 1px solid rgba(112,77,42,.20);
  background: #f8f1e5;
  box-shadow: 0 24px 50px rgba(49,31,15,.13);
  transform:
    translate3d(calc(-50% + var(--card-x)), calc(-50% + var(--card-y)), var(--card-z))
    rotateZ(var(--card-rotate))
    rotateY(var(--card-rotate-y))
    scale(var(--card-scale));
  transform-origin: 50% 84%;
  transform-style: preserve-3d;
  transition:
    transform .62s cubic-bezier(.2,.72,.2,1),
    box-shadow .4s ease,
    filter .4s ease,
    opacity .4s ease;
  will-change: transform;
  outline: none;
  cursor: grab;
  -webkit-user-drag: none;
}

.language-deck__stage.is-dragging .language-card {
  cursor: grabbing;
  pointer-events: none;
}

.language-card:nth-child(1) {
  --card-x: 0px;
  --card-z: 80px;
  --card-scale: 1.04;
  z-index: 4;
}

.language-card:nth-child(2) {
  --card-x: 118px;
  --card-z: 5px;
  --card-rotate: 5deg;
  --card-rotate-y: -6deg;
  z-index: 3;
}

.language-card:nth-child(3) {
  --card-x: 198px;
  --card-z: -70px;
  --card-rotate: 9deg;
  --card-rotate-y: -10deg;
  z-index: 2;
}

.language-card:nth-child(4) {
  --card-x: 265px;
  --card-z: -140px;
  --card-rotate: 12deg;
  --card-rotate-y: -14deg;
  z-index: 1;
}

.language-card:nth-child(5) {
  --card-x: 320px;
  --card-z: -200px;
  --card-rotate: 15deg;
  --card-rotate-y: -17deg;
  z-index: 0;
}

.language-card::before {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 3;
  border: 1px solid rgba(151,106,55,.16);
  pointer-events: none;
}

.language-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  overflow: hidden;
  background: #f8f1e5;
}

.language-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.025);
  transition: transform .7s cubic-bezier(.2,.72,.2,1);
}

.language-card[data-language="english"] .language-card__photo {
  object-position: 48% center;
}

.language-card[data-language="spanish"] .language-card__photo {
  object-position: 52% center;
}

.language-card__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 32%, rgba(255,250,238,.92) 0 14%, rgba(218,189,137,.60) 15% 22%, transparent 23%),
    radial-gradient(circle at 50% 68%, rgba(67,88,104,.26) 0 24%, transparent 25%),
    linear-gradient(142deg, rgba(19,43,57,.92) 0%, rgba(58,82,92,.80) 42%, rgba(177,132,65,.62) 100%);
}

.language-card__media--placeholder::before {
  content: "";
  position: absolute;
  width: 58%;
  aspect-ratio: 1;
  top: 20%;
  left: 50%;
  z-index: -1;
  border: 1px solid rgba(248,235,204,.52);
  border-radius: 50%;
  box-shadow:
    0 0 0 16px rgba(251,239,208,.08),
    0 26px 70px rgba(8,18,25,.22);
  transform: translateX(-50%);
}

.language-card__media--placeholder::after {
  content: "";
  position: absolute;
  width: 58%;
  height: 26%;
  left: 21%;
  top: 48%;
  z-index: -1;
  border-radius: 999px 999px 28px 28px;
  background: linear-gradient(180deg, rgba(251,242,221,.74), rgba(206,164,98,.34));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.32);
}

.language-card__placeholder-code {
  position: absolute;
  top: 34%;
  left: 50%;
  color: rgba(255,250,238,.94);
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 600;
  letter-spacing: .04em;
  text-shadow: 0 12px 32px rgba(7,17,24,.35);
  transform: translate(-50%, -50%);
}

.language-card__placeholder-note {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 91px;
  color: rgba(255,250,238,.68);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}

.language-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.02) 48%, rgba(249,241,226,.40) 68%, rgba(21,16,12,.82) 100%);
}

.language-card__number,
.language-card__label,
.language-card__hint {
  position: absolute;
  z-index: 4;
}

.language-card__number {
  top: 25px;
  left: 26px;
  color: rgba(62,43,24,.58);
  font-size: 11px;
  letter-spacing: .16em;
}

.language-card__label {
  left: 26px;
  right: 24px;
  bottom: 43px;
  color: #fff9ee;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  line-height: .95;
  text-shadow: 0 2px 16px rgba(0,0,0,.24);
}

.language-card__hint {
  left: 27px;
  bottom: 21px;
  color: rgba(255,249,238,.67);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .25s ease, transform .25s ease;
}

.language-card.is-active,
.language-card:focus-visible {
  box-shadow: 0 38px 72px rgba(49,31,15,.22);
  filter: saturate(1.04);
}

.language-card.is-active .language-card__photo,
.language-card:focus-visible .language-card__photo {
  transform: scale(1.06);
}

.language-card.is-active .language-card__hint,
.language-card:focus-visible .language-card__hint {
  opacity: 1;
  transform: translateY(0);
}

.language-card:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 5px;
}

.language-deck__dots {
  display: flex;
  justify-content: center;
  gap: 11px;
  margin-top: 2px;
}

.language-deck__dot {
  width: 32px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.language-deck__dot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 1px;
  background: rgba(76,51,29,.22);
  transition: background .2s ease, transform .2s ease;
}

.language-deck__dot.is-active::after {
  background: var(--gold-500);
  transform: scaleY(2);
}

.language-deck__details {
  max-width: 680px;
  margin: 30px auto 0;
  text-align: center;
}

.language-deck__counter {
  color: rgba(109,76,43,.60);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
}

.language-deck__details h3 {
  margin-top: 7px;
  color: #25180f;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
}

.language-deck__details p {
  max-width: 560px;
  margin: 13px auto 0;
  color: rgba(33,23,15,.62);
  font-size: 15px;
  line-height: 1.65;
}

.language-deck__tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}

.language-deck__tags span {
  padding: 6px 11px;
  border: 1px solid rgba(112,77,42,.16);
  color: rgba(68,45,25,.66);
  font-size: 11px;
  letter-spacing: .025em;
}

.language-deck__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 21px;
  color: #966b35;
  font-size: 14px;
  font-weight: 600;
}

.language-deck__link svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
  transition: transform .2s ease;
}

.language-deck__link:hover svg {
  transform: translate(2px, -2px);
}

/* ===================================================================
   Goals
   =================================================================== */
.goals {
  background: #030b17;
  padding: 64px 62px 68px;
  border-bottom: 1px solid rgba(199,162,99,.18);
}

.goals__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.goal-card {
  padding: 32px 28px;
  border: 1px solid var(--line-gold);
  background: rgba(255,255,255,.015);
  position: relative;
  transition: transform .2s ease, border-color .2s ease;
}

.goal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(221,194,139,.55);
}

.goal-card__icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 18px;
  color: var(--gold-400);
}

.goal-card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--gold-300);
  margin-bottom: 14px;
}

.goal-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ===================================================================
   How it works (process timeline)
   =================================================================== */
.how {
  background: var(--navy-950);
  padding: 64px 62px 68px;
  border-bottom: 1px solid var(--line-gold);
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.how__grid::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: var(--line-gold);
}

.how__step {
  position: relative;
  padding-top: 64px;
  text-align: center;
}

.how__number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-400);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--gold-300);
  background: var(--navy-950);
  z-index: 2;
}

.how__step h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: #f4ead9;
  margin-bottom: 12px;
}

.how__step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 240px;
  margin: 0 auto;
}

/* ===================================================================
   Formats
   =================================================================== */
.formats {
  background: radial-gradient(circle at 50% -20%, rgba(170,126,66,.10), transparent 34%), var(--cream-50);
  color: var(--ink);
  padding: 56px 62px 67px;
  border-bottom: 1px solid rgba(199,162,99,.22);
}

.formats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.format-card {
  padding: 32px 24px 28px;
  border: 1px solid rgba(79,54,32,.13);
  background: rgba(255,253,248,.54);
  box-shadow: 0 18px 36px rgba(39,26,14,.07);
  transition: transform .18s ease, box-shadow .18s ease;
}

.format-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(39,26,14,.10);
}

.format-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: #25180f;
  margin-bottom: 12px;
}

.format-card p {
  color: rgba(33,23,15,.63);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.format-card .text-link {
  color: #9f7439;
}

/* ===================================================================
   Pricing
   =================================================================== */
.pricing {
  background: var(--navy-950);
  padding: 64px 62px 68px;
  border-bottom: 1px solid var(--line-gold);
}

.pricing__tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 44px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-gold);
  border-radius: 4px;
  padding: 4px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.pricing__tab {
  flex: 1;
  padding: 12px 16px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
  border-radius: 2px;
}

.pricing__tab:hover {
  color: var(--cream-50);
}

.pricing__tab.active {
  background: rgba(221,194,139,.12);
  color: var(--gold-300);
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing__card {
  padding: 34px 28px 32px;
  border: 1px solid var(--line-gold);
  background: rgba(255,255,255,.015);
  text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}

.pricing__card:hover {
  transform: translateY(-4px);
  border-color: rgba(221,194,139,.55);
}

.pricing__card--featured {
  border-color: rgba(221,194,139,.55);
  background: rgba(221,194,139,.04);
}

.pricing__card h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--gold-300);
  margin-bottom: 8px;
}

.pricing__per-lesson {
  font-size: 32px;
  font-weight: 600;
  color: #f4ead9;
  font-family: var(--serif);
  margin-bottom: 4px;
}

.pricing__per-lesson small {
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
}

.pricing__total {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}

.pricing__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 24px;
  min-height: 42px;
}

.pricing__card .outline-btn {
  width: 100%;
}

.pricing__note {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin-top: 36px;
}

/* ===================================================================
   Teachers
   =================================================================== */
.teachers {
  background: #030b17;
  padding: 64px 62px 68px;
  border-bottom: 1px solid rgba(199,162,99,.18);
}

.teachers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.teacher-card {
  padding: 32px 24px;
  border: 1px solid var(--line-gold);
  background: rgba(255,255,255,.015);
  text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}

.teacher-card:hover {
  transform: translateY(-4px);
  border-color: rgba(221,194,139,.55);
}

.teacher-card__avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, #ddc28b, #7a5f30);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 30px;
  color: #f4ead9;
  font-weight: 600;
  overflow: hidden;
  border: 1px solid rgba(221,194,139,.42);
}

.teacher-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--gold-300);
  margin-bottom: 4px;
}

.teacher-card__meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

.teacher-card__bio {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.teacher-card__quote {
  font-size: 13px;
  font-style: italic;
  color: var(--gold-300);
  line-height: 1.6;
  padding: 12px 0 0;
  border-top: 1px solid var(--line-gold);
}

/* ===================================================================
   Method
   =================================================================== */
.method {
  background: radial-gradient(circle at 50% -20%, rgba(170,126,66,.10), transparent 34%), var(--cream-50);
  color: var(--ink);
  padding: 56px 62px 67px;
  border-bottom: 1px solid rgba(199,162,99,.22);
}

.method__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.method__text h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.06;
  color: #25180f;
  margin-bottom: 22px;
}

.method__text p {
  color: rgba(33,23,15,.58);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.method__list {
  list-style: none;
  padding: 0;
}

.method__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: rgba(33,23,15,.65);
  line-height: 1.55;
  border-bottom: 1px solid rgba(79,54,32,.10);
}

.method__list li::before {
  content: "✦";
  color: var(--gold-500);
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.method__pullquote {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  line-height: 1.25;
  color: var(--gold-500);
  padding: 32px;
  border-left: 2px solid var(--gold-400);
  background: rgba(255,255,255,.3);
}

/* ===================================================================
   Reviews
   =================================================================== */
.reviews {
  background: var(--navy-950);
  padding: 64px 62px 68px;
  border-bottom: 1px solid var(--line-gold);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.review-card {
  padding: 32px 28px;
  border: 1px solid var(--line-gold);
  background: rgba(255,255,255,.015);
  transition: transform .2s ease, border-color .2s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(221,194,139,.55);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ddc28b, #7a5f30);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 18px;
  color: #f4ead9;
  font-weight: 600;
  flex-shrink: 0;
}

.review-card__name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-300);
}

.review-card__lang {
  font-size: 12px;
  color: var(--muted);
}

.review-card__before {
  font-size: 13px;
  color: rgba(246,241,232,.50);
  margin-bottom: 6px;
  padding: 6px 10px;
  background: rgba(221,194,139,.06);
  border-left: 2px solid rgba(221,194,139,.25);
}

.review-card__before strong {
  color: var(--muted);
  font-weight: 500;
}

.review-card__after {
  font-size: 13px;
  color: var(--gold-300);
  margin-bottom: 14px;
  padding: 6px 10px;
  background: rgba(221,194,139,.08);
  border-left: 2px solid var(--gold-400);
}

.review-card__after strong {
  color: var(--gold-300);
  font-weight: 500;
}

.review-card__text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  font-style: italic;
}

/* ===================================================================
   FAQ
   =================================================================== */
.faq {
  background: #030b17;
  padding: 64px 62px 68px;
  border-bottom: 1px solid rgba(199,162,99,.18);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--line-gold);
}

.faq__question {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  color: var(--cream-50);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color .2s ease;
}

.faq__question:hover {
  color: var(--gold-300);
}

.faq__question::after {
  content: "+";
  font-size: 22px;
  color: var(--gold-400);
  flex-shrink: 0;
  transition: transform .25s ease;
}

.faq__item.open .faq__question::after {
  content: "−";
  transform: rotate(0deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}

.faq__item.open .faq__answer {
  max-height: 200px;
  padding-bottom: 20px;
}

.faq__answer p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  padding-right: 40px;
}

/* ===================================================================
   Final CTA
   =================================================================== */
.final-cta {
  background: var(--navy-950);
  padding: 80px 62px;
  text-align: center;
  border-bottom: 1px solid var(--line-gold);
}

.final-cta__inner {
  max-width: 660px;
  margin: 0 auto;
}

.final-cta__inner .section__title {
  color: var(--gold-300);
}

.final-cta__inner .section__subtitle {
  color: rgba(246,241,232,.72);
  max-width: 480px;
}

.final-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.final-cta__secondary {
  display: inline-flex;
  color: rgba(221,194,139,.78);
  font-size: 14px;
  border-bottom: 1px solid rgba(221,194,139,.38);
  padding-bottom: 2px;
  cursor: pointer;
}

.final-cta__micro {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.final-cta__micro span {
  font-size: 12px;
  color: var(--muted);
  opacity: .7;
}

/* ===================================================================
   About section (from original)
   =================================================================== */
.about {
  min-height: 410px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  background: var(--navy-950);
  border-top: 1px solid rgba(2,8,20,.55);
  border-bottom: 1px solid rgba(199,162,99,.22);
}

.about-left {
  position: relative;
  min-height: 410px;
  padding: 54px 56px 42px 63px;
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 36px;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(2,8,20,1) 0%, rgba(2,8,20,.91) 48%, rgba(2,8,20,.24) 100%),
    url("../assets/images/magic-bg-og-book.webp"),
    var(--navy-950);
  background-size: cover;
  background-position: center right;
}

.about-text {
  align-self: start;
}

.about .section-eyebrow { color: var(--gold-300); }

.about h2 {
  margin-top: 20px;
  font-size: 42px;
  line-height: 1.06;
  color: #f4ead9;
  max-width: 410px;
}

.about p {
  margin-top: 22px;
  max-width: 425px;
  color: rgba(246,241,232,.68);
  font-size: 15px;
  line-height: 1.75;
}

.pull-quote {
  align-self: end;
  max-width: 250px;
  margin-bottom: 14px;
  color: rgba(221,194,139,.86);
  font-family: var(--serif);
  font-size: 27px;
  font-style: italic;
  line-height: 1.08;
  transform: translateX(14px);
}

.cta-wrap {
  min-height: 410px;
  padding: 32px 39px 31px 28px;
  display: flex;
  align-items: center;
  background: #030b17;
}

.cta-card {
  width: 100%;
  min-height: 331px;
  border: 1px solid rgba(221,194,139,.40);
  box-shadow: inset 0 0 0 1px rgba(246,241,232,.035);
  padding: 58px 64px 48px 78px;
  position: relative;
  background:
    linear-gradient(135deg, rgba(221,194,139,.065), transparent 36%),
    rgba(255,255,255,.01);
}

.cta-card::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 28px;
  width: 74px;
  height: 1px;
  background: rgba(221,194,139,.50);
}

.cta-card .section-eyebrow { color: rgba(221,194,139,.84); }

.cta-card h2 {
  margin-top: 17px;
  font-size: 44px;
  line-height: 1.02;
  color: var(--gold-300);
  max-width: 440px;
}

.cta-card p {
  margin-top: 22px;
  color: rgba(246,241,232,.72);
  font-size: 15px;
  line-height: 1.65;
  max-width: 330px;
}

.cta-card .gold-btn {
  margin-top: 29px;
  margin-left: 42px;
  min-height: 58px;
  padding: 0 29px;
  font-size: 14px;
}

.cta-secondary {
  margin: 20px 0 0 42px;
  display: inline-flex;
  color: rgba(221,194,139,.78);
  font-size: 14px;
  border-bottom: 1px solid rgba(221,194,139,.38);
}

/* ===================================================================
   Stats
   =================================================================== */
.stats {
  min-height: 146px;
  background: #030b17;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 32px 63px;
  border-bottom: 1px solid rgba(199,162,99,.12);
}

.stat {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 20px;
  position: relative;
}

.stat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 34px;
  top: 10px;
  height: 70px;
  width: 1px;
  background: rgba(246,241,232,.13);
}

.stat svg {
  width: 42px;
  height: 42px;
  stroke: var(--gold-300);
  stroke-width: 1.35;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .78;
}

.stat strong {
  font-family: var(--serif);
  font-size: 45px;
  line-height: 1;
  font-weight: 500;
  color: #f0e3cd;
  display: block;
  letter-spacing: .01em;
}

.stat span {
  margin-top: 8px;
  display: block;
  color: rgba(246,241,232,.58);
  font-size: 13px;
  line-height: 1.35;
}

/* ===================================================================
   Footer
   =================================================================== */
.site-footer {
  background: var(--navy-950);
  padding: 52px 62px 36px;
  border-top: 1px solid var(--line-gold);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__col h4 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--gold-300);
  margin-bottom: 18px;
}

.footer__col p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer__col ul li {
  margin-bottom: 10px;
}

.footer__col ul li a {
  font-size: 13px;
  color: var(--muted);
  transition: color .18s ease;
}

.footer__col ul li a:hover {
  color: var(--gold-300);
}

.footer__social {
  display: flex;
  gap: 14px;
  margin-top: 16px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-gold);
  display: grid;
  place-items: center;
  transition: border-color .18s ease, background .18s ease;
  color: var(--gold-400);
}

.footer__social a:hover {
  border-color: var(--gold-400);
  background: rgba(221,194,139,.06);
}

.footer__social a svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.footer__bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  opacity: .6;
}

/* ===================================================================
   Quiz overlay
   =================================================================== */
.quiz-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(2,8,20,.92);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.quiz-overlay.open {
  display: flex;
}

.quiz-modal {
  width: 100%;
  max-width: 560px;
  background: var(--navy-850);
  border: 1px solid var(--line-gold);
  box-shadow: 0 40px 80px rgba(0,0,0,.5);
  padding: 48px 44px 36px;
  position: relative;
}

.quiz-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 24px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  transition: color .18s ease;
}

.quiz-modal__close:hover {
  color: var(--gold-300);
}

.quiz-progress {
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
  margin-bottom: 32px;
  overflow: hidden;
}

.quiz-progress__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-300));
  border-radius: 2px;
  transition: width .35s ease;
  width: 0%;
}

.quiz-step {
  display: none;
  animation: quizFadeIn .3s ease forwards;
}

.quiz-step.active {
  display: block;
}

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-step__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: #f4ead9;
  margin-bottom: 24px;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--line-gold);
  background: rgba(255,255,255,.015);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
  border-radius: 2px;
  position: relative;
}

.quiz-option:hover {
  border-color: rgba(221,194,139,.55);
  background: rgba(221,194,139,.04);
}

.quiz-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-option.selected {
  border-color: var(--gold-400);
  background: rgba(221,194,139,.08);
}

.quiz-option__label {
  font-size: 15px;
  color: var(--cream-50);
  font-weight: 400;
  cursor: pointer;
  flex: 1;
}

.quiz-option__check {
  width: 20px;
  height: 20px;
  border: 2px solid var(--muted);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: border-color .2s ease, background .2s ease;
}

.quiz-option.selected .quiz-option__check {
  border-color: var(--gold-400);
  background: var(--gold-400);
}

.quiz-option.selected .quiz-option__check::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy-950);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.quiz-btn {
  min-height: 50px;
  padding: 0 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background .2s ease, color .2s ease;
  border-radius: 2px;
}

.quiz-btn--back {
  background: transparent;
  border: 1px solid var(--line-gold);
  color: var(--muted);
}

.quiz-btn--back:hover {
  border-color: rgba(221,194,139,.55);
  color: var(--cream-50);
}

.quiz-btn--next {
  background: linear-gradient(180deg, #d7b77b, #b88b4a);
  color: #fff8ea;
  border: 1px solid rgba(244,224,178,.18);
  box-shadow: 0 8px 24px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.22);
  transition: transform .18s ease, filter .18s ease;
}

.quiz-btn--next:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.quiz-btn--next:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

/* Input fields in final step */
.quiz-field {
  margin-bottom: 16px;
}

.quiz-field label {
  display: block;
  font-size: 13px;
  color: var(--gold-300);
  margin-bottom: 6px;
}

.quiz-field input {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line-gold);
  color: var(--cream-50);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color .2s ease;
  border-radius: 2px;
}

.quiz-field input:focus {
  border-color: var(--gold-400);
}

.quiz-field input::placeholder {
  color: rgba(246,241,232,.30);
}

/* Final screen */
.quiz-final {
  text-align: center;
  padding: 24px 0;
}

.quiz-final__icon {
  font-size: 48px;
  margin-bottom: 18px;
  color: var(--gold-400);
}

.quiz-final h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold-300);
  margin-bottom: 14px;
}

.quiz-final p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto;
}

.quiz-final__micro {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
  opacity: .7;
  line-height: 1.8;
}

.quiz-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  color: rgba(246,241,232,.68);
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.quiz-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-400);
  flex: 0 0 auto;
}

.quiz-consent a,
.inline-form__consent a {
  color: var(--gold-300);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quiz-final__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.quiz-final__actions .gold-btn,
.quiz-final__actions .outline-btn {
  min-height: 48px;
}

/* ===================================================================
   Responsive: tablet (≤1180px)
   =================================================================== */
@media (max-width: 1180px) {
  .site-header { padding: 0 32px; }
  .nav { gap: 22px; }
  .header-actions, .brand { min-width: auto; }
  .hero-content { width: 58%; padding-left: 42px; }
  .hero-magic__scene { width: 70%; right: -8%; }
  .language-deck__stage { max-width: 940px; }
  .section { padding-inline: 42px; }
  .footer__grid { gap: 28px; }
  .formats__grid,
  .goals__grid,
  .teachers__grid,
  .how__grid,
  .pricing__grid { gap: 20px; }
  .reviews__grid { gap: 20px; }
  .footer__grid { gap: 28px; }
}

/* ===================================================================
   Responsive: mid (≤920px)
   =================================================================== */
@media (max-width: 920px) {
  .site-header {
    height: auto;
    padding: 22px 24px;
    flex-wrap: wrap;
    gap: 18px;
  }
  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
    display: none;
  }
  .nav.hidden { display: none; }
  .nav:not(.hidden) { display: flex; }
  .hamburger { display: flex; }
  .outline-btn { min-height: 46px; padding-inline: 20px; }
  .hero { min-height: clamp(520px, calc(100vh - 104px), 580px); }
  .hero-content { width: 100%; padding: 64px 28px 0; }
  .hero h1 { font-size: 62px; max-width: 520px; margin-top: 32px; }
  .hero-subtitle { max-width: 500px; font-size: 17px; }
  .hero-actions { gap: 28px; }
  .hero-magic__scene {
    width: 75%;
    right: -18%;
    opacity: .78;
  }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(2,8,20,.98) 0%, rgba(2,8,20,.88) 42%, rgba(2,8,20,.34) 75%, rgba(2,8,20,.20) 100%),
      linear-gradient(0deg, rgba(2,8,20,.58), transparent 42%);
  }
  .language-deck__stage { height: 470px; }
  .language-card { width: 274px; height: 411px; }
  .language-card:nth-child(2) { --card-x: 74px; }
  .language-card:nth-child(3) { --card-x: 118px; }
  .language-card:nth-child(4) { --card-x: 154px; }
  .language-card:nth-child(5) { --card-x: 178px; }
  .lang-hero { min-height: 560px; padding: 48px 42px 60px; }
  .lang-hero h1 { font-size: 58px; }
  /* Mid table adjustments */
  .formats__grid { grid-template-columns: repeat(2, 1fr); }
  .goals__grid { grid-template-columns: repeat(2, 1fr); }
  .teachers__grid { grid-template-columns: repeat(2, 1fr); }
  .how__grid { grid-template-columns: repeat(2, 1fr); }
  .how__grid::before { display: none; }
  .method__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===================================================================
   Responsive: mobile (≤620px)
   =================================================================== */
@media (max-width: 620px) {
  .site-header {
    padding: 16px 20px;
  }
  .brand-name { font-size: 16px; }
  .brand { min-width: auto; gap: 10px; }
  .brand-mark { width: 36px; height: 44px; font-size: 14px; }
  .brand-mark svg { width: 17px; height: 17px; }
  .nav { overflow-x: auto; gap: 16px; font-size: 12px; }
  .header-actions { gap: 14px; min-width: auto; }
  .outline-btn { min-height: 40px; padding-inline: 16px; font-size: 12px; }

  .hero { min-height: clamp(470px, calc(100vh - 96px), 520px); }
  .hero-content { padding: 44px 20px 0; }
  .hero h1 { font-size: 44px; max-width: 100%; }
  .hero-subtitle { font-size: 15px; max-width: 100%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-magic__scene {
    width: 128%;
    height: 92%;
    top: 8%;
    right: -42%;
    opacity: .64;
  }
  .hero-magic__rune--outer { width: 390px; }
  .hero-magic__rune--inner { width: 250px; }
  .hero-magic__ribbon { width: 520px; height: 190px; }
  .hero-magic__ribbon--two { width: 460px; height: 170px; }
  .hero-magic__beams { width: 410px; }
  .hero-magic__shards { width: 350px; }
  .hero-magic__core { width: 122px; }
  .hero-magic__core-star { width: 132px; }
  .hero-magic__core-star::after { height: 132px; }
  .hero::after {
    background:
      linear-gradient(90deg, rgba(2,8,20,.98) 0%, rgba(2,8,20,.88) 58%, rgba(2,8,20,.42) 100%),
      linear-gradient(0deg, rgba(2,8,20,.60), transparent 48%);
  }
  .gold-btn { width: 100%; min-height: 56px; justify-content: center; }
  .trust { bottom: 20px; left: 20px; font-size: 12px; }

  .feature-strip { grid-template-columns: 1fr; gap: 20px; padding: 28px 20px; }
  .feature { grid-template-columns: 36px 1fr; min-height: auto; padding-right: 0; }
  .feature h3 { font-size: 18px; }
  .icon-box svg { width: 28px; height: 28px; }

  .section { padding: 48px 20px 52px; }
  .section__title { font-size: 30px; }

  .languages { padding: 52px 20px 60px; }
  .language-deck__stage {
    width: calc(100% + 40px);
    height: 410px;
    margin-left: -20px;
    overflow: hidden;
    perspective: 1000px;
  }
  .language-card {
    width: 244px;
    height: 366px;
  }
  .language-card:nth-child(2) { --card-x: 34px; }
  .language-card:nth-child(3) { --card-x: 54px; }
  .language-card:nth-child(4) { --card-x: 72px; }
  .language-card:nth-child(5) { --card-x: 88px; }
  .language-card__label { font-size: 31px; }
  .language-card__hint { opacity: 1; transform: none; }
  .language-deck__dots { margin-top: 8px; }
  .language-deck__details { margin-top: 24px; }
  .language-deck__details h3 { font-size: 36px; }
  .language-deck__details p { font-size: 14px; }

  .goals__grid { grid-template-columns: 1fr; }
  .goal-card { padding: 24px 20px; }
  .goal-card h3 { font-size: 22px; }

  .formats__grid { grid-template-columns: 1fr; }
  .format-card { padding: 24px 20px; }

  .pricing { padding: 48px 20px 52px; }
  .pricing__tabs { flex-direction: column; gap: 0; max-width: 100%; }
  .pricing__tab { text-align: center; }

  .teachers__grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }

  .method { padding: 48px 20px 52px; }
  .method__grid { grid-template-columns: 1fr; gap: 24px; }
  .method__text h2 { font-size: 28px; }
  .method__pullquote { font-size: 20px; padding: 24px; }

  .reviews { padding: 48px 20px 52px; }
  .review-card { padding: 24px 20px; }

  .faq { padding: 48px 20px 52px; }
  .faq__question { font-size: 14px; }

  .final-cta { padding: 60px 20px; }

  .about h2 { font-size: 32px; }
  .cta-card { padding: 40px 20px 32px; }
  .cta-card h2 { font-size: 32px; }
  .cta-card .gold-btn,
  .cta-secondary,
  .cta-card .gold-btn,
  .cta-secondary { margin-left: 0; }

  .about-left { padding: 40px 20px; }
  .about p { max-width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; gap: 24px 12px; padding: 28px 20px; }
  .stat strong { font-size: 34px; }

  .site-footer { padding: 40px 20px 28px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }

  .quiz-modal { padding: 36px 24px 28px; }
  .quiz-step__title { font-size: 20px; }
  .quiz-option { padding: 14px 16px; }

  .final-cta__actions { flex-direction: column; }
  .final-cta__micro { flex-direction: column; gap: 6px; }
}

/* ===================================================================
   Extra small (≤400px)
   =================================================================== */
@media (max-width: 400px) {
  .hero h1 { font-size: 36px; }
  .hero-subtitle { font-size: 14px; }
  .brand-name { font-size: 14px; }
  .brand-mark { width: 30px; height: 38px; font-size: 12px; }
  .brand-mark svg { width: 14px; height: 14px; }
  .nav { gap: 12px; font-size: 11px; }
  .language-deck__stage { height: 380px; }
  .language-card { width: 222px; height: 333px; }
  .language-card:nth-child(2) { --card-x: 30px; }
  .language-card:nth-child(3) { --card-x: 48px; }
  .language-card:nth-child(4) { --card-x: 64px; }
  .language-card:nth-child(5) { --card-x: 78px; }
  .language-card__label { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-magic__scene,
  .hero-magic__layer,
  .language-deck__stage,
  .language-card,
  .language-card__photo {
    animation: none !important;
    transition-duration: .01ms !important;
  }

  .hero-magic__scene {
    transform: none !important;
  }

  .hero-magic__particles {
    display: none;
  }
}

/* ===================================================================
   Dropdown nav
   =================================================================== */
.nav-item--dropdown {
  position: relative;
}

.nav-item--dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-arrow {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform .2s ease;
}

.nav-item--dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #081421;
  border: 1px solid var(--line-gold);
  min-width: 170px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  z-index: 20;
}

.nav-item--dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 22px;
  font-size: 13px;
  color: rgba(246,241,232,.72);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.dropdown-menu a:hover {
  background: rgba(221,194,139,.08);
  color: var(--gold-300);
}

/* ===================================================================
   Lang hero (language pages)
   =================================================================== */
.lang-hero {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 60px 62px 80px;
  position: relative;
  border-bottom: 1px solid rgba(199,162,99,.24);
  background: var(--navy-950);
}

.lang-hero__content {
  max-width: 720px;
}

.lang-hero .label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-300);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .19em;
  line-height: 1.1;
  text-transform: lowercase;
}

.lang-hero .label::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(221,194,139,.55);
}

.lang-hero h1 {
  margin-top: 36px;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 500;
  line-height: .97;
  letter-spacing: .005em;
  color: #f4ecdd;
  max-width: 700px;
}

.lang-hero__subtitle {
  margin-top: 24px;
  max-width: 500px;
  color: rgba(246,241,232,.72);
  font-size: 17px;
  line-height: 1.72;
  font-weight: 300;
}

.lang-hero__actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ===================================================================
   Language chips (hero and general)
   =================================================================== */
.lang-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}

.chip {
  padding: 8px 18px;
  border: 1px solid rgba(221,194,139,.28);
  font-size: 13px;
  color: rgba(246,241,232,.70);
  letter-spacing: .03em;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
  cursor: pointer;
  border-radius: 0;
}

.chip:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
  background: rgba(221,194,139,.06);
}

.hero-purposes {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(246,241,232,.45);
  letter-spacing: .03em;
}

.hero-purposes span {
  display: inline-block;
}

.hero-purposes span + span::before {
  content: " · ";
  color: rgba(246,241,232,.30);
  margin: 0 6px;
}

/* ===================================================================
   Stats bar
   =================================================================== */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(221,194,139,.18);
}

.stats-bar span {
  font-size: 13px;
  color: rgba(246,241,232,.50);
  letter-spacing: .02em;
}

/* ===================================================================
   Goals grid (language pages)
   =================================================================== */
.goals__grid--lang {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.goal-card--lang {
  padding: 28px 24px;
  border: 1px solid var(--line-gold);
  background: rgba(255,255,255,.015);
  transition: transform .2s ease, border-color .2s ease;
}

.goal-card--lang:hover {
  transform: translateY(-4px);
  border-color: rgba(221,194,139,.55);
}

.goal-card--lang .goal-card__icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 14px;
}

.goal-card--lang h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-300);
  margin-bottom: 10px;
}

.goal-card--lang p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ===================================================================
   Pricing table (Futurist-inspired)
   =================================================================== */
.pricing__table-wrapper {
  overflow-x: auto;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing__table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}

.pricing__table thead th {
  padding: 18px 20px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-300);
  border-bottom: 1px solid var(--line-gold);
  background: rgba(221,194,139,.03);
}

.pricing__table thead th:first-child {
  text-align: left;
  padding-left: 24px;
  color: rgba(246,241,232,.60);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.pricing__table tbody td {
  padding: 20px 20px;
  border-bottom: 1px solid rgba(221,194,139,.10);
  color: rgba(246,241,232,.85);
  font-size: 15px;
  transition: background .18s ease;
}

.pricing__table tbody td:first-child {
  text-align: left;
  padding-left: 24px;
  font-family: var(--serif);
  font-size: 18px;
  color: var(--cream-50);
  font-weight: 500;
}

.pricing__table .price {
  font-size: 18px;
  font-weight: 500;
  color: #f4ead9;
  font-family: var(--serif);
}

.pricing__table .price small {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.pricing__table tbody tr {
  transition: background .18s ease;
  cursor: default;
}

.pricing__table tbody tr:hover {
  background: rgba(221,194,139,.04);
}

.pricing__table tbody tr:hover td:first-child {
  color: var(--gold-300);
}

.pricing__table .row-cta {
  display: none;
  margin-top: 0;
}

.pricing__table tbody tr:hover .row-cta {
  display: inline-flex;
}

.row-cta {
  min-height: 36px;
  padding: 0 16px;
  background: linear-gradient(180deg, #d7b77b, #b88b4a);
  color: #fff8ea;
  border: 1px solid rgba(244,224,178,.18);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--sans);
  transition: transform .15s ease, filter .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.row-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

/* Pricing table mobile cards */
.pricing__mobile-cards {
  display: none;
}

/* ===================================================================
   Formats short (language pages)
   =================================================================== */
.formats-short {
  background: #030b17;
  padding: 56px 62px 60px;
  border-bottom: 1px solid rgba(199,162,99,.18);
}

.formats-short__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.format-short-card {
  padding: 28px 24px;
  border: 1px solid var(--line-gold);
  background: rgba(255,255,255,.015);
  text-align: center;
  transition: transform .2s ease, border-color .2s ease;
}

.format-short-card:hover {
  transform: translateY(-4px);
  border-color: rgba(221,194,139,.55);
}

.format-short-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--gold-300);
  margin-bottom: 8px;
}

.format-short-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ===================================================================
   Teachers short (language pages)
   =================================================================== */
.teachers-short {
  background: #030b17;
  padding: 56px 62px 60px;
  border-bottom: 1px solid rgba(199,162,99,.18);
}

.teachers-short__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

/* ===================================================================
   Reviews short (language pages)
   =================================================================== */
.reviews-short {
  background: var(--navy-950);
  padding: 56px 62px 60px;
  border-bottom: 1px solid var(--line-gold);
}

.reviews-short__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

/* ===================================================================
   FAQ (language pages)
   =================================================================== */
.faq-lang {
  background: #030b17;
  padding: 56px 62px 60px;
  border-bottom: 1px solid rgba(199,162,99,.18);
}

/* ===================================================================
   Platform pages
   =================================================================== */
.platform-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  gap: 54px;
  align-items: center;
  min-height: 640px;
  padding: 72px 62px 82px;
  overflow: hidden;
  border-bottom: 1px solid rgba(199,162,99,.24);
  background:
    linear-gradient(90deg, rgba(2,8,20,.98) 0%, rgba(2,8,20,.90) 45%, rgba(2,8,20,.62) 100%),
    radial-gradient(circle at 78% 32%, rgba(221,194,139,.18), transparent 30%),
    url("../assets/images/magic-bg-hero-navy.webp"),
    var(--navy-950);
  background-size: cover;
  background-position: center right;
}

.platform-hero::before {
  content: "";
  position: absolute;
  inset: 10% -8% auto auto;
  width: 520px;
  aspect-ratio: 1;
  border: 1px solid rgba(221,194,139,.14);
  border-radius: 50%;
  box-shadow: inset 0 0 60px rgba(221,194,139,.06), 0 0 70px rgba(199,162,99,.08);
  pointer-events: none;
}

.platform-hero__content,
.platform-preview {
  position: relative;
  z-index: 1;
}

.platform-hero h1 {
  max-width: 760px;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 500;
  line-height: .97;
  color: #f4ecdd;
}

.platform-hero__subtitle {
  max-width: 600px;
  margin-top: 24px;
  color: rgba(246,241,232,.72);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.72;
}

.platform-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.platform-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.platform-hero__chips span,
.platform-preview__status,
.admin-gateway__roles span {
  border: 1px solid rgba(221,194,139,.28);
  padding: 8px 14px;
  color: rgba(246,241,232,.72);
  font-size: 12px;
  letter-spacing: .04em;
}

.platform-preview {
  border: 1px solid rgba(221,194,139,.28);
  background: rgba(3,11,23,.82);
  box-shadow: 0 28px 56px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
}

.platform-preview__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 18px 0;
}

.platform-preview__brand {
  color: #f4ecdd;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
}

.platform-preview__status {
  padding: 6px 10px;
  color: var(--gold-300);
}

.platform-preview__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 20px 18px 0;
  border: 1px solid rgba(221,194,139,.18);
  background: rgba(221,194,139,.18);
}

.platform-preview__tab {
  min-height: 42px;
  border: 0;
  background: rgba(8,20,33,.96);
  color: rgba(246,241,232,.66);
  font: 600 12px/1 var(--sans);
  cursor: pointer;
  transition: color .18s ease, background .18s ease;
}

.platform-preview__tab:hover,
.platform-preview__tab.is-active {
  background: rgba(221,194,139,.10);
  color: var(--gold-300);
}

.platform-preview__panels {
  padding: 18px;
}

.platform-preview__panel {
  display: none;
}

.platform-preview__panel.is-active {
  display: block;
}

.platform-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.platform-stat span {
  color: var(--gold-300);
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
}

.platform-stat p {
  color: rgba(246,241,232,.66);
  font-size: 13px;
  line-height: 1.5;
}

.platform-task {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid rgba(221,194,139,.12);
}

.platform-task strong {
  color: #f4ecdd;
  font-size: 14px;
}

.platform-task p {
  margin-top: 4px;
  color: rgba(246,241,232,.56);
  font-size: 13px;
  line-height: 1.55;
}

.platform-task__dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 50%;
  background: #7ea4d1;
  box-shadow: 0 0 16px rgba(126,164,209,.42);
}

.platform-task__dot--gold {
  background: var(--gold-300);
  box-shadow: 0 0 16px rgba(221,194,139,.42);
}

.platform-flow,
.platform-access,
.platform-admin-map,
.admin-modules {
  padding: 64px 62px 68px;
}

.platform-flow__grid,
.platform-access__grid,
.admin-modules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.platform-flow__card,
.platform-access__card,
.admin-modules__grid article {
  border: 1px solid rgba(33,23,15,.14);
  background: rgba(255,255,255,.45);
  padding: 28px 24px;
  transition: transform .2s ease, border-color .2s ease;
}

.platform-access__card {
  border-color: rgba(221,194,139,.28);
  background: rgba(255,255,255,.015);
}

.platform-flow__card:hover,
.platform-access__card:hover,
.admin-modules__grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(199,162,99,.48);
}

.platform-flow__card span,
.admin-modules__grid article span {
  color: rgba(170,126,66,.84);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}

.platform-flow__card h3,
.platform-access__card h3,
.admin-modules__grid article h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
}

.platform-flow__card h3,
.admin-modules__grid article h3 {
  color: #25180f;
}

.platform-access__card h3 {
  color: var(--gold-300);
}

.platform-flow__card p,
.admin-modules__grid article p {
  margin-top: 10px;
  color: rgba(33,23,15,.62);
  font-size: 14px;
  line-height: 1.7;
}

.platform-access__card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.platform-access__icon,
.admin-login-card__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(221,194,139,.34);
  color: var(--gold-300);
}

.platform-access__icon svg,
.admin-login-card__mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform-access__card .text-link,
.platform-access__card .gold-btn {
  margin-top: 22px;
}

.platform-access__card--admin {
  background:
    linear-gradient(180deg, rgba(221,194,139,.10), rgba(255,255,255,.018));
}

.platform-admin-map {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.platform-admin-map__content {
  max-width: 480px;
}

.platform-admin-map__content .section__title {
  margin-top: 10px;
  text-align: left;
}

.platform-admin-map__content p {
  margin-top: 18px;
  color: rgba(33,23,15,.62);
  font-size: 15px;
  line-height: 1.75;
}

.platform-admin-map__list {
  display: grid;
  gap: 12px;
}

.platform-admin-map__list div {
  display: grid;
  grid-template-columns: minmax(150px, .38fr) 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(33,23,15,.14);
}

.platform-admin-map__list strong {
  color: #25180f;
  font-size: 15px;
}

.platform-admin-map__list span {
  color: rgba(33,23,15,.58);
  font-size: 14px;
  line-height: 1.6;
}

.admin-gateway {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, .66fr);
  gap: 48px;
  align-items: center;
  min-height: 640px;
  padding: 72px 62px 82px;
  background:
    linear-gradient(90deg, rgba(2,8,20,.98), rgba(2,8,20,.78)),
    radial-gradient(circle at 78% 28%, rgba(221,194,139,.18), transparent 28%),
    url("../assets/images/magic-bg-hero-navy.webp"),
    var(--navy-950);
  background-size: cover;
  background-position: center right;
  border-bottom: 1px solid rgba(199,162,99,.24);
}

.admin-gateway__copy h1 {
  max-width: 680px;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: clamp(46px, 5.4vw, 72px);
  font-weight: 500;
  line-height: .98;
  color: #f4ecdd;
}

.admin-gateway__copy p {
  max-width: 560px;
  margin-top: 24px;
  color: rgba(246,241,232,.72);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.72;
}

.admin-gateway__roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.admin-login-card {
  border: 1px solid rgba(221,194,139,.30);
  background: rgba(3,11,23,.84);
  padding: 28px;
  box-shadow: 0 28px 56px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
}

.admin-login-card__head {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-items: center;
  margin-bottom: 26px;
}

.admin-login-card__head h2 {
  color: #f4ecdd;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.admin-login-card__head p {
  margin-top: 4px;
  color: rgba(246,241,232,.54);
  font-size: 13px;
  line-height: 1.55;
}

.admin-login-form {
  display: grid;
  gap: 16px;
}

.admin-login-form__summary {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(221,194,139,.18);
  background: rgba(255,255,255,.045);
}

.admin-login-form__summary span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(221,194,139,.32);
  color: var(--gold-300);
  font: 600 12px/1 var(--sans);
}

.admin-login-form__summary p {
  color: rgba(246,241,232,.62);
  font-size: 13px;
  line-height: 1.55;
}

.admin-login-form label {
  display: grid;
  gap: 8px;
  color: rgba(246,241,232,.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-login-form input,
.admin-login-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(221,194,139,.22);
  background: rgba(255,255,255,.045);
  color: rgba(246,241,232,.64);
  padding: 0 14px;
  font: 500 14px/1 var(--sans);
}

.admin-login-form input:disabled,
.admin-login-form select:disabled {
  opacity: .78;
  cursor: not-allowed;
}

.admin-login-form .gold-btn {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
}

.admin-login-form .outline-btn {
  width: 100%;
}

.admin-login-form__note {
  color: rgba(246,241,232,.50);
  font-size: 12px;
  line-height: 1.6;
}

.admin-modules__grid {
  grid-template-columns: repeat(4, 1fr);
}

/* ===================================================================
   Responsive additions
   =================================================================== */
@media (max-width: 1180px) {
  .lang-hero { padding-inline: 42px; }
  .goals__grid--lang { gap: 18px; }
  .formats-short__grid { gap: 18px; }
  .teachers-short__grid { gap: 18px; }
  .reviews-short__grid { gap: 18px; }
  .platform-hero,
  .admin-gateway {
    padding-inline: 42px;
    gap: 32px;
  }
  .platform-flow,
  .platform-access,
  .platform-admin-map,
  .admin-modules {
    padding-inline: 42px;
  }
  .platform-flow__grid,
  .platform-access__grid,
  .admin-modules__grid {
    gap: 18px;
  }
}

@media (max-width: 920px) {
  .lang-hero { min-height: auto; padding: 48px 28px 52px; }
  .lang-hero h1 { font-size: 46px; }
  .lang-hero__chips { margin-top: 28px; }

  .goals__grid--lang { grid-template-columns: repeat(2, 1fr); }
  .formats-short__grid { grid-template-columns: 1fr; max-width: 400px; }
  .teachers-short__grid { grid-template-columns: 1fr; max-width: 400px; }
  .reviews-short__grid { grid-template-columns: 1fr; max-width: 500px; }

  .pricing__table thead th,
  .pricing__table tbody td { padding: 14px 12px; font-size: 14px; }
  .pricing__table tbody td:first-child { font-size: 16px; }

  .dropdown-menu { left: 0; transform: translateX(0) translateY(6px); }
  .nav-item--dropdown.open .dropdown-menu { transform: translateX(0) translateY(0); }

  .platform-hero,
  .admin-gateway {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 54px 28px 58px;
  }

  .platform-hero h1,
  .admin-gateway__copy h1 {
    font-size: 48px;
  }

  .platform-preview,
  .admin-login-card {
    max-width: 620px;
  }

  .platform-flow__grid,
  .platform-access__grid,
  .admin-modules__grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .platform-admin-map {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .lang-hero { padding: 40px 20px 44px; }
  .lang-hero h1 { font-size: 36px; }
  .lang-hero__subtitle { font-size: 15px; }
  .lang-hero__actions { flex-direction: column; align-items: stretch; }

  .goals__grid--lang { grid-template-columns: 1fr; }

  .pricing__table-wrapper { display: none; }
  .pricing__mobile-cards { display: block; }

  .pricing__mobile-cards .pricing__card {
    padding: 24px 20px;
    border: 1px solid var(--line-gold);
    background: rgba(255,255,255,.015);
    text-align: center;
    margin-bottom: 16px;
  }

  .pricing__mobile-cards .pricing__card h4 {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--gold-300);
    margin-bottom: 4px;
  }

  .pricing__mobile-cards .pricing__card .format-label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
  }

  .pricing__mobile-cards .pricing__card .price {
    font-size: 24px;
    font-weight: 600;
    color: #f4ead9;
    font-family: var(--serif);
    margin-bottom: 14px;
  }

  .pricing__mobile-cards .pricing__card .price small {
    font-size: 14px;
    font-weight: 400;
    color: var(--muted);
  }

  .formats-short { padding: 40px 20px 44px; }
  .teachers-short { padding: 40px 20px 44px; }
  .reviews-short { padding: 40px 20px 44px; }
  .faq-lang { padding: 40px 20px 44px; }
  .stats-bar { gap: 16px; flex-direction: column; }

  .platform-hero,
  .admin-gateway {
    padding: 42px 20px 48px;
  }

  .platform-hero h1,
  .admin-gateway__copy h1 {
    font-size: 38px;
  }

  .platform-hero__subtitle,
  .admin-gateway__copy p {
    font-size: 15px;
  }

  .platform-hero__actions,
  .admin-gateway__roles {
    align-items: stretch;
    flex-direction: column;
  }

  .platform-preview__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .platform-preview__tabs {
    grid-template-columns: 1fr;
  }

  .platform-flow,
  .platform-access,
  .platform-admin-map,
  .admin-modules {
    padding: 42px 20px 48px;
  }

  .platform-admin-map__list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .admin-login-card {
    padding: 22px;
  }

  .admin-login-card__head {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .lang-hero h1 { font-size: 30px; }
  .lang-hero__subtitle { font-size: 14px; }
  .chip { font-size: 12px; padding: 6px 14px; }
}

/* === Futurist-style refinements === */

.label-bracket {
  display: inline-block;
  color: var(--gold-400);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.bracket-wrap::before { content: "[ "; }
.bracket-wrap::after { content: " ]"; }

/* Hover underline */
.nav a, .footer__col a, .dropdown-menu a {
  position: relative;
  text-decoration: none;
}
.nav a::after, .footer__col a::after, .dropdown-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--gold-300);
  transition: width .3s ease;
}
.nav a:hover::after, .footer__col a:hover::after,
.dropdown-menu a:hover::after,
.nav a.active::after { width: 100%; }

/* Teacher badge */
.teacher-card { position: relative; }
.teacher-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  background: rgba(221,194,139,.15);
  border: 1px solid rgba(221,194,139,.3);
  color: var(--gold-300);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  border-radius: 4px;
  z-index: 3;
}

/* Community section */
.community {
  background: var(--cream-50);
  color: var(--ink);
  padding: 80px 62px;
  text-align: center;
}
.community__inner {
  max-width: 640px;
  margin: 0 auto;
}
.community__title {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.05;
  margin: 10px 0 16px;
}
.community__text {
  color: rgba(33,23,15,.65);
  font-size: 16px;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 32px;
}
.community__avatars {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
}
.community__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold-400);
  background: var(--navy-850);
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  margin-left: -8px;
}
.community__avatar:first-child { margin-left: 0; }
.community__avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}
.community__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Inline form */
.inline-form {
  background: var(--navy-850);
  padding: 64px 62px;
  border-bottom: 1px solid var(--line-gold);
}
.inline-form__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.inline-form h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  color: var(--cream-50);
  margin: 8px 0 28px;
}
.inline-form__form {
  display: grid;
  gap: 14px;
}
.inline-form__field {
  display: grid;
  gap: 7px;
  text-align: left;
}
.inline-form__label {
  color: var(--gold-300);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.inline-form__input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(246,241,232,.18);
  color: var(--cream-50);
  font-size: 15px;
  font-family: var(--sans);
  border-radius: 0;
  outline: none;
  transition: border-color .18s;
}
.inline-form__input:focus { border-color: var(--gold-400); }
.inline-form__input::placeholder { color: rgba(246,241,232,.4); }
.inline-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(246,241,232,.62);
  font-size: 12px;
  line-height: 1.55;
  text-align: left;
}
.inline-form__consent input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--gold-400);
  flex: 0 0 auto;
}
.inline-form__btn {
  min-height: 54px;
  font-size: 15px;
  cursor: pointer;
  border: none;
}
.inline-form__micro {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 18px;
  color: rgba(246,241,232,.5);
  font-size: 12px;
  letter-spacing: .04em;
  flex-wrap: wrap;
}
.inline-form__prepared {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(221,194,139,.24);
  color: var(--cream-50);
  background: rgba(255,255,255,.035);
}
.inline-form__prepared strong {
  color: var(--gold-300);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}
.inline-form__prepared span {
  max-width: 460px;
  color: rgba(246,241,232,.72);
  font-size: 14px;
  line-height: 1.65;
}

/* Carousel */
.carousel-section {
  padding: 64px 62px;
}
.carousel__header {
  margin-bottom: 36px;
}
.carousel__header h2 {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  margin-top: 4px;
}
.carousel__container {
  position: relative;
  overflow: hidden;
}
.carousel__track {
  display: flex;
  transition: transform .4s ease;
  gap: 24px;
}
.carousel__slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-400);
  background: var(--navy-950);
  color: var(--gold-400);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s, color .18s;
}
.carousel__btn:hover {
  background: var(--gold-400);
  color: var(--navy-950);
}
.carousel__btn--prev { left: -12px; }
.carousel__btn--next { right: -12px; }

/* Carousel responsive */
@media (max-width: 920px) {
  .carousel__slide { flex: 0 0 calc((100% - 24px) / 2); }
  .carousel-section { padding: 48px 28px; }
}
@media (max-width: 620px) {
  .carousel__slide { flex: 0 0 100%; }
  .carousel__btn { display: none; }
  .community { padding: 48px 28px; }
  .community__title { font-size: 30px; }
  .inline-form { padding: 40px 28px; }
  .inline-form h2 { font-size: 26px; }
}

/* ===================================================================
   Visual improvement plan
   =================================================================== */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 3px;
  pointer-events: none;
  background: rgba(221,194,139,.08);
}

.scroll-progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #9f7439, #f0d79f, #c99b55);
  box-shadow: 0 0 14px rgba(221,194,139,.55);
  will-change: transform;
}

.gold-btn {
  animation: cta-breathe 4s ease-in-out infinite;
}

.gold-btn:hover,
.gold-btn:focus-visible {
  animation-play-state: paused;
}

@keyframes cta-breathe {
  0%, 68%, 100% {
    box-shadow: 0 18px 34px rgba(0,0,0,.22), 0 0 0 0 rgba(221,194,139,0), inset 0 1px 0 rgba(255,255,255,.22);
  }
  80% {
    box-shadow: 0 18px 34px rgba(0,0,0,.22), 0 0 0 10px rgba(221,194,139,.10), 0 0 28px rgba(221,194,139,.22), inset 0 1px 0 rgba(255,255,255,.22);
  }
}

.cursor-spark {
  position: fixed;
  z-index: 999;
  width: var(--spark-size, 5px);
  height: var(--spark-size, 5px);
  left: 0;
  top: 0;
  border-radius: 50%;
  pointer-events: none;
  background: #f5d99f;
  box-shadow: 0 0 10px rgba(239,201,126,.8);
  transform: translate3d(var(--spark-x), var(--spark-y), 0);
  animation: cursor-spark-fade .72s ease-out forwards;
}

@keyframes cursor-spark-fade {
  to {
    opacity: 0;
    transform: translate3d(
      calc(var(--spark-x) + var(--spark-drift-x)),
      calc(var(--spark-y) + var(--spark-drift-y)),
      0
    ) scale(.15);
  }
}

.hero-magic__scene::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 680px;
  aspect-ratio: 1;
  left: 53%;
  top: 48%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:
    repeating-radial-gradient(circle, transparent 0 44px, rgba(221,194,139,.025) 45px 46px),
    radial-gradient(circle, rgba(199,162,99,.13), rgba(32,71,118,.055) 44%, transparent 69%);
  filter: blur(.2px);
  animation: portal-field-breathe 6.5s ease-in-out infinite;
}

.hero-magic__scene::after {
  content: "";
  position: absolute;
  z-index: 5;
  width: 760px;
  height: 190px;
  left: 51%;
  top: 49%;
  transform: translate(-50%, -50%) rotate(-12deg);
  border-radius: 50%;
  border-top: 1px solid rgba(255,234,190,.22);
  border-bottom: 1px solid rgba(113,159,205,.12);
  box-shadow: 0 -16px 44px rgba(221,194,139,.05);
  animation: portal-ellipse-drift 9s ease-in-out infinite alternate;
}

.hero-magic__particles {
  mix-blend-mode: screen;
}

.hero-magic__rune--outer {
  background:
    repeating-conic-gradient(
      from 7deg,
      transparent 0deg 9deg,
      rgba(236,210,158,.20) 9.3deg 9.8deg,
      transparent 10deg 21deg
    );
  -webkit-mask: radial-gradient(circle, transparent 0 45%, #000 45.5% 46%, transparent 46.5% 48%, #000 48.5% 49%, transparent 49.5%);
  mask: radial-gradient(circle, transparent 0 45%, #000 45.5% 46%, transparent 46.5% 48%, #000 48.5% 49%, transparent 49.5%);
}

.hero-magic__rune--inner {
  background:
    repeating-conic-gradient(
      from 0deg,
      rgba(170,206,239,.18) 0deg .8deg,
      transparent 1deg 29deg
    );
  -webkit-mask: radial-gradient(circle, transparent 0 42%, #000 43% 44%, transparent 45%);
  mask: radial-gradient(circle, transparent 0 42%, #000 43% 44%, transparent 45%);
}

.hero-magic__core {
  isolation: isolate;
}

.hero-magic__core-star::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid rgba(255,239,204,.25);
  box-shadow: inset 0 0 24px rgba(221,194,139,.10);
  animation: core-diamond-spin 12s linear infinite;
}

@keyframes portal-field-breathe {
  0%, 100% { opacity: .46; scale: .94; }
  50% { opacity: .82; scale: 1.04; }
}

@keyframes portal-ellipse-drift {
  0% { opacity: .38; transform: translate(-52%, -48%) rotate(-15deg) scaleX(.94); }
  100% { opacity: .78; transform: translate(-48%, -52%) rotate(-8deg) scaleX(1.04); }
}

@keyframes core-diamond-spin {
  to { transform: translate(-50%, -50%) rotate(405deg); }
}

.hero-title-animated {
  opacity: 1;
}

.hero-title-animated .hero-title__word {
  display: inline-block;
  white-space: nowrap;
}

.hero-title-animated .hero-title__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(.58em);
  animation: hero-letter-in .64s cubic-bezier(.2,.75,.2,1) forwards;
  animation-delay: calc(120ms + var(--letter-index) * 28ms);
}

@keyframes hero-letter-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Flip testimonials */
.review-card.is-flippable {
  min-height: 286px;
  padding: 0;
  border: 0;
  background: transparent;
  perspective: 1100px;
  cursor: pointer;
}

.review-card.is-flippable:hover {
  transform: translateY(-4px);
}

.review-card__flip {
  position: relative;
  width: 100%;
  min-height: 286px;
  transform-style: preserve-3d;
  transition: transform .72s cubic-bezier(.2,.72,.2,1);
}

.review-card.is-flipped .review-card__flip {
  transform: rotateY(180deg);
}

@media (hover: hover) {
  .review-card.is-flippable:hover .review-card__flip {
    transform: rotateY(180deg);
  }
}

.review-card__face {
  position: absolute;
  inset: 0;
  padding: 30px 27px;
  backface-visibility: hidden;
  border: 1px solid var(--line-gold);
  background:
    linear-gradient(145deg, rgba(255,255,255,.025), rgba(255,255,255,.008)),
    var(--navy-950);
  box-shadow: 0 24px 48px rgba(0,0,0,.18);
}

.review-card__face--front {
  filter: saturate(.62);
}

.review-card__face--back {
  transform: rotateY(180deg);
  border-color: rgba(221,194,139,.56);
  background:
    radial-gradient(circle at 100% 0, rgba(221,194,139,.16), transparent 42%),
    linear-gradient(145deg, #071326, #030914);
}

.review-card__side-label {
  display: block;
  margin: 18px 0 10px;
  color: rgba(246,241,232,.44);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.review-card__face--back .review-card__side-label {
  color: var(--gold-300);
}

.review-card__flip-hint {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(221,194,139,.56);
  font-size: 11px;
  letter-spacing: .06em;
}

/* Interactive pricing calculator */
.pricing.is-calculator-ready .pricing__table-wrapper,
.pricing.is-calculator-ready .pricing__mobile-cards {
  display: none;
}

.price-calculator {
  max-width: 980px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid rgba(221,194,139,.30);
  background:
    radial-gradient(circle at 85% 10%, rgba(221,194,139,.10), transparent 34%),
    rgba(255,255,255,.018);
  box-shadow: 0 26px 60px rgba(0,0,0,.20);
}

.price-calculator__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 28px;
}

.price-calculator__label {
  display: block;
  margin-bottom: 12px;
  color: rgba(246,241,232,.52);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.price-calculator__select {
  width: 100%;
  min-height: 48px;
  padding: 0 42px 0 16px;
  border: 1px solid rgba(221,194,139,.28);
  border-radius: 0;
  color: var(--cream-50);
  background: #081222;
  font: 500 14px var(--sans);
}

.price-calculator__choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.price-calculator__choice {
  min-height: 48px;
  padding: 8px 10px;
  border: 1px solid rgba(221,194,139,.22);
  color: rgba(246,241,232,.68);
  background: rgba(255,255,255,.018);
  font: 500 12px var(--sans);
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.price-calculator__choice:hover {
  transform: translateY(-2px);
  border-color: rgba(221,194,139,.48);
}

.price-calculator__choice.is-active {
  border-color: var(--gold-400);
  color: var(--navy-950);
  background: linear-gradient(180deg, #ead09a, #bf914f);
}

.price-calculator__result {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 26px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(221,194,139,.16);
}

.price-calculator__total {
  display: block;
  color: #f4ead9;
  font: 600 clamp(36px, 6vw, 58px)/1 var(--serif);
  letter-spacing: -.02em;
}

.price-calculator__total.is-changing {
  animation: price-pop .34s ease;
}

.price-calculator__summary {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

@keyframes price-pop {
  50% { opacity: .45; transform: translateY(-5px); }
}

/* Teacher profile + avatars */
.teachers.is-profile-ready .carousel__btn,
.teachers.is-profile-ready .carousel__container {
  overflow: visible;
}

.teachers.is-profile-ready .carousel__btn {
  display: none;
}

.teacher-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, .55fr);
  gap: 34px;
  max-width: 980px;
  margin: 0 auto;
}

.teacher-profile__stage {
  min-height: 390px;
  position: relative;
}

.teacher-profile__card {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 32px;
  min-height: 390px;
  padding: 34px;
  border: 1px solid rgba(221,194,139,.30);
  background:
    radial-gradient(circle at 10% 15%, rgba(221,194,139,.13), transparent 36%),
    rgba(255,255,255,.018);
  opacity: 0;
  transform: translateX(22px);
  transition: opacity .34s ease, transform .34s ease;
}

.teacher-profile__card.is-active {
  opacity: 1;
  transform: translateX(0);
}

.teacher-profile__portrait {
  position: relative;
  min-height: 290px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(221,194,139,.32);
  background:
    radial-gradient(circle at 50% 32%, rgba(246,241,232,.16), transparent 36%),
    linear-gradient(145deg, #c39b5b, #15233b 72%);
  color: #fff5df;
  font: 600 68px/1 var(--serif);
}

.teacher-profile__portrait img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
}

.teacher-profile__fact {
  position: absolute;
  inset: auto 12px 12px;
  padding: 12px 14px;
  color: #fff7e7;
  background: rgba(2,8,20,.88);
  border: 1px solid rgba(221,194,139,.36);
  font: 600 12px/1.4 var(--sans);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease;
}

.teacher-profile__portrait:hover .teacher-profile__fact,
.teacher-profile__portrait:focus .teacher-profile__fact {
  opacity: 1;
  transform: translateY(0);
}

.teacher-profile__content {
  align-self: center;
}

.teacher-profile__content h3 {
  margin: 8px 0 4px;
  color: var(--gold-300);
  font: 600 clamp(34px, 5vw, 50px)/1 var(--serif);
}

.teacher-profile__meta {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
}

.teacher-profile__bio {
  color: rgba(246,241,232,.72);
  font-size: 15px;
  line-height: 1.75;
}

.teacher-profile__quote {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-gold);
  color: var(--gold-300);
  font: italic 21px/1.45 var(--serif);
}

.teacher-profile__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.teacher-profile__thumb {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 11px;
  border: 1px solid rgba(221,194,139,.16);
  color: var(--muted);
  background: rgba(255,255,255,.012);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.teacher-profile__thumb:hover {
  transform: translateX(-4px);
  border-color: rgba(221,194,139,.40);
}

.teacher-profile__thumb.is-active {
  color: var(--cream-50);
  border-color: var(--gold-400);
  background: rgba(221,194,139,.08);
}

.teacher-profile__thumb-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff5df;
  background: linear-gradient(145deg, #d1ad6f, #24344f);
  font: 600 19px var(--serif);
  overflow: hidden;
}

.teacher-profile__thumb-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-profile__thumb strong,
.teacher-profile__thumb small {
  display: block;
}

.teacher-profile__thumb strong {
  color: inherit;
  font: 600 17px var(--serif);
}

.teacher-profile__thumb small {
  margin-top: 3px;
  color: rgba(246,241,232,.42);
  font-size: 10px;
}

.teacher-profile__quote:empty {
  display: none;
}

/* Instagram-verified offer */
.formats--instagram .formats__grid,
.formats--instagram .formats-short__grid {
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
}

.formats--instagram .format-card:not(:first-child),
.formats--instagram .format-short-card:not(:first-child) {
  display: none;
}

.pricing--instagram .pricing__table-wrapper,
.pricing--instagram .pricing__mobile-cards,
.pricing--instagram .price-calculator {
  display: none !important;
}

.pricing__instagram-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid rgba(221,194,139,.34);
  background:
    radial-gradient(circle at 15% 0%, rgba(221,194,139,.13), transparent 36%),
    rgba(255,255,255,.018);
  text-align: center;
}

.pricing__instagram-card strong {
  display: block;
  color: var(--gold-300);
  font: 600 30px/1.1 var(--serif);
}

.pricing__instagram-card p {
  max-width: 560px;
  margin: 14px auto 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

/* Vertical illuminated timeline */
.how__grid {
  display: block;
  max-width: 900px;
}

.how__grid::before {
  top: 0;
  bottom: 0;
  left: 50%;
  right: auto;
  width: 1px;
  height: auto;
  background: rgba(221,194,139,.18);
}

.how__grid::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(var(--gold-400), rgba(221,194,139,.08));
  transform: scaleY(var(--timeline-progress, 0));
  transform-origin: top;
  box-shadow: 0 0 14px rgba(221,194,139,.40);
}

.how__step {
  width: 50%;
  min-height: 180px;
  padding: 34px 74px 34px 0;
  text-align: right;
  opacity: .34;
  transform: translateX(-32px);
  transition: opacity .55s ease, transform .55s ease;
}

.how__step:nth-child(even) {
  margin-left: 50%;
  padding: 34px 0 34px 74px;
  text-align: left;
  transform: translateX(32px);
}

.how__step.is-lit {
  opacity: 1;
  transform: translateX(0);
}

.how__number {
  top: 34px;
  left: 100%;
  transform: translateX(-50%);
  transition: color .4s ease, background .4s ease, box-shadow .4s ease;
}

.how__step:nth-child(even) .how__number {
  left: 0;
}

.how__step.is-lit .how__number {
  color: var(--navy-950);
  background: var(--gold-300);
  box-shadow: 0 0 0 8px rgba(221,194,139,.08), 0 0 24px rgba(221,194,139,.28);
}

.how__step h3,
.how__step p {
  margin-left: 0;
  margin-right: 0;
}

.how__step:nth-child(odd) h3,
.how__step:nth-child(odd) p {
  margin-left: auto;
}

/* FAQ search */
.faq-search {
  max-width: 760px;
  margin: 0 auto 24px;
  position: relative;
}

.faq-search__input {
  width: 100%;
  min-height: 54px;
  padding: 0 52px 0 18px;
  border: 1px solid rgba(221,194,139,.24);
  border-radius: 0;
  outline: none;
  color: var(--cream-50);
  background: rgba(255,255,255,.025);
  font: 400 14px var(--sans);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.faq-search__input:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(221,194,139,.08);
}

.faq-search__input::placeholder {
  color: rgba(246,241,232,.38);
}

.faq-search__icon {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--gold-400);
  font-size: 18px;
}

.faq__item.is-filtered {
  display: none;
}

.faq-empty {
  display: none;
  max-width: 760px;
  margin: 16px auto 0;
  padding: 28px;
  border: 1px solid rgba(221,194,139,.25);
  text-align: center;
  background: rgba(221,194,139,.04);
}

.faq-empty.is-visible {
  display: block;
}

.faq-empty h3 {
  margin-bottom: 8px;
  color: var(--gold-300);
  font: 600 25px var(--serif);
}

.faq-empty p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

/* Subtle cinematic overlap */
.visual-parallax {
  transform: translate3d(0, var(--section-shift, 0), 0);
  will-change: transform;
}

.section--dark.visual-parallax,
.goals.visual-parallax,
.formats-short.visual-parallax,
.reviews-short.visual-parallax {
  z-index: 3;
  box-shadow: 0 -24px 54px rgba(2,8,20,.22);
}

/* Ambient section light */
:is(
  .goals,
  .how,
  .pricing,
  .teachers,
  .reviews,
  .faq,
  .formats-short,
  .teachers-short,
  .reviews-short,
  .faq-lang,
  .final-cta,
  .lang-hero
) {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

:is(
  .goals,
  .how,
  .pricing,
  .teachers,
  .reviews,
  .faq,
  .formats-short,
  .teachers-short,
  .reviews-short,
  .faq-lang,
  .final-cta,
  .lang-hero
)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 20%, rgba(221,194,139,.10), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(97,148,206,.10), transparent 31%),
    linear-gradient(115deg, transparent 0 44%, rgba(255,255,255,.024) 47%, transparent 52% 100%);
  opacity: .72;
  mix-blend-mode: screen;
}

.lang-hero::before {
  background:
    radial-gradient(circle at 76% 35%, rgba(221,194,139,.16), transparent 34%),
    radial-gradient(circle at 18% 10%, rgba(97,148,206,.12), transparent 29%),
    linear-gradient(125deg, transparent 0 48%, rgba(255,255,255,.03) 52%, transparent 58% 100%);
}

:is(
  .goals,
  .how,
  .pricing,
  .teachers,
  .reviews,
  .faq,
  .formats-short,
  .teachers-short,
  .reviews-short,
  .faq-lang,
  .final-cta,
  .lang-hero
) > * {
  position: relative;
  z-index: 1;
}

.languages::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,.38), transparent 25%),
    radial-gradient(circle at 24% 18%, rgba(97,148,206,.10), transparent 26%),
    linear-gradient(100deg, transparent 0 38%, rgba(170,126,66,.07) 43%, transparent 50% 100%);
  opacity: .72;
  mix-blend-mode: multiply;
}

.languages > * {
  position: relative;
  z-index: 1;
}

/* Pointer spotlight cards */
.spotlight-card {
  --spotlight-x: 50%;
  --spotlight-y: 20%;
  --spotlight-opacity: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--spotlight-opacity);
  background:
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(255,242,210,.22), transparent 0 26%),
    radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(111,163,219,.12), transparent 0 42%);
  mix-blend-mode: screen;
  transition: opacity .22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .spotlight-card:hover {
    border-color: rgba(221,194,139,.62);
    box-shadow: 0 30px 70px rgba(0,0,0,.20), 0 0 0 1px rgba(255,241,205,.04);
  }

  .format-card.spotlight-card:hover,
  .method__pullquote.spotlight-card:hover {
    box-shadow: 0 28px 64px rgba(39,26,14,.13), 0 0 0 1px rgba(170,126,66,.05);
  }
}

.language-card.spotlight-card {
  position: absolute;
}

.language-card.spotlight-card::after {
  z-index: 2;
}

/* Premium CTA and magnetic controls */
.gold-btn,
.outline-btn,
.row-cta,
.language-deck__link,
.price-calculator__choice {
  --magnetic-x: 0px;
  --magnetic-y: 0px;
}

.gold-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translate3d(var(--magnetic-x), var(--magnetic-y), 0);
  transition: transform .22s cubic-bezier(.2,.72,.2,1), filter .18s ease, box-shadow .25s ease;
}

.gold-btn::after {
  content: "";
  position: absolute;
  inset: -60% -34%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,250,232,.42) 48%, transparent 64%);
  transform: translateX(-132%) rotate(10deg);
  animation: button-sheen 5.7s ease-in-out infinite;
  mix-blend-mode: screen;
}

.gold-btn strong,
.gold-btn svg {
  position: relative;
  z-index: 1;
}

.gold-btn:hover,
.gold-btn:focus-visible {
  transform: translate3d(var(--magnetic-x), calc(var(--magnetic-y) - 2px), 0);
  filter: brightness(1.055) saturate(1.05);
}

.gold-btn:active {
  transform: translate3d(var(--magnetic-x), calc(var(--magnetic-y) + 1px), 0) scale(.985);
}

.outline-btn,
.row-cta,
.language-deck__link,
.price-calculator__choice {
  transform: translate3d(var(--magnetic-x), var(--magnetic-y), 0);
}

.outline-btn {
  transition: transform .22s cubic-bezier(.2,.72,.2,1), border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.language-deck__link {
  transition: transform .18s ease, color .18s ease;
}

.outline-btn:hover,
.outline-btn:focus-visible,
.price-calculator__choice:hover,
.price-calculator__choice:focus-visible {
  transform: translate3d(var(--magnetic-x), calc(var(--magnetic-y) - 2px), 0);
}

.row-cta:hover,
.row-cta:focus-visible,
.language-deck__link:hover,
.language-deck__link:focus-visible {
  transform: translate3d(var(--magnetic-x), calc(var(--magnetic-y) - 1px), 0);
}

@keyframes button-sheen {
  0%, 58% {
    transform: translateX(-132%) rotate(10deg);
    opacity: 0;
  }
  66% {
    opacity: .9;
  }
  78%, 100% {
    transform: translateX(132%) rotate(10deg);
    opacity: 0;
  }
}

@media (min-width: 921px) and (max-height: 720px) {
  .hero {
    min-height: calc(100vh - 112px);
  }

  .hero-content {
    padding-top: 38px;
    padding-bottom: 32px;
  }

  .hero h1 {
    margin-top: 22px;
    font-size: clamp(46px, 5.4vw, 66px);
  }

  .hero-subtitle {
    margin-top: 20px;
    max-width: 460px;
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero .gold-btn {
    min-height: 58px;
  }
}

@media (max-width: 920px) {
  .hero-magic__beams span:nth-child(even),
  .hero-magic__shards span:nth-child(n+5) {
    display: none;
  }

  .hero-magic__rune--outer {
    opacity: .62;
  }

  .hero-magic__scene::after {
    width: 590px;
  }

  .price-calculator__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .teacher-profile {
    grid-template-columns: 1fr;
  }

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

  .teacher-profile__thumb {
    grid-template-columns: 44px 1fr;
  }

  .teacher-profile__thumb-avatar {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 620px) {
  .hero-magic__scene::before {
    width: 430px;
    left: 54%;
  }

  .hero-magic__scene::after,
  .hero-magic__beams,
  .hero-magic__shards,
  .hero-magic__ribbon--two,
  .hero-magic__stars {
    display: none;
  }

  .hero-magic__rune--outer {
    opacity: .40;
  }

  .hero-magic__rune--inner,
  .hero-magic__orbit--two,
  .hero-magic__sigil {
    opacity: .52;
  }

  .hero-magic__ribbon--one {
    width: 470px;
    height: 170px;
    opacity: .38;
  }

  .scroll-progress { height: 2px; }
  .price-calculator { padding: 24px 18px; }
  .price-calculator__result { grid-template-columns: 1fr; }
  .price-calculator__result .gold-btn { width: 100%; }

  .teacher-profile__card {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .teacher-profile__portrait {
    min-height: 230px;
  }

  .teacher-profile__portrait img {
    min-height: 230px;
  }

  .teacher-profile__nav {
    grid-template-columns: 1fr;
  }

  .teacher-profile__thumb:hover {
    transform: none;
  }

  .how__grid::before,
  .how__grid::after {
    left: 27px;
  }

  .how__step,
  .how__step:nth-child(even) {
    width: 100%;
    min-height: 160px;
    margin-left: 0;
    padding: 28px 0 28px 76px;
    text-align: left;
    transform: translateX(24px);
  }

  .how__number,
  .how__step:nth-child(even) .how__number {
    top: 28px;
    left: 27px;
  }

  .how__step:nth-child(odd) h3,
  .how__step:nth-child(odd) p {
    margin-left: 0;
  }

  .review-card.is-flippable,
  .review-card__flip {
    min-height: 310px;
  }

  .visual-parallax {
    transform: none;
  }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-spark { display: none; }

  .spotlight-card {
    --spotlight-opacity: 0 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gold-btn,
  .gold-btn::after,
  .hero-title-animated .hero-title__letter {
    animation: none;
  }

  .hero-title-animated .hero-title__letter {
    opacity: 1;
    transform: none;
  }

  .review-card__flip,
  .teacher-profile__card,
  .how__step {
    transition-duration: .01ms;
  }

  .visual-parallax {
    transform: none;
  }
}
