:root {
  --bg: #17181f;
  --bg-soft: #22232d;
  --panel: rgba(27, 28, 37, 0.82);
  --panel-strong: rgba(21, 22, 29, 0.94);
  --line: rgba(238, 226, 220, 0.11);
  --text: #f2e6e2;
  --muted: #c6b9bc;
  --teal: #edc7b7;
  --cyan: #123c69;
  --pink: #ac3b61;
  --peach: #eee2dc;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(237, 199, 183, 0.16), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(172, 59, 97, 0.16), transparent 24%),
    radial-gradient(circle at 56% 24%, rgba(18, 60, 105, 0.2), transparent 26%),
    linear-gradient(180deg, #23252f 0%, #17181f 58%, #14151b 100%);
  font: 400 16px/1.6 "Space Grotesk", sans-serif;
  overflow-x: hidden;
}

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

.ambient {
  position: fixed;
  width: 30rem;
  height: 30rem;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.ambient-left {
  top: -7rem;
  left: -8rem;
  background: #edc7b7;
}

.ambient-right {
  top: 4rem;
  right: -10rem;
  background: #ac3b61;
}

.topbar,
.hero,
.section,
.footer,
.ticker,
.checkout-page {
  position: relative;
  z-index: 1;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.2rem 1.4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--teal), var(--pink));
  color: #fff7f4;
  box-shadow: 0 16px 40px rgba(172, 59, 97, 0.24);
}

.brand-word {
  font-size: 1.22rem;
}

.nav {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
}

.topbar-actions {
  display: flex;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  overflow: hidden;
}

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

.button-primary {
  border-color: rgba(172, 59, 97, 0.2);
  background: linear-gradient(135deg, #edc7b7 0%, #d07893 52%, #ac3b61 100%);
  background-clip: padding-box;
  color: #fff8f5;
  box-shadow: 0 18px 44px rgba(172, 59, 97, 0.26);
}

.button-secondary,
.button-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(238, 226, 220, 0.12);
  color: var(--text);
}

.button-wide {
  width: 100%;
}

.hero,
.section,
.checkout-page {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 1.4rem;
  padding-right: 1.4rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  gap: 2rem;
  align-items: center;
  padding-top: 4rem;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(237, 199, 183, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #edc7b7;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.checkout-hero h1 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.hero h1 {
  max-width: 13ch;
  font-size: clamp(2.8rem, 7vw, 5.9rem);
}

.hero-text,
.section-head p,
.checkout-hero p {
  max-width: 44rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.hero-subline {
  margin-top: 1.2rem;
  color: #d5c7cb;
  font-size: 1rem;
}

.browser-shell,
.glass-card,
.feature-card,
.compare-card,
.price-card,
.faq-item,
.info-card {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.browser-shell {
  border-radius: 2rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(25, 26, 34, 0.94);
  transform: translateX(1.2rem);
}

.browser-bar {
  display: flex;
  gap: 0.45rem;
  padding: 1rem 1.15rem;
}

.browser-bar span {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.browser-content {
  padding: 0 1rem 1rem;
}

.video-preview {
  position: relative;
  min-height: 540px;
  border-radius: 1.6rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 15%, rgba(18, 60, 105, 0.26), transparent 20%),
    radial-gradient(circle at 78% 18%, rgba(172, 59, 97, 0.16), transparent 24%),
    linear-gradient(180deg, #223148 0%, #141824 48%, #101218 100%);
}

.video-grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.045) 0.75px, transparent 0.75px);
  background-size: 10px 10px;
  opacity: 0.18;
}

.video-play {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  display: grid;
  place-items: center;
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 1.6rem;
  background: linear-gradient(180deg, rgba(84, 166, 224, 0.96), rgba(46, 128, 192, 0.98));
  color: #fff9ef;
  font-size: 3rem;
  box-shadow: 0 22px 52px rgba(46, 128, 192, 0.28);
}

.subtitle-stack {
  position: absolute;
  left: 50%;
  bottom: 2.4rem;
  transform: translateX(-50%);
  width: min(82%, 34rem);
}

.subtitle-original {
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
  padding: 0.38rem 0.95rem;
  border-radius: 0.8rem;
  background: rgba(3, 5, 10, 0.72);
  color: #f8f3ff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.02;
  text-align: center;
}

.subtitle-line-1,
.subtitle-line-2 {
  margin-bottom: 0.35rem;
}

.subtitle-line-3 {
  margin-bottom: 1rem;
}

.subtitle-translation {
  display: grid;
  gap: 0.28rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.8rem 1.05rem 0.9rem;
  border-radius: 1.05rem;
  background: rgba(8, 11, 18, 0.96);
  color: #8ce7f2;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.06;
  text-align: center;
}

.subtitle-translation-line {
  display: block;
}

.floating-panel {
  position: absolute;
  min-width: 220px;
  padding: 0.85rem 0.9rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 15, 24, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.panel-settings {
  right: 1.25rem;
  top: 1.25rem;
}

.panel-title {
  margin-bottom: 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.panel-row,
.order-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  color: #ddd6e7;
  font-size: 0.95rem;
}

.panel-row + .panel-row {
  margin-top: 0.34rem;
}

.section {
  padding-top: 6rem;
}

.section-head {
  max-width: 58rem;
  margin-bottom: 2rem;
}

.section-head h2,
.checkout-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.3rem);
}

