/* ═══════════════════════════════════════════
   ASSOCIATE SANS — @font-face (Light + Regular + Medium)
   ═══════════════════════════════════════════ */
@font-face {
  font-family: "Associate Sans";
  src: url("./assets/fonts/AssociateSansLight.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Associate Sans";
  src: url("./assets/fonts/AssociateSansRegular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Associate Sans";
  src: url("./assets/fonts/AssociateSansMedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════
   RESET & TOKENS
   ═══════════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --indigo: #6366f1;
  --indigo-light: #818cf8;
  --indigo-dark: #4f46e5;
  --indigo-bg: #f0f0ff;
  --indigo-bg-soft: #f6f5ff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --font-display: "Yeseva One", Georgia, serif;
  --font-label: "Associate Sans", "Inter", -apple-system, sans-serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 2px 12px rgba(99, 102, 241, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section label (small caps purple) */
.section-label {
  font-family: var(--font-label);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 16px;
}

/* Highlighted word in headings — Yeseva One serif */
.highlight {
  font-family: var(--font-display);
  color: var(--indigo);
}

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-600);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--slate-900);
}

.nav-links .link-login {
  color: var(--slate-800);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: none;
}

.nav-links .nav-cta-mobile {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  background: var(--slate-900);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-cta:hover {
  background: var(--slate-700);
}

.nav-cta-login {
  background: var(--indigo);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.nav-cta-login:hover {
  background: var(--indigo-dark);
  color: #fff;
}

.nav-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--slate-200, rgba(0, 0, 0, 0.08));
  border-radius: var(--radius-full);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.nav-lang img {
  display: block;
  width: 20px;
  height: 15px;
  border-radius: 2px;
}

.nav-lang:hover {
  border-color: var(--slate-300, rgba(0, 0, 0, 0.15));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nav-links .nav-lang-mobile {
  display: none;
}

.nav-drawer-logo {
  display: none;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate-800);
  margin: 5px 0;
  transition: 0.3s;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--indigo-bg);
  color: var(--indigo);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-family: var(--font-label);
  font-size: 52px;
  line-height: 1.15;
  font-weight: 500;
  color: var(--slate-900);
  margin-bottom: 20px;
}

.hero h1 .highlight {
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--slate-500);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-primary {
  background: var(--slate-900);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--slate-700);
}

.btn-outline {
  background: #fff;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--slate-200);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--slate-400);
  background: var(--slate-50);
}

.hero-trust {
  font-size: 13px;
  color: var(--slate-400);
}

.hero-trust span {
  margin: 0 6px;
}

/* Hero visual (right side) — animated chat widget */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.widget-mockup {
  width: 380px;
  background: white;
  border-radius: var(--radius-xl);
  box-shadow:
    var(--shadow-lg),
    0 0 60px rgba(99, 102, 241, 0.08);
  overflow: hidden;
  transform: perspective(800px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.widget-mockup:hover {
  transform: perspective(800px) rotateY(-1deg) rotateX(1deg);
}

.widget-header {
  background: linear-gradient(135deg, var(--indigo), var(--indigo-dark));
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
}

.widget-header-avatar {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.widget-header-info {
  flex: 1;
}

.widget-header-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.widget-header-status {
  font-size: 0.75rem;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 5px;
}

.widget-header-status::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
}

.widget-messages {
  padding: 20px 16px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fafbfc;
}

.msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(12px);
  animation: msg-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.msg-bot {
  background: white;
  color: var(--slate-700);
  border-bottom-left-radius: 6px;
  align-self: flex-start;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.msg-user {
  background: var(--indigo);
  color: white;
  border-bottom-right-radius: 6px;
  align-self: flex-end;
}

/* Message animation delays */
.widget-messages > .msg:nth-child(1) {
  animation-delay: 0.5s;
}
.widget-messages > .msg:nth-child(2) {
  animation-delay: 1.6s;
}
/* 3rd child is .typing-then-msg container — msg inside has .msg-replaces-typing */
.widget-messages > .msg:nth-child(4) {
  animation-delay: 6.5s;
}

@keyframes msg-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typing indicator — simple fade in, JS hides it */
.typing-then-msg {
  align-self: flex-start;
  max-width: 82%;
}

.typing-indicator {
  display: inline-flex;
  gap: 4px;
  padding: 12px 16px;
  background: white;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  opacity: 0;
  transform: translateY(12px);
  transition: visibility 0s;
}

.typing-indicator.visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.typing-indicator.hidden {
  visibility: hidden;
}

.msg-replaces-typing {
  animation-delay: 4.8s !important;
}

.typing-dot {
  width: 7px;
  height: 7px;
  background: var(--slate-300);
  border-radius: 50%;
  animation: typing-bounce 1.2s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.15s;
}
.typing-dot:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing-bounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.widget-input {
  padding: 14px 16px;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
}

.widget-input-field {
  flex: 1;
  font-size: 0.85rem;
  color: var(--slate-400);
  font-family: var(--font-body);
}

.widget-input-send {
  width: 34px;
  height: 34px;
  background: var(--indigo);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-input-send svg {
  width: 16px;
  height: 16px;
  fill: white;
  transform: rotate(-45deg) translateX(1px);
}

/* Floating decorative cards */
.widget-float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  z-index: 1;
  animation: float-gentle 4s ease-in-out infinite;
}

.widget-float-card.card-score {
  top: 8%;
  right: -85px;
  z-index: 10;
  animation-delay: 0s;
  min-width: 200px;
}

.card-score-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.card-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-score-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.card-score-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate-700);
  flex: 1;
}

.card-score-value {
  font-size: 0.78rem;
  font-weight: 700;
  min-width: 28px;
  text-align: right;
}

.card-score-badge {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.badge-hot {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}
.badge-warm {
  background: rgba(245, 158, 11, 0.09);
  color: #f59e0b;
}
.badge-cold {
  background: rgba(99, 102, 241, 0.08);
  color: #6366f1;
}

.widget-float-card.card-lead {
  bottom: 18%;
  left: -50px;
  z-index: 10;
  animation-delay: 1.5s;
}

.widget-float-card .card-label {
  font-size: 0.7rem;
  color: var(--slate-400);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.widget-float-card .card-value {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-value .score-hot {
  font-size: 0.7rem;
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.card-value .lead-new {
  font-size: 0.7rem;
  background: rgba(99, 102, 241, 0.08);
  color: var(--indigo);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

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

/* ═══════════════════════════════════════════
   BENEFITS
   ═══════════════════════════════════════════ */
.benefits {
  padding: 80px 0 100px;
  text-align: center;
}

.benefits .section-label {
  text-align: center;
}

.benefits h2 {
  font-family: var(--font-label);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.3;
  max-width: 650px;
  margin: 0 auto 60px;
}

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

.benefit-card {
  background: var(--indigo-bg-soft);
  border-radius: var(--radius-xl);
  padding: 40px 30px 36px;
  text-align: center;
}

.benefit-img {
  height: 100px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
}

/* Avatar group in benefit cards */
.benefit-avatars {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.benefit-avatars .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  object-fit: cover;
}

.benefit-avatars .avatar:first-child {
  margin-left: 0;
}

/* ═══════════════════════════════════════════
   CAPTURE & SCORING
   ═══════════════════════════════════════════ */
.capture {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.capture-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.capture-visual {
  position: relative;
}

.capture-visual-img {
  width: 100%;
  aspect-ratio: 4/3.5;
  border-radius: var(--radius-2xl);
  object-fit: cover;
}

/* Dashboard mockup overlay */
.capture-dashboard {
  position: absolute;
  top: 210px;
  right: -40px;
  width: 220px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 16px;
}

.capture-dashboard-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.kb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}

.kb-type {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

.kb-type.pdf {
  background: #fef2f2;
  color: #ef4444;
}
.kb-type.url {
  background: #eff6ff;
  color: #3b82f6;
}

.kb-name {
  font-size: 12px;
  color: var(--slate-700);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kb-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kb-check svg {
  width: 10px;
  height: 10px;
  stroke: #fff;
  stroke-width: 3;
  fill: none;
}

.kb-progress {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.kb-progress-bar {
  width: 40px;
  height: 4px;
  background: var(--slate-100);
  border-radius: 2px;
  overflow: hidden;
}

.kb-progress-fill {
  height: 100%;
  background: var(--indigo);
  border-radius: 2px;
}

.kb-progress-pct {
  font-size: 10px;
  font-weight: 600;
  color: var(--indigo);
  min-width: 24px;
}

/* Lead scoring card — matches hero style */
.capture-scoring {
  position: absolute;
  bottom: -20px;
  left: -40px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px 18px;
  min-width: 210px;
}

.capture-scoring .card-label {
  font-size: 0.7rem;
  color: var(--slate-400);
  font-weight: 500;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.capture-scoring .card-subtitle {
  font-size: 10px;
  color: var(--slate-300);
  margin-bottom: 10px;
}

.capture-scoring-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
}

.capture-scoring-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.capture-scoring-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--slate-700);
  flex: 1;
}

.capture-scoring-value {
  font-size: 0.78rem;
  font-weight: 700;
  min-width: 24px;
  text-align: right;
}

.capture-scoring-badge {
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.capture-scoring-bar.hot {
  background: #22c55e;
}
.capture-scoring-bar.warm {
  background: #f59e0b;
}
.capture-scoring-bar.cold {
  background: var(--slate-200);
}

.capture-content h2 {
  font-family: var(--font-label);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 20px;
}

.capture-content p {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 12px;
}

.capture-content .btn-outline {
  margin-top: 20px;
}

/* ═══════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════ */
.features {
  padding: 80px 0 100px;
}

.features-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 24px;
}

.features-header h2 {
  font-family: var(--font-label);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.25;
  max-width: 550px;
  margin: 0;
}

.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.features-list {
  display: flex;
  flex-direction: column;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  padding-left: 20px;
  border-left: 3px solid transparent;
  cursor: pointer;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  transition:
    background 0.3s,
    border-color 0.3s;
}

.feature-item.active {
  border-left-color: var(--indigo);
  background: var(--indigo-bg-soft);
}

.feature-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: var(--indigo-bg);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s,
    color 0.3s;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-item.active .feature-icon {
  background: var(--indigo);
  color: #fff;
}

.feature-text {
  flex: 1;
  min-width: 0;
}

.feature-text h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 0;
  transition: color 0.3s;
}

.feature-item.active .feature-text h3 {
  color: var(--slate-900);
}

.feature-desc {
  font-size: 13.5px;
  color: var(--slate-500);
  line-height: 1.6;
  margin-top: 6px;
}

.feature-progress {
  height: 3px;
  background: var(--slate-200);
  border-radius: 3px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease,
    margin 0.3s ease;
  margin-top: 0;
}

.feature-item.active .feature-progress {
  max-height: 10px;
  opacity: 1;
  margin-top: 12px;
}

.feature-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-light));
  border-radius: 3px;
}

/* Duration must match JS DURATION constant (12s) */
.feature-item.active .feature-progress-bar {
  animation: featureProgress 12s linear forwards;
}

@keyframes featureProgress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

.features-visual {
  position: sticky;
  top: 100px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.features-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.features-slide.active {
  position: relative;
  opacity: 1;
}

.features-more {
  margin-top: 120px;
  padding-top: 80px;
}

.fm-header {
  max-width: 740px;
  margin: 0 auto 64px;
  text-align: center;
}

.fm-header .section-label {
  margin-bottom: 20px;
}

.fm-header h2 {
  font-family: var(--font-label);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--slate-900);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.fm-subtitle {
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-500);
  margin: 0;
}

/* Marquees — contenues dans la largeur du container */
.fm-marquees {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  border-radius: var(--radius-lg);
}

.fm-marquees::before,
.fm-marquees::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}

.fm-marquees::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.fm-marquees::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}

.fm-marquee-row {
  display: flex;
  overflow: hidden;
  padding: 8px 0;
}

.fm-marquee-track {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  padding-right: 12px;
  animation: fm-marquee 65s linear infinite;
  will-change: transform;
}

.fm-marquee-track.reverse {
  animation: fm-marquee-reverse 80s linear infinite;
}

.fm-marquee-track.fast {
  animation: fm-marquee 55s linear infinite;
}

/* 3e marquee affiché uniquement en mobile */
.fm-marquee-row.fm-mobile-only {
  display: none;
}

@keyframes fm-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes fm-marquee-reverse {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

.fm-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: #ffefd8;
  border: 1px solid #fddfb3;
  border-radius: 8px;
  color: #feaf3a;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}

/* Features grid */
.fm-features {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px dashed var(--slate-200);
}

.fm-feature {
  padding: 40px 28px 8px;
  border-right: 1px dashed var(--slate-200);
}

.fm-feature:last-child {
  border-right: none;
}

.fm-feature-icon {
  width: 40px;
  height: 40px;
  color: var(--indigo);
  margin-bottom: 56px;
  display: block;
}

.fm-feature h3 {
  font-family: var(--font-label);
  font-size: 22px;
  font-weight: 500;
  color: var(--slate-900);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.fm-feature p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--slate-500);
  margin: 0;
}

@media (max-width: 900px) {
  .features-more {
    margin-top: 80px;
    padding-top: 56px;
  }

  .fm-features {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 56px;
  }

  .fm-feature {
    padding: 32px 20px 8px;
    border-bottom: 1px dashed var(--slate-200);
  }

  .fm-feature:nth-child(2) {
    border-right: none;
  }

  .fm-feature:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  /* Afficher le 3e marquee en mobile/tablet */
  .fm-marquee-row.fm-mobile-only {
    display: flex;
  }
}

@media (max-width: 560px) {
  .fm-features {
    grid-template-columns: 1fr;
  }

  .fm-feature,
  .fm-feature:nth-child(2) {
    border-right: none;
    border-bottom: 1px dashed var(--slate-200);
  }

  .fm-feature:last-child {
    border-bottom: none;
  }

  .fm-feature-icon {
    margin-bottom: 32px;
  }

  .fm-marquees::before,
  .fm-marquees::after {
    width: 60px;
  }

  /* Badges plus compacts sur smartphone pour voir plus de texte */
  .fm-badge {
    padding: 7px 12px;
    font-size: 13px;
  }

  .fm-marquee-track {
    gap: 8px;
    padding-right: 8px;
  }

  .fm-marquee-row {
    padding: 5px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fm-marquee-track,
  .fm-marquee-track.reverse,
  .pricing-card .early-pill-dot::before,
  .pricing-card .early-pill-dot::after {
    animation: none;
  }
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testimonials {
  padding: 80px 0;
  background: var(--slate-50);
}

.testimonials-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.testimonial-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.testimonial-brand-logo {
  width: 200px;
}

.testimonial-brand-logo img {
  width: 100%;
  height: auto;
}

.testimonial-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--indigo-bg-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.testimonial-stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--indigo);
}

.testimonial-stat-text {
  font-size: 13px;
  color: var(--slate-500);
  line-height: 1.5;
}

.testimonial-content h2 {
  font-family: var(--font-label);
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 24px;
}

.testimonial-quote {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-800);
}

.testimonial-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--indigo);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-company {
  font-size: 13px;
  color: var(--slate-400);
  margin-top: 2px;
}

