/* ===========================================
   SPYLEE — Landing Page
   Design: near-black navy, premium, glow spotlight cards
   =========================================== */

:root {
  --bg: #05070d;
  --bg-deep: #020308;
  --bg-elev: #0b1020;
  --panel: #0a1022;
  --brand: #1e3a8a;
  --brand-2: #2b4ba0;
  --accent: #4e80ee;
  --accent-soft: #7ea6ff;
  --white: #ffffff;
  --text: #e7ecf5;
  --muted: #7d8ba5;
  --border: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 60px rgba(43, 75, 160, 0.35);
  --container: 1200px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* RESET */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-weight: 400;
  font-feature-settings: 'ss01', 'cv11', 'cv02';
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(1000px 700px at 50% -10%, rgba(43, 75, 160, 0.35), transparent 60%),
    radial-gradient(800px 600px at 100% 10%, rgba(30, 58, 138, 0.15), transparent 60%),
    linear-gradient(180deg, #05070d 0%, #020308 100%);
  background-attachment: fixed;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================
   TYPOGRAPHY
   ========================== */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  line-height: 1.1;
}
.accent {
  color: var(--accent);
}
/* Display serif italic accent */
.display-accent {
  font-family: 'Instrument Serif', 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
  background: linear-gradient(160deg, rgba(255,255,255,0.97) 0%, #adc4ff 28%, #3a62c4 52%, #1B2B5E 75%, #073659 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 2px;
  animation: accentShift 8s ease-in-out infinite alternate;
}
@keyframes accentShift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 60% 100%; }
}

/* ==========================
   BUTTONS
   ========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
  font-family: inherit;
}
.btn--primary {
  background: var(--white);
  color: #05070d;
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 50px rgba(255, 255, 255, 0.2);
}
.btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  border-color: var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  border-color: var(--border);
  padding: 10px 18px;
  font-size: 14px;
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn--lg { padding: 18px 32px; font-size: 16px; }

/* ==========================
   BRAND (partagé nav + orbit)
   ========================== */
.brand {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.04em;
  color: var(--white);
  background: linear-gradient(180deg, #ffffff 0%, #c7d5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.brand--lg {
  font-size: 34px;
  letter-spacing: -0.05em;
}

/* ==========================
   INSTAGRAM — fixe haut-gauche
   ========================== */
.nav__insta {
  position: fixed;
  top: 18px;
  left: 24px;
  z-index: 60;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.nav__insta:hover {
  color: var(--white);
  border-color: rgba(78,128,238,0.5);
  background: rgba(78,128,238,0.08);
  transform: translateY(-1px);
}

/* ==========================
   PILL NAV — desktop centré
   Approche sans mesure JS : max-width sur chaque enfant
   ========================== */
.nav-wrap {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 55;
}

.nav-pill {
  display: flex;
  align-items: center;
  height: 46px;
  min-width: 46px; /* garantit la taille du cercle collapsed */
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.84);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  box-shadow:
    0 8px 32px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 50px rgba(78,128,238,0.06);
  overflow: hidden;
  white-space: nowrap;
  cursor: default;
  transition: box-shadow .3s var(--ease), min-width .5s cubic-bezier(.15,.85,.15,1);
}

/* Logo dans la pill */
.np-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
  max-width: 160px;
  padding: 0 16px 0 18px;
  height: 100%;
  transition: max-width .5s cubic-bezier(.15,.85,.15,1), opacity .25s .06s, padding .5s cubic-bezier(.15,.85,.15,1);
}

/* Séparateur */
.np-sep {
  flex-shrink: 0;
  overflow: hidden;
  max-width: 20px;
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.10);
  transition: max-width .45s cubic-bezier(.15,.85,.15,1), opacity .2s;
}

/* Liens nav */
.np-links {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
  max-width: 460px;
  transition: max-width .5s cubic-bezier(.15,.85,.15,1), opacity .2s .06s;
}
.np-links a {
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  height: 46px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.01em;
  transition: color .2s, background .2s;
}
.np-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

/* CTA dans la pill */
.np-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  overflow: hidden;
  max-width: 160px;
  margin: 0 5px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  color: #05070d;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  position: relative;
  transition: max-width .5s cubic-bezier(.15,.85,.15,1), opacity .2s .06s,
              margin .5s cubic-bezier(.15,.85,.15,1), padding .5s cubic-bezier(.15,.85,.15,1),
              transform .2s var(--ease), box-shadow .2s;
}
.np-cta::after {
  content: '';
  position: absolute;
  top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.np-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,255,255,0.18); }
