/* ============================================================
   COMPOUND CEOs — Funnel Styles
   ============================================================ */

:root {
  --bg:        #0a0a0a;
  --bg-2:      #121212;
  --panel:     #171717;
  --panel-2:   #101010;
  --border:    #2a2a2a;
  --text:      #f4f4f5;
  --muted:     #9ca3af;
  --accent:    #ef4444;   /* red */
  --accent-2:  #dc2626;
  --gold:      #f59e0b;   /* premium accent */
  --danger:    #ff5c72;
  --radius:    16px;
  --shadow:    0 24px 60px rgba(0,0,0,.45);
  --maxw:      1140px;
  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Ambient background glow */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(239,68,68,.10), transparent 60%),
    radial-gradient(700px 500px at 0% 10%, rgba(245,158,11,.06), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--muted); font-size: 1.05rem; }

.accent { color: var(--accent); }
.gold   { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: 1.05rem;
  padding: 16px 30px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 12px 30px rgba(239,68,68,.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(239,68,68,.45); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 19px 40px; font-size: 1.15rem; }
.btn-pulse { animation: pulse 2.6s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 12px 30px rgba(239,68,68,.32), 0 0 0 0 rgba(239,68,68,.5); }
  70%  { box-shadow: 0 12px 30px rgba(239,68,68,.32), 0 0 0 16px rgba(239,68,68,0); }
  100% { box-shadow: 0 12px 30px rgba(239,68,68,.32), 0 0 0 0 rgba(239,68,68,0); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.logo .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.nav .btn { padding: 11px 22px; font-size: .95rem; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--muted); font-size: .95rem; font-weight: 600; }
.nav-links a:hover { color: var(--text); }
@media (max-width: 820px){ .nav-links a:not(.btn){ display:none; } }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.25); padding: 7px 14px; border-radius: 999px;
}
.hero h1 { margin: 22px 0 18px; max-width: 16ch; }
.hero .sub { font-size: 1.2rem; max-width: 56ch; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: .92rem; }
.trust span { display: flex; align-items: center; gap: 8px; }
.trust svg { flex: none; }

/* ---------- Minimal one-screen hero (Hudson-style) ---------- */
.hero-minimal { padding: 64px 0 50px; text-align: center; }
.hero-minimal h1 { margin: 22px auto 20px; max-width: 20ch; }
.hero-minimal .sub { font-size: 1.18rem; max-width: 60ch; margin: 0 auto; }

/* Hero VSL — responsive 16:9 Plyr player, emerald-accented */
.video-frame {
  position: relative; width: 100%; max-width: 880px; margin: 30px auto 0;
  aspect-ratio: 16 / 9; border: 1px solid var(--border); border-radius: 18px;
  overflow: hidden; background: #000; box-shadow: var(--shadow);
  --plyr-color-main: var(--accent);
  --plyr-video-background: #000;
  --plyr-badge-background: var(--accent);
  --plyr-range-thumb-background: var(--accent);
}
.video-frame .plyr, .video-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.video-frame .plyr__video-wrapper, .video-frame .plyr video { height: 100%; object-fit: cover; }
/* Before Plyr upgrades the <video>, keep the raw element filling the frame */
.video-frame video { object-fit: cover; }

.goldrush { margin: 36px auto 8px; max-width: 640px; }
.btn-yes { padding: 22px 64px; font-size: 1.3rem; letter-spacing: .02em; }
@media (max-width: 520px){ .btn-yes { width: 100%; padding: 20px 24px; } }

