/* ==========================================================================
   Web Agency Club - landing page
   Black + gold, floating pill nav, streak lighting, mock UI cards
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-deep: #050505;
  --surface: #111111;
  --surface-2: #181818;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f5f3ee;
  --muted: #9d968e;
  --gold: #ffbf00;
  --gold-deep: #b98a00;
  --ink: #0a0a0a;
  --radius: 24px;
  --radius-sm: 16px;
  --radius-pill: 999px;
  --font-heading: "Instrument Sans", sans-serif;
  --font-body: "Satoshi", sans-serif;
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

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

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

.container {
  width: min(var(--container), 92%);
  margin: 0 auto;
}
.container.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 0.5em; }
h3 { font-size: 1.25rem; line-height: 1.3; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-sub {
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border-radius: 11px;
  transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease;
  text-align: center;
}

/* Primary CTA — clean white button; hover dims with a smooth instant overlay (no lift) */
.btn-white {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.38);
}
.btn-white:hover { background: #ded9d0; }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn-sm { padding: 0.58rem 1.35rem; font-size: 0.92rem; }
.btn-lg { padding: 0.95rem 2.3rem; font-size: 1.02rem; }
.btn-full { display: block; width: 100%; }

/* Hero CTA: same white button, slightly wider but not tall */
.btn-cta {
  padding: 0.9rem 2.8rem;
  font-size: 1.08rem;
  border-radius: 12px;
}

.cta-note {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.cta-note-vsl { margin-top: 1.2rem; text-align: center; }

/* ---------- Gold streaks ---------- */

/* Soft, warm diffuse glow bleeding in from the edges (CourseKit reference).
   Big blur, low opacity, amber core — premium, not neon. */
.streak {
  position: absolute;
  pointer-events: none;
  width: 72vw;
  height: 78vw;
  max-width: 1050px;
  max-height: 1150px;
  background: linear-gradient(132deg,
    transparent 30%,
    rgba(255, 176, 45, 0.22) 46%,
    rgba(255, 198, 92, 0.42) 50%,
    rgba(255, 176, 45, 0.22) 54%,
    transparent 72%);
  filter: blur(72px);
  opacity: 0.7;
  z-index: 0;
}

.streak-left { top: -30%; left: -30%; transform: rotate(4deg); }
.streak-right { top: -8%; right: -32%; transform: rotate(10deg); }
.streak-mid { top: -44%; right: -22%; opacity: 0.32; }
.streak-pricing { top: -6%; left: -38%; opacity: 0.3; }
.streak-final { bottom: -44%; right: -26%; opacity: 0.36; }

/* ---------- Floating nav ---------- */

.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 4%;
}

.nav-pill {
  width: 100%;
  max-width: 720px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(14, 14, 14, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.5rem 0.55rem 0.5rem 1.3rem;
}

.logo { height: 30px; width: auto; }

.nav-links { display: flex; gap: 1.6rem; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 150px 0 84px;
  background: var(--bg-deep);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 2rem;
}
.rating-text strong { color: var(--text); font-weight: 700; }
.stars { display: inline-flex; gap: 3px; color: var(--gold); }
.stars svg { width: 17px; height: 17px; }

.hero-title {
  font-size: clamp(2.4rem, 5.4vw, 3.85rem);
  max-width: 660px;
  margin: 0 auto 1.15rem;
  letter-spacing: -0.035em;
}

.hero-sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  max-width: 540px;
  margin: 0 auto 2rem;
}

.hero-cta { margin-bottom: 3.4rem; }

.hero-video-frame {
  max-width: 780px;
  margin: 0 auto;
  padding: 8px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border);
}

/* ---------- Video facades ---------- */

.video-facade {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #000;
  aspect-ratio: 16 / 9;
}
.hero-video { border-radius: var(--radius); }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}
.play-btn svg { width: 28px; height: 28px; margin-left: 3px; }
.video-facade:hover .play-btn { transform: translate(-50%, -50%) scale(1.08); background: var(--gold); }

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
}
.section > .container { position: relative; z-index: 1; }

/* ---------- Roadmap ---------- */