.np-cta:hover::after { animation: shimmer .6s ease-out forwards; }

/* ---- État collapsed ---- */
.nav-wrap.is-collapsed .nav-pill {
  cursor: pointer;
  box-shadow:
    0 4px 16px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 30px rgba(78,128,238,0.10);
}
/* Chaque élément se réduit à 0 */
.nav-wrap.is-collapsed .np-logo {
  max-width: 0;
  padding-left: 0;
  padding-right: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-width .45s cubic-bezier(.15,.85,.15,1), opacity .15s, padding .45s cubic-bezier(.15,.85,.15,1);
}
.nav-wrap.is-collapsed .np-sep {
  max-width: 0;
  opacity: 0;
  transition: max-width .4s cubic-bezier(.15,.85,.15,1), opacity .15s;
}
.nav-wrap.is-collapsed .np-links {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  transition: max-width .45s cubic-bezier(.15,.85,.15,1), opacity .15s;
}
.nav-wrap.is-collapsed .np-cta {
  max-width: 0;
  opacity: 0;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  pointer-events: none;
  transition: max-width .45s cubic-bezier(.15,.85,.15,1), opacity .15s,
              margin .45s cubic-bezier(.15,.85,.15,1), padding .45s cubic-bezier(.15,.85,.15,1);
}

/* ---- Hover sur collapsed — desktop uniquement ---- */
/* Sur écrans avec souris : survoler le cercle ré-ouvre la pill */
@media (hover: hover) {
  .nav-wrap.is-collapsed:hover .nav-pill {
    cursor: default;
    box-shadow:
      0 8px 32px rgba(0,0,0,0.55),
      0 0 0 1px rgba(78,128,238,0.25) inset,
      0 0 50px rgba(78,128,238,0.12);
  }
  .nav-wrap.is-collapsed:hover .np-logo {
    max-width: 160px;
    padding: 0 16px 0 18px;
    opacity: 1;
    pointer-events: auto;
    transition: max-width .42s cubic-bezier(.15,.85,.15,1), opacity .25s .05s, padding .42s cubic-bezier(.15,.85,.15,1);
  }
  .nav-wrap.is-collapsed:hover .np-sep {
    max-width: 20px;
    opacity: 1;
    transition: max-width .42s cubic-bezier(.15,.85,.15,1), opacity .2s .05s;
  }
  .nav-wrap.is-collapsed:hover .np-links {
    max-width: 460px;
    opacity: 1;
    pointer-events: auto;
    transition: max-width .42s cubic-bezier(.15,.85,.15,1), opacity .2s .08s;
  }
  .nav-wrap.is-collapsed:hover .np-cta {
    max-width: 160px;
    opacity: 1;
    margin: 0 5px;
    padding: 9px 16px;
    pointer-events: auto;
    transition: max-width .42s cubic-bezier(.15,.85,.15,1), opacity .2s .08s,
                margin .42s cubic-bezier(.15,.85,.15,1), padding .42s cubic-bezier(.15,.85,.15,1);
  }
  .nav-wrap.is-collapsed:hover .np-icon-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity .12s;
  }
}

/* Icône overlay — visible quand collapsed */
.np-icon-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s .22s;
}
.nav-wrap.is-collapsed .np-icon-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Logo mobile — visible seulement en dessous de 780px */
.nav__mobile-logo {
  display: none;
}

