:root {
  --ink: #15142f;
  --ink-soft: #595875;
  --paper: #f8f8ff;
  --paper-blue: #eff5ff;
  --white: #ffffff;
  --blue: #326bff;
  --sky: #71d5ff;
  --purple: #5e4ae3;
  --purple-dark: #3422a5;
  --lavender: #bba8ff;
  --lavender-soft: #e9e2ff;
  --line: rgba(45, 42, 105, 0.13);
  --shadow: 0 28px 80px rgba(58, 43, 141, 0.12);
  --shell: min(1180px, calc(100vw - 48px));
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Tahoma, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

html[lang="en"] body {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--purple);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.035em;
}

html[lang="fa"] h1,
html[lang="fa"] h2,
html[lang="fa"] h3 {
  letter-spacing: -0.055em;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: 120px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  inset-block-start: 12px;
  inset-inline-start: 50%;
  padding: 10px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--purple);
  transform: translate(-50%, -180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.scroll-progress {
  position: fixed;
  z-index: 1001;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--lavender), var(--sky));
  box-shadow: 0 0 14px rgba(113, 213, 255, 0.7);
}

.ambient,
.cursor-glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.ambient-one {
  width: 360px;
  height: 360px;
  inset: 8vh -140px auto auto;
  background: rgba(185, 168, 255, 0.26);
}

.ambient-two {
  width: 280px;
  height: 280px;
  inset: 65vh auto auto -100px;
  background: rgba(113, 213, 255, 0.17);
}

.cursor-glow {
  z-index: 0;
  width: 360px;
  height: 360px;
  opacity: 0.25;
  background: radial-gradient(circle, rgba(117, 104, 255, 0.28), transparent 70%);
  filter: none;
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease;
}

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  padding-block: 18px;
  transition: padding 320ms ease, background 320ms ease, box-shadow 320ms ease;
}

