/**
 * Heilya Landing Page · Premium SaaS Dark
 * Inspired by Linear / Vercel / Framer
 */

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
  --primary: #667eea;
  --primary-dark: #5a67d8;
  --primary-light: #818cf8;
  --secondary: #764ba2;
  --accent: #f093fb;

  --dark: #09090f;
  --dark-900: #0c0c16;
  --dark-800: #11111d;
  --dark-700: #181828;
  --dark-600: #222238;

  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;

  --white: #ffffff;
  --success: #10b981;
  --success-light: #34d399;
  --warning: #f59e0b;
  --pink: #ec4899;
  --orange: #f97316;
  --cyan: #06b6d4;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --shadow-xl: 0 24px 64px rgba(0,0,0,0.2);

  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.22, 1, 0.36, 1);

  --header-height: 72px;
  --container-max: 1280px;
  --banner-height: 44px;
}

/* ==========================================
   RESET & BASE
   ========================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-600);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.landing-page { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* ==========================================
   HEADER
   ========================================== */
.tf-header {
  position: fixed;
  top: var(--banner-height); left: 0; right: 0;
  z-index: 1000;
  background: rgba(9, 9, 15, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), top 0.35s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.tf-header.scrolled {
  background: rgba(9, 9, 15, 0.92);
  border-bottom-color: rgba(102,126,234,0.12);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.tf-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  height: var(--header-height);
}

.tf-logo {
  display: flex; align-items: center; gap: 10px;
  transition: transform var(--transition-fast);
  overflow: visible;
}
.tf-logo:hover { transform: scale(1.03); }
.tf-logo__img {
  height: 84px;
  width: auto;
  display: block;
  transform: scale(1.55);
  transform-origin: left center;
}

.tf-nav { display: flex; align-items: center; gap: 2px; }

.tf-nav a {
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.tf-nav a:hover {
  color: var(--white);
}

.tf-actions { display: flex; align-items: center; gap: 12px; }

.tf-link {
  padding: 8px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: white;
  transition: color var(--transition-fast);
}
.tf-link:hover { color: var(--white); }

.tf-user { padding: 8px 16px; font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* Burger */
.tf-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  background: transparent; border: none;
  border-radius: var(--radius-sm); cursor: pointer;
  transition: background var(--transition-fast);
}
.tf-burger:hover { background: rgba(255,255,255,0.08); }
.tf-burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform var(--transition-base), opacity var(--transition-base); }
.tf-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.tf-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tf-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile */
.tf-mobile {
  display: none; flex-direction: column;
  padding: 16px 32px 24px;
  background: rgba(9,9,15,0.98);
  backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.tf-mobile:not([hidden]) { display: flex; }
.tf-mobile a { padding: 14px 0; font-size: 1rem; font-weight: 500; color: rgba(255,255,255,0.7); border-bottom: 1px solid rgba(255,255,255,0.04); transition: color var(--transition-fast); }
.tf-mobile a:hover { color: var(--primary-light); }
.tf-mobile__divider { height: 1px; margin: 8px 0; background: rgba(255,255,255,0.06); }
.tf-mobile__user { padding: 12px 0; font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ==========================================
   BUTTONS
   ========================================== */
.tf-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 12px 24px;
  font-size: 0.92rem; font-weight: 600; line-height: 1.4;
  border: none; border-radius: var(--radius-md); cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.tf-btn svg { flex-shrink: 0; }

.tf-btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(102,126,234,0.3);
}
.tf-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(102,126,234,0.45);
}

.tf-btn--glow {
  box-shadow: 0 4px 20px rgba(102,126,234,0.3), 0 0 60px rgba(102,126,234,0.12);
}
.tf-btn--glow:hover {
  box-shadow: 0 8px 32px rgba(102,126,234,0.45), 0 0 80px rgba(102,126,234,0.18);
}

.tf-btn--ghost {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.12);
}
.tf-btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.tf-btn--ghost-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}
.tf-btn--ghost-light:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-2px);
}

/* Ghost on light background (dark text/border) */
.tf-btn--ghost-dark {
  background: transparent;
  color: var(--gray-700);
  border: 1.5px solid var(--gray-300);
}
.tf-btn--ghost-dark:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  color: var(--gray-900);
  transform: translateY(-2px);
}

.tf-btn--white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.tf-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.tf-btn--lg { padding: 16px 36px; font-size: 0.95rem; }
.tf-btn--full { width: 100%; }

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-height) + var(--banner-height) + 56px) 32px 96px;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, #06060c 0%, var(--dark) 35%, #0d0d1a 65%, #080812 100%);
  z-index: -3;
}

.hero__orb { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }

.hero__orb--1 {
  top: -20%; right: 0;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(102,126,234,0.18) 0%, transparent 65%);
  animation: orbFloat1 22s ease-in-out infinite;
}
.hero__orb--2 {
  bottom: -30%; left: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(118,75,162,0.15) 0%, transparent 65%);
  animation: orbFloat2 28s ease-in-out infinite;
}
.hero__orb--3 {
  top: 35%; left: 20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(240,147,251,0.06) 0%, transparent 65%);
  animation: orbFloat3 20s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(-50px,35px) scale(1.1); }
  66% { transform: translate(35px,-25px) scale(0.95); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px,-45px) scale(1.15); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0,0); }
  25% { transform: translate(30px,30px); }
  50% { transform: translate(-20px,40px); }
  75% { transform: translate(-30px,15px); }
}

.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 48px 48px;
  z-index: -2;
  mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, black 15%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 65% 55% at 50% 40%, black 15%, transparent 70%);
}

.hero__noise {
  position: absolute; inset: 0; z-index: -1;
  opacity: 0.025; pointer-events: none;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

.hero__particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hero__particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.65) 0%, rgba(255,255,255,0.08) 55%, transparent 100%);
  filter: blur(1.8px);
  opacity: 0.08;
  animation: particleDrift 18s ease-in-out infinite;
}

.hero__particle--1 { top: 14%; left: 12%; width: 10px; height: 10px; animation-duration: 15s; animation-delay: -1s; }
.hero__particle--2 { top: 22%; left: 38%; width: 7px; height: 7px; animation-duration: 19s; animation-delay: -6s; }
.hero__particle--3 { top: 18%; right: 18%; width: 9px; height: 9px; animation-duration: 17s; animation-delay: -3s; }
.hero__particle--4 { top: 42%; left: 8%; width: 6px; height: 6px; animation-duration: 20s; animation-delay: -8s; }
.hero__particle--5 { top: 48%; left: 54%; width: 8px; height: 8px; animation-duration: 16s; animation-delay: -5s; }
.hero__particle--6 { top: 44%; right: 10%; width: 7px; height: 7px; animation-duration: 21s; animation-delay: -10s; }
.hero__particle--7 { bottom: 27%; left: 18%; width: 10px; height: 10px; animation-duration: 18s; animation-delay: -12s; }
.hero__particle--8 { bottom: 24%; left: 46%; width: 6px; height: 6px; animation-duration: 22s; animation-delay: -7s; }
.hero__particle--9 { bottom: 18%; right: 22%; width: 9px; height: 9px; animation-duration: 17s; animation-delay: -9s; }
.hero__particle--10 { bottom: 12%; right: 8%; width: 7px; height: 7px; animation-duration: 20s; animation-delay: -4s; }

@keyframes particleDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.06; }
  25% { transform: translate3d(8px, -14px, 0) scale(1.08); opacity: 0.1; }
  50% { transform: translate3d(-10px, -24px, 0) scale(0.92); opacity: 0.07; }
  75% { transform: translate3d(12px, -10px, 0) scale(1.05); opacity: 0.09; }
}

.hero__shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hero__shape { position: absolute; border: 1px solid rgba(255,255,255,0.04); border-radius: var(--radius-md); background: rgba(255,255,255,0.01); }