.feature-grid,
.demo-grid,
.compare-grid,
.pricing-grid,
.checkout-layout,
.form-grid,
.plan-options,
.trainer-grid {
  display: grid;
  gap: 1rem;
}

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

.feature-card {
  padding: 1.35rem;
  border-radius: 1.45rem;
  min-height: 100%;
  grid-column: span 4;
}

.feature-card-large {
  grid-column: span 8;
}

.feature-tag,
.demo-badge,
.price-pill {
  display: inline-flex;
  margin-bottom: 0.8rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--peach);
}

.feature-card h3,
.compare-card h3,
.price-plan,
.info-title,
.order-title,
.checkout-section-title {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.04em;
}

.feature-card h3,
.compare-card h3 {
  font-size: 1.55rem;
  line-height: 1;
}

.demo-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.demo-player {
  border-radius: 1.8rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(10, 12, 20, 0.86);
  box-shadow: var(--shadow);
}

.demo-head,
.trainer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem 0;
}

.demo-badge {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(237, 199, 183, 0.16), rgba(172, 59, 97, 0.16));
  color: #f6ece8;
  box-shadow: 0 0 20px rgba(172, 59, 97, 0.12);
}

.demo-controls,
.trainer-controls {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.demo-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #f6efff;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}

.demo-control.is-active {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 0 20px rgba(172, 59, 97, 0.12);
}

.lang-control {
  min-width: 2.8rem;
  padding: 0 0.65rem;
}

.demo-control.color-mint {
  background: linear-gradient(135deg, #edc7b7, #eee2dc);
}

.demo-control.color-pink {
  background: linear-gradient(135deg, #ac3b61, #edc7b7);
}

.demo-control.color-blue {
  background: linear-gradient(135deg, #123c69, #7fa8cf);
}

.demo-screen {
  min-height: 460px;
  background:
    radial-gradient(circle at 30% 20%, rgba(18, 60, 105, 0.18), transparent 22%),
    radial-gradient(circle at 70% 32%, rgba(172, 59, 97, 0.14), transparent 20%),
    linear-gradient(180deg, #1c2230 0%, #11141b 100%);
}

.demo-overlay {
  display: flex;
  flex-direction: column;
  justify-content: end;
  height: 100%;
  padding: 1.5rem;
}

.demo-time {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.6);
}

.demo-caption {
  display: grid;
  gap: 0.9rem;
}

.demo-caption-original,
.demo-caption-translation {
  width: fit-content;
  max-width: min(92%, 36rem);
  padding: 0.7rem 1rem;
  border-radius: 0.95rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.08;
}

.demo-caption-original {
  background: rgba(0, 0, 0, 0.68);
}

.demo-caption-translation {
  background: rgba(8, 11, 18, 0.96);
  color: #8ce7f2;
  box-shadow: 0 0 28px rgba(18, 60, 105, 0.18);
}

.demo-side {
  display: grid;
  gap: 1rem;
}

.info-card,
.order-card {
  padding: 1.25rem;
  border-radius: 1.45rem;
}

.compare-grid,
.pricing-grid,
.checkout-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compare-card {
  padding: 1.4rem;
  border-radius: 1.5rem;
}

.compare-card-minus {
  background:
    linear-gradient(180deg, rgba(255, 124, 188, 0.14), rgba(12, 14, 24, 0.9)),
    rgba(12, 14, 24, 0.9);
}

.compare-card-plus,
.price-card-featured {
  background:
    linear-gradient(180deg, rgba(18, 60, 105, 0.16), rgba(21, 22, 29, 0.92)),
    rgba(21, 22, 29, 0.92);
}

.compare-card ul,
.price-card ul,
.checkout-benefits {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.pricing-grid {
  align-items: stretch;
}

.price-card {
  padding: 1.45rem;
  border-radius: 1.65rem;
}

.price-plan {
  font-size: 1.5rem;
}

.price-value {
  margin-top: 0.45rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.price-note,
.price-card ul {
  color: var(--muted);
}

.pricing-grid {
  grid-template-columns: minmax(0, 1fr);
}

.trainer-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.extension-panel-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(0, 1.14fr);
  gap: 1rem;
  align-items: stretch;
}

.extension-popup-mock {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(238, 226, 220, 0.16);
  border-radius: 2rem;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(237, 199, 183, 0.22), transparent 32%),
    radial-gradient(circle at 96% 24%, rgba(172, 59, 97, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(35, 37, 47, 0.96), rgba(18, 19, 26, 0.96));
  box-shadow: var(--shadow);
}

.extension-popup-mock::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 0.7px, transparent 0.7px);
  background-size: 13px 13px;
  opacity: 0.12;
  pointer-events: none;
}

.extension-popup-mock > * {
  position: relative;
}

.extension-popup-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.extension-popup-top > div {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.extension-logo {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #edc7b7, #ac3b61);
  color: #fff7f4;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
}

.extension-popup-top h3 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.extension-status {
  border: 1px solid rgba(139, 246, 213, 0.26);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  background: rgba(139, 246, 213, 0.1);
  color: #9df7de;
  font-size: 0.82rem;
  font-weight: 700;
}

.extension-toggle-row,
.extension-settings-card,
.extension-phrase-card,
.extension-review-card {
  border: 1px solid rgba(238, 226, 220, 0.13);
  border-radius: 1.25rem;
  background: rgba(238, 226, 220, 0.065);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.extension-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  color: #f7efec;
  font-weight: 700;
}

.extension-toggle {
  position: relative;
  width: 3.15rem;
  height: 1.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.extension-toggle::after {
  content: "";
  position: absolute;
  top: 0.22rem;
  left: 0.24rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: #fff8f4;
  transition: transform 200ms ease;
}

.extension-toggle.is-on {
  background: linear-gradient(135deg, #edc7b7, #ac3b61);
}

.extension-toggle.is-on::after {
  transform: translateX(1.46rem);
}

.extension-settings-card,
.extension-phrase-card,
.extension-review-card {
  margin-top: 0.85rem;
  padding: 1rem;
}

.extension-card-title {
  margin-bottom: 0.7rem;
  color: #edc7b7;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.extension-range,
.extension-color-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.extension-range strong {
  color: var(--text);
}

.extension-range-bar {
  overflow: hidden;
  height: 0.5rem;
  margin: 0.65rem 0 0.85rem;
  border-radius: 999px;
  background: rgba(238, 226, 220, 0.12);
}

.extension-range-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #edc7b7, #ac3b61);
}

.extension-swatches {
  display: flex;
  gap: 0.45rem;
}

.extension-swatches i {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, #8ce7f2, #edc7b7);
}

.extension-swatches i:nth-child(2) {
  background: linear-gradient(135deg, #ac3b61, #edc7b7);
}

.extension-swatches i:nth-child(3) {
  background: linear-gradient(135deg, #123c69, #7fa8cf);
}

.extension-swatches i.is-active {
  box-shadow: 0 0 0 3px rgba(237, 199, 183, 0.16);
}

.extension-phrase-card p {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.extension-phrase-card span {
  display: block;
  margin-top: 0.65rem;
  color: #edc7b7;
  font-size: 0.88rem;
}

.extension-review-card p {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

.extension-input {
  border: 1px solid rgba(238, 226, 220, 0.14);
  border-radius: 0.9rem;
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.055);
  color: #f7efec;
}

.extension-review-card button {
  width: 100%;
  margin-top: 0.75rem;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1rem;
  background: linear-gradient(135deg, #edc7b7, #ac3b61);
  color: #fff8f5;
  font: inherit;
  font-weight: 800;
}

.extension-benefits {
  display: grid;
  gap: 1rem;
}

.trainer-card {
  padding: 1.35rem;
  border-radius: 1.45rem;
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.trainer-card-primary {
  background:
    linear-gradient(180deg, rgba(172, 59, 97, 0.14), rgba(21, 22, 29, 0.94)),
    rgba(21, 22, 29, 0.94);
}

.trainer-topline {
  color: var(--peach);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.trainer-movie {
  margin-top: 0.8rem;
  color: var(--muted);
}

.trainer-quote {
  margin-top: 1rem;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.trainer-prompt {
  margin-top: 1rem;
  color: #ded6ea;
  font-weight: 700;
}

.trainer-input {
  margin-top: 0.8rem;
}

.trainer-answer {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.trainer-answer-label {
  color: #dfd7eb;
  font-size: 0.95rem;
}

.trainer-answer input {
  width: 100%;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.trainer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.trainer-chip {
  border: 0;
  padding: 0.78rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal), var(--pink));
  color: #fff8f4;
  font-weight: 700;
  cursor: pointer;
}

.trainer-chip.muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.trainer-feedback {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.trainer-feedback.is-success {
  color: #8bf6d5;
  border-color: rgba(115, 245, 222, 0.22);
  background: rgba(115, 245, 222, 0.08);
}

.trainer-feedback.is-error {
  color: #ffc2d8;
  border-color: rgba(255, 124, 188, 0.22);
  background: rgba(255, 124, 188, 0.08);
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  padding: 1rem 1.1rem;
  border-radius: 1.2rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
}

.faq-item p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4rem 1.4rem 2rem;
  color: var(--muted);
}

.footer-brand {
  color: var(--text);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
}

.checkout-page {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.checkout-hero {
  max-width: 48rem;
}

.checkout-layout {
  margin-top: 2rem;
  align-items: start;
}

.checkout-form {
  padding: 1.4rem;
  border-radius: 1.7rem;
}

.checkout-sidebar {
  display: grid;
  gap: 1rem;
}

.checkout-section-title {
  margin: 1rem 0 0.85rem;
  font-size: 1.1rem;
}

.checkout-section-title:first-child {
  margin-top: 0;
}

.plan-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.plan-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.plan-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  height: 100%;
  padding: 1rem;
  border-radius: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.plan-card.featured,
.plan-option input:checked + .plan-card {
  border-color: rgba(115, 245, 222, 0.48);
  box-shadow: 0 0 0 1px rgba(115, 245, 222, 0.18) inset;
}

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

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field-wide {
  grid-column: span 2;
}

.form-field input {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pay-chip {
  padding: 0.75rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2d9ee;
}

.order-title {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.order-row + .order-row {
  margin-top: 0.6rem;
}

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

.panel-settings,
.video-play {
  animation: pulseFloat 4.5s ease-in-out infinite;
}

@media (max-width: 1080px) {
  .hero,
  .feature-grid,
  .demo-grid,
  .compare-grid,
  .pricing-grid,
  .checkout-layout,
  .plan-options,
  .trainer-grid,
  .extension-panel-layout {
    grid-template-columns: 1fr;
  }

  .feature-card-large {
    grid-column: span 12;
  }

  .feature-card {
    grid-column: span 6;
  }

  .nav {
    display: none;
  }

  .browser-shell {
    transform: none;
  }
}

@media (max-width: 760px) {
  body {
    background:
      radial-gradient(circle at 18% 0%, rgba(237, 199, 183, 0.18), transparent 24rem),
      radial-gradient(circle at 90% 12%, rgba(172, 59, 97, 0.16), transparent 18rem),
      linear-gradient(180deg, #242630 0%, #17181f 58%, #121319 100%);
  }

  .ambient {
    width: 18rem;
    height: 18rem;
    filter: blur(58px);
    opacity: 0.18;
  }

  .topbar {
    padding: 0.9rem 1rem;
    gap: 0.75rem;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand-mark {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.75rem;
  }

  .brand-word {
    font-size: 1.05rem;
  }

  .button {
    padding: 0.82rem 1rem;
    font-size: 0.95rem;
  }

  .topbar-actions .button {
    white-space: nowrap;
  }

  .hero,
  .section,
  .checkout-page {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    gap: 1.35rem;
    padding-top: 2rem;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 14vw, 4.7rem);
    line-height: 0.92;
  }

  .hero-text,
  .section-head p,
  .checkout-hero p {
    font-size: 0.98rem;
  }

  .section-head {
    margin-bottom: 1.25rem;
  }

  .section-head h2,
  .checkout-hero h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
    line-height: 0.98;
  }

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

  .video-preview,
  .demo-screen {
    min-height: 360px;
  }

  .browser-shell,
  .demo-player,
  .extension-popup-mock,
  .trainer-card,
  .price-card,
  .compare-card,
  .feature-card,
  .info-card,
  .checkout-form,
  .order-card {
    border-radius: 1.25rem;
  }

  .browser-content {
    padding: 0 0.65rem 0.65rem;
  }

  .video-play {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 1.1rem;
    font-size: 2rem;
  }

  .subtitle-original,
  .subtitle-translation {
    font-size: clamp(1.1rem, 7vw, 1.65rem);
  }

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

  .feature-card,
  .feature-card-large {
    grid-column: auto;
  }

  .subtitle-original,
  .subtitle-translation,
  .demo-caption-original,
  .demo-caption-translation {
    max-width: 100%;
  }

  .panel-settings {
    position: static;
    margin: 1rem;
    min-width: 0;
  }

  .subtitle-stack {
    width: calc(100% - 1.4rem);
    bottom: 1rem;
  }

  .extension-panel-layout {
    gap: 0.85rem;
  }

  .extension-popup-mock {
    padding: 0.95rem;
  }

  .extension-popup-top {
    align-items: center;
  }

  .extension-popup-top h3 {
    font-size: 1.2rem;
  }

  .extension-status {
    padding: 0.28rem 0.58rem;
    font-size: 0.76rem;
  }

  .extension-phrase-card p {
    font-size: 1.22rem;
  }

  .demo-head,
  .trainer-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .demo-controls,
  .trainer-controls {
    flex-wrap: wrap;
  }

  .demo-overlay {
    padding: 1rem;
  }

  .demo-caption-original,
  .demo-caption-translation {
    font-size: clamp(1.05rem, 6vw, 1.45rem);
  }

  .trainer-card {
    padding: 1rem;
  }

  .trainer-quote {
    font-size: clamp(1.35rem, 8vw, 1.9rem);
  }

  .trainer-actions,
  .trainer-chip {
    width: 100%;
  }

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

  .form-field-wide {
    grid-column: auto;
  }

  .section {
    padding-top: 4rem;
  }

  .checkout-page {
    padding-top: 2rem;
  }

  .checkout-form,
  .order-card {
    padding: 1rem;
  }

  .pay-chip {
    padding: 0.62rem 0.78rem;
    font-size: 0.9rem;
  }

  .footer {
    padding: 3rem 1rem 1.6rem;
  }
}

@media (max-width: 520px) {
  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .topbar-actions {
    width: 100%;
  }

  .hero {
    padding-top: 1.35rem;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 17vw, 4rem);
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .browser-bar {
    padding: 0.75rem 0.85rem;
  }

  .video-preview {
    min-height: 330px;
  }

  .subtitle-line-3 {
    margin-bottom: 0.65rem;
  }

  .subtitle-translation {
    padding: 0.65rem 0.75rem;
  }

  .floating-panel {
    padding: 0.75rem;
    font-size: 0.88rem;
  }

  .feature-card,
  .compare-card,
  .price-card,
  .info-card,
  .trainer-card,
  .faq-item {
    padding: 1rem;
  }

  .feature-card h3,
  .compare-card h3 {
    font-size: 1.35rem;
  }

  .extension-popup-top,
  .extension-toggle-row,
  .extension-range,
  .extension-color-row,
  .order-row,
  .order-total {
    align-items: flex-start;
    flex-direction: column;
  }

  .extension-popup-top {
    gap: 0.7rem;
  }

  .extension-toggle-row,
  .extension-range,
  .extension-color-row {
    gap: 0.65rem;
  }

  .demo-screen {
    min-height: 330px;
  }

  .demo-control {
    width: 2.1rem;
    height: 2.1rem;
  }

  .lang-control {
    min-width: 2.55rem;
  }

  .trainer-answer input,
  .form-field input {
    padding: 0.82rem 0.9rem;
  }

  .price-value {
    font-size: clamp(2.65rem, 16vw, 3.6rem);
  }

  .checkout-benefits,
  .compare-card ul,
  .price-card ul {
    padding-left: 1rem;
  }
}
