/* ============================================================
   BoldAds - styles.css
   Flat, high-contrast, premium. Near-black + ONE electric accent.
   Mobile-first; media queries scale up.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* Core palette - near-black canvas, one electric-blue accent */
  --ink:        #0A0A0B;   /* page background        */
  --ink-2:      #121214;   /* raised surfaces (cards)*/
  --ink-3:      #1B1B1F;   /* hover / borders fill   */
  --line:       #26262B;   /* hairline borders       */
  --paper:      #F4F4F5;   /* primary text           */
  --muted:      #9A9AA3;   /* secondary text         */
  --accent:     #2D5BFF;   /* electric blue          */
  --accent-ink: #FFFFFF;   /* text on accent         */

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1140px;
  --gutter: 24px;
  --radius: 14px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: 88px; }

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

/* Eyebrow label - monospace-ish uppercase tag for that confident editorial feel */
.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow--accent { color: var(--accent); }

/* Section titles */
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 16ch;
}
.section__title--center {
  margin-inline: auto;
  text-align: center;
  max-width: 22ch;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover { background: #1E47E6; }

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--paper); background: var(--ink-3); }

.btn--small { padding: 9px 18px; font-size: 14px; }
.btn--lg    { padding: 17px 34px; font-size: 18px; }
.btn--block { width: 100%; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,11,0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__links a:not(.btn) {
  font-size: 15px;
  color: var(--muted);
  transition: color .15s ease;
}
.nav__links a:not(.btn):hover { color: var(--paper); }

/* Hide text links on small screens, keep the CTA */
@media (max-width: 640px) {
  .nav__links a:not(.btn) { display: none; }
}

/* ---------- Wordmark logo (image) ---------- */
.wordmark { display: inline-flex; align-items: center; }
.wordmark img {
  height: 30px;          /* nav size; width scales from aspect ratio */
  width: auto;
  display: block;
}
.wordmark--sm img { height: 26px; }   /* footer size */
.wordmark__accent { color: var(--accent); }   /* kept for any text fallback */

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-block: 72px 64px; }

.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(44px, 11vw, 104px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.hero__sub {
  max-width: 56ch;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--muted);
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

/* Stats strip */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  list-style: none;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.03em;
}
.hero__stats span { font-size: 14px; color: var(--muted); }

/* ---------- Social proof ---------- */
.proof {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* Overlapping avatar cluster (CSS-only initials) */
.proof__avatars {
  display: flex;
  list-style: none;
}
.proof__avatars li {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--paper);
  background: #2A2A30;
  border: 2px solid var(--ink);   /* separates the overlap from the bg */
  margin-left: -12px;
}
.proof__avatars li:first-child { margin-left: 0; }

/* Stars + caption */
.proof__stars { display: flex; gap: 3px; }
.star {
  width: 18px;
  height: 18px;
  fill: var(--accent);   /* brand accent, keeps single-accent palette */
}
.proof__text { font-size: 15px; color: var(--muted); margin-top: 4px; }
.proof__text strong { color: var(--paper); font-weight: 600; }

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 18px;
  overflow: hidden;
  background: var(--ink-2);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: scroll-x 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.marquee__track .dot { color: var(--accent); }

@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ============================================================
   Problem / Solution
   ============================================================ */
.problem__grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 860px) {
  .problem__grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}
.problem__col--solution {
  border-left: 2px solid var(--accent);
  padding-left: 28px;
}
@media (max-width: 859px) {
  .problem__col--solution {
    border-left: none;
    border-top: 2px solid var(--accent);
    padding-left: 0;
    padding-top: 28px;
  }
}
.problem__col .section__title { margin-bottom: 18px; max-width: 18ch; }

/* ============================================================
   Cards (shared)
   ============================================================ */
.cards {
  display: grid;
  gap: 20px;
  margin-top: 52px;
}
@media (min-width: 720px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

/* ---------- Feature card ---------- */
.feature { transition: border-color .2s ease, transform .2s ease; }
.feature:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.feature h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  margin: 14px 0 10px;
}
.feature p { font-size: 15px; }

/* ============================================================
   Pricing
   ============================================================ */
.pricing__note { text-align: center; margin-top: 14px; }

