/* ============================================================
   HIZIX CV v3 — AUTHENTIC STRIPE DNA
   ============================================================
   Reference: stripe.com (verified design tokens)
   - White (#ffffff), navy (#0A2540), Cornflower Blue (#635BFF)
   - Inter weight 300 hero (Stripe's signature whisper authority)
   - Multi-layer blue-tinted shadows rgba(50,50,93,0.25)
   - 4-6px radius (precise, not soft)
   - Diagonal aurora gradient hero
   - Color-shift gradient text (animated)
   - Section rhythm: white → soft → dark → white
   ============================================================ */

:root {
  /* Stripe verified palette */
  --white:        #ffffff;
  --bg-soft:      #f6f9fc;        /* Black Squeeze */
  --bg-cream:     #fafbfc;
  --ink:          #0a2540;        /* Downriver navy */
  --ink-soft:     #425466;
  --ink-muted:    #697386;
  --ink-light:    #8898aa;

  --border:       #e6ebf1;
  --border-soft:  #eff2f7;
  --border-strong:#cfd7df;

  /* Brand */
  --purple:       #635bff;        /* Cornflower Blue */
  --purple-hover: #5851e8;
  --purple-soft:  #f0eeff;
  --blue:         #0570de;
  --blue-soft:    #e6f0fc;
  --green:        #009f6b;
  --green-soft:   #d3fadf;
  --red:          #df1b41;
  --magenta:      #ff80b5;

  /* Stripe's signature multi-layer shadows */
  --shadow-xs:    0 1px 1px 0 rgba(0,0,0,0.07);
  --shadow-sm:    0 1px 1px 0 rgba(0,0,0,0.05), 0 2px 4px 0 rgba(50,50,93,0.05);
  --shadow:       0 6px 12px -2px rgba(50,50,93,0.12), 0 3px 7px -3px rgba(0,0,0,0.07);
  --shadow-lg:    0 13px 27px -5px rgba(50,50,93,0.15), 0 8px 16px -8px rgba(0,0,0,0.08);
  --shadow-xl:    0 30px 60px -12px rgba(50,50,93,0.25), 0 18px 36px -18px rgba(0,0,0,0.1);
  --shadow-cta:   0 1px 1px 0 rgba(0,0,0,0.07), 0 1px 3px 0 rgba(99,91,255,0.5);

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Stripe radius scale */
  --r-1: 4px;
  --r-2: 6px;
  --r-3: 8px;
  --r-4: 12px;
  --r-5: 16px;
  --r-6: 24px;

  --container: 1080px;
  --container-wide: 1200px;
  --nav-h: 72px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
}

img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

a {
  color: var(--purple);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--purple-hover); }

::selection { background: var(--purple-soft); color: var(--ink); }

/* ============================================================
   STRIPE'S DIAGONAL AURORA GRADIENT
   ============================================================ */
.gradient-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.gradient-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    linear-gradient(150deg,
      #fef3c7 0%,
      #fbcfe8 15%,
      #ddd6fe 35%,
      #c7d2fe 55%,
      #a5f3fc 75%,
      #d1fae5 95%);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
  opacity: 0.55;
}
.gradient-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 80px,
    rgba(99, 91, 255, 0.04) 80px,
    rgba(99, 91, 255, 0.04) 81px);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
}

/* ============================================================
   TYPOGRAPHY — Stripe's signature
   ============================================================ */
h1, h2, h3, h4 { margin: 0; color: var(--ink); }