.hero__shape--1 { top: 18%; right: 10%; width: 100px; height: 100px; animation: shapeFloat 12s ease-in-out infinite; }
.hero__shape--2 { top: 55%; right: 6%; width: 56px; height: 56px; border-radius: 50%; animation: shapeFloat 15s ease-in-out infinite reverse; animation-delay: -3s; }
.hero__shape--3 { bottom: 15%; left: 6%; width: 68px; height: 68px; transform: rotate(45deg); animation: shapeFloat 18s ease-in-out infinite; animation-delay: -5s; }
.hero__shape--4 { top: 25%; left: 12%; width: 44px; height: 44px; border-radius: 50%; animation: shapeFloat 14s ease-in-out infinite reverse; animation-delay: -2s; }

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  25% { transform: translateY(-28px) rotate(5deg); opacity: 0.6; }
  50% { transform: translateY(-14px) rotate(-3deg); opacity: 0.35; }
  75% { transform: translateY(-32px) rotate(8deg); opacity: 0.55; }
}

.hero__container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto; width: 100%;
}

.hero__content { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px; margin-bottom: 32px;
  font-size: 0.8rem; font-weight: 600;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px;
  animation: fadeInDown 0.6s cubic-bezier(0.22,1,0.36,1) both;
}

.hero__badge-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero__title {
  margin: 0 0 28px;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.06;
  color: var(--white);
  letter-spacing: -0.03em;
  animation: fadeInDown 0.8s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}

.hero__title-gradient {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  margin: 0 0 40px;
  font-size: 1.15rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  animation: fadeInDown 0.8s cubic-bezier(0.22,1,0.36,1) 0.2s both;
}

.hero__cta {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-bottom: 40px;
  animation: fadeInDown 0.8s cubic-bezier(0.22,1,0.36,1) 0.3s both;
}

.hero__proof {
  display: flex; flex-wrap: wrap; gap: 24px;
  animation: fadeInDown 0.8s cubic-bezier(0.22,1,0.36,1) 0.4s both;
}

.hero__proof-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.8);
}
.hero__proof-item svg { color: var(--success); flex-shrink: 0; }

/* Video */
.hero__video { position: relative; animation: fadeInUp 0.8s ease 0.4s both; }

.hero__video-placeholder {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(145deg, var(--dark-700) 0%, var(--dark-900) 100%);
}

.hero__video-glow {
  position: absolute; inset: -2px;
  background: linear-gradient(135deg, rgba(102,126,234,0.25) 0%, rgba(118,75,162,0.12) 50%, rgba(240,147,251,0.08) 100%);
  border-radius: inherit; z-index: -1;
  filter: blur(1px);
}

.hero__video-inner {
  position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px; height: 100%; z-index: 1;
}

.hero__video-border {
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: inherit; pointer-events: none;
}

.hero__video-play {
  display: flex; align-items: center; justify-content: center;
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%; color: var(--white);
  box-shadow: 0 8px 32px rgba(102,126,234,0.35), 0 0 48px rgba(102,126,234,0.15);
}
.hero__video-play svg { width: 32px; height: 32px; margin-left: 4px; }

.hero__video-label { margin: 0; font-size: 0.95rem; font-weight: 600; color: var(--white); }
.hero__video-sublabel { margin: 0; font-size: 0.78rem; color: rgba(255,255,255,0.3); }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   SECTIONS (shared)
   ========================================== */
.section {
  position: relative;
  padding: 112px 32px;
  overflow: hidden;
}

.section.section--features {
  padding-bottom: 0;
}

.section--dark {
  background: var(--dark);
}

.section--light {
  background: var(--gray-50);
}

.section--has-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102,126,234,0.25), transparent);
}

/* Background glows for dark sections */
.section__bg-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}
.section__bg-glow--left { top: -10%; left: -10%; background: radial-gradient(circle, rgba(102,126,234,0.08) 0%, transparent 70%); }
.section__bg-glow--right { bottom: -10%; right: -10%; background: radial-gradient(circle, rgba(118,75,162,0.06) 0%, transparent 70%); }
.section__bg-glow--center { top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(102,126,234,0.05) 0%, transparent 60%); }

/* Subtle noise for light sections */
.section__bg-noise {
  position: absolute; inset: 0;
  opacity: 0.015; pointer-events: none; z-index: 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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

.section__container { max-width: var(--container-max); margin: 0 auto; position: relative; z-index: 1; }

.section__header { text-align: center; margin-bottom: 64px; }

.section__label {
  display: inline-block;
  padding: 6px 18px; margin-bottom: 20px;
  font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--gray-600);
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(15,23,42,0.12);
  border-radius: 50px;
}

.section--dark .section__label {
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.14);
}

.section__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.section__title--light { color: var(--white); }

.section__subtitle {
  margin: 0 auto; max-width: 560px;
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}
.section__subtitle--light { color: rgba(255,255,255,0.8); }

.section__cta { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; text-align: center; margin-top: 48px; }
.section__cta--features {
  margin-top: 24px;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

/* ==========================================
   PRICING
   ========================================== */
.pricing {
  background:
    radial-gradient(circle at 20% 10%, rgba(102,126,234,0.09), transparent 35%),
    radial-gradient(circle at 80% 100%, rgba(118,75,162,0.08), transparent 45%),
    var(--dark);
  perspective: 1800px;
}

.pricing__notice {
  margin: 0 auto 28px;
  max-width: 820px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(129,140,248,0.35);
  background: linear-gradient(135deg, rgba(102,126,234,0.14), rgba(118,75,162,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.9);
  text-align: center;
}

.pricing__notice-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #dbe4ff;
  background: rgba(15,23,42,0.45);
  border: 1px solid rgba(255,255,255,0.14);
}

.pricing__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  transform-style: preserve-3d;
  perspective: 1600px;
  padding-bottom: 38px;
}

.pricing__grid::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 2px;
  height: 88px;
  border-radius: 24px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(12, 16, 30, 0.06), rgba(2, 6, 23, 0.34));
  transform: perspective(1000px) rotateX(74deg);
  transform-origin: center bottom;
  filter: blur(1px);
}

.pricing__grid::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -6px;
  height: 72px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(3, 6, 18, 0.6) 0%, rgba(3, 6, 18, 0.24) 42%, rgba(3, 6, 18, 0) 76%);
  filter: blur(14px);
  transform: rotateX(79deg) translateZ(-120px);
}

.pricing-card {
  position: relative;
  z-index: 1;
  border-radius: 18px;
  padding: 22px 20px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)),
    rgba(11, 12, 22, 0.9);
  box-shadow:
    0 2px 3px rgba(0,0,0,0.22),
    0 14px 24px rgba(0,0,0,0.2),
    0 28px 44px rgba(0,0,0,0.22),
    0 0 0 1px rgba(255,255,255,0.04) inset;
  overflow: hidden;
  transform-style: preserve-3d;
  transform: translateY(0);
  transition: box-shadow 320ms ease, border-color 260ms ease, filter 260ms ease;
}

.pricing-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(129,140,248,0.14);
}

.pricing-card--featured {
  border-color: rgba(102,126,234,0.52);
  box-shadow:
    0 3px 4px rgba(8, 12, 28, 0.24),
    0 18px 30px rgba(8, 12, 28, 0.24),
    0 34px 52px rgba(8, 12, 28, 0.26),
    0 0 0 1px rgba(129,140,248,0.08) inset;
  transform: translateY(-6px);
}

.pricing-card::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -20px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(2,6,23,0.52) 0%, rgba(2,6,23,0.18) 48%, rgba(15,23,42,0) 78%);
  filter: blur(10px);
  transform: translateZ(-34px);
  pointer-events: none;
}

.pricing-card > * {
  position: relative;
  transform: translateZ(20px);
}

.pricing-card:hover {
  border-color: rgba(129,140,248,0.45);
  box-shadow:
    0 3px 4px rgba(0,0,0,0.24),
    0 18px 30px rgba(0,0,0,0.22),
    0 34px 50px rgba(0,0,0,0.24);
  filter: saturate(1.02);
}

.pricing-card__ribbon {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #eef2ff;
  background: linear-gradient(135deg, rgba(102,126,234,0.95), rgba(118,75,162,0.95));
  border: 1px solid rgba(255,255,255,0.18);
}