.cards--pricing {
  grid-template-columns: 1fr;
}
@media (min-width: 720px)  { .cards--pricing { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cards--pricing { grid-template-columns: repeat(3, 1fr); } }

.price {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  position: relative;
}

/* Highlighted Growth tier */
.price--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(45,91,255,0.10), rgba(45,91,255,0) 220px), var(--ink-2);
  box-shadow: 0 0 0 1px var(--accent), 0 24px 60px -30px rgba(45,91,255,0.6);
}
@media (min-width: 720px) {
  .price--featured { transform: scale(1.04); }
}
.price__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.price__head { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 22px; }
.price__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.price__amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price__amount span { font-size: 17px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.price__per {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px;
}
.price__tag { font-size: 14px; margin-top: 12px; }

.price__list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.price__list li {
  font-size: 15px;
  color: var(--muted);
  padding-left: 26px;
  position: relative;
}
/* Custom accent checkmark */
.price__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.price__list li strong { color: var(--paper); font-weight: 600; }

/* ============================================================
   Final CTA
   ============================================================ */
.cta { padding-block: 104px; }
.cta__inner {
  text-align: center;
  max-width: 760px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 140% at 50% 0%, rgba(45,91,255,0.14), rgba(45,91,255,0) 55%),
    var(--ink-2);
  border-radius: 24px;
  padding: 64px 32px;
}
.cta__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 5.5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.cta__sub { max-width: 52ch; margin: 0 auto 36px; font-size: 18px; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ============================================================
   Footer
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding-block: 40px; }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer__links { display: flex; gap: 24px; }
.footer__links a {
  font-size: 15px;
  color: var(--muted);
  transition: color .15s ease;
}
.footer__links a:hover { color: var(--accent); }
.footer__copy { font-size: 14px; color: var(--muted); width: 100%; }
@media (min-width: 720px) {
  .footer__copy { width: auto; }
}

/* ============================================================
   Application / intake form
   ============================================================ */
.apply__inner { max-width: 680px; margin-inline: auto; }
.apply__lede {
  text-align: center;
  max-width: 54ch;
  margin: 16px auto 0;
  font-size: 17px;
}

/* Progress bar */
.form-progress { margin: 40px 0 24px; }
.form-progress__bar {
  height: 4px;
  background: var(--ink-3);
  border-radius: 999px;
  overflow: hidden;
}
.form-progress__bar span {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--accent);
  border-radius: 999px;
  transition: width .35s ease;
}
.form-progress__label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
}

/* Form shell */
.intake {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
}
@media (min-width: 720px) { .intake { padding: 40px; } }

.step { border: 0; }
.step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  padding: 0;
}

/* Fields */
.field { margin-bottom: 20px; }
.field label,
.field__label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  color: var(--paper);
}
.field__hint { font-size: 13px; color: var(--muted); margin-top: 6px; }

.field input[type="text"],
.field input[type="email"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 15px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 56px; }
.field input::placeholder,
.field textarea::placeholder { color: #5d5d66; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(45,91,255,0.18);
}

/* Native select arrow tweak */
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239A9AA3' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Checkbox / radio groups */
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks--col { flex-direction: column; }
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  color: var(--muted) !important;
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 15px;
  cursor: pointer;
  margin-bottom: 0 !important;
  transition: border-color .15s ease, color .15s ease;
}
.check:hover { border-color: var(--paper); }
.check input { accent-color: var(--accent); width: 17px; height: 17px; cursor: pointer; }
.check:has(input:checked) { border-color: var(--accent); color: var(--paper) !important; }
.check--call { display: inline-flex; margin-top: 4px; }

/* Form nav buttons */
.form-nav {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 28px;
}
.form-nav .btn--ghost { margin-right: auto; }
.form-nav .btn--primary { margin-left: auto; }

/* Honeypot - always hidden */
.hp { position: absolute; left: -9999px; }

/* Success state */
.apply__done {
  text-align: center;
  background: var(--ink-2);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 48px 32px;
  margin-top: 24px;
}
.apply__done-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 50%;
  font-size: 28px;
}
.apply__done h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.apply__done p { max-width: 46ch; margin-inline: auto; }

/* ============================================================
   Selection / focus polish
   ============================================================ */
::selection { background: var(--accent); color: var(--accent-ink); }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
