/* =========================================================
   Homepage + A/B strategy variants – design enhancements
   Applies to all 7 variants (control, pain, day-in-life,
   money-leak, outcome, replace-stack, social-proof).
   Loads after styles.css so overrides apply cleanly.
   ========================================================= */

/* === HERO: Animated grid ===================================== */

/* Bring the existing static grid to life */
.hero-grid {
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: heroGridDrift 32s linear infinite;
}

@keyframes heroGridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 56px 56px; }
}

/* Richer depth gradient on the hero body */
.hero {
  background:
    radial-gradient(ellipse 60% 55% at 80% 15%, rgba(0, 212, 255, 0.13) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 10% 85%, rgba(0, 212, 255, 0.07) 0%, transparent 55%),
    radial-gradient(circle at top right, #1a3b5c 0%, #0B233A 50%);
  padding: 150px 0 88px;
}

/* Override the existing ::before so it doesn't fight the new body gradient */
.hero::before {
  background: none;
}

/* === HERO: Gradient headline ================================= */

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: #ffffff;
  text-wrap: balance;
}

/* Cyan emphasis for a key phrase, set via <span>/<em> in the headline.
   Solid colour, not gradient-clipped text (a known AI tell). */
.hero h1 span,
.hero h1 em {
  color: var(--cyan-400);
  font-style: normal;
}

.hero-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  line-height: 1.7;
}

/* Primary CTA: slight shimmer on hover */
.hero .btn-primary {
  position: relative;
  overflow: hidden;
}

.hero .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.55s ease;
}

.hero .btn-primary:hover::after {
  transform: translateX(100%);
}

/* === HERO PRICE BURST: warmer glow ========================== */

.hero-price-burst {
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.4)) drop-shadow(0 0 24px rgba(0, 212, 255, 0.35));
}

/* === APP BADGES: Refined ===================================== */

.app-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 9px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  backdrop-filter: blur(4px);
}

.app-badge:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: white;
}

.app-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.app-badge-small {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

.app-badge-large {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* === FEATURE SHOWCASE ======================================= */

.feature-showcase {
  border-top: none;
  background: transparent;
}

/* === FEATURE ROWS: Scroll-reveal ============================ */

/* Scroll-reveal start-state is gated on .js so content is NEVER hidden when JS is
   unavailable (crawlers, no-JS, IntersectionObserver failure). The observer adds
   .hp-visible to fade each row in. Without .js, rows render fully visible. */
.js .feature-row-wrapper {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-row-wrapper.hp-visible {
  opacity: 1;
  transform: translateY(0);
}

/* First row is visible above the fold — reveal immediately */
.js .feature-row-wrapper:first-child {
  opacity: 1;
  transform: none;
  transition: none;
}

/* === FEATURE ROWS: Screenshot frame accent glow ============= */

.feature-row-wrapper .feature-screenshot-frame {
  border-radius: 14px;
  box-shadow: 0 20px 44px -12px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.feature-row-wrapper .feature-screenshot-frame:hover {
  transform: translateY(-5px);
  box-shadow:
    0 28px 56px -12px rgba(0,0,0,0.22),
    0 0 0 1px rgba(0,0,0,0.04),
    0 0 40px -8px color-mix(in srgb, var(--accent-color, var(--cyan-500)) 50%, transparent);
}

/* Frame accent bar: taller + glow on hover */
.frame-accent-bar {
  height: 4px;
  transition: box-shadow 0.28s ease;
}

.feature-screenshot-frame:hover .frame-accent-bar {
  box-shadow: 0 2px 12px var(--accent-color, var(--cyan-500));
}

/* === FEATURE ROWS: Badge refinement ========================= */

.feature-row-wrapper .feature-row-badge {
  border: 1px solid color-mix(in srgb, var(--accent-color, var(--cyan-500)) 28%, transparent);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
}

/* === FEATURE ROWS: Headline ================================= */

.feature-row-text h3 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.2;
  color: var(--navy-950);
}

/* === FEATURE ROWS: Ghost CTA ================================ */

.feature-row-wrapper .btn-ghost {
  color: var(--accent-color, var(--cyan-500));
  border-color: color-mix(in srgb, var(--accent-color, var(--cyan-500)) 28%, transparent);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.18s ease, border-color 0.18s ease, gap 0.15s ease;
}

.feature-row-wrapper .btn-ghost:hover {
  background: color-mix(in srgb, var(--accent-color, var(--cyan-500)) 8%, transparent);
  border-color: color-mix(in srgb, var(--accent-color, var(--cyan-500)) 50%, transparent);
  gap: 0.5rem;
  color: var(--accent-color, var(--cyan-500));
}

/* Nudge the arrow svg on hover */
.feature-row-wrapper .btn-ghost svg {
  transition: transform 0.15s ease;
}

.feature-row-wrapper .btn-ghost:hover svg {
  transform: translateX(3px);
}

/* === HOMEPAGE PRICING: Inverted popular card ================ */

.pricing-section .pricing-card.popular {
  background: var(--navy-950);
  border: 1.5px solid rgba(0, 212, 255, 0.25);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.07), 0 24px 48px rgba(11, 35, 58, 0.35);
  transform: translateY(-6px) scale(1.01);
}

.pricing-section .pricing-card.popular:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.12), 0 32px 60px rgba(11, 35, 58, 0.4);
  border-color: rgba(0, 212, 255, 0.4);
}

