/* ============================================
   AI Revenue Operator — style.css v4
   Premium SaaS Landing Page
============================================ */

/* ============================================
   DESIGN SYSTEM — VARIABLES
============================================ */
:root {
  --bg-base:     #060810;
  --bg-surface:  #0b0f1a;
  --bg-elevated: #111827;
  --bg-card:     #0f1521;
  --bg-dark:     #040508;

  --border:        rgba(255,255,255,0.06);
  --border-active: rgba(255,255,255,0.12);
  --border-accent: rgba(79,70,229,0.25);

  --text-primary:   #eef0f8;
  --text-secondary: #8892a4;
  --text-muted:     #3d4a5c;

  --accent:       #4f46e5;
  --accent-bright:#818cf8;
  --accent-glow:  rgba(79,70,229,0.18);
  --accent-dim:   rgba(79,70,229,0.08);

  --blue:      #3b82f6;
  --blue-dim:  rgba(59,130,246,0.08);
  --blue-glow: rgba(59,130,246,0.15);

  --success:     #10b981;
  --success-dim: rgba(16,185,129,0.1);

  --gold:     #f59e0b;
  --gold-dim: rgba(245,158,11,0.08);

  --rose:     #f43f5e;
  --rose-dim: rgba(244,63,94,0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-display: 'Instrument Serif', serif;
  --font-body:    'Geist', sans-serif;

  --shadow-sm:     0 1px 3px rgba(0,0,0,0.5);
  --shadow-md:     0 4px 24px rgba(0,0,0,0.6);
  --shadow-lg:     0 16px 64px rgba(0,0,0,0.7);
  --shadow-accent: 0 0 48px rgba(79,70,229,0.12);
  --shadow-glow:   0 0 80px rgba(79,70,229,0.08);
}

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

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

:target, [id] { scroll-margin-top: 90px; }

body {
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ============================================
   NOISE TEXTURE OVERLAY
============================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 9999;
}

/* ============================================
   LAYOUT UTILITIES
============================================ */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

section { position: relative; }

/* ============================================
   TYPOGRAPHY SYSTEM
============================================ */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.display-lg {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.display-md {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.3;
}

.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bright);
}

.body-lg { font-size: 1.1rem; line-height: 1.7; color: var(--text-secondary); }
.body-md { font-size: 1rem;   line-height: 1.65; color: var(--text-secondary); }

/* ============================================
   NAVIGATION
============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: env(safe-area-inset-top, 20px) 0 20px;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(6,8,16,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding-top: env(safe-area-inset-top, 14px);
  padding-bottom: 14px;
}

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

.nav__logo {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-icon {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--text-primary); }

.nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Compact buttons inside the nav bar */
.nav__cta .btn {
  padding: 8px 14px;
  font-size: 0.8rem;
  gap: 6px;
}

/* ============================================
   BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: -0.01em;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  padding: 13px 26px;
  font-size: 0.95rem;
  box-shadow: 0 0 0 0 rgba(79,70,229,0.4);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent);
  border-radius: inherit;
  pointer-events: none;
}

.btn--primary:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(79,70,229,0.45);
}

.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: 13px 20px;
  font-size: 0.875rem;
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--border-active);
  color: var(--text-primary);
  background: var(--bg-elevated);
}

.btn--large {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn--full { width: 100%; justify-content: center; }
.btn svg { flex-shrink: 0; }

/* ============================================
   HERO SECTION — 2-COLUMN
============================================ */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.orb--blue {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(59,130,246,0.28), transparent 70%);
  top: -250px;
  right: -150px;
  animation: floatOrb 9s ease-in-out infinite;
}

.orb--purple {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(139,92,246,0.22), transparent 70%);
  bottom: -120px;
  left: -80px;
  animation: floatOrb 12s ease-in-out infinite reverse;
}

.orb--indigo {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(79,70,229,0.18), transparent 70%);
  top: 40%;
  left: 35%;
  animation: floatOrb 15s ease-in-out infinite;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(15px, -25px); }
  66%       { transform: translate(-10px, 15px); }
}

/* Grid background */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black, transparent);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* TEXT COLUMN */
.hero__text {}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,70,229,0.08);
  border: 1px solid rgba(79,70,229,0.22);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  margin-bottom: 36px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  animation: fadeInUp 0.6s ease both;
}

.hero__badge-dot {
  width: 20px;
  height: 20px;
  background: var(--success-dim);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__badge-dot::after {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
  animation: pulse 2s ease infinite;
}

.hero__headline {
  animation: fadeInUp 0.6s 0.1s ease both;
  margin-bottom: 28px;
}

.hero__headline .highlight {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent-bright) 0%, #c4b5fd 60%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  max-width: 480px;
  margin-bottom: 44px;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  animation: fadeInUp 0.6s 0.2s ease both;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s 0.3s ease both;
  margin-bottom: 32px;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: fadeInUp 0.6s 0.4s ease both;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.social-proof-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.social-proof-item svg { color: var(--success); flex-shrink: 0; }

/* Stats strip */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: fadeInUp 0.6s 0.5s ease both;
}