.testimonial-stats-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--slate-200);
}

.testimonial-stat-pill {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.testimonial-stat-pill .stat-number {
  font-family: var(--font-label);
  font-size: 28px;
  font-weight: 500;
  color: var(--indigo);
}

.testimonial-stat-pill .stat-label {
  font-size: 13px;
  color: var(--slate-500);
}

.testimonial-stat-divider {
  width: 1px;
  background: var(--slate-200);
  align-self: stretch;
}

/* ═══════════════════════════════════════════
   PRICING
   ═══════════════════════════════════════════ */
.pricing {
  padding: 100px 0;
  text-align: center;
}

.pricing h2 {
  font-family: var(--font-label);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 16px;
}

.pricing-subtitle {
  font-size: 15px;
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 40px;
}

/* Toggle */
.pricing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 50px;
}

.pricing-toggle-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--slate-600);
}

.pricing-toggle-label.active {
  color: var(--slate-900);
  font-weight: 600;
}

.toggle-switch {
  width: 48px;
  height: 26px;
  background: var(--slate-200);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch.active {
  background: var(--indigo);
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
}

.toggle-switch.active::after {
  transform: translateX(22px);
}

.pricing-discount {
  font-size: 12px;
  font-weight: 700;
  color: var(--indigo);
  background: var(--indigo-bg);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* Pricing images */
.pricing-header-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 60px;
  margin-bottom: -20px;
  position: relative;
  z-index: 1;
}

.pricing-header-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--slate-100);
  object-fit: cover;
}