.pricing-section .pricing-card.popular::before {
  background: var(--cyan-500);
  color: var(--navy-950);
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.4);
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.pricing-section .pricing-card.popular .pricing-card-header {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-section .pricing-card.popular .pricing-card-name {
  color: white;
}

.pricing-section .pricing-card.popular .pricing-card-description {
  color: rgba(255, 255, 255, 0.55);
}

.pricing-section .pricing-card.popular .pricing-amount {
  color: white;
}

.pricing-section .pricing-card.popular .pricing-amount sup {
  color: var(--cyan-400);
}

.pricing-section .pricing-card.popular .pricing-period,
.pricing-section .pricing-card.popular .pricing-yearly-note {
  color: rgba(255, 255, 255, 0.45);
}

.pricing-section .pricing-card.popular .pricing-card-features li {
  color: rgba(255, 255, 255, 0.78);
}

.pricing-section .pricing-card.popular .pricing-card-features li::before {
  background: var(--cyan-400);
}

.pricing-section .pricing-card.popular .pricing-card-features li.disabled {
  color: rgba(255, 255, 255, 0.25);
}

.pricing-section .pricing-card.popular .pricing-card-features li.disabled::before {
  background: rgba(255, 255, 255, 0.2);
}

.pricing-section .pricing-card.popular .btn-secondary {
  background: var(--cyan-500);
  color: var(--navy-950);
  border-color: var(--cyan-500);
  font-weight: 700;
}

.pricing-section .pricing-card.popular .btn-secondary:hover {
  background: var(--cyan-300);
  border-color: var(--cyan-300);
}

/* Pricing toggle: base styles in styles.css handle colors; no dark-bg overrides needed here */

/* === STICKY DEMO BAR ======================================== */

.sticky-demo-bar {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(11, 35, 58, 0.92);
  border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.sticky-demo-text {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* === HERO TRUST LINE ======================================== */

.hero-trust-line {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.01em;
  margin-top: 14px;
  margin-bottom: 0;
  line-height: 1.4;
}

/* === PAIN/STATS BAND ======================================== */

.hp-pain-band {
  background: var(--navy-950);
  padding: 42px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-pain-band-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.hp-pain-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-pain-stat:last-child {
  border-right: none;
}

.hp-pain-number {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--cyan-400);
  line-height: 1.1;
  display: block;
}

.hp-pain-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.45;
  margin-top: 6px;
  max-width: 18ch;
}

@media (max-width: 640px) {
  .hp-pain-band-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hp-pain-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 16px;
  }

  .hp-pain-stat:last-child {
    border-bottom: none;
  }
}

/* === REDUCED MOTION ========================================= */

@media (prefers-reduced-motion: reduce) {
  .hero-grid,
  .hero .btn-primary::after {
    animation: none;
  }

  /* Reveal start-state is now .js-scoped — keep the override specific enough to win. */
  .js .feature-row-wrapper,
  .js .feature-row-wrapper:first-child {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Safety net: neutralise any animation/transition not handled explicitly above
     (belt-and-suspenders for motion sensitivity). */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === MOBILE ================================================= */

@media (max-width: 900px) {
  .pricing-section .pricing-card.popular {
    transform: none;
  }
}

/* =============================================================
   HERO V2 — email form, browser chrome, annotation callouts
   ============================================================= */

/* Eyebrow badge */
.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cyan-400);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 1.25rem;
}

.eyebrow-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-400);
  box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.5);
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(0, 212, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 212, 255, 0); }
}

/* Hero email form */
.hero-email-form {
  margin-top: 2rem;
  max-width: 520px;
}

.hero-form-group {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 5px;
  backdrop-filter: blur(4px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-form-group:focus-within {
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.hero-email-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: white;
  font-family: var(--font-sans);
}

.hero-email-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.hero-form-group .btn-primary {
  flex-shrink: 0;
  border-radius: 8px;
  font-size: 0.9rem;
  padding: 10px 20px;
  white-space: nowrap;
}

/* Browser chrome on hero screenshot */
.hero-annotated-wrap {
  position: relative;
}

.hero-screenshot-chrome {
  background: #1a2b3d;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow:
    0 32px 64px -12px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.chrome-bar {
  background: #243547;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.chrome-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chrome-dot-red    { background: #ff5f57; }
.chrome-dot-yellow { background: #febc2e; }
.chrome-dot-green  { background: #28c840; }

.chrome-address-bar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-mono);
  letter-spacing: 0;
}

.hero-chrome-img {
  width: 100%;
  display: block;
}

/* Floating annotation callout cards */
.screenshot-callout {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 11px 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 195px;
  white-space: nowrap;
  z-index: 10;
  pointer-events: none;
}

.callout-icon-wrap {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.callout-icon-green { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.callout-icon-cyan  { background: rgba(0, 212, 255, 0.12); color: #0891b2; }

.callout-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.callout-body strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.callout-body span {
  font-size: 0.73rem;
  color: #64748b;
  line-height: 1.2;
}

/* Pill-style callout */
.callout-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #1e293b;
  background: white;
  border-radius: 999px;
  padding: 7px 14px;
  min-width: auto;
}

/* Callout positions */
.callout-pos-paid  { top: 15%; right: -24px; animation: callout-float 4s ease-in-out infinite; }
.callout-pos-quote { bottom: 22%; right: -20px; animation: callout-float 4s ease-in-out infinite 2.2s; }
.callout-pos-jobs  { bottom: 6%; left: 20px; animation: callout-float 4s ease-in-out infinite 1.1s; }

@keyframes callout-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}

/* =============================================================
   SOCIAL PROOF STRIP
   ============================================================= */

.hp-proof-strip {
  background: #0d2a42;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.hp-proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hp-proof-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hp-stars {
  color: #fbbf24;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.hp-proof-score {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.hp-proof-platform {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.hp-proof-sep {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
}

.hp-proof-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.hp-proof-item svg {
  opacity: 0.5;
}

/* =============================================================
   HOW IT WORKS — 5-step flow
   ============================================================= */

.hp-how-it-works {
  background: #fff;
  /* The next section (.feature-row-wrapper) already adds 48px top padding, so a
     large bottom pad here left a big empty gap under the step flow. */
  padding: 72px 0 48px;
}

.hp-how-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--navy-950);
  margin-top: 0.6rem;
  margin-bottom: 0.8rem;
}

.hp-how-sub {
  font-size: 1.1rem;
  color: var(--slate-400);
  max-width: 540px;
  line-height: 1.65;
  margin-bottom: 3.5rem;
}

.hp-how-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.hp-how-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
}

.hp-how-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-950);
  color: white;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.hp-how-step-num--paid {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

.hp-how-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--navy-800);
  transition: background 0.2s, border-color 0.2s;
}

