:root {
  --coral-soft: #fff0f1;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --container: 1180px;
  --saffron-dark: #d99a21;
  --navy: #111d3d;
  --navy-2: #18284f;
  --navy-3: #0c1732;
  --blue: #4a63e7;
  --blue-dark: #3d54cc;
  --jade: #00a86b;
  --saffron: #e5aa37;
  --paper: #dbe5f4;
  --surface: #d2deef;
  --surface-2: #e0e8f5;
  --card: #edf2fa;
  --ink: #17213c;
  --muted: #5c6881;
  --blue-soft: #dbe3fb;
  --jade-soft: #d8eee7;
  --saffron-soft: #f0e3c6;
  --shadow: 0 24px 62px rgba(12, 25, 57, 0.15);
  --light-blue-1: #b9c8dc;
  --light-blue-2: #c7d3e3;
  --light-blue-3: #afc0d7;
  --light-blue-4: #d1dae7;
  --card-blue: #dbe3ee;
  --card-blue-deep: #ced9e8;
  --line-blue: #aebdd1;
  --line: rgba(134, 153, 185, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100vh;
  background: #e8eef8;
}

body {
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-family:
    "Baloo 2",
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: #e8eef8;
}

body.home {
  background: var(--navy);
}

body:not(.home) {
  background:
    radial-gradient(
      960px 520px at 92% 0%,
      rgba(74, 99, 231, 0.16),
      transparent 64%
    ),
    linear-gradient(145deg, #0d1734 0%, #172444 56%, #0f1524 100%);
  background-attachment: fixed;
}

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

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

button {
  font: inherit;
}

section h1,
section h2 {
  margin-top: 16px;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.section-sm {
  padding: 76px 0;
}

.center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3156d1;
  background: rgba(74, 99, 231, 0.12);
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6vw, 76px);
  letter-spacing: -0.055em;
}

.page-title-sm {
  max-width: none;
  font-size: clamp(30px, 4vw, 44px);
  text-align: center;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.04em;
}

h3 {
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.lead {
  max-width: 710px;
  font-size: 19px;
  color: var(--muted);
}

.section-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
}

.section-head p {
  margin-bottom: 0;
  font-size: 18px;
  color: var(--muted);
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  backdrop-filter: blur(18px);
  color: white;
  background: rgba(17, 29, 61, 0.96);
}

.nav {
  min-height: 74px;
  justify-content: space-between;
  gap: 24px;
}

.logo,
.nav {
  display: flex;
  align-items: center;
}

.logo {
  gap: 11px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.logo-mark {
  width: 38px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
  color: #e8edff;
  font-family: "Baloo 2", sans-serif;
  font-size: 23px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  background: none;
  font-size: 26px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 850;
  font-size: 16px;
  line-height: 1;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(128, 149, 183, 0.24);
}

.btn-dark {
  color: white;
  background: var(--navy);
}

.btn-sm {
  min-height: 42px;
  padding-inline: 17px;
  border-radius: 12px;
  font-size: 13px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links .btn-dark {
  display: none;
}

.nav-cta {
  color: white;
  font-size: 14px;
  background: linear-gradient(135deg, #ef4136 0%, #d81f5f 30%, #3f6fe8 100%);
}

.nav-cta:hover {
  filter: brightness(1.06);
}

.nav-login {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease;
}

.nav-login:hover {
  background: rgba(255, 255, 255, 0.18);
}

.nav-login-icon {
  width: 19px;
  height: 19px;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  background-size: 48px 84px;
  transform: rotate(8deg);
  inset: auto -70px -165px auto;
  opacity: 0.055;
  background-image:
    linear-gradient(
      30deg,
      white 12%,
      transparent 12.5%,
      transparent 87%,
      white 87.5%,
      white
    ),
    linear-gradient(
      150deg,
      white 12%,
      transparent 12.5%,
      transparent 87%,
      white 87.5%,
      white
    ),
    linear-gradient(
      30deg,
      white 12%,
      transparent 12.5%,
      transparent 87%,
      white 87.5%,
      white
    ),
    linear-gradient(
      150deg,
      white 12%,
      transparent 12.5%,
      transparent 87%,
      white 87.5%,
      white
    );
  background: radial-gradient(
    1100px 300px at 50% 100%,
    rgba(72, 97, 190, 0.2),
    transparent 72%
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
}

.hero .lead {
  margin-bottom: 30px;
}

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

.hero-visual {
  position: relative;
  place-items: center;
}

.hero-visual img {
  position: relative;
  z-index: 2;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.proof-item {
  padding: 10px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
  line-height: 1.1em;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item span {
  font-size: 13px;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.profile-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.profile-card:hover {
  transform: translateY(-4px);
  border-color: #cbd8fa;
  box-shadow: 0 20px 45px rgba(24, 33, 58, 0.08);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 19px;
  border-radius: 14px;
  font-size: 24px;
  background: var(--coral-soft);
  color: #314f91;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.32);
  box-shadow: none;
  border: 1px solid rgba(74, 99, 231, 0.08);
}

.profile-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.profile-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.results-section {
  color: white;
  overflow: hidden;
  background:
    radial-gradient(
      960px 520px at 92% 0%,
      rgba(74, 99, 231, 0.16),
      transparent 64%
    ),
    linear-gradient(145deg, #0d1734 0%, #112043 56%, #0a132d 100%);
}

.results-section .section-head p {
  color: #bac5df;
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 56px;
}

.outcome-list {
  display: flex;
  flex-direction: column;
}

.outcome-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.outcome-row:first-child {
  padding-top: 0;
}

.outcome-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.outcome-row-icon {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  color: #c9d5ef;
}

.outcome-row-copy h3 {
  margin: 0 0 8px;
  font-size: 22px;
  color: white;
}

.outcome-row-copy p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #bdc8df;
}

.results-visual {
  position: relative;
  width: 100%;
  min-height: 610px;
  display: grid;
  place-items: center;
}

.results-visual-photo {
  position: relative;
  z-index: 1;
  align-self: end;
  width: 94%;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(4, 10, 26, 0.45));
}

.results-visual-float {
  position: absolute;
  z-index: 2;
  height: auto;
  filter: drop-shadow(0 22px 28px rgba(4, 10, 26, 0.4));
  will-change: transform;
}

.results-visual-laptop {
  top: -9%;
  left: -6%;
  width: 52%;
  max-width: 260px;
}

.results-visual-phone {
  top: 6%;
  right: -9%;
  width: 46%;
}

#programme .journey-metro {
  position: relative;
  height: 450px;
  margin-top: 8px;
}

#programme .journey-metro-track {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 103%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

#programme .journey-metro-track path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#programme .journey-track-blue {
  stroke: var(--jade);
  stroke-width: 9px;
}

#programme .journey-station {
  position: absolute;
  display: flex;
  align-items: center;
  z-index: 2;
  width: 28.5%;
  padding: 20px 16px 20px 20px;
  min-height: 120px;
  border: 2px solid #dce2eb;
  border-radius: 15px;
  color: white;
  background: var(--navy-2);
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.06),
    0 16px 34px rgba(4, 11, 28, 0.15);
}

#programme .journey-station::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: -1;
  width: 4px;
  height: 34px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(197, 207, 227, 0.58);
}

#programme .journey-station::before {
  content: "";
  position: absolute;
  left: 50%;
  z-index: 4;
  width: 18px;
  height: 18px;
  transform: translateX(-50%);
  border: 3px solid var(--jade);
  border-radius: 50%;
  background: #2e3e98;
}

#programme .journey-station-top {
  top: 18px;
}

#programme .journey-station-top::after {
  bottom: -35px;
}

#programme .journey-station-top::before {
  bottom: -49px;
}

#programme .journey-station-bottom {
  top: 305px;
}

#programme .journey-station-bottom::after {
  top: -35px;
}

#programme .journey-station-bottom::before {
  top: -44px;
}

#programme .journey-station-01,
#programme .journey-station-06 {
  left: 0;
}

#programme .journey-station-02,
#programme .journey-station-05 {
  left: 35.75%;
}

#programme .journey-station-03,
#programme .journey-station-04 {
  right: 0;
}

#programme .journey-station-copy {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  gap: 10px;
}

#programme .journey-station h3 {
  margin: 0;
  color: white;
  font-size: clamp(19px, 1.6vw, 21px);
  line-height: 1.02;
}

#programme .journey-station-copy-subtitle {
  display: flex;
  align-items: center;
  gap: 8px;
}

#programme .journey-station p {
  flex: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.45;
}

#programme .journey-station-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 2px solid white;
  border-radius: 50%;
  color: white;
  font-family: "Baloo 2", sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
}

