:root {
  --bg: #0b0b0b;
  --lime: #c6ff00;
  --lime-hover: #d4ff25;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --card: #161616;
  --radius-pill: 999px;
  --radius-lg: 24px;
  --container: 1280px;
  --header-h: 88px;
  --font: "Inter", system-ui, sans-serif;
  --heading: 60px;
  --body: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.55;
  color: var(--white);
  background: var(--bg);
  overflow-x: hidden;
}

body.is-loaded .splash {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.heading-xl {
  font-size: var(--heading);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.heading-xl--center {
  text-align: center;
}

.heading-xl--dark {
  color: #0b0b0b;
}

.heading-md {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 12px;
}

.text-body {
  font-size: var(--body);
  color: var(--muted);
  margin: 0 0 24px;
}

.text-body--dark {
  color: #1a1a1a;
}

.text-body--on-dark {
  color: rgba(255, 255, 255, 0.85);
}

.text-body--center {
  text-align: center;
}

.btn {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  transition: transform 0.2s ease, filter 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: scale(1.04);
  filter: brightness(1.06);
}

.btn--primary {
  background: var(--lime);
  color: #0b0b0b;
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn--dark {
  background: #2a2a2a;
  color: var(--white);
}

.btn--small {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.section {
  padding: 100px 0;
}

.section--lime {
  background: var(--lime);
  color: #0b0b0b;
}

/* Splash */
.splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash__logo {
  font-size: 72px;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -0.04em;
}

.splash__text {
  text-align: center;
  margin: 8px 0 24px;
  font-size: var(--body);
  color: var(--muted);
}

.splash__bar {
  width: 200px;
  height: 4px;
  background: #222;
  border-radius: 4px;
  overflow: hidden;
  margin-inline: auto;
}

.splash__bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--lime);
  animation: splashLoad 1.4s ease forwards;
}

@keyframes splashLoad {
  to {
    width: 100%;
  }
}

/* Header / Nav */
.header {
  position: relative;
  min-height: 100vh;
}

.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 14px 28px;
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  width: min(100% - 48px, var(--container));
  max-width: var(--container);
  box-sizing: border-box;
}

.nav__logo {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 20px;
  color: var(--lime);
}

.nav__links {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 12px 20px;
  margin: 0;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  list-style: none;
}

.nav__links a {
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--lime);
  opacity: 1;
}

.nav__cta {
  flex-shrink: 0;
  padding: 10px 22px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../images/hero-bg.jpg") center right / cover no-repeat;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 11, 11, 0.92) 0%, rgba(11, 11, 11, 0.55) 45%, rgba(11, 11, 11, 0.35) 100%);
  z-index: 1;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  padding-block: 80px 60px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 16px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-pill);
  font-size: 14px;
  margin-bottom: 20px;
}

.hero__lead {
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__quote {
  max-width: 380px;
  margin-left: auto;
  margin-bottom: 20px;
}

.hero__coaches {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.hero__coaches li + li {
  margin-left: -12px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #333, #111);
  border: 2px solid var(--bg);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.price-card {
  max-width: 360px;
  margin-left: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  animation: floatCard 4s ease-in-out infinite;
}

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

.price-card__head {
  background: var(--lime);
  color: #0b0b0b;
  font-weight: 700;
  padding: 14px 20px;
  font-size: 16px;
}

.price-card__body {
  background: rgba(22, 22, 22, 0.92);
  padding: 24px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
}

.price-card__price span {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
}

.price-card__list {
  margin-top: 16px;
}

.price-card__list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 16px;
}

.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
}

/* Stats */
.stats__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.stats__numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat strong {
  display: block;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: #0b0b0b;
}

.stat span {
  font-size: var(--body);
  color: #1a1a1a;
}

/* Schedule */
.schedule {
  background: var(--bg);
}

.date-picker {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 40px 0 32px;
  flex-wrap: wrap;
}

.date-picker__day {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid #333;
  background: #141414;
  color: var(--white);
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.date-picker__day.is-active,
.date-picker__day:hover {
  background: var(--lime);
  color: #0b0b0b;
  transform: translateY(-2px);
}

.schedule-list {
  max-width: 900px;
  margin-inline: auto;
}

.schedule-list li {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: #141414;
  border-radius: 16px;
  margin-bottom: 12px;
  border: 1px solid #222;
}

.schedule-list time {
  font-weight: 700;
  color: var(--lime);
}

/* Dev system */
.dev-system__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.dev-card {
  background: #0b0b0b;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 24px;
}

.dev-diagram {
  --orbit-duration: 24s;
  --orbit-radius: 165px;
  position: relative;
  width: 440px;
  height: 440px;
  margin-inline: auto;
}

.dev-diagram__core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #0b0b0b;
  color: var(--lime);
  font-weight: 800;
  font-size: 28px;
  display: grid;
  place-items: center;
  z-index: 3;
  box-shadow: 0 12px 40px rgba(11, 11, 11, 0.35);
  animation: pulseCore 2.5s ease-in-out infinite;
}

@keyframes pulseCore {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(11, 11, 11, 0.4);
  }
  50% {
    box-shadow: 0 0 0 16px rgba(11, 11, 11, 0);
  }
}

.dev-diagram__orbit {
  position: absolute;
  inset: 0;
  animation: devOrbitSpin var(--orbit-duration) linear infinite;
}

.dev-diagram__item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--orbit-angle)) translateY(calc(-1 * var(--orbit-radius)));
}

