/* ==========================================================================
   Design tokens — extracted from Aqtos (aqtos.com)
   ========================================================================== */
:root {
  /* Teal / aqua palette */
  --teal-900: #0f2233;
  --teal-800: #1d3b50;
  --teal-700: #1f3b50;
  --teal-600: #2d4a56;
  --teal-500: #146a72;   /* primary */
  --teal-400: #3a5a68;
  --teal-300: #5a7080;
  --teal-200: #54c5d0;   /* light cyan accent */
  --teal-100: #ade3e8;   /* pale aqua wash */

  --bg:        #f5f9fa;
  --white:     #ffffff;
  --ink:       #1f3b50;
  --ink-soft:  #5a7080;

  /* Surfaces & shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 1px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(20,106,114,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 24px 48px rgba(20,106,114,0.12), 0 4px 12px rgba(0,0,0,0.05);

  /* Radii */
  --radius-sm:   8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-pill: 50px;

  /* Layout */
  --container:        1180px;
  --container-narrow: 1040px;

  /* Type */
  --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

/* Headings — Aqtos uses tight, semi-bold display type */
h1, h2, h3, h4 {
  color: var(--ink);
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--teal-500); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--teal-700); }

/* Aqtos signature: gradient text accent */
.text-gradient {
  background: linear-gradient(90deg, #146a72 0%, #54c5d0 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Page wrapper + ambient background washes (Aqtos signature)
   ========================================================================== */
.page {
  position: relative;
  min-height: 100vh;
  padding: 56px 0 0;
  overflow: hidden;
}
.page__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 15% -5%,  rgba(168,224,234,0.45), transparent 60%),
    radial-gradient(700px 500px at 95% 10%,  rgba(84,197,208,0.20),  transparent 60%),
    radial-gradient(600px 400px at 50% 95%,  rgba(168,224,234,0.25), transparent 70%);
}
.page > .container { position: relative; z-index: 1; }

/* ==========================================================================
   Headline
   ========================================================================== */
.headline {
  text-align: center;
  margin: 0 auto 44px;
  max-width: 960px;
}
.display {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--ink);
}
.sub {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0;
  letter-spacing: -0.005em;
}

/* ==========================================================================
   VSL — 16:9 video frame, soft teal halo
   ========================================================================== */
.vsl { margin: 0 auto 32px; }
.vsl__frame {
  position: relative;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 60px rgba(20,106,114,0.18),
    0 8px 20px rgba(0,0,0,0.08),
    0 0 0 1px rgba(168,224,234,0.4);
}
.vsl__frame::after {
  /* faint outer glow */
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(168,224,234,0.5), transparent 50%);
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
  pointer-events: none;
}
/* Wistia video container & instant poster */
.vsl-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000;
  background-image: url('poster.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.vsl-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 5;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.vsl-poster-img.hidden {
  opacity: 0;
  visibility: hidden;
}

wistia-player {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  z-index: 2;
}

wistia-player:not(:defined) {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

/* Audio Unmute Overlay */
.vsl-unmute-overlay {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  cursor: pointer;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.vsl-unmute-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.unmute-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #146a72 0%, #1f3b50 100%);
  color: #ffffff;
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  box-shadow:
    0 12px 32px rgba(20, 106, 114, 0.45),
    0 0 0 2px rgba(84, 197, 208, 0.6);
  animation: pulseCard 2s ease-in-out infinite;
  transform-origin: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}
.vsl-unmute-overlay:hover .unmute-card {
  transform: scale(1.05);
  box-shadow:
    0 16px 40px rgba(20, 106, 114, 0.6),
    0 0 0 3px rgba(84, 197, 208, 0.9);
}

.unmute-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  font-size: 1.4rem;
  animation: bounceSpeaker 1.6s ease-in-out infinite;
}

.unmute-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.unmute-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-200);
  margin-bottom: 2px;
}

.unmute-main {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}