/* Hamburger — mobile uniquement */
.nav__hamburger {
  position: fixed;
  top: 15px;
  right: 16px;
  z-index: 60;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(8, 12, 24, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  padding: 4px;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.nav__hamburger:hover,
.nav__hamburger:active {
  background: rgba(78,128,238,0.12);
  border-color: rgba(78,128,238,0.45);
}
.nav__hamburger span {
  display: block;
  width: 20px;
  height: 1.6px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s var(--ease);
  transform-origin: center;
}
.nav__hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 780px) {
  .nav-wrap { display: none; }
  .nav__hamburger { display: flex; }
  .nav__insta {
    top: 15px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(8, 12, 24, 0.72);
  }
  .nav__mobile-logo {
    display: inline-flex;
    position: fixed;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 58;
    align-items: center;
  }
}

/* ==========================
   HERO
   ========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 0 80px;
  overflow: hidden;
  text-align: center;
}
@media (max-width: 780px) {
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }
}
/* big colored glow blobs behind hero */
.hero__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 1100px;
  background:
    radial-gradient(closest-side at 30% 40%, rgba(78, 128, 238, 0.55), transparent 70%),
    radial-gradient(closest-side at 70% 30%, rgba(126, 90, 255, 0.40), transparent 72%),
    radial-gradient(closest-side at 55% 65%, rgba(34, 211, 238, 0.28), transparent 70%),
    radial-gradient(closest-side at 20% 75%, rgba(255, 90, 160, 0.24), transparent 72%);
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.9;
  animation: blobDrift 14s ease-in-out infinite alternate;
}
@keyframes blobDrift {
  0%   { transform: translateX(-50%) translateY(0) scale(1); }
  100% { transform: translateX(-50%) translateY(20px) scale(1.05); }
}
@media (max-width: 780px) {
  .hero__glow {
    width: 700px;
    height: 500px;
    top: -5%;
    opacity: 0.45;
    filter: blur(60px);
  }
}
.hero__grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 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: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 40%, transparent 80%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 920px;
  z-index: 2;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--accent-soft);
  font-weight: 500;
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}
.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero__title {
  font-size: clamp(52px, 8.6vw, 116px);
  font-weight: 900;
  margin-bottom: 28px;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}
.hero__subtitle {
  font-size: clamp(17px, 1.8vw, 22px);
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto 44px;
  line-height: 1.55;
}
.hero__ctas {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}
.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}
.trust__avatars { display: inline-flex; }
.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background: linear-gradient(135deg, #2b4ba0, #4e80ee);
}
.avatar:first-child { margin-left: 0; }
.avatar:nth-child(2) { background: linear-gradient(135deg, #4e80ee, #7ea6ff); }
.avatar:nth-child(3) { background: linear-gradient(135deg, #1e3a8a, #2b4ba0); }
.avatar:nth-child(4) { background: linear-gradient(135deg, #7ea6ff, #c6d9ff); }

/* ==========================
   AI CHAT INPUT (hero)
   ========================== */
.chat {
  max-width: 620px;
  margin: 64px auto 0;
  position: relative;
  z-index: 2;
}
.chat__card {
  background: rgba(10, 16, 34, 0.6);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  text-align: left;
}
.chat__input {
  padding: 20px 20px 8px;
}
.chat__text {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  resize: none;
  outline: none;
  min-height: 60px;
  padding: 4px 0;
}
.chat__text::placeholder { color: rgba(255,255,255,0.25); }
.chat__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
}
.chat__tools {
  display: flex;
  gap: 4px;
}
.chat__tool {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: transparent;
  color: rgba(255,255,255,0.4);
  border: 0;
  cursor: pointer;
  transition: all .2s var(--ease);
}
.chat__tool:hover { background: rgba(255,255,255,0.05); color: var(--white); }
.chat__send {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: #05070d;
  border: 0;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: transform .2s var(--ease);
  font-family: inherit;
}
.chat__send:hover { transform: translateY(-1px); }
.chat__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}
.chat__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  transition: all .2s var(--ease);
  font-family: inherit;
}
.chat__chip:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
  border-color: var(--border-strong);
}

/* ==========================
   SECTIONS
   ========================== */
.section {
  padding: 120px 0;
  position: relative;
}
.section__head {
  max-width: 720px;
  margin: 0 auto 72px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
  margin-bottom: 20px;
}
.section__title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.section__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
}

/* GRID HELPERS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* ==========================
   GLOW / SPOTLIGHT CARDS
   JS sets --mx / --my on each hovered card
   ========================== */
.glow-card {
  position: relative;
  background: linear-gradient(180deg, #0a1022 0%, #06090f 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  overflow: hidden;
  isolation: isolate;
  transition: transform .4s var(--ease), border-color .3s var(--ease);
}
.glow-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    300px 300px at var(--mx, 50%) var(--my, 50%),
    rgba(78, 128, 238, 0.35),
    transparent 60%
  );
  opacity: 0;
  transition: opacity .3s var(--ease);
  z-index: -1;
  pointer-events: none;
}
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    260px 260px at var(--mx, 50%) var(--my, 50%),
    rgba(126, 166, 255, 0.55),
    transparent 70%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.glow-card:hover { transform: translateY(-4px); }
