:root {
  --bg: #020712;
  --bg-2: #061326;
  --panel: rgba(8, 18, 33, .78);
  --panel-strong: #0b1b31;
  --text: #f4f8ff;
  --muted: #b7c6d8;
  --line: rgba(130, 190, 255, .18);
  --cyan: #19e6ff;
  --blue: #0057d9;
  --blue-2: #00348f;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(0, 0, 0, .38);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1540px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 76% 6%, rgba(25, 230, 255, .09), transparent 34rem),
    radial-gradient(circle at 18% 16%, rgba(0, 54, 143, .22), transparent 30rem),
    linear-gradient(180deg, #01040a 0%, #020814 34%, #031022 72%, #020711 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.demo-bar {
  position: relative;
  z-index: 50;
  text-align: center;
  padding: 8px 14px;
  background: #02050b;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.portfolio-back-link {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(25, 230, 255, .34);
  border-radius: 999px;
  background: rgba(7, 16, 30, .92);
  color: var(--text);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .28);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.portfolio-back-link:hover {
  color: #02101a;
  background: linear-gradient(135deg, var(--cyan), #67f4ff);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  max-width: none;
  margin: 0;
  padding: 18px max(34px, calc((100vw - var(--max)) / 2 + 48px));
  border-bottom: 1px solid rgba(130, 190, 255, .12);
  background: rgba(1, 4, 10, .96);
  backdrop-filter: blur(14px);
}

.site-header.scrolled {
  background: rgba(1, 4, 10, .98);
  border-color: rgba(130, 190, 255, .18);
}

.brand {
  display: inline-grid;
  gap: 1px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .05em;
}

.brand > span { font-size: 20px; }
.brand > span span { color: var(--cyan); }
.brand small {
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: .42em;
  padding-left: 2px;
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  position: relative;
  color: #dbe8f7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .84;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: var(--cyan);
  transition: width .24s ease;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-cta,
.btn {
  border: 1px solid transparent;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.header-cta,
.btn.primary {
  background: linear-gradient(135deg, var(--blue), #19e6ff);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(25, 230, 255, .22);
}

.btn.secondary {
  background: rgba(255,255,255,.03);
  color: var(--white);
  border-color: var(--line);
}

.btn.ghost {
  background: transparent;
  color: var(--cyan);
  border-color: rgba(25, 230, 255, .34);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: 12px;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--white);
}

.section,
.hero,
.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
  max-width: none;
  min-height: 730px;
  margin-top: 0;
  padding: 76px max(34px, calc((100vw - var(--max)) / 2 + 48px)) 142px;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: #020711;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 26% 22%, rgba(25, 230, 255, .16), transparent 22rem),
    radial-gradient(ellipse at 38% 62%, rgba(0, 87, 217, .18), transparent 28rem),
    linear-gradient(100deg, rgba(1, 4, 10, .9) 0%, rgba(1, 4, 10, .76) 22%, rgba(1, 4, 10, .4) 42%, rgba(1, 4, 10, .04) 62%, transparent 100%),
    linear-gradient(180deg, rgba(1, 4, 10, .24) 0%, transparent 34%, rgba(1, 4, 10, .92) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 2;
  height: 220px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(1, 4, 10, .72) 58%, #020814 100%);
}

.hero-copy {
  position: relative;
  z-index: 4;
  max-width: 540px;
}

.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .32em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1,
.page-hero h1,
.section-title h2 {
  margin: 0;
  letter-spacing: -.055em;
  line-height: .94;
}

.hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(58px, 6.1vw, 96px);
  max-width: 560px;
  text-shadow: 0 14px 44px rgba(0, 0, 0, .42);
}

.hero h1 span,
.page-hero h1 span,
.section-title h2 span {
  color: var(--cyan);
}

.lead {
  color: #d4deea;
  font-size: 17px;
  line-height: 1.75;
  max-width: 570px;
  margin: 26px 0 0;
}

.demo-note {
  max-width: 650px;
  margin: 26px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--cyan);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #01040a;
  box-shadow: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: contain;
  object-position: center top;
  filter: brightness(1.18) contrast(1.06) saturate(1.05);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 4, 10, .1) 0%, rgba(1, 4, 10, .04) 34%, transparent 62%),
    linear-gradient(0deg, rgba(1, 4, 10, .36) 0%, rgba(1, 4, 10, .02) 36%, transparent 100%);
}

