:root {
  --bg-main: #000000;
  --bg-panel: #131933;
  --text-main: #f2f5ff;
  --text-muted: #bcc4ea;
  --accent-aeronic: #c60000;
  --accent-reset: #3e5bd4;
  --accent-ntensick: #bf0000;
  --accent-trampoline: #5f7dff;
  --focus-ring: #ffe56a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 33, 139, 0.42) 0, transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(0, 18, 85, 0.38) 0, transparent 35%),
    var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
}

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

.hero,
.program-page,
.main-cta,
.content-section {
  width: min(1100px, calc(100% - 2rem));
  margin-inline: auto;
}

.hero {
  text-align: center;
  padding: 2.5rem 0 1.5rem;
}

.eyebrow {
  letter-spacing: 0.22rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.en-sub {
  color: var(--text-muted);
  font-size: 0.92em;
  display: none;
}

html[data-lang="en"] .en-sub {
  display: inline;
}

.lang-switch {
  display: inline-flex;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.lang-btn.is-active {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.hero-copy {
  max-width: 700px;
  margin: 1rem auto;
  color: var(--text-muted);
}

.hero-stats {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.stat-chip {
  background: rgba(19, 25, 51, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.chip-label {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.quadrant-grid {
  width: min(1100px, calc(100% - 2rem));
  margin: 1rem auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.zone-card {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)), var(--bg-panel);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 1.2rem;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.65rem;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.zone-card:hover,
.zone-card:focus-within,
.zone-card.is-active {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 14px 30px rgba(8, 10, 26, 0.5);
}

.zone-aeronic {
  border-color: color-mix(in srgb, var(--accent-aeronic) 68%, white 10%);
}

.zone-reset {
  border-color: color-mix(in srgb, var(--accent-reset) 45%, white 15%);
}

.zone-ntensick {
  border-color: color-mix(in srgb, var(--accent-ntensick) 68%, white 10%);
}

.zone-trampoline {
  border-color: color-mix(in srgb, var(--accent-trampoline) 45%, white 15%);
}

.zone-badge {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.12rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.zone-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.zone-logo {
  width: auto;
  max-width: 230px;
  max-height: 88px;
  object-fit: contain;
}

.zone-hook {
  margin: 0;
}

.zone-proof {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.zone-actions {
  margin-top: 0.4rem;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.button {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.55rem 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 120ms ease, background 180ms ease, border-color 180ms ease;
}

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

.button.primary {
  background: linear-gradient(135deg, var(--accent-aeronic), var(--accent-ntensick));
  border-color: transparent;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.02);
}

.button.cta {
  background: linear-gradient(135deg, #1ce783, #00b2ff);
  border: none;
  color: #041223;
}

.button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.main-cta {
  margin-top: 1.2rem;
  margin-bottom: 2.5rem;
  border-radius: 16px;
  background: rgba(19, 25, 51, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  padding: 1.3rem;
}

.main-cta h2 {
  margin: 0;
}

.main-cta p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.live-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  max-width: 320px;
  border-radius: 12px;
  background: rgba(8, 11, 25, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 1rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.live-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.program-page {
  padding: 2rem 0 0.8rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.back-link:hover {
  color: var(--text-main);
}

.program-page h1 {
  margin-bottom: 0.45rem;
}

.program-intro {
  max-width: 720px;
  color: var(--text-muted);
}

.program-logo {
  width: auto;
  max-width: 230px;
  max-height: 84px;
  object-fit: contain;
  display: block;
  margin-bottom: 0.7rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.8rem;
}

.detail-card {
  background: rgba(19, 25, 51, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 1rem;
}

.detail-card h3 {
  margin: 0 0 0.4rem;
}

.detail-card p {
  margin: 0;
  color: var(--text-muted);
}

.content-section {
  margin-bottom: 1rem;
  border-radius: 14px;
  background: rgba(19, 25, 51, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1rem;
}

.content-section h2 {
  margin-top: 0;
}

.history-section p,
.testimonial-item p {
  color: var(--text-muted);
}

.testimonial-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.75rem;
}

.testimonial-item {
  margin: 0;
  border-left: 3px solid rgba(255, 255, 255, 0.24);
  padding: 0.5rem 0.7rem;
  background: rgba(8, 11, 25, 0.4);
  border-radius: 10px;
}

.testimonial-item figcaption {
  margin-top: 0.35rem;
  font-size: 0.84rem;
  color: #d9deff;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.price-list li {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(8, 11, 25, 0.4);
}

.price {
  display: inline-block;
  margin-top: 0.3rem;
  font-weight: 700;
}

.online-classes-hero {
  margin-top: 1rem;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(19, 25, 51, 0.84);
  max-width: 760px;
}

.online-classes-hero h2 {
  margin: 0 0 0.4rem;
}

.online-classes-hero p {
  margin: 0 0 0.8rem;
}

.playlist-intro {
  margin-top: 0;
  color: var(--text-muted);
}

.playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.class-card {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 0.9rem;
  background: rgba(8, 11, 25, 0.42);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.class-thumb {
  border-radius: 10px;
  padding: 0.7rem;
  min-height: 80px;
  display: flex;
  align-items: flex-end;
  font-size: 0.78rem;
  letter-spacing: 0.11rem;
  font-weight: 700;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
}

.class-state {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  font-weight: 700;
}

.class-card h3 {
  margin: 0;
  font-size: 1.03rem;
}

.class-meta,
.class-desc {
  margin: 0;
  color: var(--text-muted);
}

.class-meta {
  font-size: 0.85rem;
}

.class-desc {
  font-size: 0.92rem;
}

.class-card .button {
  margin-top: auto;
  align-self: flex-start;
}

.class-card .button + .button {
  margin-top: 0.45rem;
}

.class-card.locked {
  position: relative;
  opacity: 0.96;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(8, 11, 25, 0.46));
}

.class-card.locked .class-thumb {
  filter: blur(1.2px) saturate(0.75);
}

.class-card.locked::before {
  content: "Paywall";
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.7rem;
  letter-spacing: 0.06rem;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.class-card.preview .class-state {
  color: #8cf3c9;
}

.class-card.locked .class-state {
  color: #ffd26f;
}

.upgrade-banner {
  margin-top: 0.9rem;
  border-radius: 14px;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 11, 25, 0.48);
}

.upgrade-banner h3 {
  margin: 0 0 0.35rem;
}

.upgrade-banner p {
  margin: 0 0 0.8rem;
  color: var(--text-muted);
}

.workout-modal[hidden] {
  display: none;
}

.workout-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.workout-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 18, 0.64);
}

.workout-modal__panel {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #101834;
  padding: 1rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.workout-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.workout-modal__eyebrow {
  margin: 0 0 0.4rem;
  letter-spacing: 0.08rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.workout-modal__panel h3 {
  margin: 0;
  padding-right: 2.5rem;
}

.workout-modal__meta {
  margin: 0.4rem 0 0.9rem;
  color: var(--text-muted);
}

.workout-modal__blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.workout-block {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
}

.workout-block h4 {
  margin: 0 0 0.45rem;
  font-size: 0.96rem;
}

.workout-block ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
}

.workout-block li {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.workout-block--red h4 {
  color: #ff8f8f;
}

.workout-block--blue h4 {
  color: #9ec3ff;
}

.workout-block--yellow h4 {
  color: #ffe09a;
}

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.video-main {
  display: grid;
  gap: 0.85rem;
}

.video-player-shell {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 11, 25, 0.48);
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
}

.video-player-placeholder {
  max-width: 420px;
}

.video-kicker {
  margin: 0 0 0.35rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.video-time {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
}

.video-note {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
}

.video-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.video-description {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 11, 25, 0.36);
  padding: 0.85rem;
}

.video-description h2 {
  margin: 0 0 0.35rem;
}

.video-description p {
  margin: 0;
  color: var(--text-muted);
}

.video-sidebar {
  display: grid;
  gap: 0.75rem;
}

.mini-card {
  margin: 0;
}

.mini-card h3 {
  margin: 0 0 0.45rem;
}

.mini-card ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.3rem;
}

.mini-card li {
  color: var(--text-muted);
}

body.reset-page {
  background: #ffffff;
  color: #c60000;
}

body.reset-page .en-sub,
body.reset-page .program-intro,
body.reset-page .history-section p,
body.reset-page .testimonial-item p,
body.reset-page .testimonial-item figcaption,
body.reset-page .back-link {
  color: #c60000;
}

body.reset-page .back-link:hover {
  color: #a70000;
}

body.reset-page .lang-btn {
  border-color: rgba(198, 0, 0, 0.45);
  background: #ffffff;
  color: #c60000;
}

body.reset-page .lang-btn.is-active {
  background: #c60000;
  color: #ffffff;
  border-color: #c60000;
}

body.reset-page .content-section,
body.reset-page .detail-card,
body.reset-page .testimonial-item,
body.reset-page .price-list li,
body.reset-page .main-cta {
  background: #ffffff;
  border-color: rgba(198, 0, 0, 0.35);
  color: #c60000;
}

body.reset-page .button {
  border-color: #c60000;
  background: #ffffff;
  color: #c60000;
}

body.reset-page .button.cta,
body.reset-page .button.primary {
  background: #c60000;
  border-color: #c60000;
  color: #ffffff;
}

body.reset-page .online-classes-hero,
body.reset-page .class-card,
body.reset-page .upgrade-banner {
  background: #ffffff;
  border-color: rgba(198, 0, 0, 0.35);
  color: #c60000;
}

body.reset-page .playlist-intro,
body.reset-page .class-meta,
body.reset-page .class-desc {
  color: #c60000;
}

body.reset-page .class-thumb {
  background: linear-gradient(145deg, rgba(198, 0, 0, 0.2), rgba(198, 0, 0, 0.06));
}

body.reset-page .class-card.locked {
  background: linear-gradient(150deg, rgba(198, 0, 0, 0.12), rgba(255, 255, 255, 0.98));
}

body.reset-page .class-card.locked::before {
  border-color: rgba(198, 0, 0, 0.45);
  color: #c60000;
  background: rgba(255, 255, 255, 0.92);
}

body.reset-page .class-card.preview .class-state {
  color: #0e8d4f;
}

body.reset-page .class-card.locked .class-state {
  color: #c60000;
}

body.reset-page .workout-modal__panel {
  background: #ffffff;
  border-color: rgba(198, 0, 0, 0.35);
  color: #c60000;
}

body.reset-page .workout-modal__close {
  border-color: rgba(198, 0, 0, 0.35);
}

body.reset-page .workout-modal__meta,
body.reset-page .workout-modal__eyebrow,
body.reset-page .workout-block li {
  color: #c60000;
}

body.reset-page .workout-block {
  border-color: rgba(198, 0, 0, 0.35);
  background: rgba(198, 0, 0, 0.05);
}

body.reset-page .video-player-shell,
body.reset-page .video-description {
  border-color: rgba(198, 0, 0, 0.35);
  background: #ffffff;
}

body.reset-page .video-kicker,
body.reset-page .video-note,
body.reset-page .video-description p,
body.reset-page .mini-card li {
  color: #c60000;
}

body.aeronic-page {
  background:
    radial-gradient(circle at 14% 6%, rgba(0, 33, 139, 0.2) 0, transparent 40%),
    radial-gradient(circle at 78% 2%, rgba(27, 126, 180, 0.2) 0, transparent 46%),
    radial-gradient(circle at 45% 100%, rgba(57, 179, 151, 0.16) 0, transparent 52%),
    linear-gradient(165deg, #eef4ff 0%, #e8f5ff 54%, #edf8f6 100%);
  color: #00218b;
}

body.aeronic-page .en-sub,
body.aeronic-page .program-intro,
body.aeronic-page .history-section p,
body.aeronic-page .testimonial-item p,
body.aeronic-page .back-link {
  color: #00218b;
}

body.aeronic-page .back-link:hover {
  color: #00155c;
}

body.aeronic-page .lang-btn {
  border-color: rgba(0, 33, 139, 0.35);
  background: #ffffff;
  color: #00218b;
}

body.aeronic-page .lang-btn.is-active {
  background: #00218b;
  color: #ffffff;
  border-color: #00218b;
}

body.aeronic-page .content-section,
body.aeronic-page .detail-card,
body.aeronic-page .testimonial-item,
body.aeronic-page .price-list li,
body.aeronic-page .main-cta {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(234, 247, 255, 0.94));
  border-color: rgba(0, 33, 139, 0.22);
  color: #00218b;
}

body.aeronic-page .content-section h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 0.35rem;
  background: linear-gradient(90deg, #00218b, #1b7eb4, #39b397);
  border-radius: 999px;
}

body.aeronic-page .button {
  border-color: #00218b;
  background: #ffffff;
  color: #00218b;
}

body.aeronic-page .button.cta,
body.aeronic-page .button.primary {
  background: linear-gradient(135deg, #00218b, #1b7eb4);
  border-color: #0f3f9e;
  color: #ffffff;
}

body.ntensick-page {
  background:
    radial-gradient(circle at 16% 8%, rgba(198, 0, 0, 0.36) 0, transparent 40%),
    radial-gradient(circle at 82% 0%, rgba(120, 0, 0, 0.28) 0, transparent 44%),
    #050505;
}

.program-page-ntensick {
  padding-top: 2.2rem;
}

.ntensick-hero {
  border: 1px solid rgba(198, 0, 0, 0.72);
  border-radius: 18px;
  padding: 1.4rem;
  background: linear-gradient(150deg, rgba(198, 0, 0, 0.15), rgba(5, 5, 5, 0.95));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6);
}

.ntensick-kicker {
  margin: 0 0 0.35rem;
  letter-spacing: 0.17rem;
  font-size: 0.74rem;
  color: #ff8f8f;
}

.ntensick-hero-logo {
  max-width: min(560px, 100%);
  max-height: 170px;
  margin: 0.55rem 0 0.9rem;
  filter: drop-shadow(0 0 18px rgba(198, 0, 0, 0.35));
}

.ntensick-hero .program-intro,
.ntensick-hero-note {
  max-width: 760px;
}

.ntensick-hero-copy {
  color: #f4dcdc;
  margin-bottom: 0.45rem;
}

.ntensick-hero-note {
  margin: 0;
  font-weight: 600;
  color: #ffffff;
}

.program-page-ntensick ~ .content-section {
  border: 1px solid rgba(198, 0, 0, 0.46);
  background: linear-gradient(160deg, rgba(198, 0, 0, 0.12), rgba(8, 8, 8, 0.94));
}

.program-page-ntensick ~ .content-section h2 {
  position: relative;
  padding-bottom: 0.4rem;
  margin-bottom: 0.95rem;
}

.program-page-ntensick ~ .content-section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 72px;
  height: 3px;
  background: #c60000;
  border-radius: 999px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.offer-card {
  border: 1px solid rgba(198, 0, 0, 0.45);
  background: rgba(12, 12, 12, 0.75);
  border-radius: 14px;
  padding: 0.95rem;
}

.offer-card h3 {
  margin: 0 0 0.5rem;
}

.offer-card p {
  margin: 0 0 0.45rem;
  color: #e7d7d7;
}

.offer-price,
.offer-highlight {
  color: #ffffff;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.gallery-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(198, 0, 0, 0.55);
  background: #0a0a0a;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 0.6rem 0.7rem;
  font-size: 0.88rem;
  color: #f8e9e9;
  border-top: 1px solid rgba(198, 0, 0, 0.36);
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.42);
}

@media (max-width: 860px) {
  .quadrant-grid {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .offer-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .workout-modal__blocks {
    grid-template-columns: 1fr;
  }

  .video-layout {
    grid-template-columns: 1fr;
  }

  .ntensick-hero-logo {
    max-height: 130px;
  }

  .gallery-item img {
    height: 220px;
  }
}