.glow-card:hover::before,
.glow-card:hover::after { opacity: 1; }

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(78, 128, 238, 0.1);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--accent-soft);
}
.glow-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.glow-card p {
  color: var(--muted);
  font-size: 15px;
}

/* ==========================
   SOLUTION
   ========================== */
.solution__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature__num {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.solution__feature h3 { font-size: 22px; margin-bottom: 12px; }
.solution__feature p { color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .solution__grid { grid-template-columns: 1fr; } }

/* ==========================
   PROCESS STEPS
   ========================== */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: start;
}
.step { text-align: center; padding: 36px 28px; }
.step__index {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  font-size: 22px;
  font-weight: 800;
  color: #05070d;
  background: linear-gradient(135deg, var(--white), var(--accent-soft));
  box-shadow: 0 0 30px rgba(126, 166, 255, 0.3);
}
.step h3 { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step__line {
  height: 1px;
  width: 48px;
  background: linear-gradient(90deg, rgba(78,128,238,0.5), rgba(78,128,238,0.05));
  margin-top: 50px;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step__line { display: none; }
}

/* ==========================
   USE CASES
   ========================== */
.usecase h3 { font-size: 18px; margin-bottom: 10px; }
.usecase p { color: var(--muted); font-size: 14px; }
.usecase__tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(78, 128, 238, 0.12);
  color: var(--accent);
  margin-bottom: 16px;
}

/* ==========================
   ORBIT / AUTOMATION STACK
   ========================== */