/* Cards */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: #fff;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 40px 36px;
  text-align: left;
  position: relative;
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--indigo);
  box-shadow:
    0 0 0 1px var(--indigo),
    var(--shadow-md);
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--indigo);
  margin-bottom: 6px;
}

.pricing-card .plan-desc {
  font-size: 13px;
  color: var(--slate-400);
  margin-bottom: 20px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.pricing-price .currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--slate-800);
}

.pricing-price .amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}

.pricing-price .period {
  font-size: 16px;
  color: var(--slate-400);
  font-weight: 500;
}

.pricing-price .original-price {
  font-size: 20px;
  font-weight: 600;
  color: var(--slate-400);
  text-decoration: line-through;
  display: none;
  margin-left: 4px;
}

.pricing-price .original-price.visible {
  display: inline;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.pricing-features li {
  font-size: 14px;
  color: var(--slate-500);
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.5;
}

.pricing-features li::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' fill='%23f0f0ff'/%3E%3Cpath d='M6 10.2l2.8 2.8L14.5 7.3' stroke='%236366f1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.pricing-features li strong {
  color: var(--slate-900);
  font-weight: 600;
}

.pricing-features li .feat-sub {
  color: var(--slate-400);
  font-weight: 400;
}

/* "Tout X inclus" — premier item d'un plan supérieur */
.pricing-features li.feat-inherit {
  background: var(--indigo-bg-soft);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin: -2px -4px 6px;
  grid-template-columns: 18px 1fr;
  font-size: 13px;
  color: var(--slate-700);
  align-items: center;
}

.pricing-features li.feat-inherit::before {
  margin-top: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' fill='%236366f1'/%3E%3Cpath d='M6 10.2l2.8 2.8L14.5 7.3' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pricing-features li.feat-inherit strong {
  color: var(--indigo-dark);
  font-weight: 600;
}

.pricing-card .btn-primary {
  width: 100%;
  text-align: center;
  display: block;
  background: var(--indigo);
}

.pricing-card .btn-primary:hover {
  background: var(--indigo-dark);
}

.pricing-card .btn-outline {
  width: 100%;
  text-align: center;
  display: block;
  border-color: var(--indigo);
  color: var(--indigo);
}

.pricing-card .btn-outline:hover {
  background: var(--indigo-bg);
}

.pricing-price-custom {
  font-size: 48px;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}

.pricing-card.custom {
  background: var(--slate-50);
  border-color: var(--slate-200);
  border-style: dashed;
}

.pricing-card.custom:hover {
  border-color: var(--slate-300);
}

.pricing-card-footer {
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--slate-400);
}

