/* =============================================================
   audiences.css — Business & Developers page
   Aligned to landing-new.css patterns and design-system tokens
   ============================================================= */

/* ── LOCAL TOKENS (mirrors landing-new.css :root) ── */
:root {
  --aud-blue:   #1e3a8a;
  --aud-navy:   #0f172a;
  --aud-mid:    #334155;
  --aud-soft:   #1e293b;
  --aud-border: rgba(30,58,138,0.10);
  --aud-card-blue: #f0f5ff;
  --aud-radius: 16px;
  --aud-radius-sm: 10px;
}

/* ── HERO ── */
.aud-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1e3a8a 0%, #142a63 55%, #0b1845 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 64px;
}

.aud-hero-bg-video{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;
  z-index:0;
  opacity:0;
  pointer-events:none;
  will-change:transform,opacity,border-radius;
  filter:brightness(1.22) saturate(1.05);
}

.aud-hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,rgba(5,15,60,0.42) 0%,rgba(5,15,60,0.16) 40%,rgba(5,15,60,0.44) 100%),
    radial-gradient(ellipse at center,rgba(5,15,60,0.08) 0%,rgba(5,15,60,0.48) 100%);
  pointer-events: none;
  z-index: 1;
}

.aud-hero__text-scrim{
  position:absolute;
  left:50%;top:0;
  transform:translateX(-50%);
  width:min(900px,92%);
  height:100%;
  background:radial-gradient(ellipse 62% 68% at 50% 42%,rgba(3,8,32,0.5) 0%,rgba(3,8,32,0) 76%);
  pointer-events:none;z-index:1;
}

.aud-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 760px;
  gap: 24px;
}

.aud-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88);
}

.aud-hero__dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  animation: aud-pulse 2s ease-in-out infinite;
}

@keyframes aud-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.aud-hero__title {
  font-size: clamp(32px, 6vw, 60px);
  font-weight: 800;
  color: #fff !important;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin: 0;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.aud-hero__sub {
  font-size: clamp(15px, 2vw, 17px);
  color: rgba(248,249,250,0.92);
  line-height: 1.7;
  max-width: 480px;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}

.aud-hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Ghost white variant for dark hero */
.pz-btn--ghost-white {
  background: transparent;
  color: var(--pz-white);
  border: 1.5px solid rgba(255,255,255,0.35);
  box-shadow: none;
}
.pz-btn--ghost-white:hover {
  background: rgba(255,255,255,0.1);
}

/* White button for dark hero */
.pz-btn--white {
  background: var(--pz-white);
  color: var(--pz-blue);
}
.pz-btn--white:hover {
  background: #f0f4ff;
}

/* ── CONTENT AREA ── */
.aud-content {
  padding: 80px 16px;
}

.aud-content .pz-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* ── SECTION LABEL — matches .s-label ── */
.aud-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eff6ff;
  border: 1px solid rgba(30,58,138,0.15);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--aud-blue);
  margin-bottom: 16px;
}

.aud-label__dot {
  width: 5px;
  height: 5px;
  background: var(--aud-blue);
  border-radius: 50%;
}

/* ── SECTION HEADER ── */
.aud-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
}

/* matches .s-head — with !important to beat .pz-ds-light h2 */
.pz-ds-light .aud-section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--aud-blue) !important;
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin: 0 0 14px;
}

.aud-section-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--aud-soft);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* ── INTRO CARD ── */
.aud-intro {
  background: #eff6ff;
  border: 1px solid rgba(30,58,138,0.12);
  border-radius: var(--aud-radius);
  padding: 28px 32px;
  max-width: 100%;
  margin: 0 0 48px;
}

.aud-intro p {
  font-size: 15px;
  color: var(--aud-mid);
  line-height: 1.8;
  margin: 0;
}

/* ── COMING SOON LABEL ── */
.aud-coming-label {
  display: block;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

/* ── API GRID — matches .feat-grid / .how-grid ── */
.aud-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

/* matches .feat-card */
.aud-card {
  background: #fff;
  border-radius: var(--aud-radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15,23,42,0.06), 0 10px 28px rgba(30,58,138,0.09);
  transition: box-shadow 0.4s cubic-bezier(0.22,1,0.36,1), transform 0.4s cubic-bezier(0.22,1,0.36,1);
}

.aud-card:hover {
  box-shadow: 0 18px 44px -8px rgba(30,58,138,0.16);
  transform: translateY(-5px);
}

.aud-card:nth-child(2) {
  background: var(--aud-card-blue);
}

/* An odd last card sits centred under the row above instead of hanging at the left. */
@media (min-width: 961px) {
  .aud-grid > .aud-card:last-child:nth-child(3n + 1) { grid-column: 2; }
}
@media (max-width: 960px) and (min-width: 601px) {
  .aud-grid > .aud-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 12px);
  }
}