.stack {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 48px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(10, 16, 34, 0.8), rgba(6, 9, 15, 0.8));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.stack__left h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  margin-bottom: 18px;
}
.stack__left p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 440px;
}
.stack__ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.stack__right {
  position: relative;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.orbit__wrap {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit__center {
  position: absolute;
  display: grid;
  place-items: center;
  z-index: 4;
  padding: 14px 22px;
  border-radius: 16px;
  background: rgba(10, 16, 34, 0.75);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 0 60px rgba(78, 128, 238, 0.35), 0 20px 40px rgba(0,0,0,0.4);
}
.orbit__center img { width: 150px; height: auto; display: block; }
@media (max-width: 900px) {
  .orbit__center { padding: 10px 16px; }
  .orbit__center .brand--lg { font-size: 26px; }
}
.orbit {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: orbit-spin linear infinite;
}
.orbit--1 { width: 200px; height: 200px; animation-duration: 26s; }
.orbit--2 { width: 320px; height: 320px; animation-duration: 40s; animation-direction: reverse; }
.orbit--3 { width: 440px; height: 440px; animation-duration: 60s; }

.orbit__item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%);
  border-radius: 12px;
  background: linear-gradient(180deg, #111a33, #0a1022);
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.orbit__item svg { width: 26px; height: 26px; }
/* Counter-rotate icons so they stay upright */
.orbit__item > .icon-wrap {
  animation: orbit-spin-reverse linear infinite;
}
.orbit--1 .orbit__item > .icon-wrap { animation-duration: 26s; }
.orbit--2 .orbit__item > .icon-wrap { animation-duration: 40s; animation-direction: reverse; }
.orbit--3 .orbit__item > .icon-wrap { animation-duration: 60s; }

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes orbit-spin-reverse {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@media (max-width: 900px) {
  .stack {
    grid-template-columns: 1fr;
    padding: 48px 24px;
    gap: 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(10, 16, 34, 0.6), rgba(6, 9, 15, 0.6));
    border-color: rgba(255,255,255,0.06);
  }
  .stack__left p { margin-left: auto; margin-right: auto; }
  .stack__ctas { justify-content: center; }
  .stack__right { height: 320px; }
  .orbit__wrap { width: 320px; height: 320px; }
  .orbit--1 { width: 150px; height: 150px; }
  .orbit--2 { width: 235px; height: 235px; }
  .orbit--3 { width: 320px; height: 320px; }
  .orbit__item { width: 40px; height: 40px; }
  .orbit__item svg { width: 22px; height: 22px; }
}
@media (max-width: 560px) {
  .stack__right { height: 280px; }
  .orbit__wrap { width: 280px; height: 280px; }
  .orbit--1 { width: 130px; height: 130px; }
  .orbit--2 { width: 205px; height: 205px; }
  .orbit--3 { width: 280px; height: 280px; }
  .orbit__item { width: 36px; height: 36px; }
  .orbit__item svg { width: 20px; height: 20px; }
  .orbit__center { padding: 8px 14px; }
  .orbit__center .brand--lg { font-size: 22px; }
}

/* ==========================
   METRICS
   ========================== */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.metric { text-align: center; }
.metric__num {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 8px;
}
.metric__label { font-size: 14px; color: var(--muted); }
@media (max-width: 760px) {
  .metrics { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

/* ==========================
   CTA
   ========================== */
.cta {
  position: relative;
  overflow: hidden;
  margin: 40px 20px;
  border-radius: 32px;
  background:
    radial-gradient(700px 350px at 50% 0%, rgba(78, 128, 238, 0.18), transparent 70%),
    linear-gradient(135deg, #0a1022 0%, #05070d 100%);
  border: 1px solid var(--border-strong);
  padding: 100px 24px;
}
.cta__inner {
  position: relative;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.cta__title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  margin-bottom: 20px;
}
.cta__sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  margin-bottom: 36px;
}
.cta__reassurance {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.7;
  letter-spacing: 0.03em;
}

/* Text links inside content */
.text-link {
  color: var(--accent-soft);
  text-decoration: underline;
  text-decoration-color: rgba(126, 166, 255, 0.3);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.text-link:hover {
  color: var(--white);
  text-decoration-color: rgba(255,255,255,0.5);
}

/* ==========================
   FOOTER
   ========================== */
.footer {
  border-top: 1px solid var(--border);
  padding-top: 72px;
  margin-top: 40px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer__address {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.7;
}
.footer__address a {
  color: var(--accent-soft);
  transition: color 0.2s;
}
.footer__address a:hover { color: var(--white); }
.footer__brand p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
  max-width: 300px;
}
.footer__col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
}
.footer__col a {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--accent-soft); }
.footer__base {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  color: var(--muted);
  font-size: 13px;
}
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================
   REVEAL ANIMATIONS
   ========================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero .reveal.is-visible {
  animation: heroIn .9s var(--ease) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero .reveal:nth-child(2) { animation-delay: .1s; }
.hero .reveal:nth-child(3) { animation-delay: .2s; }
.hero .reveal:nth-child(4) { animation-delay: .3s; }
.hero .reveal:nth-child(5) { animation-delay: .4s; }

/* === CINEMATIC HERO TITLE — staggered word reveal === */
.hero__title--cinematic {
  perspective: 1200px;
}
.hero__title--cinematic .hero__line {
  display: block;
}
.hero__title--cinematic .hero__word {
  display: inline-block;
  margin: 0 0.18em 0 0;
  opacity: 0;
  transform: translateY(0.45em) translateZ(-40px);
  filter: blur(14px);
  animation: heroWordIn 1.15s cubic-bezier(.16,.84,.2,1) forwards;
  animation-delay: calc(var(--i, 0) * 90ms + 220ms);
  will-change: opacity, transform, filter;
}
@keyframes heroWordIn {
  0%   { opacity: 0; transform: translateY(0.55em) translateZ(-40px); filter: blur(14px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) translateZ(0); filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title--cinematic .hero__word {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* Stagger child reveals */
.grid-3 .reveal:nth-child(2) { transition-delay: .08s; }
.grid-3 .reveal:nth-child(3) { transition-delay: .16s; }
.grid-4 .reveal:nth-child(2) { transition-delay: .06s; }
.grid-4 .reveal:nth-child(3) { transition-delay: .12s; }
.grid-4 .reveal:nth-child(4) { transition-delay: .18s; }
.solution__grid .reveal:nth-child(2) { transition-delay: .06s; }
.solution__grid .reveal:nth-child(3) { transition-delay: .12s; }
.solution__grid .reveal:nth-child(4) { transition-delay: .18s; }
.metrics .reveal:nth-child(2) { transition-delay: .06s; }
.metrics .reveal:nth-child(3) { transition-delay: .12s; }
.metrics .reveal:nth-child(4) { transition-delay: .18s; }

/* ==========================
   CUSTOM CURSOR (black dot + trailing smudge)
   ========================== */
.has-custom-cursor,
.has-custom-cursor * { cursor: none !important; }
.cursor-dot,
.cursor-smudge {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
}
.cursor-dot {
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
  transition: width .18s var(--ease), height .18s var(--ease), margin .18s var(--ease), background .18s var(--ease);
  mix-blend-mode: normal;
}
.cursor-smudge {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,0,0,0.65), rgba(0,0,0,0) 70%);
  filter: blur(6px);
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), filter .25s var(--ease);
  opacity: .9;
}
.cursor-hover .cursor-dot {
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  background: #fff;
  box-shadow: 0 0 24px rgba(126,166,255,0.8);
}
.cursor-hover .cursor-smudge {
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  filter: blur(14px);
  background: radial-gradient(circle, rgba(78,128,238,0.55), rgba(78,128,238,0) 70%);
}
@media (pointer: coarse) {
  .cursor-dot, .cursor-smudge { display: none; }
}

/* ==========================
   MARQUEE / LOGO STRIP
   ========================== */
.marquee {
  position: relative;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(10,16,34,0.4), rgba(5,7,13,0.4));
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee__track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marquee__item svg,
.marquee__item .dot {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.marquee__item .dot {
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  width: 8px; height: 8px;
}
.marquee__star {
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  opacity: 0.8;
}
.marquee__item {
  font-size: 18px;
  color: var(--text);
  font-weight: 500;
  letter-spacing: -0.015em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ==========================
   SERVICES — prix + CTA
   ========================== */
.solution__feature .price {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-weight: 800;
  color: var(--white);
  font-size: 22px;
  letter-spacing: -0.01em;
}
.solution__feature.is-featured {
  border-color: rgba(78, 128, 238, 0.55);
  box-shadow: 0 0 0 1px rgba(78,128,238,0.35), 0 30px 80px rgba(78,128,238,0.12);
  transform: translateY(-8px);
}
.solution__feature.is-featured .feature__num {
  color: var(--accent-soft);
}
.feature__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #05070d;
  z-index: 2;
}
@media (max-width: 960px) {
  .solution__feature.is-featured { transform: none; }
}
.solution__feature p + p { margin-top: 10px; }
.solution__feature p strong { color: var(--white); font-weight: 700; }
.services__cta {
  text-align: center;
  margin-top: 48px;
}

/* Steps — 4 colonnes */
.steps--4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .steps--4 { grid-template-columns: 1fr; }
}

/* ==========================
   VISION / PILLIERS
   ========================== */
.vision__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.vision__pillar h3 { font-size: 22px; margin-bottom: 12px; }
.vision__pillar p { color: var(--muted); font-size: 15px; }
.vision__pillar p strong { color: var(--white); font-weight: 600; }
.pillar__num {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 44px;
  font-weight: 400;
  color: var(--accent-soft);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1;
  opacity: 0.9;
}
@media (max-width: 960px) {
  .vision__pillars { grid-template-columns: 1fr; }
}
.vision__pillars .reveal:nth-child(2) { transition-delay: .08s; }
.vision__pillars .reveal:nth-child(3) { transition-delay: .16s; }

/* ==========================
   BEFORE / AFTER
   ========================== */
.ba__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ba__col {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--border);
}
.ba__col--before {
  background: linear-gradient(180deg, rgba(20, 10, 14, 0.6), rgba(10, 6, 8, 0.6));
}
.ba__col--after {
  background:
    radial-gradient(500px 260px at 20% 0%, rgba(78, 128, 238, 0.18), transparent 70%),
    linear-gradient(180deg, rgba(10, 16, 34, 0.85), rgba(6, 9, 20, 0.85));
  border-color: rgba(78, 128, 238, 0.35);
  box-shadow: 0 20px 60px rgba(78, 128, 238, 0.08);
}
.ba__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  margin-bottom: 24px;
  border: 1px solid var(--border);
}
.ba__label--after {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #05070d;
  border-color: transparent;
}
.ba__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ba__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}
.ba__col--before .ba__list li { color: var(--muted); }
.ba__ico {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}
.ba__ico--x {
  background: rgba(255, 90, 90, 0.15);
  color: #ff7a7a;
}
.ba__ico--ok {
  background: rgba(78, 128, 238, 0.2);
  color: var(--accent-soft);
}
@media (max-width: 820px) {
  .ba__grid { grid-template-columns: 1fr; }
}

/* ==========================
   FAQ
   ========================== */
.faq__list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: linear-gradient(180deg, #0a1022 0%, #06090f 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  transition: border-color .3s var(--ease);
}
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--accent-soft);
  transition: transform .3s var(--ease);
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 14px;
  line-height: 1.65;
}