.hp-how-step:hover .hp-how-step-icon {
  background: rgba(0, 212, 255, 0.06);
  border-color: rgba(0, 212, 255, 0.2);
  color: var(--cyan-500);
}

.hp-how-step-icon--paid { background: rgba(22, 163, 74, 0.08); border-color: rgba(22, 163, 74, 0.2); color: #16a34a; }

.hp-how-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-950);
  margin-bottom: 6px;
}

.hp-how-step p {
  font-size: 0.85rem;
  color: var(--slate-400);
  line-height: 1.55;
  max-width: 130px;
}

.hp-how-connector {
  padding-top: 86px;
  color: var(--slate-200);
  flex-shrink: 0;
}

/* =============================================================
   FEATURE SCREENSHOT CHROME (fsc-*)
   Chrome bar sits on top of existing feature-screenshot-frame
   ============================================================= */

.feature-screenshot-chrome {
  background: #1a2b3d !important;
  border-radius: 12px;
  overflow: hidden;
}

.fsc-bar {
  background: #243547;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.fsc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fsc-dot-r { background: #ff5f57; }
.fsc-dot-y { background: #febc2e; }
.fsc-dot-g { background: #28c840; }

.fsc-body {
  position: relative;
  overflow: hidden;
}

.fsc-body picture,
.fsc-body img {
  display: block;
  width: 100%;
}

.fsc-body .frame-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}

/* Feature screenshot annotation callouts */
.feature-callout {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.feature-callout strong { font-weight: 700; }
.feature-callout span  { font-weight: 500; }

.feature-callout-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.feature-callout-info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.feature-callout-paid {
  background: #fefce8;
  color: #854d0e;
  border: 1px solid #fef08a;
}

.feature-callout-purple {
  background: #faf5ff;
  color: #7c3aed;
  border: 1px solid #e9d5ff;
}

/* Callout corner positions */
.feature-callout-tr { top: 12px;    right: 12px; }
.feature-callout-br { bottom: 12px; right: 12px; }
.feature-callout-bl { bottom: 12px; left: 12px;  }
.feature-callout-tl { top: 12px;    left: 12px;  }

/* =============================================================
   TESTIMONIALS
   ============================================================= */

.hp-testimonials {
  background: #fff;
  padding: 100px 0 110px;
  border-top: 1px solid var(--slate-100);
}

.hp-testimonials-heading {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--navy-950);
  margin-top: 0.6rem;
  margin-bottom: 3rem;
  max-width: 520px;
}

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

.hp-testimonial-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hp-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.07);
}

.hp-testimonial-outcome {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #16a34a;
  background: rgba(22, 163, 74, 0.08);
  border-radius: 999px;
  padding: 5px 12px;
  width: fit-content;
}

.hp-testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--slate-600);
  font-style: italic;
  flex: 1;
  margin: 0;
}

.hp-testimonial-quote::before { content: '\201C'; }
.hp-testimonial-quote::after  { content: '\201D'; }

.hp-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--slate-100);
}

.hp-testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--cyan-400);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.hp-testimonial-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hp-testimonial-meta strong {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--navy-950);
}

.hp-testimonial-meta span {
  font-size: 0.78rem;
  color: var(--slate-400);
}

/* =============================================================
   INDUSTRIES
   ============================================================= */

.hp-industries {
  background: var(--slate-50);
  padding: 100px 0 110px;
  border-top: 1px solid var(--slate-100);
}

.hp-industries-heading {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--navy-950);
  margin-top: 0.6rem;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hp-industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hp-industry-card {
  background: white;
  border: 1px solid var(--slate-100);
  border-radius: 14px;
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  text-decoration: none;
  color: var(--navy-950);
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hp-industry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
  border-color: rgba(0, 212, 255, 0.25);
}

.hp-industry-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 212, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-800);
  transition: background 0.2s, color 0.2s;
}

.hp-industry-card:hover .hp-industry-icon {
  background: rgba(0, 212, 255, 0.12);
  color: var(--cyan-500);
}

.hp-industry-card-more {
  background: var(--slate-50);
  border-style: dashed;
  color: var(--slate-400);
}

.hp-industry-card-more:hover {
  background: white;
  color: var(--navy-950);
  border-style: solid;
}

/* =============================================================
   FAQ
   ============================================================= */