.stat-cell {
  background: var(--bg-surface);
  padding: 22px 16px;
  text-align: center;
}

.stat-cell__number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 4px;
}

.stat-cell__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.3;
}

/* ============================================
   COCKPIT VISUAL (hero right column)
============================================ */
.hero__visual {
  position: relative;
}

.cockpit {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-accent);
  position: relative;
}

.cockpit::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

.cockpit__header {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.cockpit__title {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 6px;
  font-weight: 500;
  flex: 1;
}

.cockpit__live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--success);
}

.cockpit__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Pipeline columns */
.pipeline-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.pipeline-col__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.col-count {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 1px 7px;
  font-size: 0.62rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.col-count--fire {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.25);
  color: var(--gold);
}

.pipeline-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 6px;
  transition: border-color 0.2s;
  position: relative;
  overflow: hidden;
}

.pipeline-card:last-child { margin-bottom: 0; }

.pipeline-card:hover { border-color: var(--border-active); }

.pipeline-card--featured {
  border-color: rgba(79,70,229,0.28);
  background: rgba(79,70,229,0.04);
}

.pipeline-card--featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.pipeline-card--hot {
  border-color: rgba(245,158,11,0.3);
  background: rgba(245,158,11,0.03);
}

.pipeline-card--hot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.pipeline-card--hot-light {
  border-color: rgba(245,158,11,0.15);
}

.pipeline-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.pipeline-card__company {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.score-pill {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.score-pill--hot {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  color: var(--success);
}

.score-pill--mid {
  background: rgba(79,70,229,0.1);
  border: 1px solid rgba(79,70,229,0.25);
  color: var(--accent-bright);
}

.score-pill--low {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  color: var(--gold);
}

.score-pill--fire {
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--gold);
}

.pipeline-card__auto {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  color: var(--accent-bright);
  font-weight: 500;
}

.pipeline-card__auto svg { flex-shrink: 0; }

.pipeline-card__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.62rem;
  color: var(--text-muted);
}

.pipeline-card__status.muted { color: var(--text-muted); }

.pipeline-card__value {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-top: 4px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

.pipeline-card__value--hot { color: var(--gold); }

/* Typing animation */
.typing-dots {
  display: inline-flex;
  gap: 2px;
  align-items: center;
}

.typing-dots span {
  width: 3px;
  height: 3px;
  background: var(--text-muted);
  border-radius: 50%;
  animation: typing 1.2s ease infinite;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40%            { opacity: 1;   transform: scale(1); }
}

/* Cockpit stats bar */
.cockpit__statsbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cockpit-stat {
  background: var(--bg-elevated);
  padding: 10px 8px;
  text-align: center;
}

.cockpit-stat__val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.cockpit-stat__val.positive { color: var(--success); }
.cockpit-stat__val.accent   { color: var(--accent-bright); }
.cockpit-stat__val.hot      { color: var(--gold); }

.cockpit-stat__label {
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 500;
}

/* Live pulse dot */
.live-pulse {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16,185,129,0.4);
  animation: liveRing 2s ease infinite;
  flex-shrink: 0;
}

@keyframes liveRing {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  70%  { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ============================================
   MARQUEE / TICKER
============================================ */
.marquee-section {
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 32s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  border-right: 1px solid var(--border);
}

.marquee-item svg { color: var(--accent-bright); opacity: 0.8; flex-shrink: 0; }

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

/* ============================================
   SECTION HEADER (shared)
============================================ */
.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header .label  { margin-bottom: 16px; display: block; }
.section-header h2      { margin-bottom: 20px; }

/* ============================================
   PROBLEM SECTION — 6-card grid
============================================ */
.problem {
  padding: 120px 0;
  background: var(--bg-base);
}

.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.problem-card {
  background: var(--bg-surface);
  padding: 32px 28px;
  position: relative;
  transition: background 0.22s;
}

.problem-card:hover { background: var(--bg-elevated); }

.problem-card__number {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.problem-card__icon {
  width: 40px;
  height: 40px;
  background: rgba(244,63,94,0.07);
  border: 1px solid rgba(244,63,94,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #f87171;
}

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.problem-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.problem-card__stat {
  font-size: 0.72rem;
  font-weight: 600;
  color: #f87171;
  letter-spacing: 0.02em;
  padding-top: 12px;
  border-top: 1px solid rgba(244,63,94,0.1);
}

/* ============================================
   AVANT / APRÈS SECTION
============================================ */
.avantapres {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.avantapres__layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.avantapres__col {
  padding: 40px;
}

.avantapres__col--before {
  background: rgba(244,63,94,0.03);
  border-right: 1px solid var(--border);
}

.avantapres__col--after {
  background: rgba(16,185,129,0.03);
}

.avantapres__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.avantapres__badge--before {
  background: rgba(244,63,94,0.08);
  border: 1px solid rgba(244,63,94,0.2);
  color: #f87171;
}

.avantapres__badge--after {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  color: var(--success);
}

.avantapres__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.avantapres__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.avantapres__list strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  letter-spacing: -0.01em;
}

.avantapres__list span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.avantapres__item-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}

.avantapres__item-icon.before {
  background: rgba(244,63,94,0.1);
  border: 1px solid rgba(244,63,94,0.2);
}

.avantapres__item-icon.before::after {
  content: '✗';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #f87171;
}

.avantapres__item-icon.after {
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
}

.avantapres__item-icon.after::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--success);
}

.avantapres__arrow {
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--accent-bright);
  opacity: 0.7;
}