.site-header.is-scrolled {
  padding-block: 9px;
  background: rgba(248, 248, 255, 0.84);
  box-shadow: 0 12px 50px rgba(50, 40, 120, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 62px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(91, 75, 219, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 9px 25px rgba(54, 39, 140, 0.11);
}

.brand-mark img {
  width: 28px;
  height: 28px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 15px;
  font-weight: 900;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: -0.02em;
}

.nav-panel,
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-panel {
  flex: 1;
  justify-content: space-between;
  gap: 28px;
}

.nav-links {
  gap: 28px;
  margin-inline-start: auto;
}

.nav-links a {
  position: relative;
  padding-block: 9px;
  color: #45435e;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a::after {
  position: absolute;
  inset: auto 0 3px;
  width: 0;
  height: 2px;
  margin-inline: auto;
  border-radius: 3px;
  background: var(--purple);
  content: "";
  transition: width 260ms var(--ease);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-actions {
  gap: 10px;
}

.language-switch,
.menu-toggle {
  border: 0;
  cursor: pointer;
}

.language-switch {
  display: inline-flex;
  min-width: 65px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding-inline: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgba(255, 255, 255, 0.65);
  font-family: ui-sans-serif, sans-serif;
  font-size: 12px;
  font-weight: 800;
  transition: background 200ms ease, transform 200ms ease;
}

.language-switch:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.switch-globe {
  font-size: 19px;
  line-height: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 280ms var(--ease), box-shadow 280ms ease, background 280ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-small {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 12px;
}

.button-large {
  min-height: 57px;
  padding-inline: 26px;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), #735ff1);
  box-shadow: 0 12px 28px rgba(82, 62, 200, 0.25), inset 0 1px rgba(255, 255, 255, 0.25);
}

.button-primary:hover {
  box-shadow: 0 17px 35px rgba(82, 62, 200, 0.35), inset 0 1px rgba(255, 255, 255, 0.25);
}

.button-arrow {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--purple-dark);
  background: rgba(255, 255, 255, 0.88);
  font-family: Arial, sans-serif;
  font-size: 14px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 4px;
  border-radius: 3px;
  background: var(--ink);
  transition: transform 260ms ease, opacity 260ms ease;
}

.hero {
  position: relative;
  min-height: auto;
  padding-block: clamp(138px, 11vh, 165px) 64px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(113, 213, 255, 0.16), transparent 27%),
    radial-gradient(circle at 82% 16%, rgba(187, 168, 255, 0.28), transparent 28%),
    linear-gradient(180deg, #fafaff 0%, #f4f3ff 62%, #f8f8ff 100%);
}

.hero::before {
  position: absolute;
  width: 760px;
  height: 760px;
  inset: -310px -230px auto auto;
  border: 1px solid rgba(95, 74, 227, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 100px rgba(95, 74, 227, 0.025), 0 0 0 200px rgba(95, 74, 227, 0.018);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  align-items: center;
  gap: 50px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-block: 26px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.eyebrow {
  min-height: 36px;
  padding-inline: 14px;
  border: 1px solid rgba(94, 74, 227, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(12px);
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 5px rgba(113, 213, 255, 0.16);
  animation: soft-pulse 2s ease-in-out infinite;
}

.hero h1 {
  max-width: 680px;
  margin: 26px 0 24px;
  font-size: clamp(52px, 6.25vw, 84px);
  font-weight: 950;
  line-height: 1.12;
}

.hero h1 > span {
  display: block;
}

.gradient-text {
  padding-bottom: 8px;
  color: transparent;
  background: linear-gradient(105deg, #326bff 0%, #664be8 46%, #9a72e8 72%, #39aed9 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 31px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 2;
}

html[lang="en"] .hero-lead {
  max-width: 570px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-quiet {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 0 0 1px var(--line);
  backdrop-filter: blur(10px);
}

.button-quiet:hover {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(94, 74, 227, 0.25), 0 12px 28px rgba(67, 53, 145, 0.1);
}

.play-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: var(--purple);
  background: var(--lavender-soft);
  font-size: 18px;
}

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

.avatar-stack {
  display: flex;
  padding-inline-start: 8px;
}

.avatar-stack span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-inline-start: -8px;
  border: 2px solid #f5f4ff;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 900;
}

.avatar-stack span:nth-child(2) { background: #8b6bd8; }
.avatar-stack span:nth-child(3) { background: #347bdc; }
.avatar-stack span:nth-child(4) { background: #46b5d5; }

.hero-note p {
  max-width: 270px;
  margin: 0;
  color: #68667d;
  font-size: 11px;
  line-height: 1.7;
}

.hero-visual {
  position: relative;
  min-height: 570px;
}

.orbit-scene {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0 21%, rgba(225,219,255,0.25) 22%, rgba(220,229,255,0.1) 52%, transparent 72%);
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  transition: transform 400ms var(--ease);
}

.orbit-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid rgba(86, 64, 210, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-ring::before,
.orbit-ring::after {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 3px solid #f7f6ff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 3px 14px rgba(50, 107, 255, 0.5);
  content: "";
}

.orbit-ring-one {
  width: 250px;
  height: 250px;
  animation: orbit-spin 16s linear infinite;
}

.orbit-ring-one::before { inset: 34px 30px auto auto; }
.orbit-ring-one::after { inset: auto auto 7px 77px; background: var(--sky); }

.orbit-ring-two {
  width: 365px;
  height: 365px;
  border-style: dashed;
  animation: orbit-spin-reverse 24s linear infinite;
}

.orbit-ring-two::before { inset: 77px auto auto 14px; background: var(--lavender); }
.orbit-ring-two::after { inset: auto 5px 105px auto; background: var(--purple); }

.orbit-ring-three {
  width: 480px;
  height: 480px;
  border-color: rgba(86, 64, 210, 0.09);
  animation: orbit-spin 38s linear infinite;
}

.orbit-word {
  position: absolute;
  z-index: 3;
  display: grid;
  min-width: 76px;
  min-height: 38px;
  place-items: center;
  padding-inline: 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(66, 47, 164, 0.1);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
  animation: float 5s ease-in-out infinite;
  cursor: pointer;
  appearance: none;
  transition: color 240ms ease, background 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.orbit-word:hover {
  border-color: rgba(94, 74, 227, 0.24);
  box-shadow: 0 16px 35px rgba(66, 47, 164, 0.17);
}

.orbit-word.is-active {
  color: #fff;
  border-color: transparent;
  background: var(--word-accent, var(--purple));
  box-shadow: 0 15px 34px color-mix(in srgb, var(--word-accent, var(--purple)) 32%, transparent);
  animation: none;
  transform: translateY(-4px) scale(1.04);
}

.word-hello { --word-accent: #326bff; }
.word-bonjour { --word-accent: #8b6bd8; }
.word-hallo { --word-accent: #5e4ae3; }
.word-nihao { --word-accent: #39aed9; }

.word-hello { inset: 52px auto auto 95px; }
.word-bonjour { inset: 108px 26px auto auto; animation-delay: -1.2s; }
.word-hallo { inset: auto auto 61px 70px; animation-delay: -2.4s; }
.word-nihao { inset: auto 54px 86px auto; animation-delay: -3.6s; }

.visual-core {
  position: absolute;
  z-index: 5;
  inset: 50% auto auto 50%;
  display: flex;
  width: 190px;
  height: 190px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 32px 80px rgba(74, 54, 173, 0.2), inset 0 0 45px rgba(167, 211, 255, 0.14);
  transform: translate(-50%, -50%);
  backdrop-filter: blur(18px);
}

.visual-core img {
  position: relative;
  z-index: 2;
  width: 62px;
  height: 62px;
  margin-bottom: 10px;
}

.visual-core strong {
  position: relative;
  z-index: 2;
  font-size: 11px;
  font-weight: 900;
}

.visual-core small {
  position: relative;
  z-index: 2;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 8px;
}

.core-halo {
  position: absolute;
  inset: 13px;
  border: 1px solid color-mix(in srgb, var(--core-accent, var(--purple)) 18%, transparent);
  border-radius: 50%;
}

.visual-core.is-speaking .core-halo {
  animation: greeting-pulse 720ms var(--ease);
}

.visual-core.is-speaking img {
  animation: logo-pop 560ms var(--ease);
}

.floating-card {
  position: absolute;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 45px rgba(55, 40, 135, 0.12);
  backdrop-filter: blur(14px);
  animation: float 6s ease-in-out infinite;
}

.card-progress {
  inset: auto auto 17px 4px;
}

.card-progress .card-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--blue));
}

.floating-card div {
  display: flex;
  flex-direction: column;
}

.floating-card small {
  color: var(--ink-soft);
  font-size: 8px;
}

.floating-card strong {
  margin-top: 2px;
  font-size: 10px;
}

.card-age {
  inset: 10px 4px auto auto;
  flex-direction: column;
  gap: 0;
  min-width: 120px;
  animation-delay: -2s;
}

.card-age strong {
  color: var(--purple);
  font-size: 22px;
  line-height: 1.2;
}

.hero-stats {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.25fr;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(68, 53, 145, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 65px rgba(63, 47, 137, 0.07);
  backdrop-filter: blur(16px);
}

.stat {
  min-height: 95px;
  padding: 20px 28px;
  border-inline-end: 1px solid var(--line);
}

.stat:last-child {
  border-inline-end: 0;
}

.stat strong {
  display: flex;
  align-items: baseline;
  gap: 3px;
  color: var(--purple-dark);
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1.1;
}

.stat p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
}

.stat-phrase {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  background: linear-gradient(135deg, #3928ad, #604bd7);
}

.stat-phrase p {
  margin: 0;
  color: #fff;
  font-size: 12px;
}

.sound-bars {
  display: flex;
  height: 25px;
  align-items: center;
  gap: 3px;
}

.sound-bars i {
  width: 3px;
  height: 30%;
  border-radius: 3px;
  background: var(--sky);
  animation: sound 1.2s ease-in-out infinite alternate;
}

.sound-bars i:nth-child(2) { height: 72%; animation-delay: -0.4s; }
.sound-bars i:nth-child(3) { height: 100%; animation-delay: -0.8s; }
.sound-bars i:nth-child(4) { height: 60%; animation-delay: -0.2s; }
.sound-bars i:nth-child(5) { height: 35%; animation-delay: -0.6s; }

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 58px;
}

.section-kicker {
  margin-bottom: 16px;
}

.section-kicker::before {
  width: 22px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
  content: "";
}

.section-kicker.light {
  color: var(--sky);
}

.section-heading h2,
.experience-intro h2,
.library-copy h2,
.apps-heading h2,
.faq-intro h2,
.contact-main h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(35px, 4.4vw, 57px);
  font-weight: 950;
}

.section-heading > p {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.95;
}

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

.course-card {
  position: relative;
  min-height: 465px;
  padding: 30px;
  overflow: hidden;
  border: 1px solid rgba(64, 48, 150, 0.1);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 20px 60px rgba(58, 43, 141, 0.07);
  transform-style: preserve-3d;
  transition: transform 300ms var(--ease), box-shadow 300ms ease;
}

.course-card::after {
  position: absolute;
  width: 190px;
  height: 190px;
  inset: auto -55px -65px auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(115, 95, 241, 0.15), transparent 68%);
  content: "";
}

.course-card:hover {
  box-shadow: 0 34px 75px rgba(58, 43, 141, 0.15);
}

.course-teens {
  color: #fff;
  border-color: transparent;
  background:
    radial-gradient(circle at 85% 18%, rgba(113, 213, 255, 0.28), transparent 28%),
    linear-gradient(145deg, #302398, #5c45d7 70%, #684ee4);
  box-shadow: 0 24px 70px rgba(58, 43, 141, 0.24);
}

.course-adults {
  background: linear-gradient(155deg, #f4f0ff, #eaf7ff);
}

.course-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 62px;
}

.course-index {
  color: #8d8aa2;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
}

.course-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  color: var(--purple);
  background: var(--lavender-soft);
  font-size: 22px;
}

.course-teens .course-index { color: rgba(255, 255, 255, 0.6); }
.course-teens .course-icon { color: #fff; background: rgba(255, 255, 255, 0.12); }

.course-age {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--purple-dark);
  background: rgba(185, 168, 255, 0.25);
  font-size: 10px;
  font-weight: 800;
}

.course-teens .course-age {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.course-card h3 {
  margin-bottom: 14px;
  font-size: 28px;
  font-weight: 950;
}

.course-card > p {
  min-height: 86px;
  margin-bottom: 21px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.95;
}

.course-teens > p { color: rgba(255, 255, 255, 0.72); }

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 28px;
}

.course-tags span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #65627a;
  font-size: 9px;
}

.course-teens .course-tags span {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.16);
}

.text-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--purple-dark);
  font-size: 11px;
  font-weight: 900;
}

.text-link i {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: rgba(94, 74, 227, 0.09);
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-style: normal;
  transition: transform 240ms var(--ease);
}

.text-link:hover i {
  transform: translateX(-4px);
}

html[dir="ltr"] .text-link i {
  transform: rotate(180deg);
}

html[dir="ltr"] .text-link:hover i {
  transform: rotate(180deg) translateX(-4px);
}

.course-teens .text-link { color: #fff; }
.course-teens .text-link i { background: rgba(255, 255, 255, 0.13); }

.experience {
  background: #eeefff;
  overflow: hidden;
}

.experience::after {
  position: absolute;
  width: 390px;
  height: 390px;
  inset: auto auto -180px -160px;
  border-radius: 50%;
  background: rgba(113, 213, 255, 0.15);
  filter: blur(70px);
  content: "";
}

.experience-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr 0.8fr;
  align-items: end;
  gap: 45px;
  margin-bottom: 55px;
}

.experience-intro .section-kicker {
  align-self: start;
}

.experience-intro p {
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.9fr;
  grid-template-rows: 330px 245px;
  gap: 18px;
}

.bento-card {
  position: relative;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(67, 51, 151, 0.1);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 17px 55px rgba(58, 43, 141, 0.06);
  transition: transform 380ms var(--ease), box-shadow 380ms ease;
}

.bento-card:not(.bento-photo):hover {
  box-shadow: 0 26px 65px rgba(58, 43, 141, 0.13);
  transform: translateY(-5px);
}

.bento-number {
  position: absolute;
  z-index: 3;
  inset-block-start: 22px;
  inset-inline-start: 24px;
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 10px;
  color: var(--purple);
  background: rgba(255, 255, 255, 0.82);
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.bento-photo {
  grid-row: 1 / 3;
}

.bento-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transition: transform 800ms var(--ease), filter 500ms ease;
}

.bento-photo:hover > img {
  transform: scale(1.045);
  filter: saturate(0.98) contrast(1.02);
}

.photo-overlay {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  min-height: 160px;
  align-items: end;
  padding: 32px;
  color: #fff;
  background: linear-gradient(transparent, rgba(19, 15, 64, 0.88));
}

.photo-overlay h3,
.bento-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 950;
}

.photo-overlay p,
.bento-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  line-height: 1.8;
}

.bento-purple,
.bento-light {
  align-items: flex-end;
  padding: 27px 29px;
}

.bento-purple {
  color: #fff;
  background: linear-gradient(145deg, #5b45d8, #35279e);
}

.bento-purple .bento-number {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.mini-visual {
  position: absolute;
  inset: 37px 27px auto;
  height: 120px;
}

.conversation-visual span {
  position: absolute;
  padding: 8px 13px;
  border-radius: 13px 13px 4px 13px;
  color: var(--purple-dark);
  background: #fff;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 800;
  animation: float 4s ease-in-out infinite;
}

.conversation-visual span:first-child {
  inset: 2px auto auto 8px;
}

.conversation-visual span:nth-child(2) {
  inset: 54px 0 auto auto;
  color: #fff;
  background: rgba(113, 213, 255, 0.35);
  animation-delay: -2s;
}

.conversation-visual i {
  position: absolute;
  inset: 25px 55px auto auto;
  width: 65px;
  height: 50px;
  border-block-start: 1px dashed rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: rotate(-22deg);
}

.bento-light {
  background: linear-gradient(145deg, #fff, #f8f5ff);
}

.bento-light p {
  color: var(--ink-soft);
}

.progress-rings {
  position: absolute;
  inset: 35px 50% auto auto;
  display: grid;
  width: 110px;
  height: 110px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--purple) 0 78%, rgba(94, 74, 227, 0.1) 78% 100%);
  transform: translateX(50%);
}

.progress-rings::after {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: #fff;
  content: "";
}

.progress-rings span {
  position: relative;
  z-index: 2;
  color: var(--purple);
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 900;
}

.bento-wide {
  grid-column: 2 / 4;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 36px;
  background: linear-gradient(120deg, #e7f7ff, #f5f1ff);
}

.wide-copy {
  max-width: 360px;
  padding-top: 25px;
}

.bento-wide p {
  color: var(--ink-soft);
}

.practice-path {
  display: flex;
  align-items: center;
  direction: ltr;
}

.practice-path div {
  display: flex;
  width: 70px;
  align-items: center;
  flex-direction: column;
}

.practice-path b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--purple);
  font-family: Arial, sans-serif;
  font-size: 9px;
}

.practice-path span {
  margin-top: 7px;
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
}

.practice-path i {
  width: 28px;
  margin-top: -17px;
  border-block-start: 1px dashed rgba(94, 74, 227, 0.35);
}

.library-section {
  overflow: hidden;
  background: #fff;
}

.library-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  align-items: center;
  gap: 95px;
}

.library-visual {
  position: relative;
  min-height: 560px;
}

.library-visual::before {
  position: absolute;
  width: 420px;
  height: 420px;
  inset: 60px auto auto 20px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--lavender-soft), #e4f7ff);
  content: "";
}