.hero-badge {
  display: none;
}

.hero-badge strong {
  display: block;
  font-size: 30px;
  margin-bottom: 4px;
}

.feature-strip {
  max-width: min(calc(var(--max) - 96px), calc(100% - 96px));
  margin: -118px auto 88px;
  padding: 0;
  position: relative;
  z-index: 7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(7, 16, 30, .96), rgba(2, 8, 20, .94));
  backdrop-filter: blur(18px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature {
  min-height: 132px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.feature:last-child { border-right: 0; }

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 13px;
  color: var(--cyan);
  background: rgba(0, 87, 217, .18);
  border: 1px solid rgba(25, 230, 255, .28);
  font-size: 20px;
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(25, 230, 255, .34));
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.section {
  padding-top: 40px;
  padding-bottom: 92px;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-title h2 {
  font-size: clamp(38px, 5vw, 72px);
}

.section-title p {
  max-width: 440px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

.link-arrow {
  color: var(--cyan);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.course-card,
.glass-card,
.plan-card,
.trainer-card,
.schedule-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(8, 18, 33, .72);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}

.course-card,
.trainer-card {
  transition: transform .26s ease, border-color .26s ease;
}

.course-card:hover,
.trainer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 230, 255, .48);
}

.course-card img {
  height: 208px;
  width: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.course-card:nth-child(1) img {
  object-position: center 56%;
}

.course-card:nth-child(2) img {
  object-position: center 52%;
}

.course-card:nth-child(3) img {
  object-position: center 48%;
}

.course-card:nth-child(4) img {
  object-position: center 42%;
}

.card-body {
  padding: 22px;
}

.meta {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 26px;
  align-items: stretch;
}

.glass-card {
  padding: 30px;
}

.glass-card h3 {
  margin: 0 0 16px;
  font-size: 30px;
}

.glass-card p,
.glass-card li {
  color: var(--muted);
  line-height: 1.75;
}

.media-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.035);
}

.stat strong {
  display: block;
  font-size: 36px;
  color: var(--white);
}

.stat span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-hero {
  padding-top: 74px;
  padding-bottom: 50px;
}

.page-hero h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(52px, 7vw, 96px);
  max-width: 900px;
}

.page-hero .lead {
  max-width: 760px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.schedule-table th,
.schedule-table td {
  padding: 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.schedule-table th {
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
}

.schedule-table td {
  color: #d8e6f4;
}

.schedule-table tr:last-child td { border-bottom: 0; }

.trainer-grid,
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.trainer-card img {
  height: 360px;
  width: 100%;
  object-fit: cover;
  object-position: center 26%;
  background: #061326;
}

.coach-card img {
  height: 390px;
}

.trainer-card:nth-child(1) img {
  object-position: center 18%;
}

.trainer-card:nth-child(2) img {
  object-position: center 16%;
}

.trainer-card:nth-child(3) img {
  object-position: center 48%;
}

.plan-card {
  padding: 30px;
  position: relative;
  transition: transform .26s ease, border-color .26s ease, background .26s ease;
}

.plan-card.highlight {
  border-color: var(--line);
  background: rgba(8, 18, 33, .72);
}

.plan-card:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 230, 255, .54);
  background: linear-gradient(180deg, rgba(0, 87, 217, .24), rgba(8, 18, 33, .82));
}

