/* ============================================================
   CANDIDAT.AI - Landing Page Styles
   ============================================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:        #2563eb;
  --blue-dark:   #1e40af;
  --green:       #16a34a;
  --red:         #dc2626;
  --text:        #0f172a;
  --text-sec:    #475569;
  --text-muted:  #94a3b8;
  --bg:          #ffffff;
  --bg-alt:      #f8fafc;
  --border:      rgba(0,0,0,0.08);
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 16px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --container:   1200px;
}

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

body {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Bilingual ---------- */
html[data-lang="fr"] [data-en] { display: none !important; }
html[data-lang="en"] [data-fr] { display: none !important; }

/* ---------- Typography ---------- */
.mono { font-family: 'JetBrains Mono', monospace; }

h1, h2, h3 { line-height: 1.15; font-weight: 700; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Gradient Text ---------- */
.gradient-text {
  background: linear-gradient(135deg, var(--blue) 0%, #6366f1 50%, var(--blue-dark) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease infinite;
}

@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,99,235,0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-2px);
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  margin-right: auto;
}
.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, #6366f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37,99,235,0.3);
}
.nav-logo-text {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin-right: 32px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-sec);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }

.lang-toggle {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  margin-right: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  color: var(--text-sec);
}
.lang-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.nav-cta { padding: 9px 18px; font-size: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  margin-left: 12px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #eff6ff 0%, #ffffff 55%, #f0fdf4 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37,99,235,0.07);
  border: 1px solid rgba(37,99,235,0.15);
  color: var(--blue);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: badge-pulse 3s ease infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,99,235,0.15); }
  50%       { box-shadow: 0 0 0 6px rgba(37,99,235,0); }
}
.hero h1 {
  font-size: clamp(36px, 4.5vw, 58px);
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--text-sec);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.stat-item {
  padding: 16px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  display: block;
}
.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
  display: block;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* App Dashboard Mockup */
.hero-app-mockup {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(37,99,235,0.15), 0 4px 20px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 520px;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.mockup-browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
}
.mockup-dots { display: flex; gap: 5px; }
.mockup-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: #cbd5e1;
}
.mockup-dots span:first-child { background: #f87171; }
.mockup-dots span:nth-child(2) { background: #fbbf24; }
.mockup-dots span:nth-child(3) { background: #4ade80; }
.mockup-url {
  font-size: 10px;
  color: var(--text-muted);
  background: #fff;
  border-radius: 6px;
  padding: 3px 10px;
  flex: 1;
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
}
.mockup-app {
  display: flex;
  min-height: 260px;
}
.mockup-sidebar {
  width: 140px;
  background: #f8fafc;
  border-right: 1px solid var(--border);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mockup-sidebar-logo {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 4px;
}
.mockup-s-icon {
  width: 20px; height: 20px;
  background: linear-gradient(135deg, var(--blue), #6366f1);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 10px; font-weight: 800;
}
.mockup-sidebar-item {
  font-size: 10px;
  padding: 5px 8px;
  border-radius: 6px;
  color: var(--text-sec);
  cursor: default;
  white-space: nowrap;
}
.mockup-sidebar-item.active {
  background: rgba(37,99,235,0.08);
  color: var(--blue);
  font-weight: 600;
}
.mockup-main {
  flex: 1;
  padding: 12px;
  overflow: hidden;
}
.mockup-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.mockup-topbar-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
}
.mockup-topbar-date {
  font-size: 9px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}
.mockup-stats-row {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.mockup-stat-card {
  flex: 1;
  background: var(--bg-alt);
  border-radius: 8px;
  padding: 8px;
  text-align: center;
}
.mockup-stat-label {
  font-size: 8px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mockup-stat-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 16px;
  font-weight: 800;
}
.mockup-stat-val.blue { color: var(--blue); }
.mockup-stat-val.green { color: var(--green); }
.mockup-stat-val.purple { color: #7c3aed; }
.mockup-table {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.mockup-table-head {
  display: grid;
  grid-template-columns: 2fr 1.5fr 0.5fr;
  gap: 4px;
  padding: 6px 8px;
  background: var(--bg-alt);
  font-size: 8px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.mockup-table-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 0.5fr;
  gap: 4px;
  padding: 7px 8px;
  font-size: 10px;
  color: var(--text-sec);
  border-top: 1px solid var(--border);
  align-items: center;
}
.mockup-table-row span:first-child {
  font-weight: 600;
  color: var(--text-dark);
}
.mockup-score {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
}
.mockup-score.high {
  background: rgba(22,163,74,0.1);
  color: var(--green);
}
.mockup-score.mid {
  background: rgba(245,158,11,0.1);
  color: #d97706;
}

@media (max-width: 768px) {
  .hero-app-mockup { max-width: 100%; }
  .mockup-sidebar { display: none; }
}
.hero-float-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.hero-float-badge-1 {
  top: -20px;
  right: -20px;
  animation: float-badge 4s ease-in-out infinite;
  color: var(--green);
}
.hero-float-badge-2 {
  bottom: 10px;
  left: -30px;
  animation: float-badge 4s ease-in-out infinite 1s;
  color: var(--blue);
}
@keyframes float-badge {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%       { transform: translateY(-6px) rotate(1deg); }
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */
.problem {
  padding: 100px 0;
  background: #fff;
  position: relative;
}
.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.problem .section-label { color: var(--red); }
.problem .section-label::before { background: var(--red); }
.problem h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.problem-body {
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 28px;
}
.company-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}
.company-chip {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sec);
}
.problem-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.problem-stat-card {
  background: rgba(220,38,38,0.04);
  border: 1px solid rgba(220,38,38,0.15);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.problem-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(220,38,38,0.12);
}
.problem-stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
}
.problem-stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 42px;
  font-weight: 800;
  color: var(--red);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.problem-stat-desc {
  font-size: 14px;
  color: var(--text-sec);
  font-weight: 500;
}

/* Problem → Solution divider */
.transition-divider {
  height: 120px;
  background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
  position: relative;
}
.transition-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220,38,38,0.03) 0%, rgba(22,163,74,0.05) 100%);
}

/* ============================================================
   SOLUTION SECTION
   ============================================================ */
.solution {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
  position: relative;
}
.solution-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.solution .section-label { color: var(--green); }
.solution .section-label::before { background: var(--green); }
.solution h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.solution-body {
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 28px;
}
.solution-badges {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.solution-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(22,163,74,0.06);
  border: 1px solid rgba(22,163,74,0.15);
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 14px;
  color: var(--green);
  transition: all 0.25s;
}
.solution-badge:hover {
  background: rgba(22,163,74,0.1);
  transform: translateX(4px);
}
.solution-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(22,163,74,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* Solution visual - checklist mock */
.solution-visual {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}
.solution-mock-header {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.solution-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--bg-alt);
  font-size: 14px;
}
.solution-check-item:last-child { border-bottom: none; }
.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 11px;
}
.check-green { background: rgba(22,163,74,0.12); color: var(--green); }
.check-text-main { font-weight: 600; color: var(--text); display: block; }
.check-text-sub { font-size: 12px; color: var(--text-muted); display: block; margin-top: 2px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how {
  padding: 100px 0;
  background: var(--bg);
}
.how-header { text-align: center; margin-bottom: 64px; }
.how h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.025em;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.how-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  z-index: 0;
}
.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 20px;
}
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #6366f1);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 4px 14px rgba(37,99,235,0.3);
  position: relative;
}
.step-icon {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}
.step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.step-desc {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
}

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features {
  padding: 100px 0;
  background: var(--bg-alt);
}
.features-header { text-align: center; margin-bottom: 56px; }
.features h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.025em;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.2);
}
.feature-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}
.feature-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.feature-desc {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
}