.image-frame {
  position: absolute;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 28px;
  box-shadow: 0 30px 75px rgba(48, 38, 111, 0.18);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms var(--ease);
}

.image-frame:hover img {
  transform: scale(1.045);
}

.image-frame-main {
  z-index: 2;
  width: 410px;
  height: 390px;
  inset: 25px 18px auto auto;
  transform: rotate(2.5deg);
}

.image-frame-small {
  z-index: 3;
  width: 230px;
  height: 180px;
  inset: auto auto 18px 14px;
  transform: rotate(-5deg);
}

.library-badge {
  position: absolute;
  z-index: 4;
  inset: auto 12px 42px auto;
  display: flex;
  width: 125px;
  height: 125px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 6px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--purple), var(--blue));
  box-shadow: 0 17px 40px rgba(73, 53, 180, 0.3);
}

.library-badge strong {
  font-family: Arial, sans-serif;
  font-size: 21px;
}

.library-badge span {
  margin-top: 2px;
  font-size: 9px;
}

.library-copy h2 {
  margin-bottom: 27px;
}

.library-copy > p {
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 2.05;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #4a4863;
  font-size: 12px;
  font-weight: 700;
}

.check-list li > span:first-child {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--purple);
  background: var(--lavender-soft);
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.app-section {
  padding-block: 50px 120px;
  background: #fff;
}