.pricing-card__head h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #fff;
}

.pricing-card__head p {
  margin: 7px 0 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.5;
}

.pricing-card__price {
  margin-top: 16px;
  margin-bottom: 14px;
  padding: 12px 0 14px;
  border-top: 1px solid rgba(255,255,255,0.09);
  border-bottom: 1px solid rgba(255,255,255,0.09);
}

.pricing-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.pricing-card__row--single {
  justify-content: flex-start;
}

.pricing-card__old {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(248,113,113,0.8);
}

.pricing-card__beta {
  font-size: 0.72rem;
  color: #c7d2fe;
  border: 1px solid rgba(199,210,254,0.35);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(79,70,229,0.22);
  white-space: nowrap;
}

.pricing-card__now {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}

.pricing-card__now small {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.58);
  margin-left: 6px;
}

.pricing-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}

.pricing-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.84);
  line-height: 1.45;
}

.pricing-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #34d399;
  font-weight: 700;
}

.pricing-card__sms {
  position: relative;
  margin-top: 12px;
  margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border-radius: 10px;
  padding: 11px 12px 11px 14px;
  display: grid;
  gap: 4px;
  overflow: hidden;
}

.pricing-card__sms strong {
  font-size: 0.8rem;
  color: #e2e8f0;
}

.pricing-card__sms span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
}

.pricing-card__sms--coming {
  border-color: rgba(129,140,248,0.28);
  background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(168,85,247,0.08));
}

.pricing-card__usage {
  margin-top: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.56);
  line-height: 1.5;
}

.pricing-card__cta {
  margin-top: 14px;
}

.pricing-card--candidate .pricing-card__now {
  color: #86efac;
}

/* ==========================================
   FEATURES CAROUSEL (ft)
   ========================================== */
.ft {
  --ft-spot: rgba(129,140,248,0.28);
  display: grid;
  gap: 18px;
}

.ft__tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.ft__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.015);
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--transition-base), background var(--transition-base), color var(--transition-base), transform var(--transition-base);
}

.ft__tab:hover {
  transform: translateY(-1px);
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.03);
}

.ft__tab--active {
  color: var(--white);
  border-color: rgba(129,140,248,0.35);
  background: rgba(129,140,248,0.08);
}

.ft__tab-ico { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.88; }
.ft__tab-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; }

.ft__tab-progress {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 7px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(129,140,248,0.95), rgba(196,181,253,0.95));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
}

.ft__tab--active .ft__tab-progress { opacity: 1; }

.ft__stage {
  position: relative;
  min-height: 400px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.09);
  background: linear-gradient(165deg, rgba(255,255,255,0.028), rgba(255,255,255,0.012));
  overflow: hidden;
}

.ft__stage-glow {
  position: absolute;
  inset: -18% -20%;
  background: radial-gradient(circle at 22% 40%, var(--ft-spot), transparent 58%);
  pointer-events: none;
  transition: background 0.45s ease;
}

.ft__slide {
  position: absolute;
  inset: 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1);
}

.ft__slide--active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ft__slide-content { display: flex; flex-direction: column; }
.ft__slide-tag {
  width: fit-content;
  margin-bottom: 14px;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.05);
}

.ft__slide-title {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.3vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}

.ft__slide-text {
  margin: 0 0 18px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.56);
}

.ft__slide-list { display: grid; gap: 8px; margin-top: 0; }
.ft__slide-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.62);
}
.ft__slide-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.42);
}

.ft__slide-visual { display: flex; align-items: stretch; }
.ft__mock {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(12,12,22,0.88);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.32);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.ft__slide--active .ft__mock {
  transform: translateY(-2px);
  border-color: rgba(129,140,248,0.18);
  box-shadow: 0 22px 56px rgba(0,0,0,0.4), 0 0 54px rgba(129,140,248,0.09);
}

.ft__mock-chrome {
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.ft__mock-chrome span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); }

.ft__mock-body { padding: 14px; display: grid; gap: 10px; }

.ft__slide--active .ft__mock-body > * {
  opacity: 0;
  transform: translateY(8px);
  animation: ftPanelItemIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.ft__slide--active .ft__mock-body > *:nth-child(1) { animation-delay: 0.06s; }
.ft__slide--active .ft__mock-body > *:nth-child(2) { animation-delay: 0.12s; }
.ft__slide--active .ft__mock-body > *:nth-child(3) { animation-delay: 0.18s; }
.ft__slide--active .ft__mock-body > *:nth-child(4) { animation-delay: 0.24s; }
.ft__slide--active .ft__mock-body > *:nth-child(5) { animation-delay: 0.3s; }
.ft__slide--active .ft__mock-body > *:nth-child(6) { animation-delay: 0.36s; }
.ft__slide--active .ft__mock-body > *:nth-child(7) { animation-delay: 0.42s; }
@keyframes ftPanelItemIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ft__score-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 11px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
}
.ft__score-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 700;
}
.ft__score-info { display: grid; line-height: 1.1; gap: 3px; min-width: 0; }
.ft__score-name { font-size: 0.75rem; color: rgba(255,255,255,0.88); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft__score-role { font-size: 0.68rem; color: rgba(255,255,255,0.8); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ft__score-bar-wrap { width: 90px; }
.ft__score-bar {
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 999px;
  overflow: hidden;
}
.ft__score-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #818cf8, #6366f1);
}
.ft__score-val { font-size: 0.72rem; font-weight: 700; min-width: 24px; text-align: right; }
.ft__score-val--high { color: #86efac; }
.ft__score-val--good { color: #a5b4fc; }
.ft__score-val--mid { color: #7dd3fc; }

.ft__mock-body--chat { align-content: start; }
.ft__chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ft__chat-pill {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.75);
  font-size: 0.64rem;
  font-weight: 600;
  white-space: nowrap;
}
.ft__chat-pill--ok {
  color: rgba(220,252,231,0.95);
  border-color: rgba(74,222,128,0.35);
  background: rgba(74,222,128,0.12);
}
.ft__chat-msg { display: flex; gap: 8px; align-items: flex-end; }
.ft__chat-msg--sent { justify-content: flex-end; }
.ft__chat-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
}
.ft__chat-bubble {
  max-width: 78%;
  font-size: 0.75rem;
  line-height: 1.5;
  padding: 8px 10px;
  border-radius: 11px;
}
.ft__chat-msg--received .ft__chat-bubble {
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
}
.ft__chat-msg--sent .ft__chat-bubble {
  color: rgba(255,255,255,0.94);
  background: rgba(129,140,248,0.4);
}
.ft__chat-docs {
  display: grid;
  gap: 7px;
}
.ft__chat-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.ft__chat-doc span {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.72);
}
.ft__chat-doc em {
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  color: #86efac;
}
.ft__chat-typing { display: inline-flex; gap: 5px; padding: 6px 8px; width: fit-content; border-radius: 999px; background: rgba(255,255,255,0.06); }
.ft__chat-typing span { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.55); animation: ftTyping 1.4s infinite ease-in-out; }
.ft__chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.ft__chat-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes ftTyping {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-2px); }
}