.journey-metro-train {
  position: absolute;
  z-index: 1;
  width: 22%;
  top: 52.5%;
  left: 67%;
  will-change: transform;
  transform: translateX(var(--train-x, 0px));
}

.programme-box {
  margin-top: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow);
}

.programme-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 25px 28px;
  color: white;
}

.programme-top strong {
  font-size: 20px;
}

.programme-top span {
  color: #bfc9df;
  font-size: 14px;
}

.module + .module {
  border-top: 1px solid var(--line);
}

.module-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 21px 28px;
  border: 0;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.module-button .plus {
  font-size: 24px;
  color: var(--blue);
  transition: transform 0.2s ease;
}

.module.open .module-button .plus {
  transform: rotate(45deg);
}

.module-content {
  display: none;
  padding: 0 28px 24px;
  background: rgba(246, 250, 255, 0.96);
}

.module.open .module-content {
  display: block;
}

.lesson-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lesson-list li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--muted);
  font-size: 14px;
}

.lesson-list li::before {
  content: "✓";
  font-weight: 900;
  color: var(--jade);
}

.method-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 78px;
}

.method-row + .method-row {
  margin-top: 105px;
}

.method-row.reverse .method-copy {
  order: 2;
}

.method-row.reverse .method-visual {
  order: 1;
}

.method-copy h3 {
  margin: 16px 0 15px;
  font-size: clamp(29px, 3.2vw, 42px);
  color: white;
}

.method-copy p {
  color: var(--muted);
  font-size: 17px;
}

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

.method-cta {
  margin-top: 24px;
}

.check-list li {
  display: flex;
  gap: 12px;
}

.check-list li::before {
  content: "✓";
  flex: 0 0 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--jade);
  font-size: 12px;
  font-weight: 950;
}

.method-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.method-visual img {
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 28px 35px rgba(17, 29, 61, 0.18));
  z-index: 1;
}

.method-visual.lessons video {
  position: absolute;
  height: 54%;
  object-fit: contain;
  transform: translate(13.8%, -2.9%);
  z-index: 2;
}

.method-visual.excercises video {
  position: absolute;
  height: 92%;
  object-fit: contain;
  transform: scale(0.99) translate(3.5%, 8.5%) rotate(12deg);
  box-shadow: 0px 0px 30px 38px #00d8ff12;
  border-radius: 50px;
}

.method-visual.pronunciation video {
  position: absolute;
  width: 61%;
  object-fit: contain;
  transform: translate(5.5%, 22%);
}

.method-visual.square {
  aspect-ratio: 1 / 1;
  min-height: 0;
  max-width: 550px;
}

.method-visual.square img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: none;
}

.method-visual.wide img {
  width: 95%;
  max-height: none;
}

.try-box {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  align-items: center;
  gap: 50px;
  padding: 55px;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.try-box::before {
  content: "ก ข ค";
  position: absolute;
  right: -20px;
  top: -55px;
  font-size: 180px;
  font-weight: 900;
  transform: rotate(8deg);
  opacity: 0.07;
}

.try-copy {
  position: relative;
  z-index: 2;
}

.try-copy h2 {
  max-width: 620px;
}

.try-copy p {
  max-width: 650px;
  color: #edf1ff;
  font-size: 18px;
}

.try-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

.try-visual {
  position: relative;
  z-index: 2;
}

.try-visual img {
  filter: drop-shadow(0 28px 32px rgba(5, 17, 58, 0.28));
}

.lesson-preview {
  position: relative;
  border: 5px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(5, 17, 58, 0.35);
}

.lesson-preview img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
}

.lesson-preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  filter: drop-shadow(0 10px 22px rgba(5, 17, 58, 0.45));
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

.lesson-preview-play:focus-visible,
.lesson-preview-play:hover {
  filter: drop-shadow(0 14px 28px rgba(5, 17, 58, 0.55));
  transform: translate(-50%, -50%) scale(1.08);
}

.lesson-preview-play-disc {
  fill: rgba(255, 255, 255, 0.75);
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 2;
  transition:
    fill 0.3s ease,
    stroke 0.3s ease;
}

.lesson-preview-play:focus-visible .lesson-preview-play-disc,
.lesson-preview-play:hover .lesson-preview-play-disc {
  fill: rgba(255, 255, 255, 0.8);
  stroke: rgba(255, 255, 255, 0.78);
}

.lesson-preview-play-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  animation: taj-play-pulse 2.6s ease-out infinite;
  pointer-events: none;
}

@keyframes taj-play-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.testimonial {
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.testimonial-track .testimonial {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.testimonial-track .testimonial:focus-visible,
.testimonial-track .testimonial:hover {
  transform: scale(0.99);
}

.stars {
  margin-bottom: 17px;
  color: var(--saffron);
  display: flex;
  gap: 5px;
  letter-spacing: 0;
}

.testimonial blockquote {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.65;
}

.testimonial-track .testimonial blockquote {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}

.person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 13px;
  font-weight: 900;
}

.person span,
.person strong {
  display: block;
}

.person span {
  color: var(--muted);
  font-size: 12px;
  color: #b9c4da;
}

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

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.plan.featured {
  border-color: transparent;
  transform: translateY(-8px);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  color: var(--navy);
  background: var(--saffron);
  box-shadow: none;
}

.plan .mini,
.plan-badge {
  text-transform: uppercase;
}

.plan .mini {
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.04em;
  color: var(--blue);
}

.plan h3 {
  margin: 13px 0 14px;
  font-size: 26px;
}

.price {
  margin-bottom: 14px;
}

.price strong {
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.price span {
  color: var(--muted);
  font-size: 14px;
  padding-left: 2px;
}

.plan.featured .plan-description,
.plan.featured .plan-list,
.plan.featured .price span {
  color: #bdc8df;
}

.plan-description {
  color: var(--muted);
  font-size: 15px;
}

.plan-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 28px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.plan.featured .plan-list {
  border-color: rgba(255, 255, 255, 0.13);
}

.plan-list li {
  display: flex;
  gap: 9px;
}

.plan-list li::before {
  content: "✓";
  color: var(--jade);
  font-weight: 900;
}

.plan .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-note {
  margin-top: 30px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 74px;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-xl);
}

.about-visual img {
  width: 100%;
  border-radius: 32px;
  padding: 10px;
}

.about-copy p {
  color: var(--muted);
  font-size: 17px;
}

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

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

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: transparent;
  cursor: pointer;
  font-weight: 850;
  align-items: baseline;
}

.faq-answer {
  display: none;
  color: #56647d;
  max-width: 800px;
  padding: 0 0 20px;
  border-top: 0;
}

.faq-answer p {
  margin: 0 0 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 4px;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-icon {
  font-size: 23px;
  transition: transform 0.2s ease;
  color: var(--blue);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.final-cta {
  padding: 90px 0 104px;
  border-top: 0;
  background:
    radial-gradient(
      1380px 720px at 84% 2%,
      rgba(78, 104, 187, 0.3),
      transparent 58%
    ),
    radial-gradient(
      980px 500px at 8% 86%,
      rgba(29, 55, 108, 0.14),
      transparent 62%
    ),
    radial-gradient(
      700px 360px at 42% 34%,
      rgba(255, 255, 255, 0.16),
      transparent 74%
    ),
    linear-gradient(140deg, #e4eeff 0%, #eef5ff 48%, #d7e4fb 100%);
}

.final-box {
  padding: 60px 24px;
  text-align: center;
  border-radius: var(--radius-xl);
  color: white;
  background: #101d3d;
  box-shadow: 0 30px 74px rgba(10, 24, 55, 0.24);
}

.final-box h2 {
  margin-inline: auto;
}

.final-box p {
  margin: 0 auto 26px;
  color: #bdc8df;
  font-size: 18px;
}

footer {
  padding: 34px 0;
  color: #aeb9d1;
  font-size: 13px;
  background: var(--tutor-surface-base);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* metro responsive */
@media (max-width: 1250px) {
  #programme .journey-metro-track {
    width: 100%;
  }
}
@media (max-width: 1150px) {
  #programme .journey-station h3 {
    font-size: min(1.6vw, 21px);
  }
  #programme .journey-station p {
    font-size: min(1.1vw, 14px);
  }
  .journey-metro-train {
    top: 53%;
  }
}

@media (max-width: 1020px) {
  .nav-links {
    display: grid;
    position: absolute;
    inset: 74px 20px auto;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .about-grid,
  .hero-grid,
  .method-row,
  .try-box {
    grid-template-columns: 1fr;
  }

  .method-visual {
    width: 100%;
    margin-inline: auto;
    margin-top: 20px;
  }

  .about-visual {
    max-width: 480px;
    margin-inline: auto;
  }

  .try-box {
    gap: 30px;
  }

  .try-box .try-visual {
    order: -1;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .lead,
  .hero-copy h1 {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    max-width: 650px;
    width: 100%;
    margin-inline: auto;
  }

  .profile-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .results-visual {
    min-height: 480px;
    max-width: 480px;
    margin-inline: auto;
  }

  #pour-qui .profile-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    align-items: start;
  }

  #pour-qui .profile-card .card-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    margin-bottom: 0;
  }

  #pour-qui .profile-card h3 {
    grid-column: 2;
    grid-row: 1;
  }

  #pour-qui .profile-card p {
    grid-column: 2;
    grid-row: 2;
  }

  .results-visual-laptop {
    left: -4%;
    width: 43%;
  }

  .results-visual-phone {
    top: 2%;
  }

  #programme .journey-metro {
    height: 430px;
  }

  #programme .journey-station {
    width: 31.5%;
  }
  #programme .journey-station-02,
  #programme .journey-station-05 {
    left: 34%;
  }

  #programme .journey-station-02,
  #programme .journey-station-05 {
    left: 34.5%;
  }

  #programme .journey-station-number {
    width: 40px;
    height: 40px;
  }

  #programme .journey-station-bottom {
    top: 290px;
  }

  #programme .journey-station-top::after {
    height: 36px;
    bottom: -36px;
  }

  #programme .journey-station-top::before {
    bottom: -48px;
  }

  #programme .journey-station-bottom::after {
    height: 27px;
    top: -27px;
  }

  #programme .journey-station-bottom::before {
    top: -39px;
  }

  .journey-metro-train {
    top: 53.6%;
  }

  .outcome-row {
    padding: 24px 0;
  }

  .method-row {
    gap: 40px;
  }

  .method-row.reverse .method-copy,
  .method-row.reverse .method-visual {
    order: initial;
  }

  .try-visual {
    max-width: 520px;
    margin-inline: auto;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 780px;
    margin-inline: auto;
  }

  .plan.featured {
    transform: none;
  }

  .plan:last-child {
    grid-column: 1 / -1;
    max-width: 380px;
    margin-inline: auto;
    width: 100%;
  }
}