/* ============================================
   SOLUTION SECTION
============================================ */
.solution {
  padding: 120px 0;
  background: var(--bg-base);
}

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

.solution__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

.step {
  display: flex;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: opacity 0.2s;
}

.step:last-child { border-bottom: none; }
.step:hover { opacity: 1; }

.step__number {
  width: 34px;
  height: 34px;
  background: var(--accent-dim);
  border: 1px solid rgba(79,70,229,0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-bright);
  flex-shrink: 0;
}

.step__content h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.step__content p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Dashboard preview */
.dashboard-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-accent);
  position: relative;
}

.dashboard-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.dashboard-preview__header {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dot:nth-child(1) { background: #ff5f57; }
.window-dot:nth-child(2) { background: #febc2e; }
.window-dot:nth-child(3) { background: #28c840; }

.dashboard-preview__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dash-row {
  display: flex;
  gap: 10px;
}

.dash-metric {
  flex: 1;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.dash-metric__val {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  display: block;
}

.dash-metric__val.positive { color: var(--success); }
.dash-metric__val.accent   { color: var(--accent-bright); }

.dash-metric__label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
  font-weight: 500;
}

.dash-chart {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.dash-chart__title {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 500;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 56px;
}

.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: var(--accent-dim);
  border: 1px solid rgba(79,70,229,0.2);
  position: relative;
  overflow: hidden;
  animation: barGrow 1.2s ease both;
}

.bar--before {
  background: rgba(244,63,94,0.06);
  border-color: rgba(244,63,94,0.15);
}

.bar--before::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(244,63,94,0.3), transparent);
}

.bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--accent), transparent);
  opacity: 0.4;
}

.bar:nth-child(7) { border-color: rgba(79,70,229,0.5); }
.bar:nth-child(7)::after { opacity: 0.85; }

@keyframes barGrow {
  from { transform: scaleY(0); transform-origin: bottom; }
  to   { transform: scaleY(1); }
}

.chart-legend {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.chart-legend__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.chart-legend__item::before {
  content: '';
  width: 10px;
  height: 3px;
  border-radius: 2px;
  display: inline-block;
}

.chart-legend__item.before::before { background: rgba(244,63,94,0.5); }
.chart-legend__item.after::before  { background: var(--accent-bright); }

.dash-activity {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 0;
  font-size: 0.74rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.activity-item:last-child { border-bottom: none; }

.activity-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--success);
}

.activity-time {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ============================================
   AUTOMATIONS SECTION
============================================ */
.automations {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.automations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.auto-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.auto-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.auto-card:hover {
  border-color: var(--border-active);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(79,70,229,0.1);
}

.auto-card:hover::before { opacity: 1; }

.auto-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.auto-card__icon {
  width: 42px;
  height: 42px;
  background: var(--accent-dim);
  border: 1px solid rgba(79,70,229,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  flex-shrink: 0;
}

.auto-card__icon--purple {
  background: rgba(139,92,246,0.08);
  border-color: rgba(139,92,246,0.2);
  color: #a78bfa;
}

.auto-card__icon--green {
  background: rgba(16,185,129,0.07);
  border-color: rgba(16,185,129,0.2);
  color: var(--success);
}

.auto-card__icon--amber {
  background: rgba(245,158,11,0.07);
  border-color: rgba(245,158,11,0.2);
  color: var(--gold);
}

.auto-card__icon--rose {
  background: rgba(244,63,94,0.07);
  border-color: rgba(244,63,94,0.18);
  color: var(--rose);
}

.auto-card__icon--blue {
  background: rgba(59,130,246,0.07);
  border-color: rgba(59,130,246,0.2);
  color: #60a5fa;
}

.auto-card__badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 10px;
  white-space: nowrap;
}

.auto-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  color: var(--text-primary);
}

.auto-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.auto-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.auto-card__tags span {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 9px;
}

.automations__cta {
  text-align: center;
}

/* ============================================
   SIMULATOR SECTION
============================================ */
.simulator {
  padding: 120px 0;
  background: var(--bg-base);
}

.simulator__card {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg), var(--shadow-accent);
  position: relative;
}

.simulator__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
}