.hp-faq {
  background: #fff;
  padding: 100px 0 110px;
  border-top: 1px solid var(--slate-100);
}

.hp-faq-heading {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--navy-950);
  margin-top: 0.6rem;
  margin-bottom: 2.5rem;
}

.hp-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--slate-100);
  border-radius: 16px;
  overflow: hidden;
}

.hp-faq-item {
  border-bottom: 1px solid var(--slate-100);
  border-right: 1px solid var(--slate-100);
}

.hp-faq-item:nth-child(2n) {
  border-right: none;
}

.hp-faq-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.hp-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-950);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.hp-faq-question:hover {
  background: var(--slate-50);
}

.hp-faq-question[aria-expanded="true"] {
  color: var(--cyan-500);
}

.hp-faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--slate-300);
}

.hp-faq-question[aria-expanded="true"] .hp-faq-chevron {
  transform: rotate(180deg);
  color: var(--cyan-500);
}

.hp-faq-answer {
  display: none;
  padding: 0 24px 22px;
}

.hp-faq-answer.is-open {
  display: block;
}

.hp-faq-answer p {
  font-size: 0.9rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin: 0;
}

/* =============================================================
   CLOSING CTA
   ============================================================= */

.hp-final-cta {
  background:
    radial-gradient(ellipse 60% 55% at 80% 20%, rgba(0, 212, 255, 0.1) 0%, transparent 55%),
    radial-gradient(circle at top right, #1a3b5c 0%, #0B233A 50%);
  padding: 100px 0 110px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-final-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.section-eyebrow--light {
  color: var(--cyan-400);
  border-color: rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.06);
}

.hp-final-cta-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: white;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

.hp-final-cta-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.hp-final-cta-form {
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.hp-final-cta-alts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.hp-final-cta-link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.15s ease;
}

.hp-final-cta-link:hover { color: rgba(255, 255, 255, 0.8); }

.hp-final-cta-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

/* =============================================================
   SECTION EYEBROW (global helper used by new sections)
   ============================================================= */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-500);
  background: rgba(0, 212, 255, 0.07);
  border: 1px solid rgba(0, 212, 255, 0.18);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 0;
}

/* =============================================================
   RESPONSIVE — tablet & mobile
   ============================================================= */

@media (max-width: 1024px) {
  .callout-pos-paid  { right: -12px; }
  .callout-pos-quote { right: -8px;  }

  .hp-industry-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  /* Hide hero annotation callouts on smaller screens to avoid overflow */
  .screenshot-callout { display: none; }

  .hero-form-group {
    flex-direction: column;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 0;
  }

  .hero-email-input {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 10px;
    padding: 14px 16px;
    width: 100%;
  }

  .hero-form-group .btn-primary {
    width: 100%;
    border-radius: 10px;
    justify-content: center;
    padding: 14px 20px;
  }

  .hp-how-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .hp-how-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 16px 0;
    gap: 16px;
  }

  .hp-how-step-num { margin-bottom: 0; }
  .hp-how-step-icon { margin-bottom: 0; flex-shrink: 0; }
  .hp-how-step p { max-width: none; }
  .hp-how-connector { display: none; }

  .hp-testimonials-grid { grid-template-columns: 1fr; }

  .hp-industry-grid { grid-template-columns: repeat(2, 1fr); }

  .hp-faq-grid {
    grid-template-columns: 1fr;
  }

  .hp-faq-item:nth-child(2n) { border-right: none; }
  .hp-faq-item { border-right: none; }
  .hp-faq-item:last-child { border-bottom: none; }
  .hp-faq-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--slate-100); }
  .hp-faq-item:last-child { border-bottom: none; }
}