@media (max-width: 1020px) and (prefers-reduced-motion: reduce) {
  .nav-links,
  .nav-links.open {
    transition:
      opacity 0.2s ease,
      visibility 0.2s;
    transform: none;
  }
}

@media (max-width: 930px) {
  .journey-metro-train {
    top: 54%;
  }
}

@media (max-width: 800px) {
  .journey-metro-train {
    top: 55%;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .plan:last-child {
    grid-column: auto;
    max-width: none;
  }

  .section {
    padding: 76px 0;
  }

  .section-sm {
    padding: 60px 0;
  }

  .nav {
    min-height: 66px;
  }

  .nav-links {
    inset: 66px 14px auto;
  }

  .hero {
    padding: 60px 0 54px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(31px, 9vw, 44px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px 0;
  }

  .proof-item {
    min-height: 72px;
    display: grid;
    place-content: center;
    border-bottom: 1px solid var(--line);
  }

  .proof-item:nth-child(2) {
    border-right: 0;
  }

  .proof-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

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

  .profile-card {
    padding: 24px;
  }

  .results-visual {
    min-height: 360px;
    max-width: 340px;
  }

  #programme .journey-metro {
    height: auto;
    display: grid;
    gap: 30px;
    margin-top: 4px;
    padding-left: 48px;
  }

  #programme .journey-metro::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 12px;
    bottom: 12px;
    width: 8px;
    border-radius: 999px;
    background: var(--jade);
    box-shadow: 0 5px 14px rgba(4, 11, 28, 0.2);
  }

  #programme .journey-metro-track {
    display: none;
  }

  #programme .journey-station,
  #programme .journey-station-top,
  #programme .journey-station-bottom,
  #programme .journey-station-01,
  #programme .journey-station-02,
  #programme .journey-station-03,
  #programme .journey-station-04,
  #programme .journey-station-05,
  #programme .journey-station-06 {
    position: relative;
    inset: auto;
    width: 94%;
  }

  #programme .journey-station p {
    font-size: min(1.3vw, 14px);
  }

  #programme .journey-station::after {
    left: -36px;
    top: 50%;
    bottom: auto;
    width: 36px;
    height: 4px;
    transform: translateY(-50%);
  }

  #programme .journey-station::before {
    left: -37px;
    top: 50%;
    bottom: auto;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
  }

  #programme .journey-station h3 {
    font-size: min(4.4vw, 22px);
  }

  #programme .journey-station p {
    font-size: min(3.2vw, 14px);
  }

  #programme .journey-station-number {
    width: 54px;
    height: 54px;
    font-size: 23px;
  }

  .lesson-list {
    grid-template-columns: 1fr;
  }

  .programme-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .module-button,
  .module-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .method-row + .method-row {
    margin-top: 72px;
  }

  .method-visual {
    min-height: 370px;
  }

  .method-visual img {
    max-height: 360px;
  }

  .try-box {
    padding: 34px 24px;
  }

  .try-actions .btn {
    width: 100%;
  }

  .about-grid {
    gap: 38px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

h1,
h2,
h3 {
  letter-spacing: -0.025em;
}

h1 {
  line-height: 1.02;
}

h2 {
  line-height: 1.08;
}

.section {
  position: relative;
}

.nav-links a:not(.btn):hover {
  color: var(--saffron);
}

.site-header .btn-dark {
  color: var(--navy);
  background: white;
}

.btn-primary,
.menu-toggle {
  color: white;
}

.btn-primary {
  background: var(--blue);
  box-shadow: 0 13px 28px rgba(74, 99, 231, 0.22);
}

.hero {
  padding: 92px 0 80px;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 620px;
  height: 620px;
  right: -240px;
  top: -240px;
  background: radial-gradient(
    circle,
    rgba(120, 108, 255, 0.12) 0%,
    rgba(120, 108, 255, 0) 70%
  );
}

.hero .eyebrow {
  color: #dce6ff;
  background: rgba(255, 255, 255, 0.09);
}

.hero h1 {
  color: white;
}

.hero .lead {
  color: #c2cce2;
}

.hero .btn-secondary {
  color: white;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
}

.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.07);
}

.proof-bar {
  color: white;
  position: relative;
  z-index: 6;
  box-shadow:
    0 6px 17px rgba(4, 12, 30, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.02);
  background:
    radial-gradient(
      760px 150px at 50% 0%,
      rgba(91, 118, 242, 0.05),
      transparent 75%
    ),
    linear-gradient(180deg, #1c3366 0%, #1a3163 100%);
}

.proof-item {
  border-color: rgba(255, 255, 255, 0.1);
}

.profile-card {
  border-color: var(--line);
  background: white;
}

.profile-card:hover {
  border-color: #cbd7f5;
  box-shadow: 0 18px 42px rgba(17, 29, 61, 0.08);
}

.results-section .eyebrow {
  color: #dce6ff;
  background: rgba(255, 255, 255, 0.08);
}

.programme-box {
  background: white;
}

.method-section {
  color: white;
  background: #132143;
}

.method-section .method-copy p,
.method-section .section-head p {
  color: #bdc8df;
}

.method-section .eyebrow {
  color: #dce6ff;
  background: rgba(255, 255, 255, 0.08);
}

.method-visual {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.try-box {
  color: white;
}

.try-box .eyebrow {
  color: white;
  background: rgba(255, 255, 255, 0.16);
}

.try-box .btn-secondary {
  border-color: white;
}

#avis {
  color: white;
  background: #0b1530;
}

#avis .section-head p {
  color: #bdc8df;
}

#avis .eyebrow {
  color: #dce6ff;
  background: rgba(255, 255, 255, 0.08);
}

.testimonial {
  border-color: rgba(255, 255, 255, 0.09);
}

.testimonial blockquote {
  color: white;
}

.plan {
  background: white;
  border-color: var(--line);
}

.plan.featured {
  color: white;
}

.plan.featured .mini {
  color: #cbd6ee;
}

@media (max-width: 440px) {
  #programme .journey-metro {
    padding-left: 40px;
  }

  #programme .journey-station {
    padding: 14px 11px 14px 14px;
  }

  #programme .journey-station::after {
    left: -29px;
    width: 29px;
  }

  #programme .journey-station::before {
    left: -30px;
  }

  #programme .journey-station-number {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}

@media (max-width: 1020px) {
  .nav-links {
    color: var(--ink);
    border-color: var(--line);
  }

  .nav-links a:not(.btn):hover {
    color: var(--blue);
  }

  .site-header .nav-links .btn-dark {
    color: white;
    background: var(--navy);
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 64px;
  }

  .proof-item {
    border-color: rgba(255, 255, 255, 0.1);
  }

  .hero-blob {
    width: 88%;
  }

  #programme .journey-metro-train {
    top: 20%;
    left: -73px;
    transform: rotate(-90deg) translateX(var(--train-x, 0px));
    width: auto;
    height: 20px;
  }
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.hero .btn-primary {
  color: #f8f9fc;
  background: var(--blue);
  box-shadow: 0 13px 30px rgba(74, 99, 231, 0.3);
}