.apps-shell {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 75px;
  min-height: 410px;
  padding: 60px 70px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    linear-gradient(125deg, rgba(67, 47, 173, 0.97), rgba(41, 28, 119, 0.97)),
    url("assets/images/interior.webp") center/cover;
  box-shadow: 0 35px 90px rgba(55, 37, 158, 0.22);
}

.apps-heading,
.app-cards {
  position: relative;
  z-index: 2;
}

.apps-heading h2 {
  margin-bottom: 21px;
  font-size: clamp(35px, 4vw, 51px);
}

.apps-heading p {
  max-width: 450px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.9;
}

.app-cards {
  display: grid;
  gap: 13px;
}

.app-card {
  display: flex;
  min-height: 105px;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  transition: background 280ms ease, transform 280ms var(--ease), border-color 280ms ease;
}

.app-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.17);
  transform: translateY(-4px) scale(1.01);
}

.app-icon {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 18px;
  color: var(--purple-dark);
  background: #fff;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 950;
}

.rewards-icon {
  color: #fff;
  background: linear-gradient(145deg, #43c1ee, #3f80ec);
}

.app-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.app-copy small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
}

.app-copy strong {
  margin-top: 6px;
  font-size: 14px;
}

.app-arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  font-family: Arial, sans-serif;
}