.aud-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aud-card__icon svg {
  width: 18px;
  height: 18px;
}

/* matches .feat-title / .how-title — with !important to beat .pz-ds-light h3 */
.pz-ds-light .aud-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--aud-blue) !important;
  letter-spacing: -0.3px;
  margin: 0;
}

.aud-card__desc {
  font-size: 14px;
  color: var(--aud-soft);
  line-height: 1.7;
  margin: 0;
}

/* ── WAITLIST SECTION ── */
.aud-waitlist {
  background: linear-gradient(160deg, #eff6ff 0%, #dbeafe 60%, #f0f9ff 100%);
  border: 1px solid #dbeafe;
  border-radius: var(--aud-radius);
  padding: 48px 40px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

/* matches .cta-h pattern but on light bg — !important beats .pz-ds-light h2 */
.pz-ds-light .aud-waitlist__title {
  font-size: clamp(26px, 4vw, 32px);
  font-weight: 800;
  color: var(--aud-blue) !important;
  letter-spacing: -0.8px;
  margin: 0 0 10px;
}

.aud-waitlist__sub {
  font-size: 15px;
  color: var(--aud-soft);
  line-height: 1.7;
  margin: 0 0 24px;
}

.aud-waitlist__form {
  display: flex;
  gap: 8px;
}

.aud-waitlist__input {
  flex: 1;
  padding: 13px 16px;
  border: 1.5px solid rgba(30,58,138,0.15);
  border-radius: var(--aud-radius-sm);
  background: #ffffff;
  font-family: inherit;
  font-size: 14px;
  color: var(--aud-navy);
  outline: none;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.aud-waitlist__input:focus {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30,58,138,0.1);
}

.aud-waitlist__input::placeholder { color: #94a3b8; }

.aud-waitlist__feedback {
  font-size: 13px;
  min-height: 20px;
  margin: 12px 0 0;
  line-height: 1.5;
}

.aud-waitlist__feedback.success { color: #047857; }
.aud-waitlist__feedback.error   { color: #dc2626; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .aud-hero { padding: 100px 20px 48px; }
  .aud-hero__ctas { flex-direction: column; width: 100%; }
  .aud-hero__ctas .pz-btn { width: 100%; justify-content: center; }

  .aud-content { padding: 60px 16px; }

  .aud-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .aud-intro { padding: 22px 20px; }

  .aud-waitlist { padding: 32px 20px; }

  .aud-waitlist__form { flex-direction: column; }

  .aud-waitlist__input,
  .aud-waitlist__form .pz-btn { width: 100%; }
}

/* ── Tablet: 2-col grid ── */
@media (max-width: 960px) and (min-width: 601px) {
  .aud-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ── "Coming soon" nav/footer items (business-chrome.js) ── */
.pz-nav__link--soon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: default;
  opacity: 0.55;
}
.pz-soon-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.10);
  color: #1e3a8a;
  white-space: nowrap;
}
.pz-footer .pz-soon-badge {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.75);
}
/* Business mobile menu — reuses the personal .pz-mmenu__row look.
   The menu is re-parented to <body> by business-chrome.js so it is a real
   full-viewport panel under the nav (not trapped inside the header). */
.pz-mmenu__row {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.pz-mmenu__row--soon {
  color: #94a3b8 !important;
  cursor: default;
}
.pz-mmenu__row--soon .pz-soon-badge {
  margin-left: 8px;
  vertical-align: middle;
}

/* Solid header while the menu is open so it reads as one connected
   surface with the panel below — no hero showing through the blur. */
body.pz-menu-open .pz-nav {
  background: #ffffff !important;
  border-bottom-color: var(--pz-line-soft, #f1f5f9) !important;
}

/* Keep both CTAs on one line at phone widths */
.pz-mmenu .pz-mmenu__cta {
  white-space: nowrap;
  padding-left: 16px;
  padding-right: 16px;
  justify-content: center;
}