.hero .btn-primary:hover {
  background: #5870eb;
}

.hero-blob {
  border-color: rgba(255, 255, 255, 0.065);
}

.video-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: center;
  gap: 68px;
}

.video-copy h2 {
  margin: 16px 0 18px;
}

.video-copy > p {
  max-width: 480px;
  font-size: 17px;
}

.video-cta {
  margin-top: 14px;
  color: var(--blue);
  background: transparent;
  border-color: rgba(74, 99, 231, 0.35);
}

.video-cta:hover {
  background: rgba(74, 99, 231, 0.06);
}

.video-frame-wrap {
  border: 1px solid #d7deea;
  border-radius: 26px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 17px;
  background: var(--navy-3);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.programme-top {
  background: #142347;
}

.method-visual.dark {
  background: #1a2b54;
}

.testimonial {
  background: #17264a;
}

.avatar,
.plan.featured .btn {
  background: var(--blue);
}

.plan.featured .btn {
  color: #f7f8fc;
}

.final-box .btn-primary {
  color: #f8f9fc;
  background: var(--blue);
}

@media (max-width: 1020px) {
  .video-layout {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .video-copy {
    text-align: center;
  }

  .video-copy > p {
    margin-inline: auto;
  }

  .video-cta {
    display: none;
  }

  .video-frame-wrap {
    width: min(100%, 780px);
    margin-inline: auto;
  }
}

@media (max-width: 720px) {
  .video-frame-wrap {
    padding: 9px;
    border-radius: 20px;
  }

  .video-frame {
    border-radius: 13px;
  }
}

#pour-qui {
  color: #fff;
  background:
    radial-gradient(
      980px 560px at 106% 100%,
      rgba(28, 48, 98, 0.34),
      transparent 62%
    ),
    radial-gradient(
      840px 460px at 0% 100%,
      rgba(20, 37, 80, 0.18),
      transparent 68%
    ),
    linear-gradient(180deg, #12244b 0%, #122347 22%, #102045 100%);
}

#pour-qui,
.video-section {
  border: 0;
  box-shadow: none;
}

.video-section {
  background:
    radial-gradient(
      1300px 720px at 100% 0%,
      rgba(74, 99, 231, 0.2),
      transparent 62%
    ),
    radial-gradient(
      900px 460px at 0% 100%,
      rgba(52, 77, 132, 0.14),
      transparent 66%
    ),
    linear-gradient(145deg, #e4ecf8 0%, #eef3fb 48%, #dde7f4 100%);
}

#programme {
  border: 0;
  color: #fff;
  background:
    radial-gradient(
      1280px 760px at 0% 8%,
      rgba(74, 99, 231, 0.28),
      transparent 58%
    ),
    radial-gradient(
      980px 560px at 100% 100%,
      rgba(14, 28, 61, 0.4),
      transparent 60%
    ),
    linear-gradient(145deg, #182e60 0%, #203972 44%, #17305f 100%);
}

.section-sm {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(17, 29, 61, 0.09);
}

.pricing-section {
  border: 0;
  background:
    radial-gradient(
      1200px 680px at 0% 0%,
      rgba(74, 99, 231, 0.2),
      transparent 62%
    ),
    radial-gradient(
      900px 460px at 100% 100%,
      rgba(51, 77, 132, 0.12),
      transparent 66%
    ),
    linear-gradient(145deg, #dde6f4 0%, #e9eff9 48%, #d7e1f1 100%);
}

.about-section {
  border: 0;
  background:
    radial-gradient(
      980px 560px at 100% 12%,
      rgba(93, 121, 255, 0.14),
      transparent 66%
    ),
    radial-gradient(
      720px 420px at 0% 100%,
      rgba(44, 70, 132, 0.12),
      transparent 68%
    ),
    linear-gradient(145deg, #162a58 0%, #20366a 48%, #15284f 100%);
  color: #fff;
}

.faq-section {
  border: 0;
  background:
    radial-gradient(
      1100px 620px at 0% 100%,
      rgba(74, 99, 231, 0.12),
      transparent 68%
    ),
    radial-gradient(
      820px 460px at 100% 0%,
      rgba(51, 77, 132, 0.06),
      transparent 70%
    ),
    linear-gradient(145deg, #eef3fb 0%, #f6f9fe 48%, #e9eff9 100%);
}

.video-frame-wrap {
  padding: 13px;
}

.video-copy > p {
  color: #56647e;
}

.method-visual {
  background: #dfe7f3;
  border-color: rgba(255, 255, 255, 0.12);
}

.try-box {
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.plan.featured {
  background: #16264c;
  box-shadow: 0 30px 70px rgba(13, 29, 65, 0.25);
}

.faq-list {
  border-top-color: #bdc9dc;
}

.faq-item {
  border-bottom-color: #bdc9dc;
}

.faq-question {
  color: #1b2947;
}

.icon-svg {
  width: 25px;
  height: 25px;
  display: block;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
}

.card-icon .icon-svg,
.menu-icon {
  width: 24px;
  height: 24px;
}

.pricing-lock {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 4px;
  color: #425fae;
}

.section-sm {
  border: 0;
  background:
    radial-gradient(
      1300px 680px at 100% -4%,
      rgba(74, 99, 231, 0.42),
      transparent 60%
    ),
    radial-gradient(
      900px 520px at 6% 92%,
      rgba(30, 56, 108, 0.28),
      transparent 62%
    ),
    radial-gradient(
      760px 420px at 46% 30%,
      rgba(122, 148, 231, 0.2),
      transparent 70%
    ),
    linear-gradient(140deg, #c3d3f9 0%, #eef2fc 42%, #dbe6fb 72%, #a9c0ee 100%);
}

.plan,
.profile-card,
.programme-box {
  background: rgba(251, 253, 255, 0.94);
  border-color: rgba(190, 202, 223, 0.78);
  box-shadow: 0 14px 28px rgba(17, 37, 75, 0.06);
  backdrop-filter: blur(2px);
}

.profile-card .card-icon {
  background: #e8efff;
  color: var(--blue);
}

.programme-box {
  overflow: hidden;
}

.module-button {
  background: rgba(251, 253, 255, 0.97);
  border-bottom: 1px solid rgba(214, 222, 236, 0.72);
}

.module-button:hover {
  background: #f4f8ff;
}

.video-frame-wrap {
  background: rgba(249, 252, 255, 0.96);
  border-color: rgba(190, 202, 223, 0.74);
  box-shadow: 0 18px 34px rgba(10, 27, 62, 0.09);
}

.about-visual {
  background: rgba(248, 251, 255, 0.98);
  box-shadow: 0 18px 34px rgba(13, 31, 68, 0.08);
}

.avatar {
  background: var(--blue);
}

.try-box {
  background: linear-gradient(135deg, #3f6fe8 0%, #d81f5f 55%, #ef4136 100%);
  box-shadow: 0 24px 55px rgba(199, 33, 76, 0.35);
}

.try-box .btn-primary {
  color: #c81e3a;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.25);
}

.try-box .btn-primary:hover {
  background: #fff5f5;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.confetti-btn {
  position: relative;
  overflow: visible;
}

.confetti-piece {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 10px;
  background: var(--c, #fff);
  border-radius: 1px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) translate(0, 0) rotate(0deg);
}

.confetti-piece.is-round {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.confetti-btn:hover .confetti-piece {
  animation: taj-confetti-burst 0.7s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes taj-confetti-burst {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) translate(0, 0) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) translate(var(--tx), var(--ty))
      rotate(320deg);
  }
}

@media (max-width: 1020px) {
  .menu-toggle {
    display: grid;
  }

  .nav-links {
    background: #d7e0ec;
  }

  .nav-links .btn-dark {
    display: inline-flex;
  }

  .nav-login {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }
}

.about-visual,
.plan,
.profile-card,
.programme-box,
.video-frame-wrap {
  border-color: rgba(128, 149, 183, 0.18);
}

.plan,
.profile-card {
  box-shadow: 0 13px 28px rgba(17, 37, 75, 0.055);
}

.profile-card:hover {
  border-color: rgba(74, 99, 231, 0.24);
  box-shadow: 0 17px 34px rgba(15, 34, 72, 0.085);
}

.about-visual,
.video-frame-wrap {
  box-shadow: 0 16px 32px rgba(13, 31, 68, 0.075);
}

.faq-item,
.faq-list,
.module + .module,
.module-button,
.plan-list {
  border-color: rgba(128, 149, 183, 0.16);
}

.testimonial {
  border-color: rgba(255, 255, 255, 0.055);
}

.method-visual,
.try-box {
  border-color: rgba(255, 255, 255, 0.045);
}

.try-box .btn-secondary {
  min-height: 64px;
  padding-inline: 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.38);
  border-radius: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
  font-size: 17px;
  font-weight: 800;
}

.try-box .btn-secondary:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.54);
}

@media (max-width: 720px) {
  .try-box .btn-secondary {
    min-height: 58px;
    padding-inline: 20px;
    font-size: 16px;
  }
}

.faq-section .section-head {
  margin-bottom: 42px;
}

.faq-list {
  display: grid;
  gap: 6px;
}

.faq-item,
.faq-item + .faq-item,
.faq-item.open .faq-answer,
.faq-question {
  background: transparent;
  border: 0;
}

.faq-question {
  padding: 20px 0 12px;
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.social-link {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--blue);
  background: transparent;
  border: 0;
  box-shadow: none;
  text-decoration: none;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.social-link:hover {
  color: var(--blue-dark);
  transform: translateY(-2px);
  border: 0;
  box-shadow: none;
}

.social-icon-svg {
  width: 30px;
  height: 30px;
  display: block;
  fill: currentColor;
}

.programme-box .module-button {
  padding-top: 24px;
  padding-bottom: 24px;
}

.programme-box .module-content {
  padding: 20px 34px 28px;
}

.programme-box .lesson-list {
  row-gap: 14px;
  column-gap: 44px;
}

.programme-box .lesson-list li {
  line-height: 1.5;
}

@media (max-width: 720px) {
  .section-head > .eyebrow {
    margin-bottom: 16px;
  }

  .faq-question {
    padding-top: 17px;
  }

  .programme-box .module-content {
    padding: 18px 22px 24px;
  }
}

.hero-copy {
  align-self: center;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.community-section {
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(
      920px 520px at 84% 20%,
      rgba(108, 119, 250, 0.14),
      transparent 62%
    ),
    linear-gradient(145deg, #1a2d59 0%, #273d72 48%, #1a2f5d 100%);
}

.community-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 72px;
}

.community-visual {
  min-height: 510px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.community-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: 510px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 22px 32px rgba(4, 13, 31, 0.22));
}

.community-copy .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.community-copy h2 {
  color: #ffffff;
}

.community-copy p {
  color: #dbe5f7;
  font-size: 18px;
}

.community-list {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
  color: #f3f6fc;
  font-size: 17px;
}

.community-list li {
  position: relative;
  padding-left: 28px;
}

.community-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #67d8a6;
  font-weight: 900;
}

.community-note {
  margin-bottom: 0;
  font-weight: 700;
}

@media (max-width: 1020px) {
  .hero-copy {
    padding-bottom: 36px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .hero-visual img {
    max-height: 500px;
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .community-copy {
    text-align: center;
    order: 1;
  }

  .community-list {
    max-width: 620px;
    margin-inline: auto;
    text-align: left;
  }

  .community-visual {
    min-height: 450px;
    order: 2;
  }
}

@media (max-width: 720px) {
  .hero-copy {
    padding-bottom: 28px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-visual img {
    width: 94%;
    max-height: 390px;
  }

  .community-visual {
    min-height: 390px;
  }

  .community-visual img {
    max-height: 390px;
  }
}

#pour-qui .profile-card h3,
#pour-qui .section-head h2 {
  color: #fff;
}

#pour-qui .profile-card p,
#pour-qui .section-head p {
  color: #c3cee7;
}

#pour-qui .eyebrow {
  color: #dce6ff;
  background: rgba(255, 255, 255, 0.11);
}

#pour-qui .profile-card {
  box-shadow: none;
}

#pour-qui .profile-card .card-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

#programme .section-head h2 {
  color: #fff;
}

#programme .section-head p {
  color: #cad5ea;
}

#programme .eyebrow {
  color: #dce6ff;
  background: rgba(255, 255, 255, 0.1);
}

.social-link.icon-only {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--blue);
}