.plan-card .btn:hover {
  background: linear-gradient(135deg, var(--blue), #19e6ff);
  border-color: transparent;
  box-shadow: 0 14px 34px rgba(25, 230, 255, .24);
}

.plan-card h3 {
  font-size: 28px;
  margin: 0 0 12px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 10px 0 22px;
}

.price strong {
  font-size: 54px;
  letter-spacing: -.06em;
}

.price span {
  color: var(--muted);
}

.plan-card ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.plan-card li {
  color: #cfe0f2;
}

.plan-card li::before {
  content: "✓";
  color: var(--cyan);
  font-weight: 900;
  margin-right: 10px;
}

.payment-panel {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(7, 16, 30, .92), rgba(2, 8, 20, .88));
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 36px);
}

.payment-panel[hidden] {
  display: none;
}

.payment-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.payment-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -.045em;
}

.payment-head .eyebrow {
  margin-bottom: 10px;
}

.payment-head strong {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.payment-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.payment-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 0 16px;
  outline: none;
  font: inherit;
}

.payment-form input:focus {
  border-color: rgba(25, 230, 255, .64);
}

.contact-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 26px;
}

.policy-page {
  max-width: 980px;
}

.policy-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(7, 16, 30, .9), rgba(2, 8, 20, .86));
  box-shadow: var(--shadow);
  padding: clamp(26px, 4vw, 46px);
}

.policy-card h2 {
  margin: 30px 0 10px;
  font-size: 24px;
}

.policy-card h2:first-of-type {
  margin-top: 0;
}

.policy-card p {
  color: var(--muted);
  line-height: 1.75;
}

.policy-card a {
  color: var(--cyan);
  font-weight: 800;
}

.policy-card code {
  color: var(--white);
  border: 1px solid rgba(25, 230, 255, .2);
  border-radius: 8px;
  background: rgba(0, 87, 217, .12);
  padding: .12rem .38rem;
}

.legal-updated {
  color: var(--cyan) !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 28px;
}

.form {
  display: grid;
  gap: 16px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 0 16px;
  outline: none;
  font: inherit;
}

.form textarea {
  min-height: 148px;
  padding: 16px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: rgba(25, 230, 255, .64);
}

.form option {
  background: #061326;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: 360px;
  padding: 18px 20px;
  border: 1px solid rgba(25, 230, 255, .34);
  border-radius: 16px;
  background: rgba(7, 16, 30, .94);
  color: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.site-footer {
  max-width: var(--max);
  margin: 70px auto 0;
  padding: 54px 24px 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .75fr 1fr .75fr;
  gap: 40px;
}

.footer-grid h3 {
  margin: 0 0 18px;
}

.footer-grid p,
.footer-grid a {
  display: block;
  color: var(--muted);
  line-height: 1.75;
  margin: 0 0 8px;
}

.footer-brand { margin-bottom: 20px; }

.footer-bottom {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8fa2b7;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
    padding: 66px 46px 126px;
  }

  .hero-media { min-height: 100%; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .trainer-grid,
  .plan-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    max-width: calc(100% - 28px);
    max-width: none;
    padding: 16px 20px;
  }

  .header-cta { display: none; }

  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 86px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7, 16, 30, .96);
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }

  .hero {
    min-height: 650px;
    margin-top: 0;
    padding: 54px 28px 112px;
  }

  .hero-media img {
    object-position: center top;
  }

  .feature-strip {
    max-width: calc(100% - 28px);
    margin-top: -78px;
  }

  .feature-grid,
  .cards-grid,
  .stats,
  .input-row {
    grid-template-columns: 1fr;
  }

  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature:last-child { border-bottom: 0; }

  .section-title {
    display: block;
  }

  .section-title .link-arrow {
    display: inline-block;
    margin-top: 18px;
  }

  .schedule-table {
    display: block;
    overflow-x: auto;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .payment-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 620px;
    padding: 48px 20px 98px;
    border-radius: 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 48px;
  }

  .hero-media img {
    min-height: 100%;
    object-position: center top;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