.ft__mock-body--meeting { align-content: start; }
.ft__meeting-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.ft__meeting-label { font-size: 0.72rem; color: rgba(255,255,255,0.5); }
.ft__meeting-value { font-size: 0.72rem; color: rgba(255,255,255,0.82); font-weight: 600; text-align: right; }
.ft__meeting-value--score { color: #a5b4fc; }
.ft__meeting-meta {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.ft__meeting-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
}
.ft__meeting-chip--ok {
  color: rgba(220,252,231,0.95);
  border-color: rgba(74,222,128,0.35);
  background: rgba(74,222,128,0.12);
}
.ft__meeting-btn {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 10px;
  color: rgba(255,255,255,0.94);
  border: 1px solid rgba(129,140,248,0.4);
  background: rgba(129,140,248,0.16);
  font-size: 0.75rem;
  font-weight: 600;
}
.ft__meeting-btn--ghost {
  margin-top: 0;
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
}

.ft__mock-body--summary { align-content: start; }
.ft__summary-badge {
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
}
.ft__summary-section {
  padding: 9px 10px;
  border-radius: 11px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.ft__summary-label {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.62);
}
.ft__summary-text { margin: 0; font-size: 0.75rem; line-height: 1.5; color: rgba(255,255,255,0.78); }
.ft__summary-decision {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(220,252,231,0.92);
  border: 1px solid rgba(74,222,128,0.28);
  background: rgba(74,222,128,0.1);
}
.ft__summary-followup {
  margin-top: 2px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}
.ft__summary-followup-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 3px 0;
}
.ft__summary-followup-row span {
  font-size: 0.67rem;
  color: rgba(255,255,255,0.56);
}
.ft__summary-followup-row strong {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.9);
}

.ft__mock-body--checklist { align-content: start; }
.ft__check-title { font-size: 0.74rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 4px; }
.ft__check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.72);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}
.ft__check-item--done { color: rgba(220,252,231,0.94); }
.ft__check-empty {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.28);
  flex-shrink: 0;
}
.ft__mission-flow {
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.ft__mission-flow-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  margin-bottom: 6px;
}
.ft__mission-flow-steps {
  display: grid;
  gap: 5px;
}
.ft__mission-flow-steps span {
  position: relative;
  padding-left: 14px;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.72);
}
.ft__mission-flow-steps span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.33);
}
.ft__mission-flow-steps span.is-done {
  color: rgba(220,252,231,0.95);
}
.ft__mission-flow-steps span.is-done::before {
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74,222,128,0.14);
}
.ft__check-progress {
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ft__check-progress-bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.ft__check-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #818cf8, #c4b5fd);
}
.ft__check-progress span { font-size: 0.7rem; color: rgba(255,255,255,0.65); font-weight: 700; }

/* ==========================================
   ATS / PIPELINE
   ========================================== */
.ats {
  position: relative; z-index: 1;
}

.ats__inner {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.03);
}

.ats__chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.ats__dots { display: flex; gap: 7px; }
.ats__dots span { width: 11px; height: 11px; border-radius: 50%; }
.ats__dots span:nth-child(1) { background: #ff5f57; }
.ats__dots span:nth-child(2) { background: #ffbd2e; }
.ats__dots span:nth-child(3) { background: #28c840; }

.ats__chrome-title { font-size: 0.78rem; font-weight: 600; color: var(--gray-400); letter-spacing: 0.02em; }

/* Pipeline row */
.ats__pipeline {
  display: flex; align-items: flex-start;
  padding: 36px 32px;
  border-bottom: 1px solid var(--gray-100);
}

.ats__step {
  display: flex; flex-direction: column; align-items: center;
  gap: 10px; flex: 0 0 auto; min-width: 96px;
  cursor: default;
  transition: transform var(--transition-fast);
}
.ats__step:hover { transform: translateY(-2px); }

.ats__step-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gray-200);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gray-200);
  transition: all var(--transition-base);
}

.ats__step--done .ats__step-dot {
  background: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}

.ats__step--active .ats__step-dot {
  background: var(--primary);
  box-shadow: 0 0 0 2px var(--primary), 0 0 0 7px rgba(102,126,234,0.15);
  animation: atsGlow 2.5s ease-in-out infinite;
}

@keyframes atsGlow {
  0%, 100% { box-shadow: 0 0 0 2px var(--primary), 0 0 0 7px rgba(102,126,234,0.15); }
  50% { box-shadow: 0 0 0 2px var(--primary), 0 0 0 12px rgba(102,126,234,0.05); }
}

.ats__step:hover .ats__step-dot {
  box-shadow: 0 0 0 2px var(--primary), 0 0 0 8px rgba(102,126,234,0.1);
  background: var(--primary);
}

.ats__step-label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--gray-400);
  text-align: center; white-space: nowrap;
  transition: color var(--transition-fast);
}
.ats__step--done .ats__step-label,
.ats__step--active .ats__step-label { color: var(--primary); }
.ats__step:hover .ats__step-label { color: var(--primary); }

.ats__step-count {
  font-size: 0.72rem; font-weight: 700;
  padding: 2px 12px;
  border-radius: 50px;
  background: var(--gray-100);
  color: var(--gray-400);
  transition: all var(--transition-fast);
}
.ats__step--done .ats__step-count,
.ats__step--active .ats__step-count {
  background: rgba(102,126,234,0.08);
  color: var(--primary);
}
.ats__step:hover .ats__step-count {
  background: rgba(102,126,234,0.08);
  color: var(--primary);
}

.ats__connector {
  flex: 1; height: 2px;
  background: var(--gray-200);
  margin: 7px 12px 0;
  border-radius: 2px;
  position: relative;
}
.ats__connector--done {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

/* Candidate cards */
.ats__candidates {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.ats__candidate {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 28px;
  border-right: 1px solid var(--gray-100);
  background: linear-gradient(180deg, rgba(248,250,252,0.45), rgba(255,255,255,0.78));
  transition: background var(--transition-fast);
  cursor: default;
}
.ats__candidate:last-child { border-right: none; }
.ats__candidate:hover {
  background: linear-gradient(180deg, rgba(241,245,249,0.72), rgba(248,250,252,0.96));
}

.ats__avatar {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  color: var(--white);
  font-size: 0.75rem; font-weight: 800;
  border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 10px 18px rgba(99,102,241,0.25), inset 0 1px 0 rgba(255,255,255,0.35);
}

.ats__info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ats__name { font-size: 1rem; font-weight: 700; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.ats__role { font-size: 0.8rem; color: #94a3b8; margin-top: 2px; }

.ats__score-wrap {
  min-width: 98px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.ats__score-wrap::before {
  content: 'Score IA';
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
  font-weight: 700;
}

.ats__score {
  display: inline-flex; align-items: center; justify-content: center; gap: 2px;
  flex-shrink: 0;
  min-width: 58px;
  padding: 5px 11px;
  border-radius: 50px;
  font-size: 0.84rem; font-weight: 800;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 8px 14px rgba(15,23,42,0.08);
}

.ats__score--high {
  background: linear-gradient(135deg, rgba(16,185,129,0.18), rgba(16,185,129,0.08));
  border-color: rgba(16,185,129,0.28);
  color: #047857;
}
.ats__score--good {
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(99,102,241,0.08));
  border-color: rgba(99,102,241,0.3);
  color: #4338ca;
}
.ats__score--mid {
  background: linear-gradient(135deg, rgba(6,182,212,0.19), rgba(6,182,212,0.08));
  border-color: rgba(6,182,212,0.3);
  color: #0e7490;
}

.ats__score-track {
  width: 88px;
  height: 4px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.ats__score-fill {
  display: block;
  width: var(--score, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #6366f1, #22d3ee);
  transition: width 1s cubic-bezier(0.22,1,0.36,1);
}

.ats__score-val { line-height: 1; font-size: 0.88rem; }

/* ==========================================
   MEETINGS
   ========================================== */
.meetings {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-areas:
    "content mock"
    "cta mock";
  gap: 72px;
  align-items: center;
}

.meetings__content {
  position: relative;
  z-index: 1;
  grid-area: content;
}

.meetings__cta {
  grid-area: cta;
}

.meetings__desc {
  margin: 0 0 36px;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.meetings__list { margin-bottom: 40px; }

.meetings__item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.meetings__item:last-child { border-bottom: none; }

.meetings__item-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: rgba(102,126,234,0.1);
  border-radius: var(--radius-sm);
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.meetings__item strong { display: block; font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.meetings__item span { font-size: 0.85rem; color: rgba(255,255,255,0.8); line-height: 1.5; }

/* Meeting Planning Mock */
.meetings__mock {
  position: relative;
  grid-area: mock;
}

.mock-planning {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(0,0,0,0.35), 0 0 48px rgba(102,126,234,0.04);
}

.mock-planning__head {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mock-planning__dots { display: flex; gap: 7px; }
.mock-planning__dots span { width: 9px; height: 9px; border-radius: 50%; }
.mock-planning__dots span:nth-child(1) { background: #ff5f57; }
.mock-planning__dots span:nth-child(2) { background: #ffbd2e; }
.mock-planning__dots span:nth-child(3) { background: #28c840; }

.mock-planning__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.84);
}

.mock-planning__switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(7, 10, 28, 0.8);
}
.mock-planning__switch span {
  font-size: 0.66rem;
  font-weight: 600;
  color: rgba(255,255,255,0.56);
  padding: 4px 8px;
  border-radius: 7px;
}
.mock-planning__switch .is-active {
  color: rgba(255,255,255,0.95);
  background: rgba(59,130,246,0.85);
}

.mock-planning__body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 290px;
}

.mock-planning__aside {
  padding: 14px 12px;
  border-right: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(59,130,246,0.07), rgba(59,130,246,0.02));
}
.mock-planning__aside h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.92);
}
.mock-planning__aside-sub {
  margin: 0 0 14px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.52);
}

.mock-planning__today-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.8);
}
.mock-planning__today-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 11px;
  border-radius: 10px;
  border: 1px solid rgba(59,130,246,0.35);
  background: rgba(30,64,175,0.2);
}
.mock-planning__today-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mock-planning__today-card span {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.mock-planning__today-card b {
  font-size: 0.67rem;
  color: #93c5fd;
  font-weight: 700;
}
.mock-planning__today-card em {
  font-style: normal;
  font-size: 0.67rem;
  color: rgba(191,219,254,0.95);
}

.mock-planning__calendar {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}
.mock-planning__days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mock-planning__days span {
  padding: 10px 8px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.82);
  border-right: 1px solid rgba(255,255,255,0.05);
}
.mock-planning__days span:last-child { border-right: none; }

.mock-planning__grid {
  position: relative;
  background:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 40px, calc(100% / 5) 100%;
}
.mock-planning__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255,255,255,0.05);
}
.mock-planning__line.l1 { top: 40px; }
.mock-planning__line.l2 { top: 80px; }
.mock-planning__line.l3 { top: 120px; }
.mock-planning__line.l4 { top: 160px; }
.mock-planning__line.l5 { top: 200px; }