.roadmap {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 1rem;
}

.roadmap-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
}
.roadmap-row:nth-child(even) .roadmap-copy { order: 2; }
.roadmap-row:nth-child(even) .roadmap-visual { order: 1; }

.step-num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
}

.roadmap-copy h3 { font-size: 1.6rem; margin-bottom: 0.7rem; }
.roadmap-copy p { color: var(--muted); max-width: 440px; }

/* ---------- Mock UI cards ---------- */

.mock-card {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1.4rem;
  font-size: 0.92rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  max-width: 380px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.mock-avatar {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  flex-shrink: 0;
}
.mock-avatar-2 { background: #6ea8fe; }
.mock-avatar-3 { background: #7ee0a3; }

.mock-chat-head { display: flex; align-items: center; gap: 0.7rem; }
.mock-chat-head small { display: block; color: var(--muted); font-size: 0.78rem; }

.mock-bubble {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  color: var(--text);
}

.mock-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
}
.mock-tag-gold { background: rgba(255, 191, 0, 0.14); color: var(--gold); }

.mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.mock-row .mock-tag { align-self: center; }
.mock-row strong { color: var(--text); }
.mock-row-total { border-bottom: 0; padding-top: 0.8rem; color: var(--text); font-weight: 700; }
.gold { color: var(--gold); }

.mock-stat-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); gap: 0.6rem; flex-wrap: wrap; }
.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 90px;
}
.mock-bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--gold), rgba(255, 191, 0, 0.25));
}
.mock-stats small { color: var(--muted); }

.mock-call strong { font-size: 1rem; }
.mock-call small { color: var(--muted); }
.mock-btn-row { display: flex; gap: 0.6rem; }
.mock-btn-ghost, .mock-btn-gold {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
}
.mock-btn-ghost { border: 1px solid var(--border-strong); color: var(--muted); }
.mock-btn-gold { background: var(--gold); color: var(--ink); }

.mock-searchbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 0.55rem 1rem;
  color: var(--muted);
}
.mock-searchbar svg { width: 16px; height: 16px; }
.mock-result {
  font-size: 0.84rem;
  color: var(--muted);
  padding: 0.5rem 0.2rem;
  border-bottom: 1px solid var(--border);
}
.mock-result:last-child { border-bottom: 0; }

.mock-level {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
}
.mock-level small { display: block; font-size: 0.78rem; }
.mock-level strong { color: var(--text); font-size: 0.9rem; }
.mock-level .lvl {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.mock-level-active {
  border-color: rgba(255, 191, 0, 0.35);
  background: rgba(255, 191, 0, 0.07);
}
.mock-level-active .lvl { background: var(--gold); color: var(--ink); }
.mock-level-active small { color: var(--gold); }

.mock-chatrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0;
}
.mock-chatrow div { flex: 1; min-width: 0; }
.mock-chatrow strong { display: block; font-size: 0.9rem; }
.mock-chatrow small { color: var(--muted); font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.mock-chatrow em { font-style: normal; color: var(--muted); font-size: 0.75rem; }

.mock-check {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  padding: 0.35rem 0;
}
.mock-check span {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  position: relative;
}
.mock-check.done { color: var(--text); }
.mock-check.done span { background: var(--gold); border-color: var(--gold); }
.mock-check.done span::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Bento ---------- */

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.bento-card:hover { border-color: rgba(255, 191, 0, 0.3); transform: translateY(-4px); }
/* Fixed-height visual zone so every card's title lands on the same line */
.bento-card > .mock-card {
  max-width: none;
  box-shadow: none;
  background: var(--bg-deep);
  height: 202px;
  justify-content: center;
  overflow: hidden;
  flex: none;
}
.bento-card h3 { margin-top: 0.2rem; }
.bento-card p { color: var(--muted); font-size: 0.95rem; }

/* Featured full-width inclusion — the Claude Code AI Systems Pack */
.bento-feature {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 2.6rem;
  padding: 2.4rem;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 191, 0, 0.12), transparent 55%),
    var(--surface);
  border-color: rgba(255, 191, 0, 0.28);
}
.bento-feature .feature-copy { flex: 1; }
.bento-feature .feature-visual { flex: 1; min-width: 0; }
.bento-feature h3 { font-size: 1.5rem; margin: 0.9rem 0 0.6rem; }
.bento-feature p { font-size: 1rem; max-width: 440px; }