.social-link.icon-only:hover {
  transform: translateY(-2px);
  box-shadow: none;
  border: 0;
  color: #3d57dc;
}

.social-link.icon-only .social-icon-svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  display: block;
}

.faq-list {
  max-width: 900px;
  border: 0;
  box-shadow: none;
}

.faq-answer,
.faq-item,
.faq-list,
.faq-question {
  background: transparent;
}

.faq-item + .faq-item {
  border-top: 1px solid rgba(176, 189, 214, 0.34);
}

.faq-question {
  border: 0;
  padding-left: 0;
  padding-right: 0;
}

.hero-visual {
  align-items: end;
}

#pour-qui .profile-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.05)
  );
  border-color: rgba(255, 255, 255, 0.08);
}

#pour-qui .profile-card:hover {
  box-shadow: 0 18px 34px rgba(5, 12, 28, 0.18);
  border-color: rgba(255, 255, 255, 0.12);
}

#pour-qui .card-icon.icon-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.1);
  width: 52px;
  height: 52px;
  border-radius: 15px;
}

#pour-qui .card-icon.icon-image img {
  width: auto;
  object-fit: contain;
  display: block;
  height: 28px;
}

#pour-qui .heart-icon img,
#pour-qui .home-icon img,
#pour-qui .phone-icon img,
#pour-qui .plane-icon img {
  height: 34px;
}

#programme .programme-top {
  background:
    radial-gradient(
      320px 120px at 0% 0%,
      rgba(90, 118, 255, 0.16),
      transparent 72%
    ),
    linear-gradient(180deg, rgba(6, 15, 35, 0.3), rgba(6, 15, 35, 0.14));
}

.rating-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: white;
  background: linear-gradient(135deg, #4a63e7 0%, #6d7ef0 100%);
  padding: 12px 16px;
  border-radius: 18px;
  box-shadow: 0 14px 26px rgba(74, 99, 231, 0.16);
}

.rating-score {
  font-weight: 800;
  line-height: 1;
}

.rating-scale {
  font-weight: 700;
  opacity: 0.92;
}

.testimonial-viewport::-webkit-scrollbar {
  display: none;
}

.testimonial {
  scroll-snap-align: start;
  min-height: 100%;
}

.reviews-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 60;
}

.reviews-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.reviews-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 34, 0.58);
  backdrop-filter: blur(6px);
  background: rgba(2, 6, 18, 0.76);
}

.reviews-modal-panel {
  position: relative;
  z-index: 2;
  width: min(1080px, 100%);
  max-height: min(88vh, 920px);
  overflow: auto;
  padding: 30px;
  border-radius: 28px;
  background:
    radial-gradient(
      960px 520px at 100% 0%,
      rgba(74, 99, 231, 0.08),
      transparent 68%
    ),
    linear-gradient(145deg, #f7f9fe 0%, #ffffff 48%, #f2f6fd 100%);
  box-shadow: 0 32px 70px rgba(10, 16, 34, 0.22);
}

.reviews-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(24, 33, 58, 0.06);
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.reviews-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
  padding-right: 44px;
}

.reviews-modal-head h3 {
  margin: 10px 0 0;
  font-size: 34px;
}

.reviews-modal-intro {
  margin: 0 0 24px;
  color: var(--muted);
  color: #b9c6df;
}

.reviews-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .testimonial-track {
    grid-auto-columns: calc((100% - 20px) / 2);
  }

  .reviews-modal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .testimonial-track {
    grid-auto-columns: 100%;
  }

  .reviews-modal-panel {
    padding: 24px 18px;
  }

  .reviews-modal-head h3 {
    font-size: 28px;
  }
}

.about-section .about-copy h2,
.about-section .about-copy li,
.about-section .about-copy p,
.about-section .about-copy strong,
.about-section .section-head h2 {
  color: #fff;
}

.about-section .about-copy p {
  color: #d5def0;
}

.about-section .eyebrow {
  color: #dce6ff;
  background: rgba(255, 255, 255, 0.1);
}

.about-section .about-visual {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
}

.about-section .social-link.icon-only {
  color: #b8c7ff;
}

.about-section .social-link.icon-only:hover {
  color: #ffffff;
}

.reviews-toolbar {
  justify-content: space-between;
  gap: 24px;
  margin: 26px 0 22px;
}

.rating-highlight,
.reviews-toolbar {
  display: flex;
  align-items: center;
}

.rating-highlight {
  gap: 16px;
}

.rating-stat {
  line-height: 1;
  white-space: nowrap;
}

.rating-stat-number {
  font-size: 52px;
  font-weight: 900;
  color: #ffffff;
}