/* ==========================
   SCROLL PROGRESS BAR
   ========================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft), #7e5aff);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 200;
  pointer-events: none;
  will-change: transform;
}

/* ==========================
   HERO CANVAS
   ========================== */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
}

/* ==========================
   MOBILE OVERLAY NAV
   ========================== */
.nav__overlay {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(2, 3, 8, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.nav__overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.nav__overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.nav__overlay-links a {
  font-size: clamp(28px, 8vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--muted);
  padding: 10px 20px;
  transition: color .25s var(--ease), transform .4s var(--ease), opacity .4s var(--ease);
  opacity: 0;
  transform: translateY(18px);
}
.nav__overlay.is-open .nav__overlay-links a {
  opacity: 1;
  transform: translateY(0);
  color: var(--white);
}
.nav__overlay.is-open .nav__overlay-links a:nth-child(1) { transition-delay: .05s; }
.nav__overlay.is-open .nav__overlay-links a:nth-child(2) { transition-delay: .10s; }
.nav__overlay.is-open .nav__overlay-links a:nth-child(3) { transition-delay: .15s; }
.nav__overlay.is-open .nav__overlay-links a:nth-child(4) { transition-delay: .20s; }
.nav__overlay-links a:hover { color: var(--accent-soft) !important; }
.nav__overlay .btn {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s var(--ease) .25s, transform .4s var(--ease) .25s, box-shadow .3s var(--ease);
}
.nav__overlay.is-open .btn { opacity: 1; transform: translateY(0); }

/* ==========================
   BUTTON SHIMMER (primary)
   ========================== */
.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
}
.btn--primary:hover::after {
  animation: shimmer .65s ease-out forwards;
}
@keyframes shimmer {
  0%   { left: -120%; }
  100% { left: 160%; }
}

/* ==========================
   REVEAL — LEFT / RIGHT
   ========================== */
.reveal-left {
  transform: translateX(-32px) !important;
}
.reveal-right {
  transform: translateX(32px) !important;
}
.reveal-left.is-visible,
.reveal-right.is-visible {
  transform: translateX(0) !important;
}

/* ==========================
   SECTION BG GRID PATTERN
   (like bg-pattern component)
   ========================== */
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.014) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.014) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}
.section > .container { position: relative; z-index: 1; }
.section > .stack { position: relative; z-index: 1; }