/* ═══════════════════════════════════════════
   STEPS
   ═══════════════════════════════════════════ */
.steps {
  padding: 100px 0 80px;
  text-align: center;
}

.steps h2 {
  font-family: var(--font-label);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 16px;
}

.steps-subtitle {
  font-size: 16px;
  color: var(--slate-500);
  margin-bottom: 64px;
}

.steps-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.step-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 200px;
}

.step-row:nth-child(odd) .step-content {
  grid-column: 1;
  text-align: right;
}
.step-row:nth-child(odd) .step-line {
  grid-column: 2;
}
.step-row:nth-child(odd) .step-visual {
  grid-column: 3;
}
.step-row:nth-child(even) .step-visual {
  grid-column: 1;
  grid-row: 1;
}
.step-row:nth-child(even) .step-line {
  grid-column: 2;
  grid-row: 1;
}
.step-row:nth-child(even) .step-content {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
}

.step-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 60px;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--indigo);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.step-row:last-child .step-number {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.15);
}

.step-connector {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, var(--indigo), var(--indigo-light));
  opacity: 0.3;
}

.step-row:last-child .step-connector {
  display: none;
}

.step-content {
  padding: 8px 32px 40px;
}

.step-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.6;
  max-width: 320px;
}

.step-row:nth-child(odd) .step-content p {
  margin-left: auto;
}