/* ============================================================
   ATS CHECKER SPOTLIGHT
   ============================================================ */
.ats {
  padding: 100px 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.ats::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 65%);
  pointer-events: none;
}
.ats-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.ats h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
.ats-body {
  font-size: 16px;
  color: var(--text-sec);
  line-height: 1.8;
  margin-bottom: 32px;
}
.ats-features { display: flex; flex-direction: column; gap: 16px; }
.ats-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ats-feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 7px;
  flex-shrink: 0;
}
.ats-feature-text { font-size: 15px; color: var(--text-sec); line-height: 1.6; }
.ats-feature-text strong { color: var(--text); }

/* ATS Score Card Mock */
.ats-score-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.ats-score-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.ats-score-title { font-size: 14px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.ats-score-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: conic-gradient(var(--blue) 0deg, var(--bg-alt) 0deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 1.5s ease;
}
.ats-score-circle::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #fff;
}
.ats-score-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 800;
  color: var(--blue);
  position: relative;
  z-index: 1;
}
.ats-cat-bars { display: flex; flex-direction: column; gap: 16px; }
.ats-cat-bar { }
.ats-cat-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 6px;
}
.ats-cat-name { color: var(--text-sec); font-weight: 500; }
.ats-cat-pct {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--blue);
}
.ats-cat-track {
  height: 7px;
  background: var(--bg-alt);
  border-radius: 7px;
  overflow: hidden;
}
.ats-cat-fill {
  height: 100%;
  border-radius: 7px;
  background: linear-gradient(90deg, var(--blue), #6366f1);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(0.16,1,0.3,1);
}
.ats-cat-fill.animated { transform: scaleX(1); }

/* ATS App Mockup (in-app checker) */
.ats-app-mockup {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  background: #fff;
}
.ats-app-inner {
  padding: 24px;
}
.ats-app-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.ats-app-score-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: conic-gradient(#eab308 0% 76%, #e2e8f0 76%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
}
.ats-app-score-circle::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #fff;
}
.ats-app-score-num {
  position: relative;
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px; font-weight: 800;
  color: #eab308;
  line-height: 1;
}
.ats-app-score-label {
  position: relative;
  font-size: 9px; color: var(--text-muted);
}
.ats-app-title {
  font-size: 15px; font-weight: 700;
  color: var(--text-dark);
  display: flex; align-items: center; gap: 8px;
}
.ats-app-badge-ai {
  font-size: 10px; font-weight: 600;
  background: #f3e8ff; color: #7c3aed;
  padding: 2px 8px; border-radius: 100px;
}
.ats-app-summary {
  font-size: 12px; color: var(--text-muted); margin-top: 2px;
}
.ats-app-bars {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.ats-app-bar-row {
  display: grid;
  grid-template-columns: 100px 1fr 40px;
  align-items: center;
  gap: 10px;
  font-size: 12px; color: var(--text-sec);
}
.ats-app-bar-track {
  height: 6px;
  background: #f1f5f9;
  border-radius: 6px;
  overflow: hidden;
}
.ats-app-bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 1s ease;
}
.ats-app-issues {
  display: flex; flex-direction: column; gap: 8px;
}
.ats-app-issue-title {
  font-size: 13px; font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.ats-app-issue {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  flex-wrap: wrap;
}
.ats-issue-badge {
  font-size: 10px; font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.ats-issue-badge.critical { background: #fef2f2; color: #dc2626; }
.ats-issue-badge.warning { background: #fefce8; color: #ca8a04; }
.ats-issue-badge.info { background: #eff6ff; color: #2563eb; }
.ats-issue-cat {
  font-size: 10px; font-weight: 500;
  background: #f1f5f9; color: var(--text-muted);
  padding: 2px 8px; border-radius: 4px;
  flex-shrink: 0;
}
.ats-issue-text {
  font-size: 12px; color: var(--text-sec);
  flex: 1;
}
.ats-issue-fix {
  font-size: 11px; font-weight: 600;
  color: var(--blue);
  background: none; border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.ats-issue-fix:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .ats-app-bar-row { grid-template-columns: 80px 1fr 35px; }
  .ats-app-issue { font-size: 11px; }
}

/* ============================================================
   STATS / SOCIAL PROOF
   ============================================================ */
.stats-section {
  padding: 100px 0;
  background: var(--bg-alt);
}
.stats-header { text-align: center; margin-bottom: 64px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}
.stat-block {
  padding: 40px 32px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
}
.stat-block:last-child { border-right: none; }
.stat-big-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  color: var(--blue);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-big-label {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}
.platforms-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.platform-pill {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sec);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.platform-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}


/* ============================================================
   FINAL CTA
   ============================================================ */
.final-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, #1e3a8a 50%, #312e81 100%);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(99,102,241,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.final-cta-inner { text-align: center; position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}
.final-cta-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.waitlist-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-input {
  flex: 1;
  min-width: 240px;
  padding: 13px 18px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.waitlist-input::placeholder { color: rgba(255,255,255,0.45); }
.waitlist-input:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
}
.waitlist-submit {
  background: #fff;
  color: var(--blue-dark);
  border: none;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: all 0.25s;
  white-space: nowrap;
}
.waitlist-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  padding: 10px 18px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  margin-top: 24px;
}
.ph-badge:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.ph-logo {
  width: 28px;
  height: 28px;
  background: #ff6154;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  color: #fff;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.footer-logo-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue), #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}
.footer-logo-text { font-weight: 700; font-size: 15px; }
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue); }
.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

/* ============================================================
   SUCCESS TOAST
   ============================================================ */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--text);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  padding: 20px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 99;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  color: var(--text-sec);
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--blue); }
.mobile-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .problem-inner { gap: 48px; }
  .solution-inner { gap: 48px; }
  .ats-inner { gap: 48px; }
  .how-steps { gap: 16px; }
  .how-steps::before { display: none; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .problem-inner { grid-template-columns: 1fr; gap: 40px; }
  .solution-inner { grid-template-columns: 1fr; gap: 40px; }
  .ats-inner { grid-template-columns: 1fr; gap: 40px; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-block:nth-child(2) { border-right: none; }
  .stats-grid .stat-block:nth-child(1),
  .stats-grid .stat-block:nth-child(2) { border-bottom: 1px solid var(--border); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .lang-toggle { margin-right: 8px; }
  .nav-cta { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 110px 0 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat-item:nth-child(2) { border-right: none; }
  .hero-stats .stat-item:nth-child(1),
  .hero-stats .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .how-steps { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid .stat-block { border-right: none; border-bottom: 1px solid var(--border); }
  .stats-grid .stat-block:last-child { border-bottom: none; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .problem-stats { gap: 12px; }
  .pricing-card { padding: 28px 20px; }
}
