:root {
  --bg: #090f1b;
  --surface: #111a2c;
  --surface-2: #17243d;
  --line: #2b3f60;
  --ink: #f4f7ff;
  --muted: #a9b7d2;
  --gold: #c7a75c;
  --gold-2: #b08f43;
  --ok: #5bd2a1;
  --shadow-card: 0 10px 36px rgba(3, 10, 20, 0.5);
  --shadow-gold: 0 8px 28px rgba(199, 167, 92, 0.32);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at 20% 8%, rgba(199, 167, 92, 0.16) 0%, transparent 30%),
    radial-gradient(circle at 85% 95%, rgba(58, 120, 215, 0.14) 0%, transparent 32%),
    var(--bg);
  color: var(--ink);
}

.page {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 26px 0 56px;
}

.brand-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #d8e1f5;
  border: 1px solid rgba(199, 167, 92, 0.35);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(16, 24, 41, 0.7);
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(199, 167, 92, 0.9);
}

.hero {
  text-align: center;
  margin: 16px 0 20px;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(199, 167, 92, 0.45);
  color: #e7d3a4;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(20, 31, 53, 0.65);
}

.headline {
  margin: 0;
  font-size: clamp(1.9rem, 4.3vw, 3.15rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.subheadline {
  margin: 12px auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
}

.video-section {
  background: linear-gradient(180deg, rgba(19, 30, 51, 0.94), rgba(16, 25, 43, 0.98));
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  padding: 16px 16px 22px;
}

.video-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #2a3e62;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-play-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  border: 0;
  border-radius: 50%;
  background: rgba(199, 167, 92, 0.92);
  color: #111928;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-play-trigger:hover {
  transform: translate(-50%, -50%) scale(1.03);
}

.video-play-trigger:active {
  transform: translate(-50%, -50%) scale(0.99);
}

#youtube-player {
  position: relative;
  z-index: 1;
}

#youtube-player,
#youtube-player iframe {
  width: 100%;
  height: 100%;
}

#youtube-player iframe {
  pointer-events: none;
}

.progress-wrap {
  margin-top: 16px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.progress-header span {
  color: var(--muted);
}

.progress-header strong {
  color: var(--ok);
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d6bb78 0%, #c7a75c 42%, #b08f43 100%);
  transition: width 0.3s ease-out;
}

.hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: #90a1c2;
}

.cta-button {
  margin-top: 20px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 15px 18px;
  color: #0f1522;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #d7bc7d 0%, #c7a75c 50%, #b39044 100%);
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 34px rgba(199, 167, 92, 0.42);
}

.cta-button:active {
  transform: translateY(0);
}

.is-hidden {
  display: none !important;
}

.testimonials {
  margin-top: 30px;
}

.testimonials h2 {
  margin: 0 0 12px;
  text-align: center;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 700;
}

.testimonials-slider-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}

.slider-nav {
  width: 42px;
  height: 42px;
  border: 1px solid #3b5177;
  border-radius: 50%;
  background: #152440;
  color: #e6edf9;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.slider-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.testimonials-viewport {
  overflow: hidden;
}

.testimonials-track {
  --slides-per-view: 3;
  display: flex;
  transition: transform 0.35s ease;
}

.testimonial-slide {
  flex: 0 0 calc(100% / var(--slides-per-view));
  padding: 0 6px;
}

.testimonial-card {
  height: 100%;
  border: 1px solid #31496e;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #182742, #122035);
}

.testimonial-media {
  width: 100%;
  height: 145px;
  overflow: hidden;
}

.testimonial-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  margin: 0;
  padding: 10px 11px 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #d0dcf1;
}

.slider-dots {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #3f5478;
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--gold);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  place-items: center;
  padding: 16px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 7, 14, 0.66);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(500px, 95vw);
  border-radius: 18px;
  border: 1px solid #36507b;
  background: linear-gradient(180deg, #15243f, #101b30);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.modal-close {
  position: absolute;
  top: 5px;
  right: 8px;
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  color: #b9c8e4;
  cursor: pointer;
  font-size: 26px;
}

.modal-dialog h3 {
  margin: 0 0 14px;
  font-size: 1.3rem;
}

.lead-form {
  display: grid;
  gap: 11px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #c9d7f1;
}

.lead-form input {
  border: 1px solid #35507d;
  border-radius: 11px;
  padding: 12px;
  color: #eef4ff;
  background: #0d1729;
  font: inherit;
}

.lead-form input:focus {
  outline: 2px solid rgba(199, 167, 92, 0.42);
  border-color: var(--gold);
}

.lead-form button {
  margin-top: 2px;
  border: 0;
  border-radius: 999px;
  padding: 13px 14px;
  background: linear-gradient(135deg, #d6bb78, #c7a75c, #b39044);
  color: #101521;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.lead-form button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form-status {
  min-height: 20px;
  margin: 11px 0 0;
  font-size: 13px;
  color: #c5d6ef;
}

.form-status.error {
  color: #ff8f8f;
}

.form-status.success {
  color: #83dfbb;
}

@media (max-width: 960px) {
  .testimonials-track {
    --slides-per-view: 2;
  }
}

@media (max-width: 640px) {
  .page {
    padding-top: 18px;
  }

  .video-section {
    padding: 10px 10px 16px;
  }

  .testimonials-slider-shell {
    grid-template-columns: 1fr;
  }

  .video-play-trigger {
    width: 74px;
    height: 74px;
    font-size: 16px;
  }

  .slider-nav {
    display: none;
  }

  .testimonials-track {
    --slides-per-view: 1;
  }
}