.apps-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(5px);
}

.orb-a {
  width: 280px;
  height: 280px;
  inset: -150px auto auto 30%;
  background: rgba(113, 213, 255, 0.16);
}

.orb-b {
  width: 210px;
  height: 210px;
  inset: auto -60px -100px auto;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 0 0 30px rgba(255,255,255,0.02), 0 0 0 60px rgba(255,255,255,0.02);
}

.gallery-section {
  padding-block: 110px 120px;
  overflow: hidden;
  background: #f5f4ff;
}

.gallery-heading {
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 38px;
}

.gallery-controls {
  display: flex;
  gap: 9px;
}

.gallery-controls button {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--purple-dark);
  background: #fff;
  font-family: Arial, sans-serif;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.gallery-controls button:hover {
  color: #fff;
  background: var(--purple);
  transform: scale(1.06);
}

.gallery-track-wrap {
  width: var(--shell);
  margin-inline: auto;
}

.gallery-track {
  display: flex;
  gap: 16px;
  padding: 14px 3px 28px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track.is-dragging { cursor: grabbing; scroll-behavior: auto; }

.gallery-card {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 22px;
  background: #ddd;
  box-shadow: 0 16px 38px rgba(49, 38, 111, 0.1);
  scroll-snap-align: center;
  cursor: zoom-in;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82);
  transition: transform 600ms var(--ease), filter 300ms ease;
}