.mock-planning__event {
  position: absolute;
  right: 10px;
  bottom: 14px;
  width: 30%;
  min-width: 120px;
  padding: 10px 10px 8px;
  border-radius: 10px;
  border: 1px solid rgba(96,165,250,0.5);
  background: linear-gradient(180deg, rgba(30,64,175,0.9), rgba(37,99,235,0.9));
  box-shadow: 0 8px 24px rgba(2,6,23,0.35);
}
.mock-planning__event strong {
  display: block;
  font-size: 0.72rem;
  color: rgba(239,246,255,0.95);
}
.mock-planning__event p {
  margin: 3px 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.94);
}
.mock-planning__event em {
  font-style: normal;
  font-size: 0.65rem;
  color: rgba(219,234,254,0.95);
}

/* ==========================================
   BETA
   ========================================== */
.beta {
  position: relative;
  text-align: center;
  padding: 72px 56px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.beta__glow {
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(102,126,234,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.beta__content { position: relative; z-index: 1; }

.beta__badge {
  display: inline-block;
  padding: 8px 28px; margin-bottom: 28px;
  font-size: 0.88rem; font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50px;
  box-shadow: 0 4px 24px rgba(102,126,234,0.3);
}

.beta__title {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.beta__desc {
  margin: 0 auto 36px;
  max-width: 540px;
  font-size: 1.02rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.beta__perks {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; max-width: 500px;
  margin: 0 auto 40px; text-align: left;
}

.beta__perks li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.88rem; font-weight: 500;
  color: var(--gray-600);
}
.beta__perks li svg { color: var(--success); flex-shrink: 0; }

.beta__cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.beta__micro { margin: 0; font-size: 0.8rem; color: var(--gray-400); }

/* ==========================================
   CTA
   ========================================== */
.cta {
  position: relative;
  padding: 112px 32px;
  text-align: center;
  overflow: hidden;
}

.cta__bg {
  position: absolute; inset: 0;
  background: linear-gradient(170deg, #06060c 0%, var(--dark) 50%, #0d0d1a 100%);
  z-index: -1;
}

.cta__bg::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(102,126,234,0.25), transparent);
}

.cta__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.cta__orb--1 { top: -20%; right: 10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(102,126,234,0.1) 0%, transparent 60%); }
.cta__orb--2 { bottom: -20%; left: 10%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(118,75,162,0.08) 0%, transparent 60%); }

.cta__container { max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }

.cta__title {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
}

.cta__subtitle {
  margin: 0 0 44px;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.cta__support {
  margin: -24px auto 32px;
  max-width: 760px;
  font-size: 0.98rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.cta__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  position: relative;
  background: var(--dark);
  padding: 0 32px 36px;
}

.footer__top-line {
  height: 1px;
  margin-bottom: 64px;
  background: linear-gradient(90deg, transparent 5%, var(--primary) 40%, var(--secondary) 60%, transparent 95%);
  opacity: 0.35;
}

.footer__container { max-width: var(--container-max); margin: 0 auto; }

.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}

.footer__logo {
  height: 92px;
  width: auto;
  margin-bottom: 18px;
  display: block;
  transform: scale(2.1);
  transform-origin: left center;
}

.footer__tagline {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  max-width: 300px;
}

.footer__seo-nav {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__seo-link {
  position: relative;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition-fast);
}

.footer__seo-link:hover {
  color: var(--primary-light);
}

.footer__seo-link + .footer__seo-link::before {
  content: "•";
  position: absolute;
  left: -10px;
  color: rgba(255,255,255,0.24);
}

.footer__seo-groups {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.footer__seo-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer__seo-label {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

.footer__links h4 {
  margin: 0 0 20px;
  font-size: 0.78rem; font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.1em;
}

.footer__links li { margin-bottom: 12px; }

.footer__links a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition-fast);
}
.footer__links a:hover { color: var(--primary-light); }

.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__bottom p { margin: 0; font-size: 0.8rem; color: rgba(255,255,255,0.25); }

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero__container { grid-template-columns: 1fr; gap: 48px; }
  .hero__content { text-align: center; max-width: 640px; margin: 0 auto; }
  .hero__subtitle { max-width: none; }
  .hero__cta { justify-content: center; }
  .hero__proof { justify-content: center; }
  .hero__video { max-width: 560px; margin: 0 auto; }
  .hero__shapes { opacity: 0.35; }

  .pricing__grid { grid-template-columns: 1fr; max-width: 700px; margin: 0 auto; }
  .pricing__grid::before { display: none; }
  .pricing__grid::after { display: none; }
  .pricing-card--featured { transform: none; }
  .pricing-card {
    transform: none;
    transition: box-shadow 260ms ease, border-color 260ms ease;
  }
  .pricing-card > * { transform: none; }
  .pricing-card::after { display: none; }

  .ft__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft__stage { min-height: 640px; }
  .ft__slide { grid-template-columns: 1fr; gap: 20px; }
  .ft__slide-list { margin-top: 0; }

  .ats__candidates { grid-template-columns: 1fr; }
  .ats__candidate { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .ats__candidate:last-child { border-bottom: none; }

  .meetings {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "mock"
      "cta";
    gap: 48px;
  }
  .meetings__content { text-align: center; }
  .meetings__cta { text-align: center; }
  .meetings__desc { text-align: center; }
  .meetings__item { justify-content: center; text-align: left; }
  .mock-planning__body { grid-template-columns: 1fr; }
  .mock-planning__aside { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .mock-planning__event { width: 42%; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer__brand { grid-column: span 2; }
  .footer__seo-nav { justify-content: center; }
  .footer__seo-group { justify-content: center; }
}

@media (max-width: 768px) {
  :root { --header-height: 72px; }

  .tf-nav, .tf-actions { display: none; }
  .tf-burger { display: flex; }
  .tf-header__inner { padding: 0 20px 0 8px; }
  .tf-logo { margin-left: -12px; }
  .tf-logo__img { height: 66px; transform: scale(1.52); }
  .tf-burger {
    width: 44px;
    height: 44px;
    padding: 10px;
    margin-right: 2px;
  }
  .tf-burger span { width: 22px; }
  /* Menu mobile redesign */
  .tf-mobile {
    padding: 8px 20px 20px;
    gap: 0;
    min-height: calc(100vh - var(--header-height) - var(--banner-height));
    overflow-y: auto;
  }
  .tf-mobile a:not(.tf-btn) { padding: 11px 0; font-size: 0.88rem; }
  .tf-mobile__divider { margin: 10px 0; }
  /* Connexion : bouton blanc plein */
  .tf-mobile__login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 11px 20px !important;
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,0.9) !important;
    border-radius: 10px;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #0b1022 !important;
    background: #ffffff !important;
    transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  }
  .tf-mobile__login:hover {
    background: rgba(255,255,255,0.94) !important;
    border-color: rgba(255,255,255,1) !important;
    color: #050914 !important;
  }
  /* CTA : compact */
  .tf-mobile .tf-btn--primary {
    padding: 11px 20px;
    font-size: 0.85rem;
    border-radius: 10px;
    gap: 7px;
  }

  .hero { padding: calc(var(--header-height) + var(--banner-height) + 44px) 20px 56px; min-height: auto; }
  .hero__container { gap: 28px; }
  .hero__title { font-size: 2.1rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__orb--2,
  .hero__orb--3 { display: none; }
  .hero__orb--1 {
    top: -16%;
    right: -36%;
    width: 520px;
    height: 520px;
    filter: blur(92px);
    opacity: 0.72;
  }
  .hero__cta {
    width: 100%;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: stretch;
  }
  .hero__cta .tf-btn {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 10px 10px;
    font-size: 0.8rem;
    line-height: 1.25;
    gap: 6px;
    white-space: normal;
    text-align: center;
  }
  .hero__cta .tf-btn svg { width: 15px; height: 15px; }
  .hero__proof {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    align-items: stretch;
  }
  .hero__proof-item {
    font-size: 0.76rem;
    padding: 6px 10px;
  }
  .hero__shapes { display: none; }
  .hero__grid,
  .hero__noise,
  .hero__particles { display: none; }
  .hero__video {
    max-width: 320px;
    width: 100%;
    margin: 6px auto 0;
  }
  .hero__video-placeholder {
    aspect-ratio: 16 / 11;
    border-radius: 20px;
    background:
      radial-gradient(circle at 26% 22%, rgba(99,102,241,0.2), transparent 46%),
      linear-gradient(165deg, rgba(17,24,39,0.96), rgba(4,8,20,0.98));
    border: 1px solid rgba(148,163,184,0.18);
    box-shadow: 0 20px 42px rgba(1,6,18,0.56);
  }
  .hero__video-glow { display: none; }
  .hero__video-inner { gap: 12px; padding: 14px; }
  .hero__video-play {
    width: 72px;
    height: 48px;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(99,102,241,0.35);
  }
  .hero__video-play svg {
    width: 26px;
    height: 26px;
    margin-left: 2px;
  }
  .hero__video-label { font-size: 1.02rem; }
  .hero__video-sublabel { font-size: 0.86rem; color: rgba(255,255,255,0.5); }

  .pricing__notice { padding: 12px 12px; }
  .pricing__grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .pricing-card--candidate { order: 1; }
  .pricing-card--featured  { order: 2; }
  .pricing-card--company   { order: 3; }
  .pricing-card { padding: 18px 16px 16px; border-radius: 14px; }
  .pricing-card__head h3 { font-size: 1.12rem; }
  .pricing-card__now { font-size: 1.65rem; }
  .pricing-card__list li { font-size: 0.82rem; }
  .pricing-card__ribbon { font-size: 0.64rem; }
  .pricing-card__usage { margin-top: 10px; font-size: 0.77rem; }
  .pricing-card__cta { margin-top: 12px; }

  .section { padding: 64px 18px; }
  .section__title { font-size: 1.6rem; }
  .section__subtitle { font-size: 0.96rem; line-height: 1.62; }
  .section__header { margin-bottom: 34px; }

  .ft__tabs { grid-template-columns: 1fr; gap: 8px; }
  .ft__tab { padding: 12px 12px 14px; }
  .ft__tab-label { font-size: 0.75rem; }
  /* Slide en flux normal sur mobile : plus de position absolute ni overflow:hidden */
  .ft__stage { min-height: auto; overflow: visible; padding: 20px; }
  .ft__slide { position: relative; inset: auto; display: none; opacity: 1; transform: none; }
  .ft__slide--active { display: grid; }
  .ft__slide-title { font-size: 1.35rem; }
  .ft__stage-glow { display: none; }

  .ats__pipeline {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 8px;
  }
  .ats__step { min-width: 80px; }
  .ats__step { scroll-snap-align: start; }
  .ats__candidates { grid-template-columns: 1fr; }
  .ats__candidate { border-right: none; border-bottom: 1px solid var(--gray-100); }
  .ats__candidate:last-child { border-bottom: none; }

  .meetings {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "mock"
      "cta";
    gap: 40px;
  }
  .meetings__mock { width: 100%; }

  /* Bouton beta : taille réduite sur mobile */
  .beta__cta .tf-btn--lg {
    padding: 12px 24px;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* Planning mock : adapté mobile */
  .meetings__mock {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
  }
  .mock-planning {
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
    margin: 0;
  }
  .mock-planning__head {
    padding: 10px 14px;
    gap: 8px;
    overflow: hidden;
  }
  .mock-planning__dots { flex-shrink: 0; }
  .mock-planning__title {
    font-size: 0.7rem;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mock-planning__switch { flex-shrink: 0; }
  .mock-planning__switch span { font-size: 0.62rem; padding: 3px 8px; }
  /* Calendrier masqué, body sans hauteur forcée */
  .mock-planning__calendar { display: none; }
  .mock-planning__body {
    display: block;
    min-height: 0;
  }
  .mock-planning__aside {
    border-right: none;
    border-bottom: none;
    padding: 16px;
  }
  .mock-planning__today-card {
    padding: 12px;
  }

  .beta { padding: 44px 24px; }
  .beta__perks { grid-template-columns: 1fr; }

  .cta { padding: 72px 20px; }
  .cta__support {
    margin: -24px auto 28px;
    font-size: 0.93rem;
    line-height: 1.62;
  }

  .footer { padding: 0 20px 24px; }
  .footer__top-line { margin-bottom: 42px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__brand,
  .footer__links {
    text-align: center;
    align-items: center;
    justify-content: center;
  }
  .footer__logo {
    margin-left: auto;
    margin-right: auto;
    transform-origin: center;
  }
  .footer__tagline {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .footer__seo-nav { justify-content: center; }
  .footer__seo-group { justify-content: center; }
  .footer__links li { margin-bottom: 10px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  :root { --header-height: 70px; }

  .tf-header__inner { padding: 0 18px 0 6px; }
  .tf-logo { margin-left: -14px; }
  .tf-logo__img { height: 62px; transform: scale(1.5); }
  .tf-burger {
    width: 42px;
    height: 42px;
    padding: 9px;
    margin-right: 1px;
  }
  .footer__logo { height: 72px; transform: scale(1.45); }
  .hero__title { font-size: 1.75rem; }
  .hero__badge { font-size: 0.75rem; padding: 6px 14px; }
  .hero__cta { gap: 8px; }
  .hero__cta .tf-btn {
    padding: 9px 8px;
    font-size: 0.74rem;
    line-height: 1.2;
    border-radius: 10px;
  }
  .hero__cta .tf-btn svg { width: 14px; height: 14px; }
  .hero__video { max-width: 292px; }
  .hero__video-placeholder { border-radius: 18px; }
  .hero__video-play {
    width: 68px;
    height: 44px;
  }

  .pricing__notice {
    gap: 6px;
    font-size: 0.82rem;
  }
  .pricing-card__row {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
  .pricing-card__head p { font-size: 0.84rem; }
  .pricing-card__list { gap: 6px; }
  .pricing-card__beta { white-space: normal; }

  .ft__tabs { grid-template-columns: 1fr; }
  .ft__tab { padding: 12px; }
  .ft__stage { padding: 16px; }
  .ft__slide { gap: 16px; }
  .ft__slide-text { font-size: 0.88rem; }
  .ft__score-row { grid-template-columns: auto 1fr auto; }
  .ft__score-bar-wrap { display: none; }
  .ft__chat-bubble { max-width: 90%; }
  .ft__chat-head { flex-wrap: wrap; }
  .ft__meeting-meta { gap: 6px; }
  .ft__meeting-chip { font-size: 0.61rem; }

  .ats__chrome { padding: 12px 20px; }
  .ats__pipeline { padding: 24px 20px; }
  .ats__candidate { padding: 16px 20px; }
  .ats__name { font-size: 0.94rem; }
  .ats__score-wrap { min-width: 84px; }
  .ats__score-track { width: 74px; }

  .beta { padding: 36px 20px; }
  .beta__title { font-size: 1.35rem; }

  .mock-planning__switch span { font-size: 0.6rem; padding: 3px 7px; }
}

/* ==========================================
   TESTIMONIALS / SOCIAL PROOF
   ========================================== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--primary-light);
}

.testimonial-card__stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin: 0;
  font-style: italic;
  flex: 1;
}

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

.testimonial-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.testimonial-card__author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 600;
}

.testimonial-card__author span {
  display: block;
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* Beta note (replaces trust-logos) */
.beta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.beta-note svg { color: var(--gray-400); flex-shrink: 0; }

/* Trust logos */
.trust-logos {
  text-align: center;
  padding: 40px 0 0;
  border-top: 1px solid var(--gray-200);
}

.trust-logos__label {
  font-size: 0.82rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.trust-logos__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.trust-logo {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: -0.01em;
  padding: 8px 20px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.trust-logo:hover { opacity: 1; }

/* ==========================================
   VIDEO DEMO
   ========================================== */
.demo-video {
  max-width: 860px;
  margin: 0 auto 48px;
}

.demo-video__wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(165deg, var(--gray-100), var(--gray-50));
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  padding: 80px 40px 48px;
  text-align: center;
}

.demo-video__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 30%, rgba(102,126,234,0.08), transparent 60%);
  pointer-events: none;
}

.demo-video__play-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.demo-video__play-btn {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(102,126,234,0.35);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.demo-video__play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 20px 50px rgba(102,126,234,0.5);
}

.demo-video__play-btn svg { margin-left: 6px; }

.demo-video__label {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gray-700);
  margin: 0;
}

.demo-video__sub {
  font-size: 0.88rem;
  color: var(--gray-400);
  margin: 0;
}

.demo-video__sub a {
  color: var(--primary);
  text-decoration: underline;
}

.demo-video__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.demo-video__chips span {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-500);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 5px 14px;
}

/* ==========================================
   FAQ
   ========================================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(102,126,234,0.08);
}

.faq-item__q {
  list-style: none;
  padding: 20px 24px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--transition-fast);
  user-select: none;
}

.faq-item__q::-webkit-details-marker { display: none; }

.faq-item__q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.faq-item[open] .faq-item__q::after {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-item[open] .faq-item__q { color: var(--primary); }

.faq-item__a {
  padding: 0 24px 20px;
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-100);
  margin-top: 0;
  padding-top: 16px;
}

/* ==========================================
   FOOTER TRUST BAR
   ========================================== */
.footer__trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 32px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 40px;
  margin-bottom: 20px;
}

.footer__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.footer__trust-item svg { color: var(--gray-400); }

.footer__trust-link {
  color: var(--gray-400);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.footer__trust-link:hover {
  color: var(--primary-light);
  text-decoration-color: var(--primary-light);
}

.footer__bottom-link {
  color: var(--gray-500);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.footer__bottom-link:hover {
  color: var(--gray-300);
  text-decoration-color: var(--gray-300);
}

/* ==========================================
   FOOTER — social bubbles
   ========================================== */
.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 0;
}

.footer__social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.65);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

.footer__social-btn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.footer__social-btn--linkedin:hover  { background: #0077b5; border-color: #0077b5; }
.footer__social-btn--instagram:hover { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; }
.footer__social-btn--tiktok:hover    { background: #010101; border-color: #69c9d0; color: #69c9d0; }

/* ==========================================
   RESPONSIVE — new sections
   ========================================== */
@media (max-width: 1024px) {
  .testimonials { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .testimonials { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card { padding: 20px; }
  .trust-logos__grid { gap: 8px 20px; }
  .trust-logo { padding: 6px 14px; font-size: 0.88rem; }
  .demo-video__wrapper { padding: 56px 24px 36px; }
  .demo-video__play-btn { width: 80px; height: 80px; }
  .demo-video__play-btn svg { width: 40px; height: 40px; }
  .faq-item__q { padding: 16px 18px; font-size: 0.92rem; }
  .faq-item__a { padding: 0 18px 16px; padding-top: 14px; }
  .footer__trust { gap: 8px 20px; }
}

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

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.tf-btn:focus-visible { outline-offset: 4px; }

/* Nav links: underline on hover for accessibility */
.tf-nav a {
  position: relative;
  padding-bottom: 2px;
}
.tf-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--primary-light);
  border-radius: 2px;
  transition: width var(--transition-fast);
}
.tf-nav a:hover::after,
.tf-nav a:focus-visible::after { width: 100%; }

/* Footer links: underline on hover */
.footer__links a {
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}
.footer__links a:hover {
  color: var(--gray-200);
  text-decoration-color: rgba(255,255,255,0.25);
}

/* SEO/brand footer links: underline on hover */
.footer__seo-link {
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast) !important;
}
.footer__seo-link:hover {
  color: var(--gray-200) !important;
  text-decoration-color: rgba(255,255,255,0.2) !important;
}

/* ==========================================
   SCROLL REVEAL
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1), transform 0.65s cubic-bezier(0.22,1,0.36,1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger */
.ft.reveal { transition-delay: 0.05s; }
.ats__candidate.reveal:nth-child(1) { transition-delay: 0s; }
.ats__candidate.reveal:nth-child(2) { transition-delay: 0.1s; }
.ats__candidate.reveal:nth-child(3) { transition-delay: 0.2s; }

.section__header.reveal { transform: translateY(20px); }

/* Parallax shapes */
@media (min-width: 769px) {
  .hero__shape { transition: transform 0.1s linear; }
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.hiw {
  background: #f8fafc;
  padding: 96px 32px;
  position: relative;
  overflow: hidden;
}

/* Léger bruit de fond pour texture */
.hiw::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(102,126,234,0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 50%, rgba(118,75,162,0.05) 0%, transparent 55%);
  pointer-events: none;
}

.hiw__header {
  text-align: center;
  margin-bottom: 64px;
}

.hiw__label {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1));
  border: 1px solid rgba(102,126,234,0.2);
  color: #5a67d8;
  margin-bottom: 1rem;
}

.hiw__title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.hiw__subtitle {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid : 3 cards + 2 connecteurs */
.hiw__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Carte étape */
.hiw__step {
  background: #ffffff;
  border: 1px solid rgba(102,126,234,0.12);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem 2rem;
  box-shadow: 0 2px 12px rgba(15,23,42,0.06), 0 1px 3px rgba(15,23,42,0.04);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.hiw__step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity var(--transition-base);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.hiw__step:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(102,126,234,0.12), 0 4px 12px rgba(15,23,42,0.06);
  border-color: rgba(102,126,234,0.25);
}

.hiw__step:hover::before {
  opacity: 1;
}

.hiw__step-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

/* Numéro 01 / 02 / 03 */
.hiw__num {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.35;
  transition: opacity var(--transition-base);
}

.hiw__step:hover .hiw__num {
  opacity: 0.65;
}

/* Icône */
.hiw__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
  border: 1px solid rgba(102,126,234,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #667eea;
  flex-shrink: 0;
  transition: background var(--transition-base), color var(--transition-base);
}

.hiw__step:hover .hiw__icon {
  background: linear-gradient(135deg, rgba(102,126,234,0.18) 0%, rgba(118,75,162,0.18) 100%);
  color: #5a67d8;
}

.hiw__step-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.6rem;
  letter-spacing: -0.02em;
}

.hiw__step-text {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}

/* Connecteurs flèches entre les cards */
.hiw__connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.hiw__connector svg {
  width: 48px;
  height: 16px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hiw__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hiw__num { font-size: 2rem; }
}

@media (max-width: 768px) {
  .hiw { padding: 72px 20px; }

  .hiw__header { margin-bottom: 44px; }

  .hiw__title { font-size: 1.65rem; }

  .hiw__steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hiw__connector {
    transform: rotate(90deg);
    height: 16px;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .hiw__title { font-size: 1.45rem; }
  .hiw__step { padding: 1.5rem; }
}

/* ==========================================
   CANDIDATES — grande carte sous les steps
   ========================================== */

/* Intro : label + titre + sous-titre */
.hiw__cand-intro {
  text-align: center;
  margin: 52px 0 24px;
}

.hiw__cand-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #667eea;
  margin: 0 0 14px;
}

.hiw__cand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 8px;
  line-height: 1.25;
}

.hiw__cand-sub {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* ── Carte candidat horizontale ── */
.hiw__cand-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.09);
  background:
    linear-gradient(165deg, rgba(255,255,255,0.028), rgba(255,255,255,0.012)),
    linear-gradient(170deg, #06060c 0%, var(--dark) 50%, #0d0d1a 100%);
  border-radius: 20px;
  margin: 1.6rem 0 0;
  position: relative;
  overflow: hidden;
}

/* Texture subtile */
.hiw__cand-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

/* Orbe décoratif */
.hiw__cand-card::after {
  content: '';
  position: absolute;
  inset: -18% -20%;
  background: radial-gradient(circle at 22% 40%, rgba(129,140,248,0.28), transparent 58%);
  pointer-events: none;
}

/* Côté gauche — texte */
.hiw__cand-left {
  grid-column: 1;
  grid-row: 1;
  padding: 44px 48px 16px 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0;
  position: relative;
  z-index: 1;
}

/* Actions (bouton + mention gratuit) — sous le texte sur desktop */
.hiw__cand-actions {
  grid-column: 1;
  grid-row: 2;
  padding: 0 48px 44px 44px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

/* Badge "Pour les candidats" */
.hiw__cand-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 99px;
  padding: 5px 13px;
  margin-bottom: 20px;
}

.hiw__cand-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.hiw__cand-sub {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
  margin: 0 0 28px;
  max-width: 38ch;
}

.hiw__cand-btn {
  background: #fff !important;
  color: #5b50e8 !important;
  border-color: #fff !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1.4rem;
  font-size: 0.92rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hiw__cand-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.22);
}

.hiw__cand-free {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin: 14px 0 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}
.hiw__cand-free svg { stroke: rgba(255,255,255,0.6); flex-shrink: 0; }

/* Côté droit — 3 features */
.hiw__cand-right {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 44px 44px 44px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.hiw__cand-right::before { display: none; }

.hiw__cand-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.hiw__cand-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.hiw__cand-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 5px;
  line-height: 1.3;
}

.hiw__cand-item-text {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .hiw__cand-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .hiw__cand-left {
    grid-column: 1; grid-row: 1;
    padding: 36px 32px 20px;
    justify-content: flex-start;
  }
  .hiw__cand-right {
    grid-column: 1; grid-row: 2;
    padding: 0 32px 24px;
  }
  .hiw__cand-actions {
    grid-column: 1; grid-row: 3;
    padding: 0 32px 36px;
  }
}

@media (max-width: 480px) {
  .hiw__cand-left {
    padding: 28px 24px 16px;
  }
  .hiw__cand-right {
    padding: 0 24px 20px;
    gap: 20px;
  }
  .hiw__cand-actions {
    padding: 0 24px 28px;
  }
  .hiw__cand-title { font-size: 1.35rem; }
  .hiw__cand-btn { width: 100%; justify-content: center; }
}

/* ==========================================
   ANNOUNCEMENT BANNER
   ========================================== */
@keyframes annSlideIn {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Shimmer qui balaie le bandeau de gauche à droite */
@keyframes annShimmer {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(300%) skewX(-15deg); }
}

/* Ping : cercle qui s'expand depuis le dot */
@keyframes annPing {
  0%   { transform: scale(1);   opacity: 0.85; }
  70%  { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* Dot principal qui pulse */
@keyframes annDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(129,140,248,0.9), 0 0 8px 2px rgba(129,140,248,0.5); }
  50%       { box-shadow: 0 0 0 4px rgba(129,140,248,0), 0 0 14px 4px rgba(129,140,248,0.7); }
}

.ann-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  height: var(--banner-height);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 48px;
  /* Fond plus chaud et coloré pour attirer l'œil */
  background: linear-gradient(90deg,
    #0a0918 0%,
    #0f0d22 20%,
    #130f28 50%,
    #0f0d22 80%,
    #0a0918 100%
  );
  border-bottom: 1px solid rgba(102, 126, 234, 0.45);
  /* Lueur violette sous le bandeau */
  box-shadow:
    0 2px 20px rgba(102, 126, 234, 0.2),
    0 1px 0 rgba(102, 126, 234, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: annSlideIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Filet lumineux en haut du bandeau */
.ann-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129,140,248,0.7), rgba(240,147,251,0.5), rgba(129,140,248,0.7), transparent);
}

