:root {
  --navy-950: #080d25;
  --navy-900: #0f172a;
  --navy-800: #172554;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --surface: #ffffff;
  --page: #f8fafc;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --cyan: #22c1dc;
  --purple: #6d28d9;
  --violet: #7c3aed;
  --orange: #f97316;
  --amber: #f59e0b;
  --green: #16a34a;
  --red: #dc372f;
  --border: #dce6f5;
  --shadow-sm: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 28px 70px rgba(15, 23, 42, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: 1180px;
}

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

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--page);
  color: var(--navy-900);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

h1,
h2,
h3,
strong,
.brand {
  font-weight: 850;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
}

h3 {
  font-size: 1.25rem;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 16px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--navy-900);
  color: white;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(203, 213, 225, 0.72);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.07);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy-950);
  font-size: 1.22rem;
}

.brand img {
  border: 1px solid rgba(203, 213, 225, 0.78);
  border-radius: 13px;
  background: white;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--slate-600);
  font-size: 0.93rem;
  font-weight: 750;
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue);
}

.main-nav .nav-cta {
  padding: 10px 17px;
  border-radius: 12px;
  background: var(--navy-900);
  color: white;
}

.main-nav .nav-cta:hover,
.main-nav .nav-cta:focus-visible {
  background: var(--blue);
  color: white;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: white;
  color: var(--navy-900);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 930px;
  overflow: hidden;
  padding-top: 76px;
  background:
    linear-gradient(90deg, #f8fafc 0%, #f8fafc 44%, rgba(248, 250, 252, 0.86) 57%, rgba(248, 250, 252, 0.1) 100%),
    linear-gradient(145deg, #edf4ff 0%, #fff7ed 54%, #f5f3ff 100%);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 150px;
  background: linear-gradient(180deg, transparent, var(--page));
  content: "";
  pointer-events: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, black, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 784px;
  align-items: center;
}

.hero-copy {
  width: min(660px, 58%);
  padding-block: 100px 130px;
}

.hero h1 {
  margin-bottom: 20px;
  color: var(--navy-950);
  font-size: clamp(4rem, 8vw, 7.2rem);
  line-height: 0.92;
}

.hero-lead {
  max-width: 630px;
  margin-bottom: 16px;
  color: var(--navy-900);
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  font-weight: 790;
  line-height: 1.2;
}

.hero-support {
  max-width: 600px;
  margin-bottom: 30px;
  color: var(--slate-600);
  font-size: 1.08rem;
}

.hero-screen {
  position: absolute;
  z-index: 2;
  top: 98px;
  right: max(-18px, calc((100vw - var(--container)) / 2 - 90px));
  width: min(34vw, 422px);
  height: auto;
  max-height: 790px;
  border-radius: 34px;
  object-fit: contain;
  filter: drop-shadow(0 34px 45px rgba(15, 23, 42, 0.18));
  animation: hero-float 6s ease-in-out infinite;
}

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

.eyebrow {
  display: inline-flex;
  margin-bottom: 22px;
  align-items: center;
  gap: 8px;
  color: #9a3412;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow svg {
  width: 17px;
  height: 17px;
}

.eyebrow-blue { color: var(--blue-dark); }
.eyebrow-purple { color: var(--purple); }
.eyebrow-orange { color: #c2410c; }
.eyebrow-red { color: var(--red); }
.eyebrow-green { color: #15803d; }
.eyebrow-gold { color: #a16207; }
.eyebrow-light { color: #fed7aa; }

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

.store-button {
  display: inline-flex;
  min-width: 184px;
  min-height: 58px;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 9px 17px;
  border: 1px solid var(--slate-300);
  border-radius: 14px;
  background: white;
  color: var(--navy-900);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.store-button svg {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
}

.store-button span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.15;
}

.store-button small {
  font-size: 0.67rem;
  font-weight: 650;
}

.store-button:hover,
.store-button:focus-visible {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.15);
}

.store-button-dark {
  border-color: var(--navy-900);
  background: var(--navy-900);
  color: white;
}

.hero-meta {
  display: flex;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--slate-600);
  font-size: 0.83rem;
  font-weight: 750;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta svg {
  width: 15px;
  color: var(--blue);
}

.facts-band {
  position: relative;
  z-index: 5;
  margin-top: 28px;
}

.facts-grid {
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.fact {
  display: flex;
  min-height: 120px;
  padding: 24px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-align: left;
}

.fact + .fact {
  border-left: 1px solid var(--slate-200);
}

.fact strong {
  color: var(--blue);
  font-size: 2.5rem;
  line-height: 1;
}

.fact span {
  max-width: 110px;
  color: var(--slate-600);
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.25;
}

.section {
  padding-block: 118px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 18px;
}

.section-heading p,
.showcase-copy > p,
.professor-copy > p,
.training-copy > p,
.exam-copy > p,
.video-copy > p {
  color: var(--slate-600);
  font-size: 1.08rem;
}

.intro-section {
  padding-top: 150px;
}

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

.learning-path::before {
  position: absolute;
  top: 52px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, #93c5fd, #fdba74, #c4b5fd, #86efac);
  content: "";
}

.path-step {
  position: relative;
  min-height: 250px;
  padding: 30px 24px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: white;
  box-shadow: var(--shadow-sm);
}

.path-step .icon-box {
  position: relative;
  z-index: 2;
  margin-bottom: 30px;
}

.path-step h3 {
  margin-bottom: 10px;
  font-size: 1.42rem;
}

.path-step p {
  margin-bottom: 0;
  color: var(--slate-600);
  font-size: 0.92rem;
}

.path-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--slate-300);
  font-size: 0.76rem;
  font-weight: 900;
}

.icon-box {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: #eff6ff;
  color: var(--blue);
}

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

.icon-blue { background: #eaf2ff; color: var(--blue); }
.icon-orange { background: #fff1e6; color: var(--orange); }
.icon-purple { background: #f3e8ff; color: var(--purple); }
.icon-green { background: #dcfce7; color: var(--green); }
.icon-red { background: #fee2e2; color: var(--red); }

.features-section {
  background: white;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: white;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.feature-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: var(--accent, var(--blue));
  content: "";
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.11);
}

.feature-card .icon-box {
  margin-bottom: 22px;
  background: var(--soft, #eff6ff);
  color: var(--accent, var(--blue));
}

.feature-tag {
  display: block;
  margin-bottom: 9px;
  color: var(--accent, var(--blue));
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.feature-card h3 {
  margin-bottom: 13px;
  font-size: 1.55rem;
}

.feature-card p {
  color: var(--slate-600);
  font-size: 0.94rem;
}

.feature-card ul {
  display: grid;
  margin: 22px 0 0;
  padding: 0;
  gap: 8px;
  color: var(--slate-700);
  font-size: 0.86rem;
  font-weight: 700;
  list-style: none;
}

.feature-card li {
  position: relative;
  padding-left: 18px;
}

.feature-card li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 7px;
  height: 7px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--accent, var(--blue));
  content: "";
}

.feature-blue { --accent: #2563eb; --soft: #eaf2ff; }
.feature-orange { --accent: #ea580c; --soft: #fff1e6; }
.feature-indigo { --accent: #4f46e5; --soft: #eef2ff; }
.feature-purple { --accent: #7c3aed; --soft: #f3e8ff; }
.feature-dark { --accent: #0f172a; --soft: #e2e8f0; }
.feature-green { --accent: #16a34a; --soft: #dcfce7; }

.showcase {
  overflow: hidden;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.showcase-grid-reverse {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.showcase-media {
  position: relative;
  display: flex;
  min-height: 730px;
  align-items: center;
  justify-content: center;
}

.showcase-media img {
  position: relative;
  z-index: 2;
  width: auto;
  height: min(78vh, 730px);
  max-width: 100%;
  border-radius: 30px;
  object-fit: contain;
  filter: drop-shadow(0 30px 45px rgba(15, 23, 42, 0.16));
  transition: transform 400ms ease;
}

.showcase-media:hover img {
  transform: translateY(-8px) rotate(0.5deg);
}

.screen-glow {
  position: absolute;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(4px);
}

.screen-glow-blue {
  background: radial-gradient(circle, rgba(147, 197, 253, 0.54), rgba(237, 244, 255, 0));
}

.screen-glow-orange {
  background: radial-gradient(circle, rgba(253, 186, 116, 0.48), rgba(255, 247, 237, 0));
}

.showcase-copy h2,
.professor-copy h2,
.training-copy h2,
.exam-copy h2,
.video-copy h2 {
  font-size: clamp(2.25rem, 4.5vw, 4.4rem);
}

.showcase-copy > p {
  max-width: 590px;
  margin-bottom: 28px;
}

.mini-card {
  display: flex;
  max-width: 590px;
  margin-top: 14px;
  padding: 18px;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: white;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.mini-card > svg {
  width: 24px;
  flex: 0 0 auto;
}

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

.mini-card strong {
  font-size: 0.95rem;
}

.mini-card span {
  color: var(--slate-500);
  font-size: 0.84rem;
}

.mini-card-blue { border-color: #bfdbfe; color: #1d4ed8; background: #eff6ff; }
.mini-card-violet { border-color: #ddd6fe; color: #6d28d9; background: #f8f7ff; }

.professor-section {
  background: linear-gradient(135deg, #0f172a 0%, #172554 48%, #2563eb 100%);
  color: white;
}

.professor-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(50px, 7vw, 100px);
}

.professor-copy > p {
  max-width: 520px;
  color: #cbd5e1;
}

.check-list {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #e2e8f0;
  font-size: 0.9rem;
  font-weight: 750;
}

.check-list svg {
  width: 18px;
  color: #86efac;
}

.professor-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 28px;
  background: #f8fafc;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.36);
  color: var(--navy-900);
}

.professor-header {
  display: flex;
  padding: 18px 22px;
  align-items: center;
  gap: 13px;
  background: linear-gradient(90deg, #0f172a, #1d4ed8);
  color: white;
}

.professor-header img {
  border: 3px solid white;
  border-radius: 15px;
  background: white;
}

.professor-header div {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.professor-header strong {
  font-size: 1.05rem;
}

.professor-header span {
  color: #bfdbfe;
  font-size: 0.75rem;
}

.online-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border: 2px solid white;
  border-radius: 50%;
  background: #22c55e;
}

.chat-body {
  display: flex;
  min-height: 430px;
  padding: 28px;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.chat-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.chat-row img {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
}

.chat-row p {
  max-width: 80%;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 6px 16px 16px;
  background: white;
  color: var(--slate-700);
  font-size: 0.9rem;
  font-weight: 650;
}

.chat-row-user {
  justify-content: flex-end;
}

.chat-row-user p {
  border-color: #93c5fd;
  border-radius: 16px 6px 16px 16px;
  background: #eaf2ff;
  color: #1e3a8a;
}

.chat-choice-row {
  display: flex;
  padding-left: 46px;
  flex-wrap: wrap;
  gap: 7px;
}

.chat-choice-row span {
  padding: 7px 10px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: white;
  color: #1d4ed8;
  font-size: 0.7rem;
  font-weight: 800;
}

.showcase-routes {
  background: #fffaf4;
}

.route-actions {
  display: flex;
  max-width: 600px;
  margin: 28px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.route-actions span {
  display: inline-flex;
  padding: 10px 13px;
  align-items: center;
  gap: 7px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: white;
  color: #9a3412;
  font-size: 0.8rem;
  font-weight: 850;
}

.route-actions svg {
  width: 16px;
}

.support-note {
  display: flex;
  max-width: 600px;
  padding: 18px;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #fde68a;
  border-radius: 18px;
  background: #fffbeb;
  color: #78350f;
  font-size: 0.88rem;
  font-weight: 750;
}

.support-note svg {
  width: 21px;
  flex: 0 0 auto;
  color: #d97706;
}

.training-section {
  overflow: hidden;
  background: var(--navy-950);
  color: white;
}

.training-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.training-screen {
  position: relative;
  height: 710px;
}

.training-screen::before {
  position: absolute;
  inset: 12% -10% 12% 0;
  border: 1px solid rgba(34, 193, 220, 0.25);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 193, 220, 0.2), transparent 65%);
  content: "";
}

.training-screen img {
  position: relative;
  z-index: 2;
  width: auto;
  height: 100%;
  max-width: 100%;
  margin-inline: auto;
  border-radius: 30px;
  object-fit: contain;
  filter: drop-shadow(0 28px 45px rgba(0, 0, 0, 0.42));
}

.training-copy > p {
  max-width: 580px;
  color: #cbd5e1;
}

.training-list {
  display: grid;
  max-width: 600px;
  margin-top: 30px;
  gap: 10px;
}

.training-list div {
  display: flex;
  padding: 15px 18px;
  align-items: center;
  gap: 14px;
  border: 1px solid #334155;
  border-radius: 14px;
  background: #11182d;
}

.training-list span {
  color: #fb923c;
  font-size: 0.72rem;
  font-weight: 900;
}

.training-list strong {
  font-size: 0.93rem;
}

.exam-section {
  background: white;
}

.exam-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(50px, 7vw, 90px);
}

.exam-copy > p {
  max-width: 570px;
}

.exam-stats {
  display: flex;
  max-width: 570px;
  margin: 28px 0;
  border: 1px solid #fde68a;
  border-radius: 18px;
  background: #fffbeb;
}

.exam-stats div {
  display: flex;
  flex: 1;
  padding: 17px 10px;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.exam-stats div + div {
  border-left: 1px solid #fde68a;
}

.exam-stats strong {
  color: #92400e;
  font-size: 1.32rem;
}

.exam-stats span {
  color: #a16207;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.result-preview {
  display: flex;
  max-width: 570px;
  padding: 18px;
  align-items: flex-start;
  gap: 13px;
  border: 1px solid #bbf7d0;
  border-radius: 18px;
  background: #f0fdf4;
  color: #166534;
}

.result-preview svg {
  width: 23px;
  flex: 0 0 auto;
}

.result-preview div {
  display: flex;
  flex-direction: column;
}

.result-preview span {
  color: #3f6250;
  font-size: 0.84rem;
}

.exam-screens {
  position: relative;
  min-height: 750px;
}

.exam-screens img {
  position: absolute;
  width: auto;
  height: min(78vh, 710px);
  max-width: 72%;
  border-radius: 28px;
  object-fit: contain;
  filter: drop-shadow(0 26px 40px rgba(15, 23, 42, 0.15));
}

.exam-main {
  z-index: 2;
  top: 0;
  right: 0;
}

.exam-secondary {
  bottom: 0;
  left: 0;
  transform: scale(0.9);
  opacity: 0.95;
}

.video-section {
  background: #fff7f6;
}

.video-layout {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.video-copy > p {
  max-width: 590px;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  align-items: center;
  gap: 7px;
  color: var(--red);
  font-weight: 850;
}

.text-link svg {
  width: 18px;
}

.video-frame {
  position: relative;
  width: min(100%, 390px);
  margin-inline: auto;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  border: 8px solid var(--navy-900);
  border-radius: 34px;
  background: var(--navy-900);
  box-shadow: 0 35px 70px rgba(15, 23, 42, 0.2);
}

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

.tablet-section {
  overflow: hidden;
  background: white;
}

.gallery-wrap {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
}

.tablet-viewport {
  overflow: hidden;
  border-radius: 32px;
}

.tablet-gallery {
  display: flex;
  overflow-x: auto;
  padding: 15px 0 12px;
  scroll-behavior: smooth;
  scroll-padding: 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  touch-action: pan-x;
}

.tablet-gallery::-webkit-scrollbar {
  display: none;
}

.tablet-gallery figure {
  display: flex;
  min-width: 100%;
  margin: 0;
  flex: 0 0 100%;
  flex-direction: column;
  align-items: center;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.tablet-gallery img {
  width: min(calc(100% - 96px), 460px);
  height: auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: #f8fafc;
  object-fit: contain;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  transition: transform 220ms ease;
}

.tablet-gallery figure:hover img {
  transform: translateY(-6px);
}

.tablet-gallery figcaption {
  margin-top: 13px;
  color: var(--slate-600);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.gallery-meta {
  display: flex;
  margin-top: 12px;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.gallery-status {
  min-width: 52px;
  color: var(--slate-600);
  font-size: 0.82rem;
  font-weight: 850;
}

.gallery-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--slate-300);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.gallery-dot.is-active {
  width: 26px;
  background: var(--blue);
}

.gallery-button {
  position: absolute;
  z-index: 4;
  top: 45%;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid var(--border);
  border-radius: 50%;
  background: white;
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.gallery-button:hover,
.gallery-button:focus-visible {
  background: var(--blue);
  color: white;
}

.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }

.premium-section {
  background: #f7f8ff;
}

.premium-shell {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 1.15fr 0.85fr;
  border: 1px solid #a5b4fc;
  border-radius: 34px;
  background: linear-gradient(135deg, #11183b 0%, #2447a5 54%, #6426c7 100%);
  box-shadow: 0 30px 70px rgba(30, 58, 138, 0.22);
  color: white;
}

.premium-shell::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 7px;
  background: linear-gradient(90deg, #f97316, #ef4444, #8b5cf6);
  content: "";
}

.premium-copy {
  padding: clamp(40px, 6vw, 78px);
}

.premium-copy h2 {
  max-width: 650px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}

.premium-copy > p {
  max-width: 580px;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.premium-list {
  display: grid;
  margin: 30px 0 0;
  padding: 0;
  gap: 11px;
  list-style: none;
}

.premium-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 750;
}

.premium-list svg {
  width: 19px;
  color: #86efac;
}

.price-card {
  display: flex;
  margin: 24px;
  padding: 40px 30px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #fde68a;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fffbea 100%);
  color: var(--navy-900);
  text-align: center;
}

.launch-badge {
  display: inline-flex;
  padding: 8px 12px;
  align-items: center;
  gap: 7px;
  border: 1px solid #facc15;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.launch-badge svg {
  width: 15px;
  height: 15px;
}

.previous-price {
  display: flex;
  margin-top: 18px;
  align-items: center;
  gap: 8px;
  color: var(--slate-500);
  font-size: 0.78rem;
  font-weight: 750;
}

.previous-price del {
  color: #b91c1c;
  font-weight: 850;
}

.price-card > strong {
  margin-block: 6px 2px;
  color: var(--navy-950);
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
}

.price-card > strong small {
  font-size: 0.35em;
}

.price-card > p {
  margin-bottom: 25px;
  color: var(--slate-600);
  font-size: 0.88rem;
}

.price-actions {
  width: 100%;
  flex-direction: column;
}

.price-actions .store-button {
  width: 100%;
}

.price-note {
  margin-top: 18px;
  color: var(--slate-500);
  font-size: 0.68rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(50px, 8vw, 110px);
}

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

.faq-list details {
  border-bottom: 1px solid var(--slate-200);
}

.faq-list summary {
  position: relative;
  padding: 23px 42px 23px 0;
  color: var(--navy-900);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #eaf2ff;
  color: var(--blue);
  content: "+";
  font-size: 1.2rem;
  line-height: 22px;
  text-align: center;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -4px 0 23px;
  padding-right: 36px;
  color: var(--slate-600);
  font-size: 0.92rem;
}

.legal-band {
  padding-block: 55px;
  border-top: 1px solid var(--slate-200);
  background: white;
}

.legal-content {
  display: flex;
  max-width: 980px;
  align-items: flex-start;
  gap: 22px;
}

.legal-content .icon-box {
  flex: 0 0 auto;
}

.legal-content h2 {
  margin-bottom: 10px;
  font-size: 1.55rem;
}

.legal-content p {
  margin-bottom: 10px;
  color: var(--slate-600);
  font-size: 0.88rem;
}

.legal-content a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue-dark);
  font-size: 0.87rem;
  font-weight: 850;
}

.legal-content a svg {
  width: 16px;
}

.site-footer {
  padding-block: 50px;
  background: var(--navy-950);
  color: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px 34px;
}

.footer-brand {
  color: white;
}

.footer-inner > p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.88rem;
}

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

.footer-links a {
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 750;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
}

.footer-inner > small {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid #1e293b;
  color: #64748b;
}

.toast {
  position: fixed;
  z-index: 160;
  right: 22px;
  bottom: 22px;
  display: flex;
  max-width: min(390px, calc(100vw - 44px));
  padding: 15px 18px;
  align-items: center;
  gap: 11px;
  transform: translateY(140%);
  border: 1px solid #93c5fd;
  border-radius: 15px;
  background: #eff6ff;
  box-shadow: var(--shadow-md);
  color: #1e3a8a;
  font-size: 0.84rem;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transition: transform 220ms ease, opacity 220ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast svg {
  width: 20px;
  flex: 0 0 auto;
}

.reveal {
  opacity: 1;
}

.reveal-ready .reveal {
  transform: translateY(26px);
  opacity: 0;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), opacity 600ms ease;
}

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

.noscript {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 300;
  padding: 10px;
  background: #fef3c7;
  color: #78350f;
  text-align: center;
}

@media (max-width: 1020px) {
  .hero {
    min-height: 900px;
  }

  .hero-screen {
    right: -130px;
    width: min(47vw, 422px);
    opacity: 0.72;
  }

  .hero-copy {
    width: 66%;
  }

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

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

  .learning-path::before {
    display: none;
  }

  .showcase-grid,
  .showcase-grid-reverse,
  .training-grid,
  .exam-layout,
  .video-layout,
  .professor-layout {
    gap: 45px;
  }

  .premium-shell {
    grid-template-columns: 1fr 0.95fr;
  }

}

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

  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    right: 15px;
    left: 15px;
    display: flex;
    padding: 15px;
    transform: translateY(-12px) scale(0.98);
    transform-origin: top;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .main-nav.is-open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 12px;
    border-radius: 10px;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: #eff6ff;
  }

  .main-nav .nav-cta {
    margin-top: 5px;
    text-align: center;
  }

  .hero {
    display: flex;
    min-height: auto;
    padding-top: 68px;
    flex-direction: column;
    background: linear-gradient(155deg, #eef4ff 0%, #fffaf4 56%, #f8f7ff 100%);
  }

  .hero::after {
    height: 80px;
  }

  .hero-content {
    order: 1;
    min-height: 0;
  }

  .hero-copy {
    width: 100%;
    padding-block: 78px 25px;
    text-align: center;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 20vw, 6.4rem);
  }

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

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

  .hero-screen {
    position: relative;
    top: auto;
    right: auto;
    z-index: 2;
    order: 2;
    width: min(82%, 440px);
    max-height: none;
    margin: 10px auto -40px;
    opacity: 1;
    animation: none;
  }

  .facts-band {
    margin-top: 0;
    padding-top: 30px;
  }

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

  .fact {
    min-height: 105px;
    padding: 18px;
  }

  .fact + .fact {
    border-left: 0;
  }

  .fact:nth-child(even) {
    border-left: 1px solid var(--slate-200);
  }

  .fact:nth-child(n + 3) {
    border-top: 1px solid var(--slate-200);
  }

  .section {
    padding-block: 84px;
  }

  .intro-section {
    padding-top: 105px;
  }

  .showcase-grid,
  .showcase-grid-reverse,
  .professor-layout,
  .training-grid,
  .exam-layout,
  .video-layout,
  .premium-shell,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .showcase-copy,
  .professor-copy,
  .training-copy,
  .exam-copy,
  .video-copy {
    order: 1;
  }

  .showcase-media,
  .training-screen,
  .exam-screens,
  .video-frame {
    order: 2;
  }

  .showcase-media {
    min-height: 650px;
  }

  .professor-window {
    order: 2;
  }

  .training-screen {
    height: 640px;
  }

  .exam-screens {
    min-height: 700px;
  }

  .premium-copy {
    padding-bottom: 25px;
  }

  .price-card {
    margin-top: 0;
  }

  .gallery-prev {
    left: 8px;
  }

  .gallery-next {
    right: 8px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}

@media (max-width: 560px) {
  h2 {
    font-size: 2.25rem;
  }

  .section-heading {
    margin-bottom: 36px;
  }

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

  .hero-lead {
    font-size: 1.6rem;
  }

  .hero-support {
    font-size: 0.98rem;
  }

  .hero-actions,
  .price-actions {
    flex-direction: column;
  }

  .hero-actions .store-button,
  .price-actions .store-button {
    width: 100%;
  }

  .hero-meta {
    font-size: 0.74rem;
  }

  .facts-grid,
  .learning-path,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .fact,
  .fact:nth-child(even) {
    border-left: 0;
  }

  .fact:nth-child(n + 2) {
    border-top: 1px solid var(--slate-200);
  }

  .fact span {
    max-width: none;
  }

  .path-step {
    min-height: 220px;
  }

  .feature-card {
    min-height: 0;
    padding: 26px;
  }

  .showcase-copy h2,
  .professor-copy h2,
  .training-copy h2,
  .exam-copy h2,
  .video-copy h2 {
    font-size: 2.35rem;
  }

  .showcase-media {
    min-height: 540px;
  }

  .showcase-media img {
    width: auto;
    height: min(64vh, 550px);
    max-width: 100%;
  }

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

  .chat-body {
    min-height: 500px;
    padding: 18px;
  }

  .chat-row p {
    max-width: 88%;
  }

  .chat-choice-row {
    padding-left: 0;
  }

  .training-screen {
    height: 540px;
  }

  .exam-stats strong {
    font-size: 1.05rem;
  }

  .exam-stats span {
    font-size: 0.58rem;
  }

  .exam-screens {
    min-height: 560px;
  }

  .exam-screens img {
    width: auto;
    height: min(64vh, 540px);
    max-width: 76%;
  }

  .video-frame {
    width: min(100%, 330px);
  }

  .tablet-gallery img {
    width: min(calc(100% - 38px), 420px);
  }

  .gallery-button {
    width: 42px;
    height: 42px;
  }

  .premium-shell {
    border-radius: 26px;
  }

  .premium-copy {
    padding: 35px 25px 20px;
  }

  .price-card {
    margin: 15px;
    padding: 34px 20px;
  }

  .legal-content {
    flex-direction: column;
  }

  .toast {
    right: 15px;
    bottom: 15px;
    left: 15px;
    max-width: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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