.gallery-card span {
  position: absolute;
  inset: auto 12px 12px;
  padding: 9px 12px;
  border-radius: 12px;
  color: #fff;
  background: rgba(25, 19, 66, 0.67);
  font-size: 10px;
  font-weight: 700;
  text-align: start;
  opacity: 0;
  transform: translateY(8px);
  backdrop-filter: blur(10px);
  transition: opacity 260ms ease, transform 260ms ease;
}

.gallery-card:hover img { transform: scale(1.055); filter: saturate(1); }
.gallery-card:hover span,
.gallery-card:focus-visible span { opacity: 1; transform: none; }

.faq-section {
  background: #fff;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: 95px;
}

.faq-intro {
  position: sticky;
  top: 130px;
}

.faq-intro h2 {
  margin-bottom: 24px;
  font-size: clamp(36px, 4vw, 51px);
}

.faq-intro p {
  margin-bottom: 23px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.95;
}

.faq-call {
  font-size: 12px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item button {
  display: flex;
  width: 100%;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 2px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 900;
  text-align: start;
  cursor: pointer;
}

.faq-item button i {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f0edff;
}

.faq-item button i::before,
.faq-item button i::after {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--purple);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 280ms ease;
}

.faq-item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open button i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 420ms var(--ease);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0 4px 26px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 2;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.contact-section {
  padding-block: 10px 80px;
  background: #fff;
}

.contact-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 90px;
  padding: 72px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(113, 213, 255, 0.2), transparent 28%),
    linear-gradient(130deg, #21166e, #513bc6 75%, #634cdb);
  box-shadow: 0 35px 90px rgba(53, 37, 143, 0.22);
}

.contact-main,
.contact-info {
  position: relative;
  z-index: 2;
}

.contact-main h2 {
  margin-bottom: 19px;
}

.contact-main > p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button-white {
  color: var(--purple-dark);
  background: #fff;
  box-shadow: 0 15px 34px rgba(15, 10, 60, 0.18);
}

.button-outline-light {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.button-outline-light:hover {
  background: rgba(255, 255, 255, 0.09);
}

.contact-info {
  display: grid;
  gap: 24px;
  align-content: center;
}

.contact-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
}

.contact-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  color: var(--sky);
  background: rgba(255, 255, 255, 0.07);
  font-family: Arial, sans-serif;
}

.instagram-icon svg {
  width: 19px;
  height: 19px;
}

.contact-row > div {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
  text-align: start;
}

.contact-row small {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.47);
  font-size: 9px;
}

.contact-row address,
.contact-row p,
.contact-row a {
  margin: 0;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  line-height: 1.8;
}

.contact-row a[data-i18n="mapLink"] {
  margin-top: 3px;
  color: var(--sky);
  font-size: 9px;
}

.contact-row .instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  direction: ltr;
  font-family: Arial, sans-serif;
  font-weight: 700;
  unicode-bidi: isolate;
  transition: color 200ms ease, transform 200ms var(--ease);
}

.contact-row .instagram-link:hover {
  color: var(--sky);
  transform: translateY(-2px);
}

.ltr-number {
  direction: ltr;
  font-family: Arial, sans-serif;
  text-align: inherit;
  unicode-bidi: isolate;
}

.phone-links {
  display: flex;
  width: 100%;
  align-items: flex-end;
  flex-direction: column;
}

html[dir="ltr"] .phone-links {
  align-items: flex-start;
}

.contact-pattern {
  position: absolute;
  inset: -58px auto auto -14px;
  color: rgba(255, 255, 255, 0.035);
  font-family: Georgia, serif;
  font-size: 260px;
  font-weight: 900;
  line-height: 1;
  transform: rotate(-8deg);
  user-select: none;
}

.site-footer {
  padding-block: 25px 22px;
  background: #fff;
}

.footer-main,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-main {
  padding-bottom: 28px;
}

.footer-main > p {
  max-width: 330px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 22px;
  color: #4f4c67;
  font-size: 10px;
  font-weight: 700;
}