.step-content .step-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--indigo);
}

.step-visual {
  padding: 4px 32px 40px;
  display: flex;
  align-items: flex-start;
}

.step-row:nth-child(odd) .step-visual {
  justify-content: flex-start;
}
.step-row:nth-child(even) .step-visual {
  justify-content: flex-end;
}

/* Step 1: code snippet */
.step-code {
  background: var(--slate-900);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-family: "Courier New", monospace;
  font-size: 13px;
  line-height: 1.8;
  color: var(--slate-400);
  max-width: 340px;
  width: 100%;
  overflow: hidden;
}

.step-code .code-tag {
  color: #f472b6;
}
.step-code .code-attr {
  color: #818cf8;
}
.step-code .code-str {
  color: #34d399;
}
.step-code .code-comment {
  color: var(--slate-600);
  font-style: italic;
}
.step-code .code-cursor {
  display: inline-block;
  width: 8px;
  height: 16px;
  background: var(--indigo-light);
  vertical-align: text-bottom;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Step 2: crawl progress */
.step-crawl {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  max-width: 320px;
  width: 100%;
}

.step-crawl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.step-crawl-url {
  font-size: 13px;
  color: var(--slate-600);
  font-weight: 500;
}

.step-crawl-pages {
  font-size: 12px;
  color: var(--indigo);
  font-weight: 600;
}

.step-crawl-bar {
  height: 6px;
  background: var(--slate-100);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
}

.step-crawl-fill {
  height: 100%;
  width: 85%;
  background: linear-gradient(90deg, var(--indigo), var(--indigo-light));
  border-radius: 3px;
  animation: crawlFill 3s ease-out forwards;
}

@keyframes crawlFill {
  from {
    width: 0%;
  }
  to {
    width: 85%;
  }
}

.step-crawl-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-crawl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--slate-500);
}

.step-crawl-item .crawl-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-crawl-item .crawl-check svg {
  width: 10px;
  height: 10px;
}

/* Step 3: leads dashboard mini */
.step-leads {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  max-width: 340px;
  width: 100%;
}

.step-leads-header {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-800);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-leads-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: #dcfce7;
  color: #16a34a;
}

.step-lead-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--slate-100);
}

.step-lead-row:last-child {
  border: none;
}

.step-lead-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--indigo-bg);
  color: var(--indigo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.step-lead-info {
  flex: 1;
  min-width: 0;
}

.step-lead-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-800);
}

.step-lead-intent {
  font-size: 11px;
  color: var(--slate-400);
}

.step-lead-score {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.step-lead-score.hot {
  background: #dcfce7;
  color: #16a34a;
}
.step-lead-score.warm {
  background: #fef3c7;
  color: #d97706;
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.faq {
  padding: 80px 0 100px;
}

.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.faq-left h2 {
  font-family: var(--font-label);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 24px;
}

.faq-left .btn-outline {
  margin-top: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--slate-200);
  padding: 20px 0;
  cursor: pointer;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-800);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--slate-400);
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding-top: 12px;
  font-size: 14px;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════ */