/* ---------- Sections ---------- */
section { padding: 80px 0; position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 16px; font-size: 1.12rem; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; }
.foot-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer p, .disclaimer { color: #6b7280; font-size: .82rem; line-height: 1.6; }
.disclaimer { max-width: 100%; margin-top: 18px; }

/* ============================================================
   INLINE TYPEFORM (one question at a time, embedded on the page)
   ============================================================ */
.apply { padding: 30px 0 100px; }
.apply .section-head { margin-bottom: 30px; }
.apply .section-head .eyebrow { text-transform: uppercase; letter-spacing: .18em; }

.typeform {
  max-width: 860px; margin: 0 auto; position: relative;
  background: linear-gradient(180deg, #1a1a1a, #101010);
  border: 1px solid var(--border); border-radius: 22px;
  box-shadow: var(--shadow); overflow: hidden;
}
.tf-progress { height: 4px; background: #222; }
.tf-progress .bar { height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width .35s ease; }

.tf-logo { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .92rem; color: var(--muted); padding: 22px 40px 0; }
.tf-logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }

.tf-body { padding: 34px 44px 40px; min-height: 400px; display: flex; flex-direction: column; }
@media (max-width: 640px){ .tf-body { padding: 28px 22px 30px; min-height: 360px; } .tf-logo { padding: 18px 22px 0; } }

.tf-q { font-size: clamp(1.4rem, 3.4vw, 2rem); font-weight: 700; letter-spacing: -.02em; color: var(--text); line-height: 1.2; margin-bottom: 8px; }
.tf-q .req { color: var(--danger); font-weight: 700; }
.tf-help { color: var(--muted); font-size: 1rem; margin-bottom: 4px; }
.tf-body .options, .tf-body .field { margin-top: 28px; }

.field { width: 100%; }
.field input, .field select, .field textarea {
  width: 100%; background: #0f0f0f; border: 1px solid var(--border); color: var(--text);
  padding: 16px 18px; border-radius: 12px; font-size: 1.1rem; font-family: var(--font);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(239,68,68,.15);
}
.field textarea { resize: vertical; min-height: 100px; }

.options { display: flex; flex-direction: column; gap: 12px; }
.opt {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px;
  font-size: 1.08rem; transition: all .15s;
}
.opt:hover { border-color: rgba(239,68,68,.45); background: rgba(239,68,68,.05); }
.opt.selected { border-color: var(--accent); background: rgba(239,68,68,.1); }
.opt .key {
  flex: none; width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; color: var(--muted);
  background: rgba(0,0,0,.25);
}
.opt.selected .key { background: var(--accent); color: #fff; border-color: var(--accent); }

.tf-error { color: var(--danger); font-size: .9rem; margin-top: 12px; display: none; }
.tf-error.show { display: block; }

/* Footer: OK button + Enter hint on the left, up/down nav on the right */
.tf-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 32px; gap: 16px; }
.tf-foot-left { display: flex; align-items: center; gap: 14px; }
.btn-ok {
  background: #ffffff; color: #0c1a2b; border: 0; border-radius: 10px;
  font-family: var(--font); font-weight: 800; font-size: 1rem; padding: 13px 32px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.28); transition: transform .15s ease, box-shadow .2s ease;
}
.btn-ok:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0,0,0,.4); }
.btn-ok:active { transform: translateY(0); }
.hint-enter { color: #4a5972; font-size: .82rem; }
@media (max-width: 520px){ .hint-enter { display: none; } }

.tf-nav { display: flex; gap: 8px; }
.tf-arrow {
  width: 48px; height: 40px; border-radius: 9px; cursor: pointer;
  background: #171717; border: 1px solid var(--border); color: var(--muted);
  display: flex; align-items: center; justify-content: center; transition: all .15s;
}
.tf-arrow:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.tf-arrow:disabled { opacity: .35; cursor: not-allowed; }

/* Submitting / success states */
.tf-state { text-align: center; padding: 30px 10px; margin: auto 0; }
.tf-state p { color: var(--muted); }
.spinner { width: 44px; height: 44px; border: 3px solid var(--border); border-top-color: var(--accent); border-radius: 50%; margin: 0 auto 22px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.checkmark { width: 64px; height: 64px; border-radius: 50%; background: rgba(239,68,68,.12); border: 2px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 22px; }

/* ============================================================
   PREQUALIFIED PAGE
   ============================================================ */
.prequal-hero { text-align: center; padding: 80px 0 30px; }
.badge-win {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: var(--accent);
  padding: 10px 20px; border-radius: 999px; font-weight: 700; letter-spacing: .04em; margin-bottom: 26px;
}
.prequal-hero h1 { max-width: 18ch; margin: 0 auto 20px; }
.prequal-hero .sub { max-width: 60ch; margin: 0 auto; font-size: 1.2rem; }

.calendly-wrap {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--border); border-radius: 22px; padding: 16px; box-shadow: var(--shadow); margin-top: 10px;
}
.calendly-inline-widget { min-width: 320px; height: 720px; }
@media (max-width: 680px){ .calendly-inline-widget { height: 1040px; } }

.reassure { text-align: center; max-width: 640px; margin: 40px auto 0; }
.reassure .checks { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 24px auto 0; text-align: left; }
.reassure .checks div { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.reassure .checks svg { flex: none; margin-top: 3px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   TESTIMONIAL STRIP (revenue screenshots)
   ============================================================ */
.social { padding: 40px 0 90px; }
.social .section-head { margin-bottom: 40px; }
.tgrid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  max-width: 1040px; margin: 0 auto;
}
@media (max-width: 900px){ .tgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .tgrid { grid-template-columns: 1fr; } }
.tcard {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #161616, #101010);
  border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.tcard img { width: 100%; display: block; object-fit: cover; max-height: 300px; background: #000; }
.tcard .tbody { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.tcard .tresult { color: var(--accent); font-weight: 800; font-size: .98rem; letter-spacing: -.01em; }
.tcard .tquote { color: var(--text); font-size: .95rem; line-height: 1.5; }
.tcard .tname { color: var(--muted); font-size: .82rem; font-weight: 600; margin-top: 2px; }