@media (max-width: 640px) {
  .hp-proof-inner { gap: 16px; }
  .hp-proof-sep { display: none; }

  .hp-how-it-works,
  .hp-testimonials,
  .hp-industries,
  .hp-faq,
  .hp-final-cta { padding: 64px 0 72px; }

  .hp-industry-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* =============================================================
   REDUCED MOTION — new sections
   ============================================================= */

@media (prefers-reduced-motion: reduce) {
  .eyebrow-pulse,
  .callout-pos-paid,
  .callout-pos-quote,
  .callout-pos-jobs { animation: none; }
}

/* =========================================================
   DESIGN ELEVATION — Precision Industrial
   All overrides below lift the page from generic template
   to a distinctive, high-quality design.
   ========================================================= */

/* ─────────────────────────────────────────────────────────
   HERO: Deeper, more dramatic, larger type
   ───────────────────────────────────────────────────────── */

.hero-v2.hero {
  background:
    radial-gradient(ellipse 90% 70% at 65% -10%, rgba(0, 212, 255, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 5% 95%, rgba(0, 100, 200, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 95% 85%, rgba(0, 50, 100, 0.2) 0%, transparent 50%),
    #050d1a;
  padding: 150px 0 104px;
  position: relative;
  overflow: hidden;
}

/* Grain texture — makes dark sections feel expensive not flat */
.hero-v2.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.25;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 0;
}

.hero-v2.hero .container,
.hero-v2.hero .hero-grid {
  position: relative;
  z-index: 1;
}

/* H1: Bigger, still warm — weight/tracking/leading matched to the rest of the page */
.hero-v2 h1 {
  font-size: clamp(3rem, 6.8vw, 5.2rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.1 !important;
  margin-bottom: 1.25rem;
}

/* The highlight phrase: solid cyan, not gradient-clipped text (an AI tell) */
.hero-v2 h1 span {
  color: var(--cyan-400);
  -webkit-text-fill-color: var(--cyan-400);
}

/* Subtitle: lighter weight creates contrast with 800-weight H1 */
.hero-v2 .hero-description {
  font-size: 1.18rem !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.74) !important;
  line-height: 1.68 !important;
  max-width: 44ch;
}

/* Glass morphism form: sharper edges, real blur */
.hero-email-form .hero-form-group {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(8px) !important;
}

.hero-email-form .hero-form-group:focus-within {
  border-color: rgba(0, 212, 255, 0.45) !important;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.08), 0 8px 32px rgba(0, 212, 255, 0.06) !important;
}

/* ─────────────────────────────────────────────────────────
   PROOF STRIP: More confidence
   ───────────────────────────────────────────────────────── */

.hp-proof-strip {
  background: #071525 !important;
  padding: 22px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.hp-proof-score {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: white !important;
}

.hp-proof-platform {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.75) !important;
}

.hp-stars {
  font-size: 1.05rem !important;
  letter-spacing: 2px !important;
}

/* ─────────────────────────────────────────────────────────
   PAIN STATS: Massive numbers, more drama
   ───────────────────────────────────────────────────────── */

.hp-pain-band {
  background: #071525 !important;
  padding: 56px 0 !important;
}

.hp-pain-number {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.1 !important;
}

.hp-pain-label {
  font-size: 0.83rem !important;
  font-weight: 400 !important;
  max-width: 24ch !important;
  color: rgba(255, 255, 255, 0.45) !important;
}

.hp-pain-stat {
  border-right-color: rgba(255, 255, 255, 0.06) !important;
  padding: 24px 32px !important;
}

/* ─────────────────────────────────────────────────────────
   HOW IT WORKS: Off-white bg + horizontal rail
   ───────────────────────────────────────────────────────── */

.hp-how-it-works {
  background: #f5f7fb !important;
}

.hp-how-heading {
  font-size: clamp(2.1rem, 4vw, 3.4rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.15 !important;
}

.hp-how-sub {
  font-weight: 400 !important;
  color: #64748b !important;
  font-size: 1.08rem !important;
  max-width: 48ch;
}

/* Hide the arrow connector SVG — replaced by the rail */
.hp-how-connector {
  flex: 0.6;
  padding-top: 0 !important;
  display: flex !important;
  align-items: flex-start;
  padding-top: 24px !important;
  color: rgba(0, 212, 255, 0.25) !important;
}

.hp-how-connector svg {
  width: 20px;
  height: 20px;
  opacity: 0.4;
}

/* Step: bigger numbers, more presence */
.hp-how-step-num {
  width: 48px !important;
  height: 48px !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  background: #ffffff !important;
  color: #0B233A !important;
  border: 1.5px solid rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.06) !important;
  margin-bottom: 18px !important;
  letter-spacing: -0.02em;
}

.hp-how-step-num--paid {
  background: #0B233A !important;
  color: #00D4FF !important;
  border-color: rgba(0, 212, 255, 0.3) !important;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2), 0 0 0 3px rgba(0, 212, 255, 0.06) !important;
}

/* Step icon: clean card */
.hp-how-step-icon {
  width: 56px !important;
  height: 56px !important;
  border-radius: 15px !important;
  background: white !important;
  border: 1.5px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
  color: #0B233A !important;
}

.hp-how-step:hover .hp-how-step-icon {
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.14) !important;
  border-color: rgba(0, 212, 255, 0.2) !important;
}

.hp-how-step-icon--paid {
  background: rgba(0, 212, 255, 0.06) !important;
  border-color: rgba(0, 212, 255, 0.15) !important;
  color: #00D4FF !important;
}

.hp-how-step h4 {
  font-size: 1.0rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: #0B233A !important;
  margin-bottom: 8px !important;
}

.hp-how-step p {
  font-size: 0.86rem !important;
  color: #64748b !important;
  line-height: 1.58 !important;
  max-width: 135px !important;
  font-weight: 400 !important;
}

/* ─────────────────────────────────────────────────────────
   SECTION HEADINGS: System-wide contrast upgrade
   ───────────────────────────────────────────────────────── */

.hp-testimonials-heading,
.hp-industries-heading,
.hp-faq-heading {
  font-size: clamp(2rem, 3.8vw, 3.1rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.2 !important;
}

/* Section eyebrow: slightly tighter */
.section-eyebrow {
  font-size: 0.68rem !important;
  letter-spacing: 0.13em !important;
  font-weight: 700 !important;
}

/* ─────────────────────────────────────────────────────────
   FEATURE ROWS: More dramatic screenshot shadows
   ───────────────────────────────────────────────────────── */

.feature-screenshot-chrome,
.feature-row-wrapper .feature-screenshot-frame {
  box-shadow:
    0 48px 88px -20px rgba(0, 0, 0, 0.26),
    0 24px 44px -10px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(0, 0, 0, 0.07) !important;
  border-radius: 14px !important;
}

.feature-row-wrapper .feature-screenshot-frame:hover {
  box-shadow:
    0 56px 100px -20px rgba(0, 0, 0, 0.3),
    0 28px 52px -10px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(0, 0, 0, 0.05),
    0 0 48px -10px rgba(0, 212, 255, 0.18) !important;
}

.feature-row-text h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.012em !important;
  line-height: 1.2 !important;
}

.feature-row-text p {
  font-size: 1.0rem;
  line-height: 1.72;
  color: #475569;
}

