:root {
  --navy: #071250;
  --navy-light: #0c1230;
  --navy-card: #111936;
  --orange: #f45c1c;
  --orange-hover: #cc5625;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --border: rgba(255, 255, 255, 0.14);
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--white);
  background: var(--navy);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.page-bg-video {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.page-bg-video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(at center center, rgba(7, 18, 80, 0.58) 0%, var(--navy) 80%);
  pointer-events: none;
}

.page-bg-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.78vh;
  height: 56.25vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  padding: 1.25rem 0 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: grid;
  grid-template-columns: repeat(2, 10px);
  gap: 3px;
}

.logo-mark span {
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 2px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  padding: 0.5rem 0 2rem;
  min-height: calc(100vh - 72px);
  justify-content: center;
}

.hero-intro {
  max-width: 760px;
}

.hero-intro h1 {
  margin: 0 0 0.75rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-intro p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.lead-form {
  background: rgba(12, 18, 48, 0.72);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.lead-form h2 {
  margin: 0 0 0.35rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
}

.lead-form .form-note {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.field {
  margin-bottom: 0.9rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.field input:focus {
  outline: none;
  border-color: rgba(249, 115, 22, 0.65);
  background: rgba(255, 255, 255, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.95rem 1.25rem;
  border: none;
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.28);
}

.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-legal {
  margin: 0.85rem 0 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  line-height: 1.45;
}

.video-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: var(--radius);
  background: #eef2f7;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: none;
  background: rgba(5, 8, 24, 0.12);
  cursor: pointer;
  transition: background 0.2s;
}

.video-play:hover {
  background: rgba(5, 8, 24, 0.22);
}

.video-play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--orange);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 40px rgba(249, 115, 22, 0.45);
}

.video-play-icon svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
  fill: white;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.thanks-card {
  width: min(520px, 100%);
  text-align: center;
  background: rgba(12, 18, 48, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}

.thanks-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
}

.thanks-card h1 {
  margin: 0 0 0.75rem;
  font-family: "Montserrat", sans-serif;
  font-size: 1.75rem;
}

.thanks-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.thanks-actions {
  display: grid;
  gap: 0.75rem;
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
  text-decoration: none;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 0.5rem;
  }

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

  .video-panel {
    order: -1;
  }
}

@media (max-width: 767px) {
  .page-bg-video {
    display: none;
  }
}