.simulator__header {
  background: linear-gradient(135deg, rgba(79,70,229,0.1), rgba(139,92,246,0.05));
  border-bottom: 1px solid var(--border);
  padding: 32px 40px;
  text-align: center;
}

.simulator__header h2 { margin-bottom: 10px; }
.simulator__header p  { color: var(--text-secondary); font-size: 0.92rem; }

.simulator__body { padding: 40px; }

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

.sim-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.sim-select {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238892a4' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.2s;
}

.sim-select:focus { border-color: var(--accent); }

/* Results */
.sim-results {
  background: linear-gradient(135deg, rgba(79,70,229,0.07), rgba(139,92,246,0.04));
  border: 1px solid rgba(79,70,229,0.2);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 8px;
}

.sim-results__title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-results__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.sim-metric { text-align: center; }

.sim-metric__val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sim-metric__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.sim-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.sim-cta {
  margin-top: 28px;
  text-align: center;
}

/* ============================================
   USE CASES
============================================ */
.usecases {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.usecases__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.usecase-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.22s ease;
  position: relative;
  overflow: hidden;
}

.usecase-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-bright), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.usecase-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.usecase-card:hover::before { opacity: 0.8; }

.usecase-card__sector {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 12px;
}

.usecase-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.usecase-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.usecase-result {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--success-dim);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
}

/* ============================================
   DIFFERENTIATOR
============================================ */
.diff {
  padding: 120px 0;
  background: var(--bg-base);
}

.diff__table {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 56px;
}

.diff__row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
}

.diff__row:last-child { border-bottom: none; }

.diff__row.header { background: var(--bg-elevated); }

.diff__row:not(.header):hover .diff__cell:first-child { color: var(--text-primary); }

.diff__cell {
  padding: 18px 26px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.diff__cell:last-child { border-right: none; }

.diff__cell.header-cell {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.diff__cell.aro { background: rgba(79,70,229,0.04); }
.diff__cell.col-header { justify-content: center; text-align: center; }

.check   { color: var(--success); font-size: 1rem; }
.cross   { color: #ef4444; font-size: 1rem; }
.partial { color: var(--gold); font-size: 0.82rem; }

/* ============================================
   TRUST / TESTIMONIALS
============================================ */
.trust {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.22s, transform 0.22s;
  display: flex;
  flex-direction: column;
}

.trust-card:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
}

.trust-card__quote-mark {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
  margin-bottom: -8px;
  display: block;
}

.trust-card__text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.trust-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-card__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #7c3aed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.trust-card__name {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}

.trust-card__role {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.trust-card__result {
  display: inline-flex;
  align-items: center;
  margin-top: 20px;
  background: var(--success-dim);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 100px;
  padding: 5px 12px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--success);
}

/* Case study card elements (replacing testimonials) */
.trust-card__sector {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-bright);
  background: rgba(79,70,229,0.08);
  border: 1px solid rgba(79,70,229,0.15);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 20px;
}

.case-block {
  margin-bottom: 18px;
}

.case-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.case-block p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* Impact attendu block — highlighted */
.case-block--impact {
  margin-top: auto;
  margin-bottom: 0;
  padding: 14px 16px;
  background: rgba(79,70,229,0.05);
  border: 1px solid rgba(79,70,229,0.12);
  border-radius: var(--radius-sm);
}

.case-block--impact .case-label {
  color: var(--accent-bright);
}

.case-block--impact p {
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 400;
}

/* ============================================
   WORKFLOW SECTION
============================================ */
.workflow {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 16px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Timeline: cards connected by a vertical line */
.workflow__steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 64px 0 64px;
  position: relative;
}

/* Connector line through the num circles */
.workflow__steps::before {
  content: '';
  position: absolute;
  left: 59px;        /* card border(1) + card padding(32) + circle half(48/2) = 57 ≈ 59 */
  top: 80px;
  bottom: 80px;
  width: 1px;
  background: linear-gradient(to bottom,
    rgba(79,70,229,0.6) 0%,
    rgba(79,70,229,0.15) 70%,
    transparent 100%);
  z-index: 0;
}

/* Each step is a full card */
.workflow-step {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: border-color 0.22s, box-shadow 0.22s;
  position: relative;
}

.workflow-step:hover {
  border-color: rgba(79,70,229,0.3);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
}

/* Step number circle */
.workflow-step__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(79,70,229,0.1);
  border: 1px solid rgba(79,70,229,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent-bright);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

/* Icon square */
.workflow-step__icon {
  width: 60px;
  height: 60px;
  background: rgba(79,70,229,0.06);
  border: 1px solid rgba(79,70,229,0.14);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  flex-shrink: 0;
}

/* Content block */
.workflow-step__content { flex: 1; min-width: 0; }

.workflow-step__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  line-height: 1.3;
}

.workflow-step__desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
}

.workflow__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   SOCIAL PROOF
============================================ */
.social-proof {
  padding: 56px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-base);
}