/* Shimmer qui passe toutes les 4s */
.ann-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
  animation: annShimmer 4s cubic-bezier(0.4, 0, 0.6, 1) 1s infinite;
  pointer-events: none;
}

.ann-bar--closing {
  height: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.ann-bar__text {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  letter-spacing: 0.015em;
  white-space: nowrap;
  /* overflow: visible pour ne pas rogner le ring du ping */
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* Conteneur du dot — assez large pour que le ring du ping ne soit pas rogné */
.ann-bar__dot-wrap {
  display: inline-block;
  position: relative;
  width: 10px; height: 10px;
  margin-right: 12px;
  margin-left: 14px; /* espace pour le ring qui déborde à gauche */
  vertical-align: middle;
  top: -1px;
  flex-shrink: 0;
  overflow: visible;
}

/* Cercle ping qui s'expand */
.ann-bar__dot-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.7);
  animation: annPing 1.8s ease-out 0.8s infinite;
}

/* Dot principal */
.ann-bar__dot {
  display: block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #c4b5fd, #818cf8);
  position: relative;
  z-index: 1;
  animation: annDotPulse 1.8s ease-in-out 0.8s infinite;
}

.ann-bar__emphasis {
  color: #c4b5fd;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ann-bar__close {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: transparent;
  border: none;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
  padding: 0;
  flex-shrink: 0;
  z-index: 2;
}

.ann-bar__close:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  :root { --banner-height: 40px; }

  .ann-bar { padding: 0 40px 0 16px; }

  .ann-bar__text {
    font-size: 0.73rem;
    white-space: normal;
    text-align: center;
    line-height: 1.35;
  }

  .ann-bar__dot-wrap { display: none; }

  .ann-bar__close { right: 10px; }
}

@media (max-width: 480px) {
  :root { --banner-height: 48px; }
}

/* ==========================================
   SCROLL HIDE — header + banner
   ========================================== */
body.bars-hidden .ann-bar:not(.ann-bar--closing) {
  opacity: 0;
  pointer-events: none;
}

body.bars-hidden .tf-header {
  transform: translateY(calc(-100% - var(--banner-height)));
  opacity: 0;
  pointer-events: none;
}