.h-hero {
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.h-section {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.h-card {
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.018em;
}
.lead {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  font-weight: 500;
  color: var(--purple);
}
.eyebrow-line {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
p { margin: 0 0 1rem; color: var(--ink-soft); }

/* The signature Stripe color-shift gradient text */
.grad-text {
  background: linear-gradient(101deg, #ff80b5 0%, #c084fc 25%, #635bff 50%, #06b6d4 75%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gradShift 8s ease-in-out infinite;
}
@keyframes gradShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* ============================================================
   BUTTONS — Stripe's exact system
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.625rem 1rem;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  border: 0;
  border-radius: var(--r-3);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
  line-height: 1.2;
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

.btn-primary {
  background: var(--ink);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover:not(:disabled) {
  background: #1a3556;
  color: white;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-purple {
  background: var(--purple);
  color: white;
  box-shadow: var(--shadow-cta);
}
.btn-purple:hover:not(:disabled) {
  background: var(--purple-hover);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 1px 1px 0 rgba(0,0,0,0.07), 0 4px 12px 0 rgba(99,91,255,0.4);
}

.btn-light {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover:not(:disabled) {
  background: white;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover:not(:disabled) { background: var(--bg-soft); }

.btn-link {
  background: transparent;
  color: var(--purple);
  padding: 0.625rem 0.5rem;
}

.btn-lg { padding: 0.75rem 1.25rem; font-size: 16px; }
.btn-block { display: flex; width: 100%; }

.btn .arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.nav.scrolled { border-bottom-color: var(--border-soft); }
.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.018em;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: var(--r-2);
  background: linear-gradient(135deg, #635bff 0%, #0570de 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.04em;
}
.logo-dot { color: var(--purple); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex: 1;
}
.nav-links a {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 0.5rem; }
.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-2);
  padding: 8px;
  width: 36px;
  height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}
.nav-burger span { display: block; height: 1.5px; background: var(--ink); border-radius: 1px; }

/* ============================================================
   CONTAINERS
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 1.5rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 5rem 0 7rem;
  overflow: hidden;
  background: white;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 12px 6px 6px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-xs);
}
.hero-badge-tag {
  background: var(--purple);
  color: white;
  font-weight: 600;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
}
.hero-title {
  font-size: clamp(2rem, 4.4vw, 4rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 1.5rem;
}
.hero-title em { font-style: normal; }
.hero-sub {
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 2rem;
  max-width: 32em;
  font-weight: 400;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 14px;
  color: var(--ink-muted);
  flex-wrap: wrap;
}
.hero-trust-stars { display: flex; gap: 1px; color: #f59e0b; }
.hero-trust strong { color: var(--ink); }

/* Hero visual card */
.hero-vis {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card {
  position: relative;
  background: white;
  border-radius: var(--r-5);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  width: 100%;
  max-width: 460px;
  border: 1px solid rgba(255,255,255,0.7);
}
.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 1.25rem;
}
.hero-card-status { display: flex; align-items: center; gap: 0.5rem; }
.hero-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
  animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px var(--green-soft); }
  50% { box-shadow: 0 0 0 6px rgba(0,159,107,0.15); }
}
.hero-card-status-text { font-size: 13px; font-weight: 600; color: var(--ink); }
.hero-card-time { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); }
.hero-card-msg { display: flex; gap: 0.875rem; margin-bottom: 1rem; }
.hero-card-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #635bff, #0570de);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  position: relative;
}
.hero-card-avatar::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--purple);
  opacity: 0;
  animation: ringExpand 2s ease-out infinite;
}
@keyframes ringExpand {
  0% { opacity: 0.5; transform: scale(0.95); }
  100% { opacity: 0; transform: scale(1.3); }
}
.hero-card-msg-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  padding-top: 0.25rem;
}
.hero-card-msg-text strong { color: var(--purple); font-weight: 600; }
.hero-card-wave {
  display: flex;
  gap: 2.5px;
  align-items: center;
  height: 28px;
  padding: 0 0.5rem;
  margin-bottom: 1.25rem;
}
.hero-card-wave span {
  width: 2.5px;
  background: var(--purple);
  border-radius: 1.5px;
  animation: waveBar 1.4s ease-in-out infinite;
  opacity: 0.7;
}
.hero-card-wave span:nth-child(1)  { animation-delay: 0.0s;  height: 30%; }
.hero-card-wave span:nth-child(2)  { animation-delay: 0.05s; height: 70%; }
.hero-card-wave span:nth-child(3)  { animation-delay: 0.1s;  height: 100%; }
.hero-card-wave span:nth-child(4)  { animation-delay: 0.15s; height: 60%; }
.hero-card-wave span:nth-child(5)  { animation-delay: 0.2s;  height: 80%; }
.hero-card-wave span:nth-child(6)  { animation-delay: 0.25s; height: 40%; }
.hero-card-wave span:nth-child(7)  { animation-delay: 0.3s;  height: 90%; }
.hero-card-wave span:nth-child(8)  { animation-delay: 0.35s; height: 55%; }
.hero-card-wave span:nth-child(9)  { animation-delay: 0.4s;  height: 75%; }
.hero-card-wave span:nth-child(10) { animation-delay: 0.45s; height: 35%; }
.hero-card-wave span:nth-child(11) { animation-delay: 0.5s;  height: 65%; }
.hero-card-wave span:nth-child(12) { animation-delay: 0.55s; height: 85%; }
@keyframes waveBar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}
.hero-card-progress { padding: 1rem; background: var(--bg-soft); border-radius: var(--r-3); }
.hero-card-progress-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.hero-card-progress-label { font-size: 12px; color: var(--ink-muted); font-weight: 500; }
.hero-card-progress-value { font-size: 14px; color: var(--green); font-weight: 600; }
.hero-card-progress-bar { height: 6px; background: white; border-radius: 3px; overflow: hidden; }
.hero-card-progress-fill {
  height: 100%;
  width: 95%;
  background: linear-gradient(90deg, #635bff, #0570de, #009f6b);
  border-radius: 3px;
  animation: progFill 2s ease-out;
}
@keyframes progFill { from { width: 0; } to { width: 95%; } }
.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.875rem;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
}
.hero-card-stat-label { font-size: 11px; color: var(--ink-muted); font-weight: 500; margin-bottom: 0.15rem; }
.hero-card-stat-val { font-size: 1.0625rem; font-weight: 600; color: var(--ink); letter-spacing: -0.018em; }