.social-proof__title {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.social-proof__logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.social-proof__logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.45;
  transition: opacity 0.2s;
  text-align: center;
}

.social-proof__logo:hover { opacity: 0.85; }

/* ============================================
   MID-PAGE CTA
============================================ */
.midcta {
  padding: 120px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.midcta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.midcta::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.01) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.01) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.midcta__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.midcta__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--success);
  margin-bottom: 28px;
}

.midcta__headline {
  margin-bottom: 24px;
  color: var(--text-primary);
}

.midcta__sub {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin: 0 auto 44px;
}

.midcta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.midcta__proof {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================
   FAQ
============================================ */
.faq {
  padding: 120px 0;
  background: var(--bg-surface);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 48px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq__item:hover { border-color: var(--border-active); }
.faq__item[open] { border-color: var(--accent); }

.faq__item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s;
  font-size: 1rem;
}

.faq__item[open] summary::after { content: "−"; }

.faq__answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.92rem;
}

/* Trust badges row */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px auto 0;
  max-width: 720px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.trust-badge svg { color: var(--success); width: 13px; height: 13px; flex-shrink: 0; }

/* ============================================
   AUDIT FORM
============================================ */
.audit {
  padding: 120px 0;
  background: var(--bg-base);
}

.audit__card {
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-xl);
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-accent);
  position: relative;
}

.audit__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), #7c3aed, transparent);
  opacity: 0.7;
}

.audit__header {
  background: linear-gradient(135deg, rgba(79,70,229,0.12), rgba(139,92,246,0.06));
  border-bottom: 1px solid var(--border);
  padding: 40px;
  text-align: center;
}

.audit__header h2 { margin-bottom: 12px; }
.audit__header p  { color: var(--text-secondary); max-width: 420px; margin: 0 auto; font-size: 0.95rem; }

.audit__body { padding: 40px; }

/* Progress steps */
.form-progress {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
  gap: 0;
}

.form-step-indicator {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.form-step-indicator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-step-indicator:last-child::after { display: none; }

.step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.step-dot.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 0 0 4px rgba(79,70,229,0.2);
}

.step-dot.done {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

/* Form panes */
.form-pane          { display: none; }
.form-pane.active   { display: block; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.form-input {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.12);
}

.form-input::placeholder { color: var(--text-muted); }
.form-input.error { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }

.field-error {
  font-size: 0.72rem;
  color: #ef4444;
  margin-top: 5px;
  display: none;
}

.field-error.visible { display: block; }

/* Chips */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.chip {
  padding: 8px 15px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s;
  background: var(--bg-elevated);
}

.chip:hover {
  border-color: var(--border-active);
  color: var(--text-primary);
}

.chip.selected {
  background: var(--accent-dim);
  border-color: rgba(79,70,229,0.35);
  color: var(--accent-bright);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

/* Success state */
.form-success        { display: none; text-align: center; padding: 20px 0; }
.form-success.show   { display: block; }

.success-icon {
  width: 70px;
  height: 70px;
  background: var(--success-dim);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.6rem;
  color: var(--success);
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.form-success p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 380px;
  margin: 0 auto;
}

/* Guarantee */
.guarantee {
  margin-top: 22px;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(16,185,129,0.07), rgba(16,185,129,0.02));
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: var(--radius-md);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.guarantee__icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(16,185,129,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 18px;
}

.guarantee strong { color: var(--text-primary); display: block; margin-bottom: 4px; font-size: 0.9rem; }
.guarantee p      { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.55; margin: 0; }

/* Booking card */
.booking-card {
  margin-top: 28px;
  padding: 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booking-card h4 { font-size: 1rem; color: var(--text-primary); margin: 0; }
.booking-card p  { color: var(--text-secondary); font-size: 0.875rem; margin: 0; }
.booking-card .btn--ghost { align-self: flex-start; }

/* ============================================
   FOOTER
============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
  background: var(--bg-base);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 40px;
}

.footer__copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--text-secondary); }

/* ============================================
   ANIMATIONS
============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   SCORING TOOL
============================================ */
.sim-grid--inputs {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 28px;
}

.score-layout {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 22px;
}

.score-ring-wrap {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.score-ring { width: 80px; height: 80px; }

.score-ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.score-ring-value span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.score-ring-value small {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 500;
}

.score-meta { flex: 1; }

.score-reco {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 8px;
}

.score-reco strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.segment-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent-dim);
  border: 1px solid rgba(79,70,229,0.3);
  color: var(--accent-bright);
}

.segment-badge--small {
  background: var(--gold-dim);
  border-color: rgba(245,158,11,0.3);
  color: var(--gold);
}

.segment-badge--mid {
  background: var(--accent-dim);
  border-color: rgba(79,70,229,0.3);
  color: var(--accent-bright);
}

.segment-badge--large {
  background: var(--success-dim);
  border-color: rgba(16,185,129,0.3);
  color: var(--success);
}

.sim-next-action {
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 18px;
}

.sim-next-action__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-bright);
  display: block;
  margin-bottom: 6px;
}