.final-cta {
  padding: 80px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-bg {
  background: linear-gradient(
    180deg,
    #fff 0%,
    var(--indigo-bg) 40%,
    var(--indigo-bg-soft) 100%
  );
  padding: 60px 0 0;
}

.final-cta-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
}

.final-cta-logo img {
  width: 100%;
}

.final-cta h2 {
  font-family: var(--font-label);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 16px;
}

.final-cta-sub {
  font-size: 14px;
  color: var(--slate-400);
  margin-bottom: 32px;
}

.final-cta .btn-primary {
  background: var(--slate-900);
  padding: 14px 32px;
  font-size: 15px;
}

.final-cta-image {
  width: 100%;
  max-width: 700px;
  margin: 50px auto 0;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  object-fit: cover;
  display: block;
  mix-blend-mode: multiply;
}

/* ═══════════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 24px;
  z-index: 998;
  transform: translateY(calc(100% + 40px));
  opacity: 0;
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner p {
  font-size: 13.5px;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cookie-banner a {
  color: var(--indigo);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.cookie-btn-accept {
  background: var(--indigo);
  color: #fff;
}

.cookie-btn-accept:hover {
  background: var(--indigo-dark);
}

.cookie-btn-decline {
  background: var(--slate-100);
  color: var(--slate-600);
}

.cookie-btn-decline:hover {
  background: var(--slate-200);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  background: var(--slate-900);
  color: #fff;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
}

.footer-copy {
  font-size: 13px;
  color: var(--slate-400);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--slate-400);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner,
  .capture-inner,
  .features-inner,
  .testimonials-inner,
  .faq-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 36px;
  }
  .benefits h2,
  .capture-content h2,
  .features-header h2,
  .faq-left h2,
  .steps h2,
  .pricing h2,
  .final-cta h2,
  .testimonial-content h2 {
    font-size: 30px;
  }

  .features-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .step-row {
    grid-template-columns: auto 1fr;
    min-height: auto;
  }

  .step-row:nth-child(odd) .step-content,
  .step-row:nth-child(even) .step-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .step-row:nth-child(odd) .step-line,
  .step-row:nth-child(even) .step-line {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .step-row:nth-child(odd) .step-visual,
  .step-row:nth-child(even) .step-visual {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
  }

  .step-row:nth-child(odd) .step-content p {
    margin-left: 0;
  }

  .step-content {
    padding: 4px 20px 16px;
  }
  .step-visual {
    padding: 4px 20px 32px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  /* Disable backdrop-filter on mobile — it creates a containing block
     that traps fixed descendants (the drawer). Solid bg instead. */
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.98);
  }

  /* Mobile nav — fullscreen drawer */
  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    inset: 0;
    background: #fff;
    padding: 24px 28px 32px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s ease,
      visibility 0.2s;
    overflow-y: auto;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-family: var(--font-label);
    font-size: 22px;
    font-weight: 500;
    color: var(--slate-900);
    padding: 20px 0;
    border-bottom: 1px solid var(--slate-100);
    letter-spacing: -0.005em;
  }

  .nav-links a:hover {
    color: var(--indigo);
  }

  .nav-links .nav-drawer-logo {
    display: flex;
    align-items: center;
    padding: 0 0 28px;
    border-bottom: none;
  }

  .nav-links .nav-drawer-logo img {
    height: 28px;
    width: auto;
  }

  .nav-open .nav-logo {
    visibility: hidden;
  }

  .nav-links .link-login {
    display: block;
    text-decoration: none;
    color: var(--slate-900);
  }

  .nav-links .nav-lang-mobile {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .nav-links .nav-lang-mobile img {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    flex-shrink: 0;
  }

  .nav-links .nav-cta-mobile {
    display: block;
    margin-top: auto;
    background: var(--slate-900);
    color: #fff;
    padding: 18px 32px;
    border-radius: var(--radius-full);
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    font-family: var(--font-body);
    letter-spacing: 0;
    border-bottom: none;
  }

  .nav-links .nav-cta-mobile:hover {
    color: #fff;
    background: var(--slate-700);
  }

  .nav-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 101;
  }

  .nav-toggle span {
    transform-origin: center;
    transition:
      transform 0.25s ease,
      opacity 0.2s ease;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  html.nav-open,
  html.nav-open body {
    overflow: hidden;
  }

  /* Hero mobile : contenu centré, anime compact dessous */
  .hero-content {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    max-width: 360px;
    margin: 8px auto 0;
    width: 100%;
  }

  .widget-mockup {
    width: 100%;
    max-width: 360px;
    transform: none;
  }

  .widget-mockup:hover {
    transform: none;
  }

  .widget-messages {
    min-height: 240px;
    padding: 16px 14px;
  }

  /* Floating cards — collées aux bords, pas d'overflow */
  .widget-float-card.card-score {
    top: -10px;
    right: -6px;
    min-width: 180px;
    padding: 10px 12px;
  }

  .widget-float-card.card-lead {
    bottom: 60px;
    left: -6px;
    padding: 10px 14px;
  }

  .widget-float-card .card-label {
    font-size: 0.65rem;
  }

  .widget-float-card .card-value {
    font-size: 1.1rem;
  }

  /* Image sticky en haut du viewport pendant qu'on scrolle les features */
  .features-visual {
    order: -1;
    position: sticky;
    top: 84px;
    z-index: 5;
    max-height: 42vh;
    background: #fff;
    margin-bottom: 8px;
  }

  .features-slide,
  .features-slide.active {
    max-height: 42vh;
    object-fit: contain;
  }

  /* Espace après la dernière feature pour qu'elle puisse scroller sous
     l'image sticky avant que la sticky ne soit "libérée" */
  .features-list {
    padding-bottom: 46vh;
  }

  .feature-item {
    border-left: none;
    border-bottom: 2px solid transparent;
    border-radius: var(--radius-md);
    padding-left: 16px;
  }

  .feature-item.active {
    border-left: none;
    border-bottom-color: var(--indigo);
    border-radius: var(--radius-md);
  }

  /* Pas de progress bar en mobile : l'activation est pilotée par le scroll */
  .feature-item.active .feature-progress {
    display: none;
  }

  .testimonial-stats-bar {
    flex-wrap: wrap;
    gap: 20px;
  }

  .pricing-header-row {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 110px 0 60px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    text-align: center;
  }

  /* Widget anime encore plus compact sur smartphone */
  .hero-visual {
    max-width: 320px;
    margin-top: 4px;
  }
  .widget-mockup {
    max-width: 320px;
    border-radius: var(--radius-lg);
  }
  .widget-header {
    padding: 14px 16px;
  }
  .widget-header-avatar {
    width: 34px;
    height: 34px;
  }
  .widget-header-name {
    font-size: 0.9rem;
  }
  .widget-messages {
    min-height: 220px;
    padding: 14px 12px;
    gap: 10px;
  }
  .msg {
    font-size: 0.83rem;
    padding: 10px 14px;
  }
  .widget-input {
    padding: 12px 14px;
  }
  .widget-input-send {
    width: 30px;
    height: 30px;
  }

  /* Floating cards — encore plus compactes sur smartphone */
  .widget-float-card.card-score {
    top: 255px;
    right: -60px;
    min-width: 140px;
    padding: 8px 30px 8px 12px;
  }

  .card-score-list {
    gap: 6px;
    margin-top: 6px;
  }

  .card-score-avatar {
    width: 20px;
    height: 20px;
  }

  .card-score-name,
  .card-score-value {
    font-size: 0.72rem;
  }

  .card-score-value {
    min-width: 22px;
  }

  .card-score-badge {
    font-size: 0.58rem;
    padding: 1px 6px;
  }

  .widget-float-card.card-lead {
    bottom: 12px;
    left: -65px;
    padding: 8px 12px 8px 60px;
  }

  .widget-float-card .card-label {
    font-size: 0.62rem;
    margin-bottom: 2px;
  }

  .widget-float-card .card-value {
    font-size: 1rem;
  }
}