.rating-stat-scale {
  margin-left: 2px;
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

.rating-stat-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rating-stat-meta .stars {
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: -8px;
}

.rating-stat-meta p {
  margin: 0;
  font-size: 14px;
  color: #c3cee7;
}

.rating-pill.compact {
  padding: 11px 14px;
}

.rating-score {
  font-size: 34px;
}

.rating-scale {
  font-size: 18px;
}

.testimonial-viewport {
  overflow: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}

.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 3);
  gap: 20px;
}

@media (max-width: 640px) {
  .rating-highlight {
    width: 100%;
    justify-content: center;
  }
}

.hero {
  background:
    radial-gradient(
      880px 520px at 84% 16%,
      rgba(96, 104, 236, 0.18),
      transparent 58%
    ),
    radial-gradient(
      640px 300px at 50% 100%,
      rgba(67, 95, 188, 0.22),
      transparent 66%
    ),
    linear-gradient(90deg, #08152f 0%, #0c1938 52%, #262d63 100%);
}

.hero-blob {
  position: absolute;
  z-index: 1;
  aspect-ratio: 1 / 1.08;
  bottom: 2%;
  top: auto;
  height: auto;
  border: 0;
  border-radius: 42% 58% 56% 44% / 47% 37% 63% 53%;
  background: linear-gradient(
    150deg,
    rgba(104, 120, 255, 0.78),
    rgba(85, 92, 209, 0.6)
  );
  transform: rotate(8deg);
  overflow: visible;
  box-shadow: 0 28px 70px rgba(11, 19, 48, 0.18);
}

.hero-blob::before {
  content: "";
  position: absolute;
  inset: 10% 10% 6% -10%;
  border-radius: 54% 46% 40% 60% / 42% 54% 46% 58%;
  background: linear-gradient(
    155deg,
    rgba(74, 86, 212, 0.38),
    rgba(114, 126, 255, 0.18)
  );
  transform: rotate(-18deg);
  z-index: -1;
  filter: blur(0.5px);
}

.hero-visual img {
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 26px 34px rgba(13, 22, 50, 0.24));
}

@media (max-width: 1024px) {
  .hero-blob {
    width: 86%;
  }
}

@media (max-width: 767px) {
  .hero-blob {
    width: 88%;
    bottom: 0;
  }
}

.hero {
  padding-bottom: 0;
}

.hero-grid {
  align-items: end;
}

.hero-copy {
  padding-bottom: 58px;
}

.hero-visual {
  align-self: end;
  overflow: visible;
}

@media (max-width: 767px) {
  .hero-copy {
    padding-bottom: 26px;
  }
}

.hero h1 {
  max-width: 700px;
  font-size: clamp(42px, 5.35vw, 69px);
  line-height: 1.03;
}

@media (max-width: 1024px) {
  .hero h1 {
    font-size: clamp(42px, 7vw, 62px);
  }
}

@media (max-width: 767px) {
  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }
}

.hero-visual img {
  width: 101%;
  max-height: 685px;
  margin-bottom: -20px;
}

.hero-blob {
  width: 88%;
}

@media (max-width: 1024px) {
  .hero-visual {
    min-height: 565px;
  }

  .hero-visual img {
    width: 97%;
    max-height: 565px;
    margin-bottom: -13px;
  }
}

@media (max-width: 767px) {
  .hero-visual {
    min-height: 445px;
  }

  .hero-visual img {
    width: 100%;
    max-height: 445px;
    margin-bottom: -8px;
  }
}

.proof-item strong {
  color: #ffffff;
}

@media (max-width: 720px) {
  .proof-grid {
    min-height: auto;
  }
}

.hero-visual {
  min-height: 620px;
}

.proof-grid {
  min-height: 98px;
}

.proof-item strong {
  gap: 8px;
}

.proof-icon,
.proof-item strong {
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .proof-icon {
    font-size: 16px;
  }
}

.hero-copy .lead {
  margin-top: 0;
}

.proof-item {
  border-right-color: rgba(255, 255, 255, 0.072);
}

.proof-item strong {
  display: block;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
  text-shadow: none;
}

.proof-item span {
  color: #bec9df;
}

.proof-icon {
  display: inline-block;
  margin-right: 6px;
  font-size: 0.9em;
  line-height: 1;
  vertical-align: baseline;
  transform: translateY(-1px);
}

img.proof-icon {
  width: 0.8em;
  height: 0.8em;
  margin-bottom: -0.07em;
  object-fit: contain;
}

.reviews-actions {
  display: flex;
  align-items: center;
}

.reviews-more {
  display: none;
  justify-content: center;
  margin-top: 26px;
}

@media (max-width: 640px) {
  .reviews-actions {
    display: none;
  }

  .reviews-more {
    display: flex;
  }
}

.testimonial-track {
  align-items: stretch;
}

.testimonial {
  display: flex;
  flex-direction: column;
}

.testimonial blockquote {
  flex: 1;
}

@media (min-width: 821px) and (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(350px, 0.96fr);
    gap: 10px;
  }

  .hero-copy {
    padding-bottom: 48px;
    text-align: left;
  }

  .hero-copy .lead,
  .hero-copy h1 {
    margin-inline: 0;
  }

  .hero h1 {
    font-size: clamp(48px, 5.8vw, 60px);
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-visual {
    width: 100%;
    min-height: 550px;
    max-width: none;
  }

  .hero-visual img {
    width: 112%;
    max-width: none;
    max-height: 570px;
    margin-bottom: -12px;
  }

  .hero-blob {
    width: 96%;
  }
}