.feature-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border-radius: 7px;
  padding: 0.25rem 0.6rem;
}

.mock-agent {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.85rem;
  background: #0c0c0d !important;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  gap: 0.6rem !important;
}
.mock-agent-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.78rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.mock-agent-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee0a3; box-shadow: 0 0 8px #7ee0a3; }
.mock-agent-line { color: var(--text); }
.mock-agent-prompt { color: var(--gold); margin-right: 0.4rem; }
.mock-agent-run { display: flex; align-items: center; gap: 0.5rem; color: var(--muted); }
.mock-agent-spin {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid rgba(255, 191, 0, 0.3);
  border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mock-agent-step {
  display: flex; align-items: center; gap: 0.55rem;
  color: var(--muted); font-size: 0.82rem; padding-left: 0.1rem;
}
.mock-agent-step::before {
  content: ""; width: 14px; height: 14px; border-radius: 4px;
  border: 1px solid var(--border-strong); flex-shrink: 0;
}
.mock-agent-step.done { color: var(--text); }
.mock-agent-step.done::before {
  background: var(--gold); border-color: var(--gold);
  content: "✓"; color: var(--ink); font-size: 10px;
  display: grid; place-items: center; font-family: var(--font-body);
}

/* ---------- Stats band ---------- */

.stats-band {
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 70px 0;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.3rem;
}
.stat span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 4rem;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
}
/* Testimonials are portrait phone clips — full 9:16 frame */
.testimonial .video-facade {
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-sm);
}
.testimonial figcaption {
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 0.7rem 0.6rem 0.4rem;
  text-align: center;
}

/* ---------- Member wins (static screenshot wall) ---------- */

.wins-eyebrow { margin-top: 1rem; }
.wins-head { margin-bottom: 2rem; }

.wins-grid {
  columns: 3;
  column-gap: 14px;
  column-fill: balance;
  margin-bottom: 3.4rem;
}
@media (min-width: 1100px) {
  .wins-grid { columns: 4; }
}
.wins-grid img {
  width: 100%;
  display: block;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  break-inside: avoid;
}

/* ---------- Pricing ---------- */

.pricing-card {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid rgba(255, 191, 0, 0.3);
  border-radius: var(--radius);
  padding: 2.4rem;
  box-shadow: 0 0 80px rgba(255, 191, 0, 0.07);
}

.pricing-chip {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.4rem;
}

.pricing-amount { display: flex; align-items: baseline; gap: 0.7rem; margin-bottom: 1.6rem; }
.pricing-amount strong {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}
.pricing-amount span { color: var(--muted); }

.pricing-list {
  list-style: none;
  margin-bottom: 2.2rem;
}
.pricing-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 2rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.pricing-list li:last-child { border-bottom: 0; }
.pricing-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.95rem;
  width: 6px;
  height: 11px;
  border: solid var(--gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Founder ---------- */

.founder-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
  align-items: center;
}
.founder-images img {
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.founder-copy h2 { margin-bottom: 1rem; }
.founder-copy > p { color: var(--muted); margin-bottom: 1.6rem; }

.founder-points { list-style: none; }
.founder-points li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.9rem;
  color: var(--text);
}
.founder-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.85rem;
  width: 6px;
  height: 11px;
  border: solid var(--gold);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- FAQ ---------- */

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.faq-list details[open] { border-color: rgba(255, 191, 0, 0.3); }

.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.2rem 1.4rem;
}
.faq-list summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.25s ease;
}
.faq-icon::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq-icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-list details[open] .faq-icon::after { transform: rotate(90deg); }

.faq-list details p {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
}

/* ---------- Final CTA ---------- */