.dev-diagram__item-inner {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: max-content;
  text-align: center;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--orbit-angle)));
  animation: devOrbitCounter var(--orbit-duration) linear infinite;
}

.dev-diagram__label {
  font-weight: 700;
  font-size: 16px;
  color: #0b0b0b;
  white-space: nowrap;
}

.dev-diagram__thumb {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #0b0b0b;
  box-shadow: var(--shadow);
  background: #0b0b0b;
}

.dev-diagram__thumb img {
  width: 112px;
  height: 112px;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

@keyframes devOrbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes devOrbitCounter {
  from {
    transform: translate(-50%, -50%) rotate(calc(-1 * var(--orbit-angle)));
  }
  to {
    transform: translate(-50%, -50%) rotate(calc(-360deg - var(--orbit-angle)));
  }
}

.dev-diagram:hover .dev-diagram__orbit,
.dev-diagram:hover .dev-diagram__item-inner {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .dev-diagram__orbit,
  .dev-diagram__item-inner {
    animation: none;
  }

  .dev-diagram__item {
    transform: rotate(var(--orbit-angle)) translateY(calc(-1 * var(--orbit-radius)));
  }

  .dev-diagram__item-inner {
    transform: translate(-50%, -50%) rotate(calc(-1 * var(--orbit-angle)));
  }
}

/* Features */
.features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.features__media img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
  max-height: 420px;
}

.features__mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.features__mini-stats strong {
  display: block;
  color: var(--lime);
  font-size: 32px;
}

/* Courses */
.cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.course-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid #222;
  transition: transform 0.25s ease, border-color 0.25s;
}

.course-card:hover {
  transform: translateY(-6px);
  border-color: rgba(198, 255, 0, 0.35);
}

.course-card__img {
  border-radius: 16px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 16px;
}

.course-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-weight: 700;
  color: var(--lime);
}

/* Reviews */
.reviews-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.review-card {
  background: #0b0b0b;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 0;
}

.review-card__quote {
  font-size: 48px;
  line-height: 1;
  color: var(--lime);
  display: block;
  margin-bottom: 8px;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #222;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.review-card cite {
  font-style: normal;
  font-weight: 700;
  display: block;
}

.review-card footer span {
  font-size: 14px;
  color: var(--muted);
}

/* Pricing */
.pricing-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}

.pricing-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid #2a2a2a;
  position: relative;
}

.pricing-card--featured {
  background: var(--white);
  color: #0b0b0b;
  transform: scale(1.04);
  box-shadow: var(--shadow);
}

.pricing-card--pro {
  background: var(--lime);
  color: #0b0b0b;
}

.pricing-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--lime);
  color: #0b0b0b;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.pricing-card__price {
  font-size: 44px;
  font-weight: 800;
  margin: 16px 0 24px;
}

.pricing-card ul {
  margin-bottom: 28px;
}

.pricing-card li {
  margin-bottom: 8px;
  padding-left: 18px;
  position: relative;
}

.pricing-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--lime);
}

.pricing-card--featured li::before,
.pricing-card--pro li::before {
  color: #0b0b0b;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 48px;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid #222;
}

.contact__photo {
  border-radius: 16px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 480px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px;
}

.contact-form label span {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea,
.contact-form select,
#apply-form input,
#apply-form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #333;
  background: #0b0b0b;
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus,
#apply-form input:focus,
#apply-form select:focus {
  outline: 2px solid var(--lime);
  border-color: transparent;
}

.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
  border-color: #e74c3c;
}

.form-status {
  font-size: 14px;
  min-height: 1.2em;
  margin: 0;
}

.form-status.is-success {
  color: var(--lime);
}

.form-status.is-error {
  color: #ff6b6b;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* App promo */
.app-promo {
  position: relative;
  padding-bottom: 120px;
  overflow: hidden;
}

.app-promo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: min(900px, 90vw);
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(198, 255, 0, 0.14) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.app-promo__inner {
  position: relative;
  z-index: 1;
}

.app-promo__lead {
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 48px;
}

.app-promo__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin-inline: auto;
}

.app-promo__phones-img {
  width: 100%;
  max-width: 640px;
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.55));
  animation: phoneFloat 5s ease-in-out infinite;
}

.app-promo__contact {
  background: rgba(26, 26, 29, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.app-promo__contact-label {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.app-promo__contact-row {
  margin: 0 0 16px;
  font-size: var(--body);
  line-height: 1.5;
}

.app-promo__contact-row:last-child {
  margin-bottom: 0;
}

.app-promo__contact-key {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.app-promo__contact-row a {
  color: var(--white);
  font-weight: 500;
  transition: color 0.2s ease;
}

.app-promo__contact-row a:hover {
  color: var(--lime);
}

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

/* Footer */
.footer {
  border-top: 1px solid #222;
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.footer__social {
  display: flex;
  gap: 20px;
}

.footer__social a:hover {
  color: var(--lime);
}

/* Modal */
.modal {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 480px;
  width: calc(100% - 32px);
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.modal__box {
  background: var(--card);
  border: 1px solid #333;
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

.modal__box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal--delay {
  transition-delay: 0.15s;
}

@media (max-width: 1100px) {
  .hero__grid,
  .stats__grid,
  .dev-system__grid,
  .features__grid,
  .contact__grid,
  .app-promo__grid,
  .cards-row,
  .reviews-row,
  .pricing-row {
    grid-template-columns: 1fr;
  }

  .nav__links {
    display: none;
  }

  .heading-xl {
    font-size: 42px;
  }

  .pricing-card--featured {
    transform: none;
  }
}