@media (max-width: 820px) {
  .hero {
    padding-top: 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-copy {
    padding-bottom: 22px;
    text-align: center;
  }

  .hero-copy .lead,
  .hero-copy h1 {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    width: 100%;
    min-height: clamp(410px, 64vw, 500px);
    max-width: 620px;
    margin-inline: auto;
  }

  .hero-visual img {
    width: min(88vw, 560px);
    max-width: none;
    max-height: 500px;
    margin-bottom: -10px;
  }

  .hero-blob {
    width: min(84%, 470px);
  }

  .testimonial-track {
    grid-auto-columns: calc((100% - 16px) / 2);
    gap: 16px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 34px;
  }

  .hero-grid .eyebrow {
    max-width: 100%;
    justify-content: center;
    padding: 7px 10px;
    font-size: 11.5px;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
  }

  .hero h1 {
    margin-bottom: 16px;
    font-size: clamp(38px, 11.5vw, 48px);
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  .hero .lead {
    margin-bottom: 22px;
    font-size: 16px;
    line-height: 1.55;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 0;
  }

  .hero-actions .btn {
    min-height: 52px;
    padding: 13px 16px;
    line-height: 1.25;
  }

  .hero-visual {
    min-height: clamp(330px, 100vw, 410px);
    margin-top: 6px;
  }

  .hero-visual img {
    width: 108%;
    max-width: none;
    max-height: clamp(340px, 102vw, 420px);
    margin-bottom: -8px;
  }

  .hero-blob {
    width: min(92%, 390px);
    bottom: -2%;
  }

  .proof-grid {
    padding: 8px 0;
  }

  .proof-item {
    min-height: 74px;
    padding: 9px 8px;
  }

  .proof-item strong {
    font-size: 19px;
  }

  .proof-item span {
    font-size: 12px;
    line-height: 1.35;
  }

  #avis .section-head {
    margin-bottom: 30px;
  }

  .reviews-toolbar {
    gap: 18px;
    margin: 18px 0 20px;
  }

  .rating-highlight {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .rating-pill,
  .rating-pill.compact {
    flex: 0 0 auto;
    padding: 10px 13px;
    border-radius: 15px;
  }

  .rating-score {
    font-size: 28px;
  }

  .rating-scale {
    font-size: 15px;
  }

  .rating-stat-number {
    font-size: 36px;
  }

  .rating-stat-scale {
    font-size: 16px;
  }

  .rating-stat-meta .stars {
    font-size: 15px;
  }

  .rating-stat-meta p {
    font-size: 12.5px;
    line-height: 1.35;
  }

  .reviews-more .btn {
    width: 100%;
  }

  .testimonial-viewport {
    margin-inline: -14px;
    padding: 2px 14px 8px;
    scroll-padding-inline: 14px;
    overscroll-behavior-inline: contain;
    touch-action: pan-x;
  }

  .testimonial-track {
    grid-auto-columns: min(86vw, 340px);
    gap: 12px;
  }

  .testimonial {
    min-height: 300px;
    padding: 22px;
    border-radius: 20px;
    scroll-snap-stop: always;
  }

  .testimonial .stars {
    margin-bottom: 14px;
  }

  .testimonial blockquote {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.58;
  }

  .reviews-modal {
    place-items: end center;
    padding: 0;
  }

  .reviews-modal-panel {
    width: 100%;
    max-height: 92dvh;
    padding: 26px 18px 22px;
    border-radius: 24px 24px 0 0;
  }

  .reviews-modal-head {
    padding-right: 40px;
  }

  .reviews-modal-head h3 {
    font-size: 26px;
    line-height: 1.15;
  }

  .reviews-modal-grid {
    gap: 12px;
  }

  .reviews-modal-grid .testimonial {
    min-height: auto;
  }
}

@media (max-width: 370px) {
  .hero h1 {
    font-size: 37px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .testimonial-track {
    grid-auto-columns: calc(100vw - 48px);
  }
}

.reviews-modal-panel {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #101b33;
  box-shadow: 0 32px 72px rgba(1, 5, 16, 0.54);
  color: #ffffff;
  scrollbar-color: rgba(151, 169, 215, 0.42) transparent;
}

.reviews-modal-head h3 {
  color: #ffffff;
}

.reviews-modal .eyebrow {
  color: #dce6ff;
  background: #1a2948;
}

.reviews-modal-grid .testimonial {
  border-color: rgba(255, 255, 255, 0.08);
  background: #182744;
}

.reviews-modal-grid .person strong,
.reviews-modal-grid .testimonial blockquote {
  color: #ffffff;
}

.reviews-modal-grid .person span {
  color: #b9c6df;
}

.curriculum-modal .programme-box {
  margin-top: 24px;
}

.curriculum-modal .programme-box,
.curriculum-modal .programme-top {
  border-color: rgba(255, 255, 255, 0.08);
  background: #182744;
}

.curriculum-modal .module-button {
  border-color: rgba(255, 255, 255, 0.07);
  background: #1d2d4d;
  color: #ffffff;
}

.curriculum-modal .module-button:hover {
  background: #223455;
}

.curriculum-modal .module-content {
  background: #14213b;
}

.curriculum-modal .lesson-list li {
  color: #cad5ea;
}

.phrase-showcase {
  display: grid;
  justify-items: center;
  margin-top: 72px;
  text-align: center;
}

.phrase-showcase-copy {
  max-width: 780px;
}

.phrase-showcase-copy h3 {
  margin: 18px auto 14px;
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(28px, 3vw, 33px);
  line-height: 1.12;
}

.phrase-showcase-copy p {
  max-width: 680px;
  margin: 0 auto;
  color: #cad5ea;
  font-size: 17px;
  line-height: 1.7;
}

.phrase-cloud {
  position: relative;
  width: min(1100px, 100%);
  height: clamp(460px, 37vw, 550px);
  margin: 40px auto 24px;
  isolation: isolate;
}

.phrase-cloud::before {
  content: "";
  position: absolute;
  inset: 4% 10% 8%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(90, 109, 234, 0.12),
    transparent 68%
  );
  filter: blur(22px);
  pointer-events: none;
}

/* Collage libre : chaque bulle est positionnée indépendamment dans la scène
   (.phrase-cloud en position: relative), sans colonnes invisibles. Chaque bulle
   se dimensionne à son contenu (shrink-to-fit) jusqu'à son max-width, pour
   garder la phrase thaïe sur une ligne le plus souvent possible. Les 2 bulles
   hautes restent près du haut, les 2 basses près du bas (peu de déplacement
   vertical, pour ne jamais empiéter sur la bulle centrale) ; la variation
   se fait surtout à l'horizontale, via des insets latéraux différents. */
.phrase-bubble:nth-child(1) {
  top: 0%;
  left: 0%;
  --bubble-tilt: -2deg;
}

.phrase-bubble:nth-child(2) {
  top: 2%;
  right: 9%;
  --bubble-tilt: 1.5deg;
}

.phrase-bubble:nth-child(4) {
  bottom: 0%;
  left: 11%;
  --bubble-tilt: 2deg;
}

.phrase-bubble:nth-child(5) {
  right: 1%;
  bottom: 1%;
  --bubble-tilt: -1.5deg;
}

.phrase-bubble {
  position: absolute;
  display: grid;
  gap: 6px;
  width: max-content;
  max-width: 31%;
  min-height: 92px;
  padding: 15px 17px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px 20px 20px 8px;
  background:
    radial-gradient(
      260px 100px at 30% 0%,
      rgba(119, 132, 255, 0.14),
      transparent 72%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.085)
    );
  box-shadow:
    0 16px 34px rgba(4, 10, 28, 0.18),
    0 8px 26px rgba(72, 104, 255, 0.16);
  text-align: left;
  opacity: 0.9;
  margin: 0;
  scale: 1;
  transform: translate(var(--bubble-jitter-x, 0px), var(--bubble-jitter-y, 0px))
    rotate(calc(var(--bubble-tilt, 0deg) + var(--bubble-jitter-rotate, 0deg)));
  animation: phrase-bubble-breathe 10s ease-in-out infinite alternate;
  transition:
    opacity 0.26s ease,
    transform 0.4s ease,
    scale 0.26s ease,
    filter 0.26s ease;
}

.phrase-bubble[data-tail="left"] {
  border-radius: 20px 20px 20px 8px;
}

.phrase-bubble[data-tail="right"] {
  border-radius: 20px 20px 8px 20px;
}

.phrase-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 18px;
  width: 22px;
  height: 11px;
  background: linear-gradient(145deg, #3d5487, #314573);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  filter: drop-shadow(0 4px 3px rgba(4, 10, 28, 0.11));
}

.phrase-bubble[data-tail="right"]::after {
  right: 10px;
  left: auto;
}

/* Petites bulles dans les coins extérieurs. Elles ne reçoivent jamais les
   phrases longues (voir SIDE_PHRASE_INDEXES dans main.js), donc peuvent rester
   larges sans risquer un texte sur 3 lignes. */
.phrase-bubble:nth-child(1),
.phrase-bubble:nth-child(5) {
  max-width: 30%;
  padding: 13px 15px 12px;
  opacity: 0.82;
}

.phrase-bubble:nth-child(1) .phrase-bubble-karaoke,
.phrase-bubble:nth-child(5) .phrase-bubble-karaoke {
  font-size: clamp(14px, 1.25vw, 16.5px);
}

/* Bulles moyennes. */
.phrase-bubble:nth-child(2),
.phrase-bubble:nth-child(4) {
  max-width: 40%;
  opacity: 0.92;
}

/* Bulle principale, plus grande et plus visible que les autres. Centrée dans la
   scène ; c'est elle qui reçoit les phrases longues (MAIN_PHRASE_INDEXES). */
.phrase-bubble-main {
  top: 48%;
  left: 50%;
  max-width: 49%;
  min-height: 130px;
  padding: 22px 26px 20px;
  border-color: rgba(255, 255, 255, 0.32);
  opacity: 1;
  box-shadow:
    0 22px 44px rgba(4, 10, 28, 0.22),
    0 14px 38px rgba(72, 104, 255, 0.26);
  transform: translate(-50%, -50%)
    translate(var(--bubble-jitter-x, 0px), var(--bubble-jitter-y, 0px))
    rotate(var(--bubble-jitter-rotate, 0deg));
  z-index: 1;
}

.phrase-bubble.phrase-bubble-main.is-changing {
  transform: translate(-50%, -50%)
    translate(
      var(--bubble-jitter-x, 0px),
      calc(var(--bubble-jitter-y, 0px) + 10px)
    )
    rotate(var(--bubble-jitter-rotate, 0deg));
}

.phrase-bubble-main .phrase-bubble-karaoke {
  font-size: clamp(20px, 2.05vw, 25px);
}

.phrase-bubble-main .phrase-bubble-translation {
  color: #e7edfb;
  font-size: 14.5px;
}

/* Teintes par catégorie, appliquées via data-category (défini par le JS à chaque changement de phrase). */
.phrase-bubble[data-category="Voyage"] {
  --badge-color: #dbe6ff;
  --badge-bg: rgba(94, 132, 255, 0.18);
  --badge-border: rgba(134, 160, 255, 0.4);
  background:
    radial-gradient(
      260px 105px at 30% 0%,
      rgba(94, 132, 255, 0.16),
      transparent 72%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.085)
    );
}

.phrase-bubble[data-category="Restaurant"] {
  --badge-color: #c9f5df;
  --badge-bg: rgba(0, 181, 120, 0.18);
  --badge-border: rgba(60, 205, 152, 0.4);
  background:
    radial-gradient(
      260px 105px at 30% 0%,
      rgba(0, 181, 120, 0.15),
      transparent 74%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.085)
    );
}

.phrase-bubble[data-category="Conversation"] {
  --badge-color: #e6dbff;
  --badge-bg: rgba(157, 118, 255, 0.2);
  --badge-border: rgba(184, 154, 255, 0.4);
  background:
    radial-gradient(
      270px 105px at 55% 0%,
      rgba(157, 118, 255, 0.16),
      transparent 72%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.085)
    );
}