/* ─────────────────────────────────────────────────────────
   TESTIMONIALS: Dark section — mid-page shift
   ───────────────────────────────────────────────────────── */

.hp-testimonials {
  background: #050d1a !important;
  border-top: none !important;
  position: relative;
  overflow: hidden;
}

/* Grain on dark testimonials section */
.hp-testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.2;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 0;
}

/* Subtle glow behind the grid */
.hp-testimonials::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hp-testimonials .container,
.hp-testimonials-heading,
.hp-testimonials-grid {
  position: relative;
  z-index: 1;
}

.hp-testimonials .section-eyebrow {
  color: var(--cyan-400) !important;
  background: rgba(0, 212, 255, 0.08) !important;
  border-color: rgba(0, 212, 255, 0.18) !important;
}

.hp-testimonials-heading {
  color: white !important;
}

/* Cards: frosted glass on deep dark */
.hp-testimonial-card {
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 20px !important;
  backdrop-filter: blur(12px) !important;
}

.hp-testimonial-card:hover {
  background: rgba(255, 255, 255, 0.065) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  transform: translateY(-6px) !important;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.09) !important;
}

.hp-testimonial-outcome {
  color: #33ddff !important;
  background: rgba(0, 212, 255, 0.1) !important;
}

.hp-testimonial-outcome svg {
  color: #33ddff;
}

.hp-testimonial-quote {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.97rem !important;
  line-height: 1.7 !important;
}

.hp-testimonial-author {
  border-top-color: rgba(255, 255, 255, 0.08) !important;
}

.hp-testimonial-meta strong {
  color: white !important;
}

.hp-testimonial-meta span {
  color: rgba(255, 255, 255, 0.42) !important;
}

.hp-testimonial-avatar {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #33ddff !important;
}

/* ─────────────────────────────────────────────────────────
   INDUSTRIES: Clean white, sharper interactions
   ───────────────────────────────────────────────────────── */

.hp-industries {
  background: #ffffff !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.hp-industry-card {
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  border-radius: 16px !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

.hp-industry-card:hover {
  border-color: rgba(0, 212, 255, 0.4) !important;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.07), 0 14px 36px rgba(0, 0, 0, 0.09) !important;
  transform: translateY(-4px) !important;
}

.hp-industry-icon {
  border-radius: 14px !important;
  background: #f5f7fb !important;
  border: 1.5px solid rgba(0, 0, 0, 0.05) !important;
}

.hp-industry-card:hover .hp-industry-icon {
  background: rgba(0, 212, 255, 0.07) !important;
  border-color: rgba(0, 212, 255, 0.18) !important;
  color: #00D4FF !important;
}

.hp-industry-card-more {
  background: #f5f7fb !important;
  border-style: dashed !important;
}

/* ─────────────────────────────────────────────────────────
   FAQ: Off-white, editorial feel
   ───────────────────────────────────────────────────────── */

.hp-faq {
  background: #f5f7fb !important;
  border-top: none !important;
}

.hp-faq-grid {
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  border-radius: 20px !important;
  background: white;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04), 0 1px 4px rgba(0, 0, 0, 0.03) !important;
  overflow: hidden !important;
}

.hp-faq-item {
  border-color: rgba(0, 0, 0, 0.06) !important;
}

.hp-faq-question {
  font-size: 0.96rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  padding: 24px 28px !important;
  color: #0B233A !important;
}

.hp-faq-question:hover {
  background: #fafbfc !important;
}

.hp-faq-question[aria-expanded="true"] {
  color: var(--cyan-500) !important;
  background: rgba(0, 212, 255, 0.02) !important;
}

.hp-faq-answer {
  padding: 0 28px 24px !important;
}

.hp-faq-answer p {
  font-size: 0.92rem !important;
  line-height: 1.72 !important;
  color: #475569 !important;
  font-weight: 400 !important;
}

.hp-faq-chevron {
  color: rgba(0, 0, 0, 0.25) !important;
}

/* ─────────────────────────────────────────────────────────
   CLOSING CTA: More dramatic
   ───────────────────────────────────────────────────────── */

.hp-final-cta {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 212, 255, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(0, 100, 200, 0.1) 0%, transparent 55%),
    #050d1a !important;
  position: relative;
  overflow: hidden;
}

/* Grain on closing CTA too */
.hp-final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.2;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hp-final-cta .container {
  position: relative;
  z-index: 1;
}

.hp-final-cta-heading {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.015em !important;
  line-height: 1.15 !important;
  color: white !important;
}

.hp-final-cta-sub {
  font-size: 1.08rem !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.52) !important;
}

/* ─────────────────────────────────────────────────────────
   PRICING SECTION (homepage): Better section spacing
   ───────────────────────────────────────────────────────── */

.pricing-section .pricing-header p:last-child {
  font-size: 1.05rem;
  color: var(--gray-600);
  font-weight: 400;
}

/* ─────────────────────────────────────────────────────────
   GLOBAL RHYTHM: Varied section padding breaks monotony
   ───────────────────────────────────────────────────────── */

.hp-how-it-works   { padding: 96px 0 72px !important; }
.hp-testimonials   { padding: 112px 0 120px !important; }
.hp-industries     { padding: 96px 0 104px !important; }
.hp-faq            { padding: 96px 0 104px !important; }
.hp-final-cta      { padding: 120px 0 128px !important; }

/* ─────────────────────────────────────────────────────────
   HERO CALLOUT CARDS: More depth
   ───────────────────────────────────────────────────────── */