.sim-next-action p {
  font-size: 0.875rem;
  color: var(--text-primary);
  line-height: 1.55;
  margin: 0;
}

/* ============================================
   HAMBURGER & MOBILE NAV
============================================ */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 7px;
  flex-shrink: 0;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6,8,16,0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 98;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 80px 24px 40px;
}

.nav__mobile.open { display: flex; }

.nav__mobile a:not(.btn) {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  transition: color 0.2s;
}

.nav__mobile a:not(.btn):hover { color: var(--accent-bright); }

/* Netlify honeypot */
.hidden-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Sticky CTA mobile */
.sticky-cta-mobile {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: linear-gradient(180deg, transparent, rgba(6,8,16,0.96) 28%);
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0));
}

.sticky-cta-mobile a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 32px rgba(79,70,229,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.sticky-cta-mobile a:active { transform: scale(0.98); }

/* Page merci */
.thanks-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}

.thanks-page__inner { max-width: 620px; }

.thanks-page__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background: rgba(16,185,129,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--success);
}

.thanks-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  color: var(--text-primary);
}

.thanks-page p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.thanks-page .next-steps {
  margin-top: 40px;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.thanks-page .next-steps h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: 16px;
}

.thanks-page .next-steps ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}

.thanks-page .next-steps li {
  counter-increment: step;
  padding: 12px 0 12px 48px;
  position: relative;
  color: var(--text-secondary);
}

.thanks-page .next-steps li:not(:last-child) { border-bottom: 1px solid var(--border); }

.thanks-page .next-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-family: var(--font-body);
}

.thanks-page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
}

/* ============================================
   NAV — hide links at 900px before overlap occurs
============================================ */
@media (max-width: 900px) {
  .nav__links { display: none !important; }
}

/* ============================================
   MOBILE RESPONSIVE — 968px (tablets)
============================================ */
@media (max-width: 968px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__text { text-align: center; }
  .hero__sub  { margin-left: auto; margin-right: auto; }

  .hero__actions {
    justify-content: center;
  }

  .hero__social-proof {
    justify-content: center;
  }

  .hero__stats {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__visual { order: -1; max-width: 520px; margin: 0 auto; }

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

/* ============================================
   MOBILE RESPONSIVE — 768px
============================================ */
@media (max-width: 768px) {
  .nav__hamburger  { display: flex; }
  .nav__links      { display: none !important; }
  .nav__cta .btn--ghost { display: none; }
  .nav__cta #nav-auth .btn--ghost { display: none; }

  section { padding: 80px 0; }

  .hero { padding: 120px 0 72px; }

  .display-xl { font-size: clamp(1.9rem, 9vw, 2.6rem); line-height: 1.15; }
  .hero__sub  { font-size: 1rem; line-height: 1.6; }

  .hero__actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 12px 22px;
    font-size: 0.9rem;
  }

  .problem__grid  { grid-template-columns: 1fr; }

  .avantapres__layout {
    grid-template-columns: 1fr;
  }

  .avantapres__arrow {
    border: none;
    padding: 16px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .avantapres__col--before { border-right: none; border-bottom: 1px solid var(--border); }

  .solution__layout { grid-template-columns: 1fr; gap: 48px; }

  .dashboard-preview { display: none; }

  .automations__grid { grid-template-columns: 1fr; }

  .simulator__header { padding: 24px 20px; }
  .simulator__body   { padding: 24px 20px; }
  .sim-grid          { grid-template-columns: 1fr; }
  .sim-results__grid { grid-template-columns: 1fr; }
  .sim-results       { padding: 22px 18px; }

  .usecases__grid { grid-template-columns: 1fr; }

  /* Diff table → card style */
  .diff__table { border: none; background: transparent; border-radius: 0; overflow: visible; }
  .diff__row.header { display: none; }
  .diff__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    overflow: hidden;
  }
  .diff__cell { border-right: none; border-bottom: none; padding: 12px 14px; }
  .diff__cell:first-child {
    grid-column: 1 / -1;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-primary);
    padding: 14px 16px;
  }
  .diff__cell.aro { background: rgba(79,70,229,0.04); }
  .diff__cell.aro::before {
    content: 'AI Revenue Op.';
    display: block;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-bright);
    margin-bottom: 5px;
    font-weight: 600;
  }
  .diff__row .diff__cell:last-child::before {
    content: 'Agence classique';
    display: block;
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 600;
  }

  .trust__grid { grid-template-columns: 1fr; }

  .workflow__steps::before { left: 45px; top: 64px; bottom: 64px; }
  .workflow-step { gap: 16px; padding: 20px 20px; }
  .workflow-step__num { width: 40px; height: 40px; font-size: 0.72rem; }
  .workflow-step__icon { width: 48px; height: 48px; border-radius: 11px; }
  .workflow-step__title { font-size: 0.97rem; }
  .workflow-step__desc { font-size: 0.87rem; }
  .workflow__cta { flex-direction: column; align-items: center; }
  .workflow__cta .btn { width: 100%; max-width: 320px; justify-content: center; }

  .audit__header { padding: 28px 20px; }
  .audit__body   { padding: 24px 16px; }
  .form-row      { grid-template-columns: 1fr; }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__tagline { margin-left: 0; margin-top: 4px; }

  .sticky-cta-mobile { display: block; }
  .footer { padding-bottom: 80px; }

  .midcta { padding: 80px 0; }
  .midcta__proof { flex-direction: column; gap: 10px; }
}