/* Fade edges on grid */
.section.problem::before,
.section.use-cases::before {
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 80%);
}

/* CTA — dots pattern */
.cta::before {
  background-image: radial-gradient(rgba(78,128,238,0.25) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 30%, transparent 75%);
}

/* ==========================
   SMOOTH SECTION TRANSITIONS
   ========================== */
.section {
  transition: background .5s var(--ease);
}
.glow-card {
  transition: transform .4s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease);
}
.glow-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(78,128,238,0.08);
}

/* Metric counter */
.metric__num {
  transition: color .3s var(--ease);
}
.metric:hover .metric__num {
  color: var(--accent-soft);
}

/* ==========================
   3D CARD TILT (JS sets --rx / --ry)
   ========================== */
.glow-card {
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
}
.glow-card.tilt-active {
  transition: transform .1s ease-out, border-color .3s var(--ease), box-shadow .4s var(--ease);
}

/* ==========================
   NAV LINK UNDERLINE SLIDE
   ========================== */
.nav__links a {
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-soft);
  transition: width .25s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

/* ==========================
   REVEAL — CLIP-PATH VARIANT
   ========================== */
.reveal-clip {
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: opacity .7s var(--ease), clip-path .7s var(--ease);
}
.reveal-clip.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0% 0);
}

/* ==========================
   SECTION ENTRANCE — blur fade
   ========================== */
.reveal {
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .6s var(--ease);
  filter: blur(2px);
}
.reveal.is-visible {
  filter: blur(0);
}

/* ==========================
   EYEBROW PULSE BORDER
   ========================== */
.eyebrow {
  position: relative;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease);
}
section:hover .eyebrow {
  border-color: rgba(78,128,238,0.4);
  box-shadow: 0 0 14px rgba(78,128,238,0.2);
}

/* ==========================
   MAGNETIC BUTTON PREP
   ========================== */