@keyframes pulseCard {
  0%, 100% {
    box-shadow: 0 12px 32px rgba(20, 106, 114, 0.45), 0 0 0 2px rgba(84, 197, 208, 0.6);
  }
  50% {
    box-shadow: 0 16px 44px rgba(20, 106, 114, 0.65), 0 0 0 5px rgba(84, 197, 208, 0.95);
  }
}

@keyframes bounceSpeaker {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

@media (max-width: 600px) {
  .unmute-card {
    padding: 12px 20px;
    gap: 10px;
  }
  .unmute-icon {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }
  .unmute-title {
    font-size: 0.72rem;
  }
  .unmute-main {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Timer — shown beneath VSL, runs while video plays
   ========================================================================== */
.timer {
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.timer[hidden] { display: none !important; }
.timer__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(168,224,234,0.3);
  border: 1px solid rgba(20,106,114,0.18);
  border-radius: var(--radius-pill);
  color: var(--teal-500);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.timer__label .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 0 rgba(20,106,114,0.6);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(20,106,114,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(20,106,114,0); }
  100% { box-shadow: 0 0 0 0 rgba(20,106,114,0); }
}
.timer__value {
  font-family: 'Inter', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #146a72 0%, #54c5d0 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  text-shadow: 0 8px 30px rgba(20,106,114,0.18);
}
.timer__hint {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
  max-width: 520px;
}

/* ==========================================================================
   Form section — Aqtos-style elevated card
   ========================================================================== */
.form-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(168,224,234,0.5);
  position: relative;
  margin: 0 auto 40px;
}
.form-section__title {
  text-align: center;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 24px;
}

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

.field { display: block; }
.field__label {
  margin: 0 0 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.field__label .req { color: var(--teal-500); }
.field input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid rgba(20,106,114,0.12);
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-family: inherit;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder { color: rgba(90,112,128,0.55); }
.field input:focus {
  outline: none;
  background: white;
  border-color: var(--teal-200);
  box-shadow: 0 0 0 4px rgba(84,197,208,0.15);
}

.trust {
  margin: 6px 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.success { text-align: center; padding: 8px 0; }
.success__check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #54c5d0 0%, #146a72 100%);
  color: white;
  font-size: 1.8rem;
  display: grid; place-items: center;
  margin: 0 auto 14px;
  box-shadow: 0 8px 20px rgba(20,106,114,0.25);
}
.success h3 { margin: 0 0 8px; }
.success p  { margin: 0; }

/* ==========================================================================
   Buttons — Aqtos pill style
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.15s ease;
}
.btn--primary {
  background: linear-gradient(135deg, #146a72 0%, #1f3b50 100%);
  color: white;
  box-shadow: 0 10px 24px rgba(20,106,114,0.30);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(20,106,114,0.38);
  color: white;
}
.btn--ghost {
  background: white;
  border-color: rgba(20,106,114,0.18);
  color: var(--teal-500);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover {
  border-color: var(--teal-500);
  color: var(--teal-700);
  box-shadow: var(--shadow-md);
}
.btn--lg    { padding: 18px 32px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Unlock CTA — single button revealed when the timer hits 00:00
   ========================================================================== */
.unlock-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 64px;
  padding: 0 16px;
  box-sizing: border-box;
  animation: revealIn 0.5s ease-out both;
}
.unlock-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  max-width: 100%;
  padding: 18px 40px;
  font-size: clamp(0.95rem, 4vw, 1.15rem);
  white-space: normal;
  line-height: 1.25;
  letter-spacing: 0.02em;
  box-sizing: border-box;
}

@media (max-width: 480px) {
  .unlock-cta {
    margin: 0 auto 48px;
    padding: 0 8px;
  }
  .unlock-cta .btn {
    width: 100%;
    padding: 18px 20px;
    font-size: 1rem;
    border-radius: var(--radius-pill);
  }
}

@keyframes revealIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  z-index: 1;
  background: white;
  border-top: 1px solid rgba(20,106,114,0.06);
  padding: 40px 0;
  margin-top: 24px;
}
.footer__inner { text-align: center; }
.footer__company {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: 0.02em;
}
.footer__address {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}