/* ============================================
   MOBILE RESPONSIVE — 480px
============================================ */
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  section { padding: 72px 0; }

  .hero { padding: 100px 0 56px; }

  .display-xl {
    font-size: 2.2rem;
    line-height: 1.18;
    word-break: break-word;
  }
  .display-lg { font-size: clamp(1.35rem, 7vw, 1.85rem); }

  .btn--large {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.875rem;
    box-sizing: border-box;
    max-width: 100%;
  }

  .hero__actions, .sim-cta, .audit__header { overflow: hidden; }
  .hero__social-proof { flex-direction: column; gap: 8px; align-items: center; }

  .hero__stats { grid-template-columns: 1fr; }
  .stat-cell   { padding: 18px; }
  .stat-cell__number { font-size: 1.75rem; }

  .trust-card__result { margin-top: 14px; }

  .workflow__steps::before { display: none; }
  .workflow-step { gap: 12px; padding: 18px 16px; }
  .workflow-step__icon { display: none; }
  .workflow-step__num { width: 36px; height: 36px; font-size: 0.68rem; flex-shrink: 0; }
  .workflow-step__title { font-size: 0.93rem; margin-bottom: 6px; }
  .workflow-step__desc { font-size: 0.84rem; }

  .form-nav { flex-direction: column; gap: 10px; }
  .form-nav .btn { width: 100%; justify-content: center; }

  .footer__links { flex-wrap: wrap; gap: 12px; }

  .marquee-section { overflow: hidden; }
  .marquee-item    { padding: 12px 18px; font-size: 0.65rem; }

  .avantapres__col { padding: 28px 20px; }

  .sim-grid--inputs { grid-template-columns: 1fr; }
  .score-layout     { flex-direction: column; align-items: flex-start; gap: 14px; }

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

  .booking-card .btn--ghost { width: 100%; justify-content: center; }
}

/* ============================================
   AUTH PAGES
============================================ */

.auth-page {
  min-height: 100vh;
  background: var(--bg-base);
}

.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

/* Left brand panel */
.auth-brand {
  background: linear-gradient(160deg, #0c0e1a 0%, #060810 100%);
  border-right: 1px solid var(--border);
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.auth-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: auto;
}

.auth-brand__quote {
  margin-top: auto;
  padding: 28px;
  background: rgba(79,70,229,0.06);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
}

.auth-brand__quote blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
  margin: 0 0 12px;
  line-height: 1.4;
}

.auth-brand__quote cite {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-style: normal;
  margin-bottom: 10px;
}

.auth-brand__result {
  display: inline-block;
  padding: 4px 12px;
  background: var(--success-dim);
  color: var(--success);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
}

.auth-brand__steps {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-step {
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.45;
}

.auth-step--done {
  opacity: 1;
}

.auth-step__num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-active);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.auth-step--done .auth-step__num {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.auth-step__label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.auth-step--done .auth-step__label {
  color: var(--text-primary);
}

.auth-brand__stats {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.auth-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.auth-stat__number {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}

.auth-stat__label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Right form panel */
.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  background: var(--bg-base);
}

.auth-card {
  width: 100%;
  max-width: 420px;
}

.auth-card__header {
  margin-bottom: 32px;
}

.auth-card__header h1 {
  margin-bottom: 8px;
}

.auth-card__header p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.auth-link {
  color: var(--accent-bright);
  text-decoration: none;
}

.auth-link:hover { text-decoration: underline; }

.auth-link--small {
  font-size: 0.8rem;
  font-weight: 400;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.15);
}

.form-input::placeholder { color: var(--text-muted); }

.auth-input-wrap {
  position: relative;
}

.auth-input-wrap .form-input {
  padding-right: 44px;
}

.auth-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.auth-eye:hover { color: var(--text-secondary); }

/* Password strength */
.auth-pw-strength {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.auth-pw-bar {
  flex: 1;
  height: 3px;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
}

.auth-pw-bar__fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s, background 0.3s;
  width: 0%;
}

.auth-pw-label {
  font-size: 0.72rem;
  font-weight: 500;
  min-width: 60px;
  text-align: right;
}