.footer-links a:hover { color: var(--purple); }

.footer-bottom {
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
  color: #8d8b9b;
  font-size: 9px;
}

.back-to-top {
  border: 0;
  color: var(--purple-dark);
  background: none;
  font-size: 9px;
  font-weight: 800;
  cursor: pointer;
}

.lightbox {
  width: min(860px, calc(100vw - 32px));
  max-height: 90vh;
  padding: 12px;
  overflow: visible;
  border: 0;
  border-radius: 25px;
  color: #fff;
  background: #17142f;
  box-shadow: 0 35px 120px rgba(11, 7, 43, 0.48);
}

.lightbox::backdrop {
  background: rgba(12, 9, 38, 0.74);
  backdrop-filter: blur(9px);
}

.lightbox img {
  width: 100%;
  max-height: 72vh;
  border-radius: 17px;
  object-fit: contain;
}

.lightbox p {
  margin: 11px 10px 4px;
  font-size: 11px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  inset: 21px auto auto 21px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(15, 10, 48, 0.72);
  font-family: Arial, sans-serif;
  font-size: 24px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.noscript {
  position: fixed;
  z-index: 9999;
  inset: auto 16px 16px;
  padding: 12px 18px;
  border-radius: 12px;
  color: #fff;
  background: #2e238e;
  font-size: 12px;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

:focus-visible {
  outline: 3px solid rgba(50, 107, 255, 0.5);
  outline-offset: 4px;
}

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

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes soft-pulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(113, 213, 255, 0.14); }
  50% { box-shadow: 0 0 0 8px rgba(113, 213, 255, 0.05); }
}

@keyframes sound {
  to { height: 25%; }
}

@keyframes greeting-pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--core-accent, var(--purple)) 35%, transparent); }
  70% { box-shadow: 0 0 0 18px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes logo-pop {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.12) rotate(-3deg); }
}

@media (max-width: 1080px) {
  :root { --shell: min(calc(100% - 40px), 980px); }

  .nav-links { gap: 17px; }
  .nav-links a { font-size: 11px; }
  .hero-grid { grid-template-columns: 1fr 0.88fr; gap: 25px; }
  .orbit-scene { width: 450px; height: 450px; }
  .orbit-ring-three { width: 430px; height: 430px; }
  .word-hello { inset: 32px auto auto 70px; }
  .word-bonjour { inset: 82px 8px auto auto; }
  .word-hallo { inset: auto auto 40px 55px; }
  .word-nihao { inset: auto 36px 65px auto; }
  .card-progress { inset-inline-start: 0; }
  .course-card { padding: 26px; }
  .course-card h3 { font-size: 24px; }
  .experience-intro { grid-template-columns: 0.6fr 1.3fr 0.8fr; gap: 30px; }
  .bento-grid { grid-template-columns: 1.1fr 0.9fr 0.9fr; }
  .library-grid { gap: 45px; }
  .apps-shell { gap: 45px; padding: 55px; }
  .contact-shell { gap: 50px; padding: 58px; }
}