.final-cta {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
}
.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.4rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer p { color: var(--muted); font-size: 0.9rem; }
.site-footer p a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.site-footer p a:hover { color: var(--text); }
.footer-legal { display: flex; gap: 1.2rem; }
.footer-legal a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--text); }

/* ---------- Legal pages (privacy / terms) ---------- */

.legal-page { padding: 8rem 0 5rem; }
.legal-page .eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin: 0.4rem 0 0.6rem; }
.legal-page .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2.6rem; }
.legal-page h2 {
  font-size: 1.3rem;
  margin: 2.4rem 0 0.7rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--border);
}
.legal-page h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-page p { color: var(--muted); margin-bottom: 1rem; }
.legal-page ul { color: var(--muted); margin: 0 0 1rem 1.2rem; }
.legal-page li { margin-bottom: 0.5rem; }
.legal-page a { color: var(--gold); text-decoration: none; }
.legal-page a:hover { text-decoration: underline; }
.legal-back {
  display: inline-block;
  margin-top: 2.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.legal-back:hover { color: var(--text); }

/* ---------- Reveal on scroll ---------- */

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-agent-spin { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-feature { flex-direction: column; align-items: stretch; gap: 1.6rem; }
  .bento-feature .feature-visual { width: 100%; }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .wins-grid { columns: 2; }
  .roadmap-row { grid-template-columns: 1fr; gap: 2rem; padding: 2.2rem; }
  .roadmap-row:nth-child(even) .roadmap-copy { order: 1; }
  .roadmap-row:nth-child(even) .roadmap-visual { order: 2; }
  .founder-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .founder-images { max-width: 420px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .section { padding: 80px 0; }
  .hero { padding: 128px 0 66px; }
  .bento { grid-template-columns: 1fr; }
  .pricing-card { padding: 2rem 1.5rem; }
  .wins-grid { columns: 2; column-gap: 12px; }
  .wins-grid img { margin-bottom: 12px; }
  .roadmap-row { padding: 1.8rem; }
  .rating-badge { display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; text-align: center; gap: 0.45rem; width: 100%; }
  .rating-text { text-align: center; }
}

/* ==========================================================================
   Application received page (applied.html)
   Two columns: copy left with CTA pinned low, video + checklist panel right
   ========================================================================== */

.applied-header {
  position: absolute;
  top: 26px;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 0 4%;
}
.applied-header .logo { height: 32px; }

.applied {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  background: var(--bg-deep);
  overflow: hidden;
}

.applied-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: stretch;
}

/* Left column: text up top, CTA pinned to the bottom like the reference */
.applied-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3.5rem;
  padding: 1rem 0;
}

.applied-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(180deg, #ffd968, var(--gold));
  border: 1px solid rgba(255, 235, 170, 0.8);
  border-radius: 8px;
  padding: 0.45rem 1rem;
  margin-bottom: 1.6rem;
}

.applied-title {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.3rem;
}

.applied-sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 420px;
}

.applied-cta .btn { min-width: 260px; }

/* Right column: dark panel with video on top, checklist below */
.applied-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.applied-video { border-radius: var(--radius-sm); }

.applied-list { padding: 1.6rem 0.4rem 0.6rem; }
.applied-list h2 {
  font-size: 1.35rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border);
}
.applied-list ul { list-style: none; }
.applied-list li {
  position: relative;
  padding: 0.45rem 0 0.45rem 2.3rem;
  color: var(--muted);
  font-size: 1.02rem;
}
/* gold outlined circle-check, like the reference */
.applied-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
}
.applied-list li::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 0.88rem;
  width: 4px;
  height: 8px;
  border: solid var(--gold);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

@media (max-width: 960px) {
  .applied { min-height: 0; padding: 120px 0 70px; }
  .applied-inner { grid-template-columns: 1fr; gap: 3rem; }
  .applied-copy { gap: 2.4rem; }
}

/* ==========================================================================
   Apply wizard (apply.html)
   One question per slide, gold progress bar, auto-advance on single choice
   ========================================================================== */

.apply-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.07);
  z-index: 120;
}
.apply-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  box-shadow: 0 0 14px rgba(255, 191, 0, 0.55);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.apply {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 0 70px;
  background: var(--bg-deep);
  overflow: hidden;
}

