﻿:root {
  --bg: #eef2ff;
  --surface: #ffffff;
  --surface-alt: #f5f8ff;
  --text: #0f1835;
  --muted: #4f5c7d;
  --primary: #1f4de3;
  --primary-dark: #1738ad;
  --accent: #11b2a8;
  --line: #d7e0f7;
  --line-strong: #c4d0f0;
  --shadow-sm: 0 10px 24px rgba(15, 30, 76, 0.09);
  --shadow-md: 0 20px 46px rgba(15, 30, 76, 0.14);
  --radius-lg: 22px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 10%, rgba(17, 178, 168, 0.2), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(31, 77, 227, 0.22), transparent 30%),
    radial-gradient(circle at 64% 95%, rgba(31, 77, 227, 0.14), transparent 36%);
}

.page-bg::before,
.page-bg::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.35;
  animation: floatBlob 11s ease-in-out infinite;
}

.page-bg::before {
  width: 280px;
  height: 280px;
  left: -70px;
  top: 120px;
  background: rgba(17, 178, 168, 0.28);
}

.page-bg::after {
  width: 330px;
  height: 330px;
  right: -80px;
  top: 220px;
  background: rgba(31, 77, 227, 0.24);
  animation-delay: 2.5s;
}

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(238, 242, 255, 0.84);
  border-bottom: 1px solid rgba(199, 211, 244, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  background: linear-gradient(145deg, var(--primary), #2f7ff5);
  box-shadow: 0 10px 20px rgba(31, 77, 227, 0.34);
}

.brand-text {
  font-size: 1.08rem;
  font-weight: 700;
}

.hero {
  padding: 64px 0 44px;
}

.hero-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
}

.hero-content {
  position: relative;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #e5ecff;
  color: #233471;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.1rem, 3.55vw, 3.45rem);
  margin-bottom: 14px;
}

.hero-copy {
  max-width: 63ch;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 10px;
}

.hero-points li {
  position: relative;
  padding-left: 28px;
  font-weight: 500;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #7df0e8, var(--accent));
  box-shadow: 0 0 0 3px rgba(17, 178, 168, 0.2);
}

.email-form {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  max-width: 710px;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

input[type="email"] {
  width: 100%;
  border: 1px solid #c7d3f3;
  border-radius: 11px;
  font: inherit;
  padding: 0.84rem 0.9rem;
  outline: none;
  transition: border-color 0.24s ease, box-shadow 0.24s ease;
}

input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(31, 77, 227, 0.14);
}

.consent-row {
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.87rem;
  color: var(--muted);
}

.consent-row input {
  margin-top: 2px;
}

.form-note {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.btn:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.form-message {
  min-height: 1.3em;
  margin-top: 7px;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-message.ok {
  color: #087f63;
}

.form-message.err {
  color: #b4252f;
}

.btn {
  appearance: none;
  border: 0;
  border-radius: 11px;
  padding: 0.79rem 1.06rem;
  text-decoration: none;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(138deg, var(--primary), #2f7ff5);
  color: #fff;
  box-shadow: 0 12px 24px rgba(31, 77, 227, 0.29);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(138deg, var(--primary-dark), #215fdb);
  box-shadow: 0 16px 28px rgba(31, 77, 227, 0.34);
}

.btn-outline {
  border: 1px solid #bccaf0;
  color: #203565;
  background: rgba(255, 255, 255, 0.74);
}

.btn-outline:hover {
  border-color: #95ace9;
  background: #fff;
  transform: translateY(-1px);
}

.hero-card {
  position: relative;
  isolation: isolate;
  background: linear-gradient(160deg, #1f3d91, #12275f 70%);
  color: #eaf0ff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 999px;
  right: -56px;
  top: -78px;
  background: radial-gradient(circle, rgba(112, 152, 255, 0.45), transparent 70%);
  z-index: -1;
}

.hero-card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.hero-card > p {
  color: #cfdbff;
  margin-bottom: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stats-grid article {
  border: 1px solid rgba(191, 206, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.stats-grid article:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 235, 255, 0.55);
}

.stats-grid h3 {
  font-size: 0.93rem;
  margin-bottom: 6px;
}

.stats-grid p {
  font-size: 0.84rem;
  color: #dae3ff;
}

.section {
  padding: 38px 0;
}

.section-title {
  font-size: clamp(1.45rem, 2.5vw, 2.03rem);
  margin-bottom: 20px;
}

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

.video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  align-items: start;
  gap: 24px;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 249, 255, 0.9));
  box-shadow: var(--shadow-sm);
}

.video-copy {
  max-width: 58ch;
  padding-top: 4px;
}

.video-copy .section-title {
  margin-bottom: 10px;
}

.video-lead {
  color: var(--muted);
  margin-bottom: 15px;
}

.video-frame-wrap {
  position: relative;
  justify-self: end;
  width: min(350px, 100%);
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  overflow: hidden;
  background: #09102a;
  box-shadow: var(--shadow-md);
}

.video-preview {
  display: block;
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.video-preview:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 46px rgba(7, 17, 49, 0.34);
}

.video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78);
}

.video-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 15, 42, 0.1), rgba(7, 15, 42, 0.6));
}

.video-preview span {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(9, 16, 39, 0.8);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.92rem;
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.card-grid,
.permissions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.permissions-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: linear-gradient(180deg, #ffffff, #fafdff);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: 0 8px 20px rgba(15, 31, 77, 0.05);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #b8c8f0;
  box-shadow: 0 14px 25px rgba(15, 31, 77, 0.1);
}

.card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.section-soft {
  background: linear-gradient(180deg, rgba(217, 227, 254, 0.46), rgba(217, 227, 254, 0));
}

.steps {
  margin: 0;
  padding-left: 1.3rem;
  display: grid;
  gap: 10px;
  color: #24304e;
  font-weight: 550;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(234, 241, 255, 0.78);
  margin-top: 34px;
}

.footer-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.68s cubic-bezier(0.2, 0.62, 0.2, 1), transform 0.68s cubic-bezier(0.2, 0.62, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

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

@media (max-width: 980px) {
  .hero {
    padding-top: 48px;
  }

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

  .video-layout {
    padding: 20px;
  }

  .video-frame-wrap {
    justify-self: start;
  }

  .permissions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .header-inner {
    min-height: 62px;
  }

  .hero {
    padding-top: 36px;
  }

  .card-grid,
  .permissions-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .video-layout {
    gap: 16px;
  }

  .video-frame-wrap {
    width: min(320px, 100%);
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 12px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}