.phrase-bubble[data-category="Vie quotidienne"] {
  --badge-color: #ffe4c4;
  --badge-bg: rgba(255, 176, 59, 0.18);
  --badge-border: rgba(255, 196, 112, 0.4);
  background:
    radial-gradient(
      260px 105px at 30% 0%,
      rgba(255, 176, 59, 0.15),
      transparent 74%
    ),
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.14),
      rgba(255, 255, 255, 0.085)
    );
}

.phrase-bubble.is-changing {
  opacity: 0;
  scale: 0.97;
  transform: translate(
      var(--bubble-jitter-x, 0px),
      calc(var(--bubble-jitter-y, 0px) + 10px)
    )
    rotate(calc(var(--bubble-tilt, 0deg) + var(--bubble-jitter-rotate, 0deg)));
  filter: blur(3px);
  animation: none;
}

.phrase-bubble-badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  margin-bottom: 2px;
  padding: 3px 10px;
  border: 1px solid var(--badge-border, rgba(255, 255, 255, 0.18));
  border-radius: 999px;
  background: var(--badge-bg, rgba(255, 255, 255, 0.08));
  color: var(--badge-color, #d7e0ff);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.phrase-bubble-main .phrase-bubble-badge {
  font-size: 10.5px;
}

.phrase-bubble-karaoke {
  margin: 0;
  color: #ffffff;
  font-size: clamp(16px, 1.55vw, 20px);
  font-weight: 850;
  line-height: 1.32;
}

.phrase-bubble-translation {
  margin: 0;
  color: #dbe4f7;
  font-size: 13px;
  line-height: 1.42;
}

.curriculum-trigger {
  margin-top: 40px;
}

.curriculum-modal-panel {
  width: min(980px, 100%);
  color: #ffffff;
}

.curriculum-modal .reviews-modal-head h3 {
  color: #ffffff;
}

.curriculum-modal .reviews-modal-intro {
  color: #b9c6df;
}

/* Tablette et mobile : plus besoin d'une bulle centrale visuellement plus
   grande que les autres — cette hiérarchie de taille ne s'applique qu'au-delà
   de 1024px, quand la scène a la place pour la mettre en valeur. */
@media (max-width: 1024px) {
  .phrase-bubble-main {
    max-width: 60%;
    padding: 15px 17px 14px;
  }

  .phrase-bubble-main .phrase-bubble-karaoke {
    font-size: clamp(16px, 1.55vw, 20px);
  }

  .phrase-bubble-main .phrase-bubble-translation {
    color: #dbe4f7;
    font-size: 13px;
  }

  .phrase-bubble-main .phrase-bubble-badge {
    font-size: 9.5px;
  }

  /* Écarts resserrés dans une fourchette plus étroite à l'horizontale (moins
     d'espace perdu dans les coins gauche/droite, mais marge minimum garantie
     avec la bulle centrale). À la verticale en revanche, les bulles restent
     tout près des bords haut/bas : c'est cet axe qui a le moins de place sur
     une tablette portrait, donc on lui laisse le maximum de dégagement. */
  .phrase-bubble:nth-child(1) {
    top: 0%;
    left: 4%;
  }

  .phrase-bubble:nth-child(2) {
    top: 1%;
    right: 6%;
  }

  .phrase-bubble:nth-child(4) {
    bottom: 0%;
    left: 6%;
  }

  .phrase-bubble:nth-child(5) {
    right: 4%;
    bottom: 1%;
  }
}

@media (max-width: 767px) {
  .phrase-showcase {
    margin-top: 54px;
  }

  .phrase-showcase-copy h3 {
    font-size: clamp(26px, 7.8vw, 34px);
  }

  .phrase-showcase-copy p {
    font-size: 16px;
  }

  .phrase-cloud {
    display: flex;
    flex-direction: column;
    height: 530px;
    gap: 45px;
    margin-top: 27px;
    margin-bottom: 0;
    padding-inline: 12px;
  }

  .phrase-bubble {
    position: static;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    --bubble-tilt: 0deg;
    transform: rotate(var(--bubble-jitter-rotate, 0deg));
  }

  .phrase-bubble-main {
    top: auto;
    left: auto;
    order: -1;
    transform: rotate(var(--bubble-jitter-rotate, 0deg));
  }

  .phrase-bubble.phrase-bubble-main.is-changing {
    transform: translateY(10px) rotate(var(--bubble-jitter-rotate, 0deg));
  }

  .phrase-bubble:nth-child(4),
  .phrase-bubble:nth-child(5) {
    display: none;
  }

  .phrase-bubble,
  .phrase-bubble:nth-child(1),
  .phrase-bubble:nth-child(2),
  .phrase-bubble:nth-child(5),
  .phrase-bubble-main {
    min-height: 0;
    padding: 15px 16px 14px;
    opacity: 1;
  }

  /* Largeurs et alignements légèrement différents pour éviter que les bulles
     empilées paraissent toutes identiques et alignées au carré. */
  .phrase-bubble:nth-child(1) {
    width: 90%;
    max-width: 90%;
    margin-right: auto;
    margin-left: 0;
  }

  .phrase-bubble:nth-child(2) {
    width: 95%;
    max-width: 95%;
    margin-left: auto;
    margin-right: 0;
  }

  .phrase-bubble-main {
    width: 93%;
    max-width: 93%;
    margin-inline: auto;
  }

  .phrase-bubble.is-changing {
    transform: translateY(10px) rotate(var(--bubble-jitter-rotate, 0deg));
  }

  .phrase-bubble,
  .phrase-bubble[data-tail="left"] {
    border-radius: 19px 19px 19px 7px;
  }

  .phrase-bubble[data-tail="right"] {
    border-radius: 19px 19px 7px 19px;
  }

  .phrase-bubble[data-tail="left"]::after {
    right: auto;
    left: 17px;
  }

  .phrase-bubble[data-tail="right"]::after {
    right: 9px;
    left: auto;
  }

  .phrase-bubble-karaoke {
    font-size: clamp(15.5px, 4.3vw, 18.5px);
  }

  .phrase-bubble-translation {
    font-size: 12px;
  }

  .curriculum-trigger {
    width: 100%;
  }

  .curriculum-modal .programme-top {
    align-items: flex-start;
  }
}

@keyframes phrase-bubble-breathe {
  from {
    scale: 1;
  }
  to {
    scale: 1.016;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phrase-bubble {
    animation: none;
    transition: none;
  }
}

.reviews-overview {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
  margin: 0 0 20px;
  padding: 16px 0;
}

.reviews-overview-card {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 152px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #182744;
  text-align: center;
}

.reviews-overview-score {
  font-size: clamp(42px, 5.5vw, 62px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: #ffffff;
}

.reviews-overview-label,
.reviews-overview-stars {
  letter-spacing: 0.07em;
  color: #f7a53c;
  font-size: 18px;
  line-height: 1;
}

.reviews-overview-breakdown {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
}

.reviews-overview-row {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 12px;
}

.reviews-overview-bar {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.reviews-overview-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #f7a53c 0%, #ff9a43 100%);
}

.reviews-overview-count {
  font-weight: 700;
  text-align: right;
  color: #d5e0f6;
}

@media (max-width: 900px) {
  .reviews-overview {
    grid-template-columns: 1fr;
  }

  .reviews-overview-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .reviews-overview {
    gap: 14px;
    padding: 14px;
  }

  .reviews-overview-card {
    min-height: 132px;
    padding: 14px;
  }

  .reviews-overview-row {
    grid-template-columns: 90px minmax(0, 1fr) 20px;
    gap: 8px;
  }

  .reviews-overview-label,
  .reviews-overview-stars {
    font-size: 15px;
    letter-spacing: 0.05em;
  }
}

/* ========================================================================== */
/* ANIMATIONS SUBTILES — APPARITION AU SCROLL + LOOPS LÉGERS */
/* ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 0.8, 0.24, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group] > [data-reveal]:nth-child(1) {
  transition-delay: 0ms;
}
[data-reveal-group] > [data-reveal]:nth-child(2) {
  transition-delay: 90ms;
}
[data-reveal-group] > [data-reveal]:nth-child(3) {
  transition-delay: 180ms;
}
[data-reveal-group] > [data-reveal]:nth-child(4) {
  transition-delay: 270ms;
}
[data-reveal-group] > [data-reveal]:nth-child(5) {
  transition-delay: 360ms;
}
[data-reveal-group] > [data-reveal]:nth-child(6) {
  transition-delay: 450ms;
}

@keyframes taj-badge-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

.plan-badge {
  animation: taj-badge-pulse 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about-visual img,
  .plan-badge {
    animation: none;
  }
}
