/* ai-audit.html: one-video funnel page for LinkedIn ads. White page, headline, locked video,
   one big button, pop-up form that unlocks the video, then a booking button, testimonials. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

:root {
  --navy: #131B26;
  --ink: #141413;
  --muted: #5d6470;
  --blue: #1870F3;
  --amber: #F39E09;
  --cta: #37CA37;        /* conversion button green */
  --cta-ink: #0b0b0b;
  --line: #e6e6e6;
  --font-display: "El Messiri", Georgia, serif;
  --font: "Poppins", "Segoe UI", Arial, sans-serif;
}

body { background: #fff; color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.page { max-width: 820px; margin: 0 auto; padding: 24px 16px 32px; text-align: center; }

.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--navy); }

.headline {
  margin: 14px auto 0; max-width: 30ch;
  font-weight: 700; font-size: clamp(1.55rem, 4.2vw, 2.35rem); line-height: 1.2;
  color: var(--blue); text-wrap: balance;
}
.headline [data-seg] { color: var(--navy); }
.price { margin: 12px auto 0; max-width: 34ch; font-weight: 700; font-style: italic; font-size: clamp(1.4rem, 3.6vw, 2rem); text-wrap: balance; }

/* Video */
.player {
  position: relative; margin: 22px auto 0; width: 100%; max-width: 720px; aspect-ratio: 16 / 9;
  border-radius: 10px; overflow: hidden; background: #0b1119; box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.player video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.player__lock { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: #0b1119; }
.player__thumb { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: blur(3px) brightness(.85); transform: scale(1.04); }
.player__play {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 48px;
  transition: transform .15s ease; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4));
}
.player__lock:hover .player__play { transform: scale(1.1); }
.player__soon {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 20px; color: #F3F2EC; background: linear-gradient(135deg, #1B2533, #0b1119);
}
.player__soon-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 3.4vw, 2rem); }
.player__soon-sub { color: #9BA3B0; font-size: clamp(.85rem, 2vw, 1rem); }

.step1 { margin: 18px auto 0; max-width: 46ch; font-weight: 700; font-size: clamp(.98rem, 2.4vw, 1.08rem); line-height: 1.45; }

/* Main button */
.cta {
  display: inline-block; margin-top: 16px; cursor: pointer; border: 0; text-decoration: none; text-align: center;
  background: var(--cta); color: var(--cta-ink); font: 700 clamp(1.15rem, 3vw, 1.45rem)/1.25 var(--font);
  padding: 20px 40px; border-radius: 8px; box-shadow: 0 8px 24px rgba(55,202,55,.45);
  transition: transform .15s ease, filter .15s ease;
  animation: ctaPulse 2.2s ease-in-out infinite;
}
.cta:hover { transform: scale(1.02); filter: brightness(1.05); animation: none; }
.cta:active { transform: scale(.98); }
.cta[disabled] { opacity: .6; cursor: progress; animation: none; }
@keyframes ctaPulse { 0%, 100% { box-shadow: 0 8px 24px rgba(55,202,55,.35); } 50% { box-shadow: 0 8px 36px rgba(55,202,55,.75); } }
@media (prefers-reduced-motion: reduce) { .cta { animation: none; } }
@media (max-width: 600px) { .page .cta:not(.cta--full) { width: 100%; padding: 20px 16px; } }
.cta--full { width: 100%; padding: 16px; font-size: 1.1rem; animation: none; margin-top: 8px; }

/* Testimonial videos (vertical phone videos, 2 across on phones, 4 across on desktop) */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 56px auto 0; max-width: 1000px; text-align: left; }
@media (min-width: 900px) { .proof { grid-template-columns: repeat(4, 1fr); gap: 18px; } .page { max-width: 1040px; } }
.testi { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,.06); background: #fff; }
.testi__media { position: relative; aspect-ratio: 9 / 16; background: #1B2533; }
.testi__media video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.testi__soon {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: #9BA3B0; font-size: .8rem; text-align: center; padding: 12px;
  background: linear-gradient(160deg, #1B2533, #0b1119);
}
.testi__play { width: 52px; height: 36px; border-radius: 8px; background: var(--amber); color: #fff; display: grid; place-items: center; font-size: 1rem; }
.testi__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.testi__tag { align-self: flex-start; font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: #e7f0fe; border-radius: 999px; padding: 3px 8px; }
.testi blockquote { font-size: .85rem; line-height: 1.45; font-weight: 500; }
.testi figcaption { margin-top: auto; font-size: .78rem; font-weight: 700; color: var(--muted); }

.path__link { display: block; margin-top: 12px; text-align: center; font-size: .88rem; font-weight: 600; color: var(--blue); text-decoration: none; }
.path__link:hover { text-decoration: underline; }

.foot { text-align: center; color: #888; font-size: .8rem; padding: 24px 16px 40px; }
.foot a { text-decoration: none; }

/* Pop-up */
.modal {
  margin: auto; border: 0; border-radius: 10px; padding: 26px 22px 22px;
  width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.35); overflow-y: auto;
}
.modal::backdrop { background: rgba(0,0,0,.6); }
.modal__close {
  position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; color: #333;
}
.modal__title { font-weight: 700; font-size: 1.5rem; color: var(--blue); line-height: 1.2; padding: 0 24px; }
.modal__sub { margin-top: 6px; font-size: .9rem; color: var(--muted); }
.bar { margin: 16px 0 18px; height: 14px; border-radius: 999px; background: #e9ecef; overflow: hidden; }
.bar span {
  display: block; height: 100%; width: 33%; border-radius: 999px; transition: width .3s ease;
  background: repeating-linear-gradient(-45deg, var(--cta) 0 10px, #5edc5e 10px 20px);
}

.q { border: 0; display: grid; gap: 10px; }
.q legend { font-weight: 600; font-size: 1rem; margin-bottom: 10px; width: 100%; }
.req { color: #c2410c; }
.opt {
  width: 100%; padding: 13px; border: 1px solid #d5d9df; border-radius: 6px; background: #fff;
  font: 600 .95rem var(--font); color: var(--ink); cursor: pointer; transition: border-color .12s, background .12s;
}
.opt:hover, .opt:focus-visible { border-color: var(--blue); background: #f1f6fe; }
.opt[aria-pressed="true"] { border-color: var(--blue); background: #e7f0fe; }
.back { justify-self: center; background: none; border: 0; color: var(--muted); font: 500 .85rem var(--font); cursor: pointer; padding: 6px; }

.field { display: block; text-align: left; }
.field span { display: block; font-size: .82rem; font-weight: 600; margin-bottom: 4px; }
.field em { font-weight: 400; font-style: normal; color: var(--muted); }
.field input { width: 100%; font: 400 1rem var(--font); border: 1px solid #cfd5df; border-radius: 6px; padding: 12px; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24,112,243,.18); }
.field input[aria-invalid="true"] { border-color: #c2410c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__error { color: #b42318; font-size: .85rem; }
.fine { font-size: .75rem; color: var(--muted); line-height: 1.5; }
.fine--center { margin-top: 10px; }
.fine a { color: var(--blue); }

/* Two path videos under the main video */
.paths { display: grid; gap: 20px; margin: 56px auto 0; max-width: 820px; text-align: left; }
@media (min-width: 700px) { .paths { grid-template-columns: 1fr 1fr; } }
.path { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; padding: 20px; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.path__who { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.path__title { margin-top: 4px; font-size: 1.35rem; font-weight: 700; color: var(--navy); }
.path__sub { margin-top: 6px; font-size: .92rem; line-height: 1.5; color: var(--muted); min-height: 4.5em; }
.player--card { margin-top: 14px; max-width: none; box-shadow: none; }
.player--card .player__soon { align-items: center; text-align: center; }
.player--card .player__soon-title { font-size: 1.2rem; }
.path__btn {
  display: block; margin-top: 14px; padding: 14px; border-radius: 8px; text-align: center; text-decoration: none;
  font-weight: 700; background: var(--blue); color: #fff; transition: filter .15s ease;
}
.path__btn:hover { filter: brightness(1.08); }
.path__btn--alt { background: var(--navy); }
.player__soon { text-align: center; align-items: center; }

.returning { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--blue); font: 600 .85rem var(--font); cursor: pointer; text-decoration: underline; }
.q__legend { font-weight: 600; font-size: 1rem; margin: 6px 0 4px; }