@media (max-width: 900px) {
  :root { --shell: min(calc(100% - 36px), 760px); }
  .section { padding-block: 90px; }
  .site-header { padding-block: 10px; }

  .menu-toggle { display: block; margin-inline-start: auto; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav-panel {
    position: fixed;
    inset: 78px 18px auto;
    display: grid;
    padding: 22px;
    border: 1px solid rgba(69, 51, 159, 0.12);
    border-radius: 24px;
    background: rgba(251, 251, 255, 0.96);
    box-shadow: 0 25px 70px rgba(41, 30, 107, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px) scale(0.98);
    backdrop-filter: blur(20px);
    transition: opacity 260ms ease, transform 260ms var(--ease), visibility 260ms ease;
  }

  .nav-panel.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links { display: grid; gap: 3px; margin: 0; }
  .nav-links a { padding: 11px 8px; font-size: 13px; }
  .nav-links a::after { display: none; }
  .nav-actions { justify-content: space-between; margin-top: 15px; padding-top: 17px; border-top: 1px solid var(--line); }

  .hero { min-height: auto; padding-block: 130px 35px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; align-items: center; flex-direction: column; padding-block-end: 0; }
  .hero-lead { max-width: 650px; }
  .hero-actions, .hero-note { justify-content: center; }
  .hero-visual { min-height: 510px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-phrase { grid-column: 1 / -1; justify-content: center; min-height: 70px; }
  .stat:nth-child(3) { border-inline-end: 0; }

  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading > p { max-width: 600px; }
  .course-grid { grid-template-columns: 1fr; }
  .course-card { min-height: auto; }
  .course-top { margin-bottom: 35px; }
  .course-card > p { min-height: auto; }

  .experience-intro { grid-template-columns: 1fr; gap: 14px; }
  .experience-intro p { max-width: 620px; }
  .bento-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 430px 340px 250px; }
  .bento-photo { grid-column: 1 / -1; grid-row: auto; }
  .bento-wide { grid-column: 1 / -1; }

  .library-grid { grid-template-columns: 1fr; gap: 55px; }
  .library-visual { width: min(100%, 620px); margin-inline: auto; }
  .library-copy { max-width: 620px; }

  .apps-shell { grid-template-columns: 1fr; gap: 35px; }
  .apps-heading { max-width: 650px; }
  .app-cards { grid-template-columns: 1fr 1fr; }
  .app-card { align-items: flex-start; flex-wrap: wrap; }
  .app-copy { min-width: calc(100% - 75px); }
  .app-arrow { margin-inline-start: auto; }

  .faq-grid { grid-template-columns: 1fr; gap: 45px; }
  .faq-intro { position: static; max-width: 640px; }

  .contact-shell { grid-template-columns: 1fr; gap: 45px; }
  .contact-info { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-pattern { opacity: 0.6; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); --radius-xl: 28px; }
  body { font-size: 15px; }
  .section { padding-block: 72px; }
  .brand-copy small { display: none; }
  .brand-mark { width: 43px; height: 43px; border-radius: 14px; }
  .nav { min-height: 54px; }
  .nav-panel { inset-block-start: 68px; }

  .hero { padding-block: 108px 28px; }
  .hero h1 { margin-block: 21px 17px; font-size: clamp(43px, 14vw, 62px); }
  .hero-lead { font-size: 14px; line-height: 1.9; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-note { align-items: flex-start; text-align: start; }
  .hero-visual { min-height: 405px; width: 100%; }
  .orbit-scene { width: 350px; height: 350px; }
  .orbit-ring-one { width: 190px; height: 190px; }
  .orbit-ring-two { width: 270px; height: 270px; }
  .orbit-ring-three { width: 340px; height: 340px; }
  .visual-core { width: 145px; height: 145px; }
  .visual-core img { width: 48px; height: 48px; }
  .orbit-word { min-width: 60px; min-height: 31px; padding-inline: 9px; font-size: 9px; }
  .word-hello { inset: 17px auto auto 56px; }
  .word-bonjour { inset: 63px -3px auto auto; }
  .word-hallo { inset: auto auto 27px 34px; }
  .word-nihao { inset: auto 24px 48px auto; }
  .card-progress { inset: auto auto -1px -2px; padding: 9px; }
  .card-age { inset: -3px -3px auto auto; min-width: 96px; padding: 9px; }
  .card-age strong { font-size: 17px; }

  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 90px; padding: 18px; }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(3) { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .stat-phrase { grid-column: 1 / -1; }

  .section-heading h2,
  .experience-intro h2,
  .library-copy h2,
  .apps-heading h2,
  .faq-intro h2,
  .contact-main h2 { font-size: 34px; }
  .section-heading { margin-bottom: 38px; }

  .course-card { padding: 25px; border-radius: 24px; }
  .course-card h3 { font-size: 26px; }

  .bento-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: 390px 320px 320px auto; }
  .bento-photo, .bento-wide { grid-column: auto; }
  .bento-wide { align-items: flex-start; flex-direction: column; padding: 28px; }
  .practice-path { align-self: center; }

  .library-visual { min-height: 420px; }
  .library-visual::before { width: 310px; height: 310px; inset: 48px auto auto 0; }
  .image-frame-main { width: calc(100% - 35px); height: 300px; inset: 15px 4px auto auto; }
  .image-frame-small { width: 170px; height: 130px; inset: auto auto 4px 2px; }
  .library-badge { width: 105px; height: 105px; inset: auto 0 28px auto; }
  .library-badge strong { font-size: 17px; }

  .app-section { padding-block: 30px 75px; }
  .apps-shell { padding: 37px 25px; border-radius: 28px; }
  .app-cards { grid-template-columns: 1fr; }
  .app-card { min-height: 92px; }

  .gallery-section { padding-block: 74px; }
  .gallery-heading { grid-template-columns: 1fr; }
  .gallery-controls { margin-top: 3px; }
  .gallery-card { width: min(285px, 78vw); }

  .faq-item button { min-height: 75px; gap: 15px; font-size: 12px; }

  .contact-section { padding-block: 5px 50px; }
  .contact-shell { gap: 40px; padding: 38px 24px; }
  .contact-actions .button { width: 100%; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 42px 1fr; }

  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-main > p { text-align: start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (pointer: coarse) {
  .cursor-glow { display: none; }
}