/* Alerts */
.auth-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.auth-alert--error {
  background: rgba(244,63,94,0.08);
  border: 1px solid rgba(244,63,94,0.2);
  color: #fb7185;
}

.auth-alert--success {
  background: var(--success-dim);
  border: 1px solid rgba(16,185,129,0.2);
  color: #34d399;
}

.auth-card__footer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.auth-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Confirm card */
.auth-card--confirm {
  text-align: center;
  padding: 48px 32px;
}

.auth-confirm__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(79,70,229,0.1);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--accent-bright);
}

.auth-confirm__text {
  color: var(--text-secondary);
  margin: 16px 0 12px;
  line-height: 1.6;
}

.auth-confirm__sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Auth responsive */
@media (max-width: 768px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-brand  { display: none; }
  .auth-form-panel { padding: 32px 20px; }
  .auth-card { max-width: 100%; }
}

/* ============================================
   DASHBOARD
============================================ */

.dash-page {
  min-height: 100vh;
  background: var(--bg-base);
  display: flex;
  flex-direction: column;
}

/* Dashboard nav */
.dash-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 60px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-base);
  position: sticky;
  top: 0;
  z-index: 100;
}

.dash-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-primary);
}

.dash-nav__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dash-nav__email {
  font-size: 0.8rem;
  color: var(--text-muted);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Layout */
.dash-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  flex: 1;
  min-height: 0;
}

/* Sidebar */
.dash-sidebar {
  border-right: 1px solid var(--border);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  background: var(--bg-base);
  position: sticky;
  top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
}

.dash-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dash-sidebar__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.dash-sidebar__link:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.dash-sidebar__link--active {
  background: var(--accent-dim);
  color: var(--accent-bright);
}

.dash-sidebar__credits {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Credits gauge */
.credits-gauge__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.credits-gauge__label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.credits-gauge__count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.credits-gauge__bar {
  height: 4px;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}

.credits-gauge__fill {
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.credits-gauge__reset {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Main content area */
.dash-main {
  padding: 40px 48px;
  overflow-y: auto;
  min-width: 0;
}

.dash-section__header {
  margin-bottom: 32px;
}

.dash-section__header h1 {
  margin-bottom: 6px;
}

.dash-section__sub {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Stats cards */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.dash-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-stat-card__label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dash-stat-card__value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}

/* Dashboard cards */
.dash-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}

.dash-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.dash-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Table */
.dash-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.dash-table th {
  text-align: left;
  padding: 12px 24px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}

.dash-table td {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.dash-table tr:last-child td { border-bottom: none; }

.dash-table tr:hover td { background: rgba(255,255,255,0.015); }

.dash-table__company {
  font-weight: 500;
  color: var(--text-primary);
}

.dash-table__action {
  color: var(--text-secondary);
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-table__date {
  color: var(--text-muted);
  white-space: nowrap;
}

.dash-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 500;
  background: var(--accent-dim);
  color: var(--accent-bright);
  border: 1px solid rgba(79,70,229,0.15);
}

.dash-view-btn {
  background: none;
  border: 1px solid var(--border-active);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.75rem;
  padding: 5px 12px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-body);
}

.dash-view-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

/* Empty & loading states */
.dash-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 64px 32px;
  color: var(--text-muted);
  font-size: 0.875rem;
  text-align: center;
}

.dash-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.dash-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid var(--border-active);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Onboarding CTA */
.dash-onboarding {
  border: 1px dashed var(--border-accent);
  border-radius: var(--radius-md);
  padding: 2px;
}

.dash-onboarding__inner {
  background: var(--accent-dim);
  border-radius: calc(var(--radius-md) - 2px);
  padding: 40px 48px;
  text-align: center;
}

.dash-onboarding__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.dash-onboarding__inner h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.dash-onboarding__inner p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* Settings */
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
}

.settings-row:last-child { border-bottom: none; }

.settings-row__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.settings-row__value {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.plan-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--accent-dim);
  color: var(--accent-bright);
  border: 1px solid rgba(79,70,229,0.15);
}

/* Modal */
.dash-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dash-modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.dash-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-elevated);
}

.dash-modal__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dash-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}

.dash-modal__close:hover { color: var(--text-primary); }

.dash-modal__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-date {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: auto;
}

.modal-section h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.modal-section p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.modal-section--msg blockquote {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  white-space: pre-wrap;
}

.score-pill--lg {
  font-size: 0.875rem;
  padding: 5px 14px;
}

/* Button helpers */
.btn--sm {
  padding: 8px 16px;
  font-size: 0.8rem;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* Dashboard responsive */
@media (max-width: 1024px) {
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px 16px;
  }
  .dash-sidebar__nav { flex-direction: row; flex-wrap: wrap; }
  .dash-sidebar__credits { display: none; }
  .dash-main { padding: 24px 20px; }
  .dash-stats { grid-template-columns: repeat(2, 1fr); }
  .dash-nav { padding: 0 16px; }
  .dash-nav__email { display: none; }
}
}