.btn--primary {
  transition: all .3s var(--ease), transform .15s ease-out;
  will-change: transform;
}

/* ==========================
   FAQ SMOOTH OPEN ANIMATION
   ========================== */
.faq__item {
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq__item[open] {
  box-shadow: 0 0 0 1px rgba(78,128,238,0.2), 0 12px 40px rgba(0,0,0,0.3);
}
.faq__item summary {
  transition: color .2s var(--ease);
}
.faq__item[open] summary {
  color: var(--accent-soft);
}

/* ==========================
   FOOTER SOCIAL
   ========================== */
.footer__social {
  margin-top: 14px;
}
.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer__social-link:hover {
  color: var(--accent-soft);
  transform: translateX(3px);
}

/* nav overlay social removed — Instagram now lives in desktop nav (top-left) */

/* ==========================
   PILL SHIMMER ON HOVER
   ========================== */
.pill {
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.pill:hover {
  border-color: rgba(78,128,238,0.4);
  box-shadow: 0 0 20px rgba(78,128,238,0.15);
}

/* ==========================
   STEP INDEX GLOW HOVER
   ========================== */
.step:hover .step__index {
  box-shadow: 0 0 50px rgba(126, 166, 255, 0.6), 0 0 20px rgba(78,128,238,0.4);
  transform: scale(1.08);
  transition: all .35s var(--ease);
}
.step__index {
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}

/* ==========================
   SCROLL PROGRESS — thicker + gradient glow
   ========================== */
.scroll-progress {
  height: 2.5px;
  box-shadow: 0 0 8px rgba(78,128,238,0.7);
}

/* ==========================
   SECTION SEPARATOR GLOW
   ========================== */
.marquee {
  position: relative;
}
.marquee::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(78,128,238,0.5), transparent);
}

/* ==========================
   ORBIT CENTER PULSE
   ========================== */
.orbit__center {
  animation: orbitCenterPulse 4s ease-in-out infinite;
}
@keyframes orbitCenterPulse {
  0%, 100% { box-shadow: 0 0 60px rgba(78, 128, 238, 0.35), 0 20px 40px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 0 90px rgba(78, 128, 238, 0.55), 0 20px 60px rgba(0,0,0,0.5); }
}

/* ==========================
   CARD HOVER — border glow sweep
   ========================== */
.glow-card {
  transition: transform .4s var(--ease), border-color .3s var(--ease), box-shadow .4s var(--ease), filter .3s var(--ease);
}
.glow-card:hover {
  filter: brightness(1.04);
}

/* ==========================
   HERO TRUST AVATARS — stagger pulse
   ========================== */
.avatar:nth-child(1) { animation: avatarPop .6s var(--ease) .1s both; }
.avatar:nth-child(2) { animation: avatarPop .6s var(--ease) .2s both; }
.avatar:nth-child(3) { animation: avatarPop .6s var(--ease) .3s both; }
.avatar:nth-child(4) { animation: avatarPop .6s var(--ease) .4s both; }
@keyframes avatarPop {
  from { opacity: 0; transform: scale(0.6) translateX(-8px); }
  to   { opacity: 1; transform: scale(1) translateX(0); }
}

/* ==========================
   BA COLUMNS HOVER
   ========================== */
.ba__col {
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.ba__col:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

/* ==========================
   USECASE TAG HOVER
   ========================== */
.usecase:hover .usecase__tag {
  background: rgba(78, 128, 238, 0.2);
  color: var(--accent-soft);
  transition: all .25s var(--ease);
}

/* ==========================
   MOBILE RESPONSIVE EXTRAS
   ========================== */
@media (max-width: 560px) {
  .hero__title { font-size: clamp(38px, 11vw, 60px); }
  .hero__ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .chat { margin-top: 40px; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 48px; }
  .stack { padding: 40px 20px; }
  .cta { padding: 64px 18px; margin: 24px 12px; }
  .cta .btn--lg {
    width: 100%;
    max-width: 360px;
    padding: 16px 20px;
    font-size: 15px;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
  .services__cta .btn,
  .stack__ctas .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
    padding: 14px 20px;
  }
  .stack__ctas { width: 100%; flex-direction: column; align-items: stretch; }
  .ba__grid { gap: 14px; }
  .ba__col { padding: 24px 20px; }
}
@media (max-width: 780px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .metrics { grid-template-columns: repeat(2,1fr); }
}