.screenshot-callout {
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.2),
    0 4px 12px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.06) !important;
  border-radius: 14px !important;
}

.callout-body strong {
  font-size: 0.84rem !important;
  font-weight: 700 !important;
}

/* ─────────────────────────────────────────────────────────
   STICKY BAR: Crisper
   ───────────────────────────────────────────────────────── */

.sticky-demo-bar {
  background: rgba(5, 13, 26, 0.94) !important;
  border-top-color: rgba(0, 212, 255, 0.15) !important;
}

/* ─────────────────────────────────────────────────────────
   REDUCED MOTION — elevation additions
   ───────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .hp-testimonial-card:hover,
  .hp-industry-card:hover {
    transform: none !important;
  }
}

/* ─────────────────────────────────────────────────────────
   RESPONSIVE — elevation fixes
   ───────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  .hp-how-it-works,
  .hp-testimonials,
  .hp-industries,
  .hp-faq,
  .hp-final-cta { padding: 80px 0 88px !important; }

  .hp-faq-question { padding: 20px 20px !important; }
  .hp-faq-answer   { padding: 0 20px 20px !important; }
}

@media (max-width: 968px) {
  .hero-v2.hero { padding-bottom: 48px; }
}

@media (max-width: 640px) {
  .hero-v2 h1 { font-size: clamp(2.4rem, 10vw, 3.2rem) !important; }
  .hero-v2.hero { padding-bottom: 36px; }

  .hp-how-it-works,
  .hp-testimonials,
  .hp-industries,
  .hp-faq,
  .hp-final-cta { padding: 64px 0 72px !important; }

  .hp-pain-stat { padding: 20px 16px !important; }
}

/* ─────────────────────────────────────────────────────────
   HERO V2 CENTERED — text centered + screenshot below
   Replaces the side-by-side split layout.
   ───────────────────────────────────────────────────────── */

/* Collapse the 2-column grid to a single centered column */
.hero-v2-centered .hero-content {
  display: block !important;
  text-align: center;
}

.hero-v2-centered .hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.hero-v2-centered .hero-description {
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-v2-centered .hero-email-form {
  max-width: 520px;
  width: 100%;
}

/* H1: flat white + cyan accent word — no gradient */
.hero-v2-centered h1 {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: white !important;
  color: white !important;
}

.hero-v2-centered h1 span {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: var(--cyan-400) !important;
  color: var(--cyan-400) !important;
}

/* Hero section: remove bottom padding so screenshot bleeds to edge */
.hero-v2-centered.hero {
  padding-bottom: 0 !important;
}

/* Screenshot stage: full-bleed below text, wider than container */
.hero-stage-wrap {
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 0 var(--space-lg);
}

.hero-stage-chrome {
  border-radius: 14px 14px 0 0 !important;
  box-shadow:
    0 -8px 48px rgba(0, 212, 255, 0.09),
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}

.hero-stage-chrome .hero-chrome-img {
  /* Show the full screenshot — these hero captures are 16:10, so a fixed
     max-height + object-fit: cover cropped the bottom off. Natural height keeps
     the whole image (and every carousel slide the same size, same aspect). */
  height: auto;
}

/* ─────────────────────────────────────────────────────────
   SECTION EYEBROWS — strip pill treatment, text-only
   Template sites use pill badges; editorial sites don't.
   ───────────────────────────────────────────────────────── */

.section-eyebrow {
  background: none !important;
  border: none !important;
  padding: 0 0 0.85rem !important;
  border-radius: 0 !important;
  display: block !important;
  margin-bottom: 0 !important;
}

/* ─────────────────────────────────────────────────────────
   HERO V2 CENTERED — responsive
   ───────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .hero-stage-wrap {
    padding: 0;
    margin-top: 44px;
  }

  .hero-stage-chrome {
    border-radius: 10px 10px 0 0 !important;
  }

  .hero-stage-chrome .hero-chrome-img {
    max-height: none;
  }
}

/* Reduce hero top padding in centered layout to show more screenshot */
.hero-v2-centered.hero {
  padding-top: 78px !important;
}

/* Hide app store badges from hero — they're in the proof strip */
.hero-v2-centered .hero-app-badges {
  display: none !important;
}

/* Pull stage closer to the text */
.hero-stage-wrap {
  margin-top: 36px !important;
}

/* ── Hero: Latest Articles module (replaces hero image in split layout) ─────── */

.hero-latest-articles {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: center;
}

.hero-latest-articles-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.hero-latest-articles-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

.hero-latest-articles-viewall {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cyan-400, #00D4FF);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.15s;
}

.hero-latest-articles-viewall:hover {
  opacity: 1;
}

.hero-article-card {
  display: block;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}

.hero-article-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 212, 255, 0.28);
}

.hero-article-card-title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 5px;
  line-height: 1.35;
}

.hero-article-card-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 8px;
  line-height: 1.5;
}

.hero-article-card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--cyan-400, #00D4FF);
}

/* Hide articles module on mobile — col collapses to 1 at 968px */
@media (max-width: 968px) {
  .hero-latest-articles {
    display: none;
  }
}

.hero-latest-articles-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hp-proof-mobile-links {
  display: none;
}

.hp-proof-nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}

.hp-proof-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