.hero-chip {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 12px 6px 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: var(--shadow);
  animation: chipFloat 4s ease-in-out infinite;
}
.hero-chip-1 { top: -10px; left: -28px; animation-delay: 0s; }
.hero-chip-2 { bottom: 60px; right: -36px; animation-delay: 1.3s; }
.hero-chip-3 { top: 48%; left: -56px; animation-delay: 2.6s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-chip-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

/* ============================================================
   HERO CV MOCKUP (v7.2) — real visual CV + offer letter
   ============================================================ */
.hero-cv-mockup {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1.05;
}
.hero-cv-paper {
  position: absolute;
  inset: 0;
  background: white;
  border-radius: 14px;
  box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.18), 0 18px 36px -18px rgba(99, 91, 255, 0.18), 0 2px 4px rgba(0,0,0,0.04);
  padding: 1.75rem 1.75rem 1.5rem;
  transform: rotate(-3.2deg);
  transform-origin: center;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.04);
}
.hero-cv-accent {
  position: absolute;
  top: 0; left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #635bff 0%, #ec4899 100%);
}
.hero-cv-header {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding-bottom: 0.875rem;
  margin-bottom: 0.875rem;
  border-bottom: 1px solid #f1f5f9;
}
.hero-cv-photo {
  width: 54px; height: 54px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f3e8ff, #fce7f3);
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.hero-cv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-cv-name-block { flex: 1; min-width: 0; }
.hero-cv-name {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}
.hero-cv-role {
  font-size: 11.5px;
  font-weight: 500;
  color: #635bff;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.hero-cv-contact {
  font-size: 9px;
  color: #94a3b8;
  letter-spacing: 0.01em;
}
.hero-cv-section { margin-bottom: 0.75rem; }
.hero-cv-label {
  font-size: 8.5px;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.hero-cv-text {
  font-size: 9.5px;
  line-height: 1.5;
  color: #475569;
}
.hero-cv-job { margin-bottom: 0.6rem; }
.hero-cv-job:last-child { margin-bottom: 0; }
.hero-cv-job-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1px;
}
.hero-cv-job-title {
  font-size: 10.5px;
  font-weight: 600;
  color: #0f172a;
}
.hero-cv-job-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: #94a3b8;
}
.hero-cv-job-company {
  font-size: 9px;
  color: #635bff;
  font-weight: 500;
  margin-bottom: 3px;
}
.hero-cv-bullet {
  font-size: 9px;
  color: #475569;
  line-height: 1.45;
  padding-left: 8px;
  position: relative;
  margin-bottom: 2px;
}
.hero-cv-bullet::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #635bff;
}
.hero-cv-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.hero-cv-skills span {
  font-size: 8.5px;
  font-weight: 600;
  color: #635bff;
  background: rgba(99, 91, 255, 0.08);
  padding: 3px 7px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* Offer letter overlay (floats right, rotated opposite to CV) */
.hero-offer {
  position: absolute;
  bottom: -10px;
  right: -28px;
  width: 240px;
  background: white;
  border-radius: 12px;
  padding: 0.875rem 1rem;
  box-shadow: 0 18px 40px -10px rgba(15, 23, 42, 0.2), 0 4px 12px rgba(99, 91, 255, 0.12);
  transform: rotate(4.5deg);
  border: 1px solid rgba(0,0,0,0.05);
  z-index: 3;
  animation: floatGentle 4.5s ease-in-out infinite;
}
@keyframes floatGentle {
  0%, 100% { transform: rotate(4.5deg) translateY(0); }
  50% { transform: rotate(4.5deg) translateY(-6px); }
}
.hero-offer-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.hero-offer-from {
  font-size: 11px;
  font-weight: 600;
  color: #0f172a;
}
.hero-offer-subj {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin-bottom: 5px;
}
.hero-offer-body {
  font-size: 10.5px;
  line-height: 1.45;
  color: #475569;
  margin-bottom: 8px;
}
.hero-offer-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid #f1f5f9;
}
.hero-offer-accepted {
  font-size: 10px;
  font-weight: 700;
  color: #16a34a;
  background: #dcfce7;
  padding: 2px 8px;
  border-radius: 999px;
}
.hero-offer-time {
  font-size: 9.5px;
  color: #94a3b8;
}