/* ═══════════════════════════════════════════
   ROI SIMULATOR
   ═══════════════════════════════════════════ */
.roi {
  padding: 100px 0;
  text-align: center;
  background: var(--indigo-bg-soft);
}

.roi h2 {
  font-family: var(--font-label);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 16px;
}

.roi-subtitle {
  font-size: 15px;
  color: var(--slate-500);
  line-height: 1.6;
  margin-bottom: 48px;
}

.roi-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-2xl);
  padding: 40px 48px;
  max-width: 860px;
  margin: 0 auto;
  text-align: left;
  box-shadow: var(--shadow-card);
}

.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.roi-row {
  display: grid;
  grid-template-columns: 240px 1fr 110px;
  align-items: center;
  gap: 16px;
}

.roi-label {
  font-size: 14px;
  color: var(--slate-600);
  font-weight: 500;
}

.roi-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--slate-900);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.roi-row input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  height: 24px;
}
.roi-row input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--slate-200);
  border-radius: 2px;
}
.roi-row input[type="range"]::-moz-range-track {
  height: 4px;
  background: var(--slate-200);
  border-radius: 2px;
}
.roi-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--indigo);
  margin-top: -8px;
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.roi-row input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--indigo);
  border: 2px solid #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.roi-row input[type="range"]:focus {
  outline: none;
}
.roi-row input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow:
    var(--shadow-sm),
    0 0 0 4px var(--indigo-bg);
}

.roi-hypothesis {
  margin: 28px 0 24px;
  padding: 14px 18px;
  background: var(--slate-50);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--slate-600);
  line-height: 1.65;
}
.roi-hypothesis strong {
  color: var(--slate-900);
  font-weight: 600;
}