@media (max-width: 968px) {
  .hp-proof-desktop-only {
    display: none;
  }

  .hp-proof-mobile-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =============================================================
   PRICING MOBILE — plan selector tabs + feature collapse
   Only active at ≤768px; desktop layout is untouched.
   ============================================================= */

/* Hidden on desktop */
.pricing-mobile-tabs {
  display: none;
}

.pricing-features-toggle {
  display: none;
}

@media (max-width: 768px) {
  /* ── Section padding ──────────────────────────────────────── */
  .pricing-section {
    padding: 40px 0 52px !important;
  }

  /* ── Mobile plan selector ─────────────────────────────────── */
  .pricing-mobile-tabs {
    display: flex;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.09);
    border-radius: var(--radius-xl);
    padding: 4px;
    gap: 4px;
    margin-bottom: 20px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.07);
  }

  .pricing-mobile-tab {
    flex: 1;
    padding: 10px 6px 9px;
    border: none;
    background: transparent;
    border-radius: var(--radius-lg);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--slate-400);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    min-height: 44px;
    justify-content: center;
    transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  .pricing-mobile-tab[aria-selected="true"] {
    background: var(--navy-950, #0B233A);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .pricing-tab-popular {
    font-size: 0.5625rem;
    font-weight: 700;
    color: var(--cyan-500, #00D4FF);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
  }

  .pricing-mobile-tab[aria-selected="true"] .pricing-tab-popular {
    color: var(--cyan-400, #33DDFF);
  }

  /* ── Card switching ───────────────────────────────────────── */
  .pricing-grid {
    max-width: 100% !important;
    gap: 0 !important;
  }

  /* All cards hidden by default on mobile; only .pricing-active shows */
  .pricing-grid .pricing-card {
    display: none;
  }

  .pricing-grid .pricing-card.pricing-active {
    display: flex;
    animation: pricingCardIn 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes pricingCardIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Hide the "Most Popular" CSS badge on mobile (communicated by the tab instead) */
  .pricing-card.popular::before {
    display: none;
  }

  /* Restore card top padding since badge is gone */
  .pricing-card.popular {
    padding-top: var(--space-xl) !important;
  }

  /* ── Feature collapse ─────────────────────────────────────── */
  .pricing-feature-extra {
    display: none !important;
  }

  .pricing-card.features-expanded .pricing-feature-extra {
    display: flex !important;
  }

  /* "View N more features" toggle button */
  .pricing-features-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: none;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: 11px 16px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-600, #475569);
    cursor: pointer;
    width: 100%;
    margin-bottom: var(--space-lg, 1.5rem);
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  }

  .pricing-features-toggle:hover,
  .pricing-features-toggle:focus-visible {
    border-color: rgba(0, 212, 255, 0.4);
    color: var(--navy-800, #1A3B5C);
    background: rgba(0, 212, 255, 0.04);
    outline: none;
  }

  .pricing-features-toggle:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.18);
  }

  .pricing-features-toggle svg {
    flex-shrink: 0;
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    color: var(--slate-400);
  }

  .pricing-card.features-expanded .pricing-features-toggle svg {
    transform: rotate(180deg);
  }

  /* Popular card on mobile: navy dark treatment preserved */
  .pricing-section .pricing-card.popular.pricing-active {
    transform: none !important;
    margin-top: 0 !important;
  }
}

/* Reduced motion: skip the card entrance animation */
@media (prefers-reduced-motion: reduce) {
  .pricing-grid .pricing-card.pricing-active {
    animation: none !important;
  }
}

/* =============================================================
   HERO POLISH — strategy variants (all A/B + control)
   Applied after hero-v2 class added to strategy-hero.ejs
   ============================================================= */

/* Balance wrapping on every hero headline */
.hero h1 {
  text-wrap: balance;
}

/* ── "From the Academy" module label ──────────────────────────
   Previous: tiny tracked uppercase (the AI section-kicker tell).
   New: conversational label weight, no caps. */
.hero-latest-articles-title {
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ── Article cards on hero-v2 near-black bg (#050d1a) ────────
   The original rgba(255,255,255,0.04) background was tuned for
   the mid-navy #0B233A hero — too dark on #050d1a. Bump up. */
.hero-v2 .hero-article-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.11) !important;
}

.hero-v2 .hero-article-card:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(0, 212, 255, 0.35) !important;
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.09) !important;
}

/* Slightly brighter desc text for legibility on deeper bg */
.hero-v2 .hero-article-card-desc {
  color: rgba(255, 255, 255, 0.58) !important;
}

/* ── Proof strip: readable contrast ──────────────────────────
   Original: text at 0.55 opacity, icons at 0.5 — WCAG failing
   at small size. Lifted to meet AA at 0.75 base. */
.hp-proof-item {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.84rem !important;
}

.hp-proof-item svg {
  opacity: 0.65 !important;
}

/* ── Mobile CTA: tighten top gap ─────────────────────────────
   The original 2.5rem margin was written to clear the hero
   price-burst callout. That's gone; 1.75rem is enough. */
@media (max-width: 968px) {
  .hero-buttons-mobile {
    margin-top: 1.75rem !important;
  }
}

/* ── Mobile hero-v2: keep readable on small screens ─────────
   hero-v2 h1 clamp floor (3rem) is safe but the description
   can run wide on narrow single-column. Cap it. */
@media (max-width: 640px) {
  .hero-v2 .hero-description {
    max-width: 38ch !important;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── Reduced motion: grain after pseudo stays static ─────────
   The grain SVG is a static image, no animation needed. */
@media (prefers-reduced-motion: reduce) {
  .hero-v2.hero::after {
    display: none;
  }
}