.apply-shell {
  position: relative;
  z-index: 1;
  width: min(620px, 92%);
}

/* Slides: only the active one is rendered; short exit, springy entry */
.apply-step { display: none; }
.apply-step.is-active {
  display: block;
  animation: stepIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.apply-step.is-active.from-back { animation-name: stepInBack; }
.apply-step.leave-up { animation: stepOutUp 0.22s ease both; }
.apply-step.leave-down { animation: stepOutDown 0.22s ease both; }

@keyframes stepIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}
@keyframes stepInBack {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: none; }
}
@keyframes stepOutUp {
  to { opacity: 0; transform: translateY(-24px); }
}
@keyframes stepOutDown {
  to { opacity: 0; transform: translateY(24px); }
}

.apply-title {
  font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}
.apply-sub {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
}

/* ---------- Choice cards ---------- */

.choice-grid {
  display: grid;
  gap: 12px;
  margin: 1.9rem 0 0.4rem;
}
.choice-grid.cols-2 { grid-template-columns: 1fr 1fr; }

.choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.25rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.choice:hover {
  border-color: rgba(255, 191, 0, 0.45);
  transform: translateY(-1px);
}
.choice:active { transform: translateY(0); }
.choice:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.18);
}
.choice.is-selected {
  border-color: var(--gold);
  background: rgba(255, 191, 0, 0.08);
}

.choice strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
}
.choice small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 0.1rem;
}
.choice-compact { padding: 0.9rem 1.15rem; }

/* Right-hand indicator: radio ring for single, rounded check for multi */
.choice-dot {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  position: relative;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.choice-dot.is-check { border-radius: 7px; }
.choice.is-selected .choice-dot {
  border-color: var(--gold);
  background: var(--gold);
}
.choice.is-selected .choice-dot::after {
  content: "";
  position: absolute;
  left: 6.5px;
  top: 3.5px;
  width: 4px;
  height: 8px;
  border: solid var(--ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---------- Text fields ---------- */

.apply-fields { margin-top: 1.9rem; }

.field { margin-bottom: 1.2rem; }
.field:last-child { margin-bottom: 0; }
.field label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.55rem;
}
.label-optional {
  color: var(--muted);
  font-weight: 400;
  font-size: 0.85rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.5;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.14);
}
.input::placeholder { color: rgba(157, 150, 142, 0.55); }

.input-textarea {
  min-height: 170px;
  resize: vertical;
}

/* Instagram @ prefix */
.input-affix {
  display: flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.input-affix:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 191, 0, 0.14);
}
.input-affix .affix {
  padding: 0 0 0 1.1rem;
  color: var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
}
.input-affix .input {
  background: none;
  border: 0;
  border-radius: 0;
  padding-left: 0.45rem;
}
.input-affix .input:focus { box-shadow: none; }

.field-hint {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* Errors */
.field.has-error .input,
.field.has-error .input-affix { border-color: #e5484d; }
.field-error,
.apply-error {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: #ff7b81;
}

.apply-step.shake { animation: applyShake 0.4s ease; }
@keyframes applyShake {
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}

/* ---------- Wizard nav ---------- */

.apply-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.1rem;
}

.btn-back {
  background: none;
  border: 0;
  padding: 0.6rem 0;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.16s ease;
}
.btn-back:hover { color: var(--text); }

.btn-continue {
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.85rem 2.4rem;
}
.btn-continue:disabled,
.btn-continue.is-submitting {
  opacity: 0.7;
  cursor: default;
}

.apply-hint {
  color: var(--muted);
  font-size: 0.85rem;
}

@media (prefers-reduced-motion: reduce) {
  .apply-step.is-active,
  .apply-step.leave-up,
  .apply-step.leave-down { animation: none; }
  .apply-progress-fill { transition: none; }
}

@media (max-width: 640px) {
  .apply { padding: 110px 0 60px; }
  .choice-grid.cols-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .apply-nav { margin-top: 1.7rem; }
  .btn-continue { padding: 0.85rem 1.8rem; }
}