/* Aria built-this badge (floating top-left) */
.hero-aria-badge {
  position: absolute;
  top: -8px;
  left: -22px;
  background: white;
  padding: 8px 14px 8px 12px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(99, 91, 255, 0.18), 0 2px 6px rgba(0,0,0,0.04);
  z-index: 4;
  transform: rotate(-5deg);
  animation: floatGentle2 5s ease-in-out infinite 0.7s;
}
@keyframes floatGentle2 {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-5px); }
}
.hero-aria-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: ariaPulse 1.6s ease-in-out infinite;
}
@keyframes ariaPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}
.hero-aria-line1 { font-size: 9.5px; color: #94a3b8; line-height: 1; }
.hero-aria-line2 { font-size: 12px; line-height: 1.1; margin-top: 2px; color: #635bff; }
.hero-aria-line2 strong { font-weight: 700; }

/* ATS pass badge (right side) */
.hero-ats-badge {
  position: absolute;
  top: 28%;
  right: -36px;
  background: white;
  padding: 8px 12px 8px 10px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1), 0 2px 6px rgba(0,0,0,0.04);
  z-index: 4;
  transform: rotate(6deg);
  animation: floatGentle3 4s ease-in-out infinite 1.4s;
}
@keyframes floatGentle3 {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(-4px); }
}
.hero-ats-check {
  width: 22px;
  height: 22px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.hero-ats-line1 { font-size: 10.5px; font-weight: 700; color: #0f172a; line-height: 1; }
.hero-ats-line2 { font-size: 8.5px; color: #94a3b8; line-height: 1.2; margin-top: 2px; }

/* Hire-rate score (floating bottom-left) */
.hero-score-badge {
  position: absolute;
  bottom: 80px;
  left: -28px;
  background: white;
  padding: 12px 16px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(99, 91, 255, 0.18), 0 2px 6px rgba(0,0,0,0.04);
  z-index: 4;
  text-align: center;
  transform: rotate(-7deg);
  animation: floatGentle4 4.8s ease-in-out infinite 2.1s;
}
@keyframes floatGentle4 {
  0%, 100% { transform: rotate(-7deg) translateY(0); }
  50% { transform: rotate(-7deg) translateY(-6px); }
}
.hero-score-num {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, #635bff 0%, #ec4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  letter-spacing: -0.04em;
}
.hero-score-num span { font-size: 16px; }
.hero-score-lbl {
  font-size: 9px;
  color: #64748b;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Mobile: simplify the composition */
@media (max-width: 900px) {
  .hero-cv-mockup {
    max-width: 420px;
    margin: 0 auto;
  }
  .hero-offer { right: -10px; width: 210px; }
  .hero-aria-badge { left: -8px; top: -8px; padding: 7px 12px 7px 10px; }
  .hero-aria-line1 { font-size: 9px; }
  .hero-aria-line2 { font-size: 11px; }
  .hero-ats-badge { right: -10px; padding: 7px 10px 7px 8px; }
  .hero-ats-line1 { font-size: 9.5px; }
  .hero-ats-line2 { font-size: 8px; }
  .hero-score-badge { left: -10px; bottom: 70px; padding: 9px 13px; }
  .hero-score-num { font-size: 22px; }
  .hero-score-num span { font-size: 13px; }
  .hero-score-lbl { font-size: 8px; }
}
@media (max-width: 540px) {
  .hero-cv-mockup {
    max-width: 340px;
    transform: scale(0.95);
    transform-origin: top center;
  }
  .hero-cv-paper { padding: 1.25rem 1.25rem 1rem; }
  .hero-cv-name { font-size: 15px; }
  .hero-cv-role { font-size: 10.5px; }
  .hero-cv-photo { width: 46px; height: 46px; }
  .hero-offer { width: 180px; right: 0; bottom: 0; padding: 0.7rem 0.85rem; }
  .hero-offer-subj { font-size: 11px; }
  .hero-offer-body { font-size: 9.5px; }
  .hero-aria-badge { transform: rotate(-4deg) scale(0.88); left: -4px; }
  .hero-ats-badge { transform: rotate(5deg) scale(0.88); }
  .hero-score-badge { transform: rotate(-6deg) scale(0.88); left: -4px; bottom: 60px; }
}

/* ============================================================
   LOGO BAR
   ============================================================ */
.logos {
  background: white;
  padding: 3rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.logos-label { text-align: center; font-size: 13px; font-weight: 500; color: var(--ink-muted); margin-bottom: 1.75rem; letter-spacing: 0.5px; }
.logos-row { display: flex; gap: 2.75rem; align-items: center; justify-content: center; flex-wrap: wrap; row-gap: 1.75rem; }
.logos-row-color {
  gap: 2.5rem;
  row-gap: 2rem;
}
.logos-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
}
.logos-row .logos-item { color: var(--ink-light); opacity: 0.55; }
.logos-row-color .logos-item {
  opacity: 0.95;
  filter: saturate(0.95);
}
.logos-item:hover { opacity: 1; transform: translateY(-2px); filter: saturate(1.1); }
.logos-item svg {
  height: 100%;
  width: auto;
  display: block;
}
/* Icon logos (24x24 squares) — uniform height */
.logos-row-color .logos-item[title="Google"] svg,
.logos-row-color .logos-item[title="Stripe"] svg,
.logos-row-color .logos-item[title="Apple"] svg,
.logos-row-color .logos-item[title="Microsoft"] svg,
.logos-row-color .logos-item[title="Meta"] svg,
.logos-row-color .logos-item[title="Amazon"] svg,
.logos-row-color .logos-item[title="Netflix"] svg,
.logos-row-color .logos-item[title="Spotify"] svg {
  height: 30px;
}
/* Wordmark logos — slightly shorter to balance with icons */
.logos-item-text svg { height: 19px; }
.logos-item-pure { /* Apple, Netflix — keep authentic single-color */ }

@media (max-width: 900px) {
  .logos-row,
  .logos-row-color {
    gap: 2rem;
    row-gap: 1.5rem;
  }
  .logos-row-color .logos-item[title="Google"] svg,
  .logos-row-color .logos-item[title="Stripe"] svg,
  .logos-row-color .logos-item[title="Apple"] svg,
  .logos-row-color .logos-item[title="Microsoft"] svg,
  .logos-row-color .logos-item[title="Meta"] svg,
  .logos-row-color .logos-item[title="Amazon"] svg,
  .logos-row-color .logos-item[title="Netflix"] svg,
  .logos-row-color .logos-item[title="Spotify"] svg {
    height: 26px;
  }
  .logos-item-text svg { height: 16px; }
}

@media (max-width: 768px) {
  /* On mobile, switch to horizontal scroll for cleaner look */
  .logos-row,
  .logos-row-color {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 1.75rem;
    padding: 0.5rem 1.25rem 1rem;
    margin: 0 -1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .logos-row::-webkit-scrollbar,
  .logos-row-color::-webkit-scrollbar { display: none; }
  .logos-item { scroll-snap-align: center; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { position: relative; }
.sec { padding: 6rem 0; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: var(--ink); color: white; }
.sec-dark h1, .sec-dark h2, .sec-dark h3 { color: white; }
.sec-dark p, .sec-dark .lead { color: #a8b3cf; }
.sec-head { max-width: 720px; margin: 0 auto 4rem; text-align: center; }
.sec-head .eyebrow { margin-bottom: 1rem; }
.sec-head .h-section { margin: 0 0 1rem; }
.sec-head .lead { margin: 0 auto; }

/* ============================================================
   FEATURES
   ============================================================ */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feat {
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-5);
  padding: 2rem 1.75rem;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-xs);
}
.feat:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.feat-ic {
  width: 44px;
  height: 44px;
  border-radius: var(--r-3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: white;
}
.feat-ic-purple { background: linear-gradient(135deg, #635bff, #8b5cf6); }
.feat-ic-blue   { background: linear-gradient(135deg, #0570de, #06b6d4); }
.feat-ic-green  { background: linear-gradient(135deg, #009f6b, #10b981); }
.feat-ic-pink   { background: linear-gradient(135deg, #ec4899, #f59e0b); }
.feat-title { font-size: 1.0625rem; font-weight: 600; color: var(--ink); margin: 0 0 0.5rem; letter-spacing: -0.015em; }
.feat-desc { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }

/* ============================================================
   STATS
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat { padding: 2rem 1.5rem; text-align: center; border-right: 1px solid var(--border-soft); }
.stat:last-child { border-right: none; }
.stat-num {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #635bff, #0570de);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.4rem;
  line-height: 1;
}
.stat-label { font-size: 13px; color: var(--ink-muted); font-weight: 500; }

/* ============================================================
   COMPARE
   ============================================================ */
.compare { background: white; border: 1px solid var(--border); border-radius: var(--r-5); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  font-size: 14.5px;
  vertical-align: middle;
}
.compare-table thead th {
  font-weight: 500;
  color: var(--ink-muted);
  font-size: 12px;
  background: var(--bg-soft);
}
.compare-table thead th.us { background: var(--purple-soft); color: var(--purple); font-weight: 600; }
.compare-table tbody td.us { background: rgba(99,91,255,0.04); color: var(--ink); font-weight: 600; }
.compare-table tbody td:first-child { color: var(--ink); font-weight: 500; }
.compare-table tr:last-child td { border-bottom: none; }
.ck { color: var(--green); font-weight: 700; font-size: 15px; }
.x  { color: var(--ink-light); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.875rem; margin-top: 3rem; }
.price-ref { border-color: var(--purple) !important; position: relative; }
.price-ref::before { content: '$10.99/number'; position: absolute; top: -10px; right: 12px; padding: 0.25rem 0.625rem; background: var(--purple); color: white; font-size: 11px; font-weight: 700; border-radius: 999px; letter-spacing: 0.04em; }
@media (max-width: 1240px) { .pricing { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .pricing { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .pricing { grid-template-columns: 1fr; } }
.price {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
  position: relative;
}
.price:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.price-best {
  border: 2px solid var(--purple);
  box-shadow: 0 12px 28px -8px rgba(99,91,255,0.25);
}
.price-best::before {
  content: 'Most popular';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: white;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
}
.price-name { font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.5rem; }
.price-amt { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.875rem; }
.price-num {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.price-unit { color: var(--ink-muted); font-size: 14px; }
.price-desc { color: var(--ink-soft); font-size: 14.5px; line-height: 1.55; margin: 0 0 1.5rem; }
.price-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}
.price-feats li {
  display: flex;
  gap: 0.5rem;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.price-feats li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%23009f6b' d='M10 0a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm5.3 7.7-6 6a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4L9 11.6l5.3-5.3a1 1 0 1 1 1.4 1.4z'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}
.price-feats li strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tmls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.tml {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}
.tml-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0 0 1.5rem;
  flex: 1;
}
.tml-quote::before {
  content: '"';
  display: block;
  font-size: 2rem;
  font-weight: 300;
  color: var(--purple);
  line-height: 0.5;
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}
.tml-by { display: flex; align-items: center; gap: 0.75rem; }
.tml-avt {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 13px;
  flex-shrink: 0;
}
.tml-name { font-weight: 600; color: var(--ink); font-size: 14px; }
.tml-role { font-size: 12.5px; color: var(--ink-muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  margin-bottom: 0.625rem;
  overflow: hidden;
  transition: border-color 0.15s ease;
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-q-icon { color: var(--ink-muted); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q-icon { transform: rotate(45deg); color: var(--purple); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 1.25rem 1.25rem; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: linear-gradient(135deg, #0a2540 0%, #1a2c4e 50%, #635bff 100%);
  border-radius: var(--r-6);
  padding: 4.5rem 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0, transparent 60px, rgba(255,255,255,0.04) 60px, rgba(255,255,255,0.04) 61px);
  pointer-events: none;
}
.cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta h2 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: white;
  margin: 0 0 1rem;
}
.cta p { color: rgba(255,255,255,0.85); font-size: 1.0625rem; margin: 0 0 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-soft); padding: 5rem 0 2rem; border-top: 1px solid var(--border-soft); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-brand p { color: var(--ink-soft); font-size: 14px; max-width: 28em; margin-top: 1rem; }
.footer-col h5 { font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 1rem; }
.footer-col a { display: block; color: var(--ink-soft); font-size: 14px; margin-bottom: 0.625rem; text-decoration: none; }
.footer-col a:hover { color: var(--purple); }
.footer-base {
  max-width: var(--container-wide);
  margin: 3rem auto 0;
  padding: 1.5rem 1.5rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-muted);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding: 3rem 0 5rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-chip { display: none; }
  .feats, .tmls { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2n) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--border-soft); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sec { padding: 4rem 0; }
  .cta { padding: 3rem 1.5rem; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 0.5rem; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border-soft); }
  .stat:last-child { border-bottom: none; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 0.75rem 0.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   V4 HOMEPAGE — Reference showcase, industries grid, call demo
   ============================================================ */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem 0.35rem 0.4rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-xs);
}
.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  background: var(--purple);
  color: white;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Reference showcase grid */
.ref-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: var(--container-wide);
  margin: 3rem auto 0;
  padding: 0 1.5rem;
}

.ref-showcase-step {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}
.ref-showcase-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-mono);
  box-shadow: var(--shadow-cta);
}
.ref-showcase-step h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.4rem;
  letter-spacing: -0.015em;
}
.ref-showcase-step p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* Reference call demo card */
.ref-call-demo {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-5);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: 2rem;
}
.ref-call-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 1rem;
  font-size: 13px;
  color: var(--ink-muted);
}
.ref-call-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: heroPulse 1.5s ease-in-out infinite;
}
.ref-call-label { flex: 1; color: var(--ink); font-weight: 500; }
.ref-call-time {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-muted);
}
.ref-call-msg {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.ref-call-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: white;
  flex-shrink: 0;
}
.ref-call-avatar-them { background: linear-gradient(135deg, #94a3b8, #64748b); }
.ref-call-avatar-us { background: linear-gradient(135deg, var(--purple), var(--blue)); }
.ref-call-text {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--bg-soft);
  padding: 0.625rem 0.875rem;
  border-radius: var(--r-3);
  flex: 1;
}
.ref-call-msg-us .ref-call-text {
  background: var(--purple-soft);
  color: var(--ink);
}
.ref-call-text strong { color: var(--ink); font-weight: 600; }

/* Industries grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.industry-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--r-3);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}
.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--purple);
  color: inherit;
}
.industry-icon { font-size: 1.75rem; }
.industry-card strong {
  font-size: 15px;
  color: var(--ink);
  font-weight: 600;
}
.industry-card span {
  font-size: 12.5px;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .ref-showcase { grid-template-columns: 1fr; gap: 2rem; }
  .ref-call-demo { position: static; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .industries-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ANIMATED TESTIMONIAL CAROUSEL (vanilla port of framer-motion)
   ============================================================ */
.testimonial-carousel {
  max-width: 1100px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* IMAGE STACK */
.testimonial-images {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-image {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  height: 420px;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: bottom center;
  perspective: 1000px;
}
.tc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 24px 48px -12px rgba(50, 50, 93, 0.25),
              0 8px 16px -4px rgba(0, 0, 0, 0.15);
  user-select: none;
  -webkit-user-drag: none;
  background: var(--bg-soft);
}
.tc-image.active {
  z-index: 100 !important;
}

/* TEXT + CONTROLS */
.testimonial-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0.5rem 0;
}
.testimonial-text {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.testimonial-text.fading-out {
  opacity: 0;
  transform: translateY(12px);
}
.testimonial-text.fading-in {
  opacity: 1;
  transform: translateY(0);
}
.testimonial-name {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
.testimonial-role {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.testimonial-quote {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 1.25rem 0 0;
  font-weight: 300;
  letter-spacing: -0.005em;
}

.testimonial-controls {
  display: flex;
  gap: 0.625rem;
}
.testimonial-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-xs);
}
.testimonial-btn:hover {
  background: var(--purple-soft);
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}
.testimonial-btn svg {
  transition: transform 0.2s ease;
}
.testimonial-btn:hover svg {
  transform: translateX(2px);
}
#tcPrev:hover svg {
  transform: translateX(-2px);
}

@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .testimonial-images {
    height: 340px;
  }
  .tc-image {
    max-width: 280px;
    height: 340px;
  }
  .testimonial-name {
    font-size: 1.5rem;
  }
  .testimonial-quote {
    font-size: 1rem;
  }
}

/* ============================================================
   COMPREHENSIVE MOBILE OPTIMIZATION (v7.2)
   ============================================================
   Top-to-bottom pass for all critical breakpoints.
   Mobile-first thinking: touch targets ≥44px, readable text,
   no horizontal scroll, no overflow, generous tap zones.
   ============================================================ */

/* Tablet & smaller laptops */
@media (max-width: 1024px) {
  .container-wide { padding-left: 1.5rem; padding-right: 1.5rem; }
  .hero { padding: 5rem 0 4rem; }
  .hero-inner { gap: 3rem; }
  .h-hero { font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.05; }
  .sec { padding: 4.5rem 0; }
  .sec-head { margin-bottom: 3rem; }
}

/* Tablet portrait */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-trust { justify-content: center; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-vis { margin-top: 2rem; }
  .feats {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .pricing { grid-template-columns: 1fr; gap: 1.5rem; }
  .industries-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 2rem; }
  .testimonial-images { max-width: 320px; margin: 0 auto; }
}

/* Mobile landscape & smaller */
@media (max-width: 640px) {
  /* Container padding */
  .container, .container-wide { padding-left: 1rem; padding-right: 1rem; }

  /* Typography scales down */
  body { font-size: 15px; }
  .h-hero { font-size: clamp(1.85rem, 7vw, 2.6rem); letter-spacing: -0.025em; }
  .h-section { font-size: clamp(1.6rem, 5.5vw, 2.2rem); letter-spacing: -0.02em; }
  .lead { font-size: 1rem; }

  /* Hero refinements */
  .hero { padding: 3.5rem 0 3rem; }
  .hero-inner { gap: 2rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { gap: 0.75rem; }
  .btn-lg { padding: 0.85rem 1.4rem; font-size: 0.95rem; min-height: 48px; }
  .btn { min-height: 44px; }
  .hero-trust { font-size: 12px; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }

  /* Section spacing */
  .sec { padding: 3.5rem 0; }
  .sec-head { margin-bottom: 2.5rem; padding: 0 0.5rem; }
  .eyebrow { font-size: 11px; }

  /* Nav */
  .nav { padding: 0.75rem 1rem; }
  .nav-logo { font-size: 1rem; }
  .nav-links { display: none; }
  .nav-cta { font-size: 0.875rem; padding: 0.5rem 0.9rem; }

  /* Feature cards (1 column) */
  .feats { grid-template-columns: 1fr; gap: 1rem; }
  .feat { padding: 1.5rem; }
  .feat-title { font-size: 1.125rem; }
  .feat-desc { font-size: 0.9rem; }

  /* Pricing */
  .price { padding: 1.5rem; }
  .price-name { font-size: 0.95rem; }
  .price-num { font-size: 2.5rem; }
  .price-feats li { font-size: 0.9rem; }

  /* Industries grid (1 column on tiny phones) */
  .industries-grid { grid-template-columns: 1fr; }
  .industry-card { padding: 1.25rem; }

  /* FAQ */
  .faq-q { font-size: 0.95rem; padding: 1rem 1.25rem; }
  .faq-a-inner { font-size: 0.9rem; padding: 0 1.25rem 1rem; }

  /* CTA section */
  .cta-banner { padding: 3rem 1.5rem; }
  .cta-banner h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Footer */
  .footer { padding: 2.5rem 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-col h4 { font-size: 0.85rem; }
  .footer-col a { font-size: 0.85rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  /* Testimonial */
  .testimonial-name { font-size: 1.25rem; }
  .testimonial-role { font-size: 0.85rem; }
  .testimonial-quote { font-size: 0.95rem; line-height: 1.55; }
  .testimonial-controls { gap: 0.75rem; }
  .testimonial-btn { width: 48px; height: 48px; }

  /* Eyebrow rows wrap */
  .eyebrow-line { width: 28px; }
}

/* Tiny phones */
@media (max-width: 380px) {
  .h-hero { font-size: 1.65rem; }
  .h-section { font-size: 1.45rem; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .price-num { font-size: 2.2rem; }
}

/* Touch device optimization (any size) */
@media (hover: none) and (pointer: coarse) {
  .btn, button, a.industry-card, .feat, .price, .faq-q {
    min-height: 44px;
  }
  /* Remove hover effects on touch to avoid sticky states */
  .btn:hover { transform: none; }
  .industry-card:hover { transform: none; }
}

/* Landscape phones */
@media (max-width: 900px) and (orientation: landscape) {
  .hero { padding: 2.5rem 0; }
  .hero-inner { grid-template-columns: 1.2fr 1fr; text-align: left; }
  .hero-trust { justify-content: flex-start; }
  .hero-actions { justify-content: flex-start; }
}

/* High-DPI image crispness for photos */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-cv-photo img,
  .testimonial-image img { image-rendering: -webkit-optimize-contrast; }
}

/* Safe area for iPhone notch */
@supports (padding: max(0px)) {
  .nav { padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); }
  .footer-bottom { padding-bottom: max(1.5rem, env(safe-area-inset-bottom)); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   COMPARISON TABLE (v7.3 — SEO landing pages)
   ============================================================ */
.comparison-table-wrap {
  background: white;
  border-radius: var(--r-4);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 1100px;
  margin: 0 auto;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 720px;
}
.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
  white-space: nowrap;
}
.comparison-table thead th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--ink);
  font-size: 13px;
  position: sticky;
  top: 0;
}
.comparison-table tbody td:first-child {
  font-weight: 600;
  color: var(--ink);
}
.comparison-table tbody td {
  color: var(--ink-muted);
}
.comparison-table .highlight-col {
  background: linear-gradient(180deg, rgba(99, 91, 255, 0.06) 0%, rgba(236, 72, 153, 0.04) 100%);
  color: var(--purple);
  font-weight: 600;
  border-left: 2px solid var(--purple);
  border-right: 2px solid var(--purple);
}
.comparison-table thead .highlight-col {
  background: linear-gradient(135deg, var(--purple) 0%, #ec4899 100%);
  color: white;
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover { background: var(--bg-soft); }
.comparison-table tbody tr:hover .highlight-col { background: rgba(99, 91, 255, 0.1); }

/* ============================================================
   STEPS (How it works section)
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.step {
  background: white;
  padding: 2rem 1.5rem;
  border-radius: var(--r-4);
  border: 1px solid var(--border);
  position: relative;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple) 0%, #ec4899 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.125rem; margin: 0 0 0.5rem; color: var(--ink); }
.step p { font-size: 0.92rem; color: var(--ink-muted); line-height: 1.5; margin: 0; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .step { padding: 1.5rem 1.25rem; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
  .comparison-table { font-size: 13px; min-width: 640px; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
}