.roi-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.roi-metric {
  background: var(--slate-50);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}

.roi-metric-label {
  font-size: 12px;
  color: var(--slate-500);
  margin-bottom: 6px;
  font-weight: 500;
}

.roi-metric-value {
  font-size: 30px;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.roi-metric-sub {
  font-size: 11px;
  color: var(--slate-400);
  margin-top: 6px;
}

.roi-metric-info {
  background: var(--indigo-bg);
}
.roi-metric-info .roi-metric-label,
.roi-metric-info .roi-metric-value,
.roi-metric-info .roi-metric-sub {
  color: var(--indigo-dark);
}

.roi-metric-success {
  background: #e8f4ec;
}
.roi-metric-success .roi-metric-label,
.roi-metric-success .roi-metric-value,
.roi-metric-success .roi-metric-sub {
  color: #1f6b2e;
}

.roi-footnote {
  margin: 22px 0 0;
  font-size: 12px;
  color: var(--slate-400);
  text-align: center;
}

/* ═══════════════════════════════════════════
   EARLY PARTNER BANNER
   ═══════════════════════════════════════════ */
.early-partner {
  background: var(--slate-900);
  color: #fff;
  border-radius: var(--radius-2xl);
  padding: 36px 44px;
  max-width: 1100px;
  margin: 0 auto 50px;
  text-align: left;
  box-shadow: var(--shadow-lg);
}

.early-partner-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.early-partner-badge {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(129, 140, 248, 0.25);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.early-partner-title {
  font-family: var(--font-label);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.3;
  color: #fff;
}

.early-partner-title em {
  font-family: var(--font-display);
  font-style: normal;
  color: var(--indigo-light);
}

.early-partner-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
  max-width: 620px;
}

.early-partner-cta {
  display: inline-block;
  background: var(--indigo);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  transition: background 0.2s;
}
.early-partner-cta:hover {
  background: var(--indigo-dark);
}

.early-partner-slots {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.early-partner-slots-number {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  color: var(--indigo-light);
}

.early-partner-slots-label {
  font-size: 11px;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 10px;
  line-height: 1.4;
}

/* Early Partner live-pill under each pricing card */
.pricing-card .early-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: var(--slate-900);
  color: #fff;
  padding: 7px 14px 7px 12px;
  border-radius: var(--radius-full);
  margin-top: -18px;
  margin-bottom: 26px;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.2px;
  box-shadow:
    0 2px 8px rgba(15, 23, 42, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.pricing-card .early-pill-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--indigo-light);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(129, 140, 248, 0.9);
}

.pricing-card .early-pill-dot::before,
.pricing-card .early-pill-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--indigo-light);
  animation: earlyPillPulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.pricing-card .early-pill-dot::after {
  animation-delay: 1.1s;
}

.pricing-card .early-pill-label {
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card .early-pill-sep {
  color: rgba(255, 255, 255, 0.25);
  font-weight: 400;
}

.pricing-card .early-pill-price {
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

@keyframes earlyPillPulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(3.2);
  }
}

.pricing-contact-more {
  margin: 36px auto 0;
  font-size: 14px;
  color: var(--slate-500);
  text-align: center;
}

.pricing-contact-more a {
  color: var(--indigo);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}

.pricing-tax-note {
  margin: 14px auto 0;
  font-size: 12px;
  color: var(--slate-400);
  text-align: center;
}

/* "HT" inline badge on prices */
.pricing-price .period-tax {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--slate-400);
  margin-left: 2px;
}

.pricing-card .early-pill-tax {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 2px;
}

/* ROI + Early Partner responsive */
@media (max-width: 900px) {
  .roi {
    padding: 60px 0;
  }
  .roi h2 {
    font-size: 32px;
  }
  .roi-subtitle {
    margin-bottom: 32px;
  }
  .roi-card {
    padding: 28px 22px;
  }
  .roi-row {
    grid-template-columns: 1fr 90px;
    gap: 6px 14px;
  }
  .roi-row .roi-label {
    grid-column: 1 / -1;
    margin-bottom: -4px;
    font-size: 13px;
  }
  .roi-metrics {
    grid-template-columns: 1fr;
  }

  .early-partner {
    padding: 26px 22px;
    margin-bottom: 36px;
  }
  .early-partner-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .early-partner-title {
    font-size: 21px;
  }
  .early-partner-slots {
    flex-direction: row;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 18px;
    width: 100%;
  }
  .early-partner-slots-number {
    font-size: 42px;
  }
  .early-partner-slots-label {
    margin-top: 0;
    text-align: left;
  }

  .pricing-card .early-pill {
    margin-top: -14px;
    margin-bottom: 22px;
    padding: 6px 12px 6px 10px;
    font-size: 11px;
  }
  .pricing-card .early-pill-label {
    font-size: 9px;
    letter-spacing: 1px;
  }
}
