/* ════════════════════════════════════════════════════════════════════
   LeadFlow Landing · Premium polish + Mobile-first refinements
   Слой поверх landing.css. Усиливает: hero, кнопки, карточки, тени,
   и полностью переделывает мобильный опыт (≤900px).
   ════════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────────
   GLOBAL POLISH
   ───────────────────────────────────────────────────────────────── */
html { scroll-padding-top: 72px; }

body {
  background-image:
    radial-gradient(ellipse 1100px 700px at 85% -8%, rgba(229, 90, 43, 0.10), transparent 55%),
    radial-gradient(ellipse 800px 500px at -10% 35%, rgba(185, 140, 90, 0.08), transparent 60%),
    radial-gradient(ellipse 600px 400px at 50% 120%, rgba(229, 90, 43, 0.05), transparent 70%) !important;
}

/* мягкая зернистость для бумажного эффекта */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

::selection { background: var(--accent); color: white; }

/* ─────────────────────────────────────────────────────────────────
   BUTTONS — премиум press-states
   ───────────────────────────────────────────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 220ms cubic-bezier(0.16, 1, 0.3, 1),
    background 180ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.18), transparent 60%);
  opacity: 0;
  transition: opacity 220ms;
  pointer-events: none;
}
.btn:hover::after { opacity: 1; }
.btn:active {
  transform: translateY(1px) scale(0.985) !important;
  transition-duration: 80ms !important;
}

.btn-primary {
  background: linear-gradient(180deg, #2a221a 0%, var(--ink-1) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -1px 0 rgba(0,0,0,0.20),
    0 1px 2px rgba(28,24,20,0.10),
    0 12px 28px -6px rgba(28,24,20,0.30) !important;
}
.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -1px 0 rgba(0,0,0,0.20),
    0 2px 4px rgba(28,24,20,0.12),
    0 18px 36px -6px rgba(28,24,20,0.40) !important;
  transform: translateY(-1.5px) !important;
}

.btn-accent {
  background: linear-gradient(180deg, #ED6A3B 0%, var(--accent) 60%, var(--accent-2) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(0,0,0,0.14),
    0 1px 2px rgba(217,74,26,0.20),
    0 14px 32px -6px rgba(229,90,43,0.45) !important;
}
.btn-accent:hover {
  background: linear-gradient(180deg, #F27A4D 0%, #E55A2B 60%, var(--accent-2) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.26),
    inset 0 -1px 0 rgba(0,0,0,0.14),
    0 2px 4px rgba(217,74,26,0.22),
    0 20px 44px -6px rgba(229,90,43,0.55) !important;
  transform: translateY(-1.5px) !important;
}

.btn-ghost {
  background: rgba(251, 247, 240, 0.55) !important;
  border: 1px solid var(--line) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 1px 2px rgba(28,24,20,0.04);
}
.btn-ghost:hover {
  background: var(--cream-2) !important;
  border-color: var(--ink-3) !important;
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────────────────────
   NAV — улучшенный backdrop
   ───────────────────────────────────────────────────────────────── */
.nav {
  background: rgba(245, 239, 230, 0.72) !important;
  backdrop-filter: saturate(180%) blur(20px) !important;
  -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
}
.nav.scrolled {
  background: rgba(245, 239, 230, 0.86) !important;
  box-shadow: 0 1px 0 var(--line-soft), 0 8px 24px -12px rgba(28,24,20,0.08);
}
.nav-links a {
  position: relative;
  padding: 6px 2px;
  transition: color 160ms;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 2px; right: 2px; bottom: 0;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ─────────────────────────────────────────────────────────────────
   HERO — премиум-усиления
   ───────────────────────────────────────────────────────────────── */
.hero-kicker {
  position: relative;
  background: rgba(251, 247, 240, 0.72) !important;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 220ms;
}
.hero-kicker:hover {
  transform: translateY(-1px);
  box-shadow:
    0 2px 8px rgba(28,24,20,0.06),
    0 16px 32px -8px rgba(28,24,20,0.10) !important;
}
.hero-kicker-dot {
  position: relative;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.3),
    0 2px 6px -1px rgba(229,90,43,0.45);
}

h1.display em {
  position: relative;
  display: inline-block;
}
h1.display em::after {
  content: '';
  position: absolute;
  left: 4%; right: 4%;
  bottom: 0.04em;
  height: 0.10em;
  background: var(--accent);
  opacity: 0.18;
  border-radius: 2px;
  transform: skewX(-8deg);
}

/* hero-stage shadows */
.hero-stage {
  isolation: isolate;
}
.hero-stage-bg {
  background:
    radial-gradient(ellipse 800px 500px at 50% 40%, rgba(229,90,43,0.12), transparent 65%),
    radial-gradient(ellipse 600px 400px at 20% 80%, rgba(185,140,90,0.14), transparent 70%) !important;
  filter: blur(2px);
}

/* Ambient stats — более премиум */
.ambient-stat {
  background: rgba(251, 247, 240, 0.92) !important;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  box-shadow:
    0 1px 2px rgba(28,24,20,0.06),
    0 12px 32px -6px rgba(28,24,20,0.12),
    0 0 0 1px var(--line-soft) !important;
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms;
}
.ambient-stat:hover {
  transform: translateY(-3px) !important;
  animation-play-state: paused;
  box-shadow:
    0 2px 4px rgba(28,24,20,0.08),
    0 20px 44px -6px rgba(28,24,20,0.18),
    0 0 0 1px var(--accent) !important;
}
.ambient-stat-ico {
  background: linear-gradient(135deg, rgba(229,90,43,0.15), rgba(229,90,43,0.06)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

/* ─────────────────────────────────────────────────────────────────
   PROBLEM CARDS — refined
   ───────────────────────────────────────────────────────────────── */
.problem-card {
  background: rgba(251, 247, 240, 0.72) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 280ms,
    border-color 280ms !important;
  box-shadow:
    0 1px 2px rgba(28,24,20,0.03),
    0 8px 24px -10px rgba(28,24,20,0.10) !important;
}
.problem-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink-3) !important;
  box-shadow:
    0 2px 4px rgba(28,24,20,0.04),
    0 24px 48px -10px rgba(28,24,20,0.15) !important;
}
.problem-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 280ms;
}
.problem-card:hover::after { opacity: 0.55; }

.problem-card-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: var(--cream-2);
  border-radius: 999px;
  border: 1px solid var(--line-soft);
}
.problem-card-time::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(229,90,43,0.18);
  animation: dot-breathe 2.4s ease-in-out infinite;
}
@keyframes dot-breathe {
  0%,100% { box-shadow: 0 0 0 2px rgba(229,90,43,0.18); }
  50%     { box-shadow: 0 0 0 5px rgba(229,90,43,0); }
}

/* ─────────────────────────────────────────────────────────────────
   FEATURES grid — refined hover
   ───────────────────────────────────────────────────────────────── */
.feature {
  position: relative;
  transition: background 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.feature::before {
  content: '';
  position: absolute;
  left: 28px; right: 28px;
  top: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.feature:hover::before { transform: scaleX(1); }
.feature-ico {
  background: linear-gradient(135deg, var(--cream-2), var(--cream-3)) !important;
  transition: background 240ms, transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}
.feature:hover .feature-ico {
  background: linear-gradient(135deg, var(--accent-soft), rgba(229,90,43,0.18)) !important;
  transform: scale(1.06) rotate(-3deg);
}

/* ─────────────────────────────────────────────────────────────────
   PRICING — featured
   ───────────────────────────────────────────────────────────────── */
.price-card {
  transition:
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 280ms,
    border-color 280ms !important;
  box-shadow:
    0 1px 2px rgba(28,24,20,0.03),
    0 6px 18px -8px rgba(28,24,20,0.08) !important;
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink-3) !important;
  box-shadow:
    0 4px 8px rgba(28,24,20,0.06),
    0 24px 56px -12px rgba(28,24,20,0.18) !important;
}
.price-card.featured {
  background: linear-gradient(180deg, #2a221a 0%, var(--ink-1) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 4px 8px rgba(28,24,20,0.10),
    0 24px 56px -12px rgba(28,24,20,0.30) !important;
}
.price-card.featured:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 6px 12px rgba(28,24,20,0.15),
    0 32px 72px -10px rgba(28,24,20,0.40),
    0 0 0 1px var(--accent) !important;
}
.price-badge {
  background: linear-gradient(135deg, var(--accent), var(--accent-2)) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 4px 12px -2px rgba(229,90,43,0.45);
  animation: badge-float 3s ease-in-out infinite;
}
@keyframes badge-float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-2px); }
}

/* ─────────────────────────────────────────────────────────────────
   CTA — больше дыхания
   ───────────────────────────────────────────────────────────────── */
.cta-card {
  background: linear-gradient(180deg, #2a221a 0%, var(--ink-1) 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04),
    0 24px 60px -12px rgba(28,24,20,0.24);
}
.cta-card::before {
  background:
    radial-gradient(ellipse 700px 350px at 30% 0%, rgba(229,90,43,0.30), transparent 65%),
    radial-gradient(ellipse 600px 350px at 80% 100%, rgba(229,90,43,0.18), transparent 70%),
    radial-gradient(ellipse 400px 200px at 50% 50%, rgba(185,140,90,0.10), transparent 70%) !important;
}

/* ─────────────────────────────────────────────────────────────────
   FAQ
   ───────────────────────────────────────────────────────────────── */
.faq-item {
  transition: background 220ms;
  margin: 0 -16px;
  padding: 0 16px;
  border-radius: 12px;
}
.faq-item:hover { background: rgba(251, 247, 240, 0.5); }
.faq-q { transition: color 180ms; }
.faq-item:hover .faq-q { color: var(--accent); }

/* ─────────────────────────────────────────────────────────────────
   APP WINDOW — refined shadow
   ───────────────────────────────────────────────────────────────── */
.app-window {
  box-shadow:
    0 1px 2px rgba(28,24,20,0.04),
    0 24px 56px -12px rgba(28,24,20,0.20),
    0 60px 120px -32px rgba(28,24,20,0.20) !important;
}

/* ════════════════════════════════════════════════════════════════════
   MOBILE-FIRST OPTIMIZATIONS (≤ 900px)
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  html { scroll-padding-top: 60px; }

  .container { padding: 0 20px !important; }
  .section { padding: 60px 0 !important; }
  .section-tight { padding: 48px 0 !important; }

  /* ── HERO mobile ── */
  .hero { padding: 36px 0 24px !important; }
  .hero-kicker {
    font-size: 11.5px !important;
    padding: 5px 12px 5px 6px !important;
    margin-bottom: 22px !important;
  }
  .hero-kicker-dot { width: 18px !important; height: 18px !important; font-size: 10px !important; }

  h1.display {
    font-size: clamp(34px, 9vw, 50px) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.030em !important;
  }
  h2.section-title {
    font-size: clamp(28px, 7.5vw, 40px) !important;
    line-height: 1.05 !important;
    max-width: 100% !important;
  }
  .hero-sub {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin-top: 20px !important;
  }
  .lede {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  .hero-ctas {
    margin-top: 28px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .hero-ctas .btn {
    justify-content: center !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    width: 100% !important;
    min-height: 50px;        /* hit target */
  }
  .hero-trust {
    font-size: 12.5px !important;
    margin-top: 18px !important;
    line-height: 1.45;
    align-items: flex-start;
  }
  .hero-trust-check { margin-top: 2px; flex-shrink: 0; }

  /* hero-stage: компактнее, без боковых ambient-плашек */
  .hero-stage {
    height: auto !important;
    margin-top: 36px !important;
    padding: 20px 0 40px;
  }
  .hero-stage-bg {
    inset: -20px -40px !important;
  }
  .ambient-stat {
    position: static !important;
    animation: none !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
  }
  .ambient-stat-ico { width: 32px !important; height: 32px !important; }
  .ambient-stat-v { font-size: 15px !important; }
  .ambient-stat-k { font-size: 10.5px !important; }
  /* Группируем все ambient-stat в одну компактную полосу под телефоном */
  .hero-stage > .ambient-stat {
    display: inline-flex;
    margin: 8px 4px 0;
  }
  .hero-stage::after {
    /* контейнер-перенос для inline-стопки */
    content: '';
    display: block;
  }

  /* убираем ghost-cursor на мобиле — он только мешает */
  .ghost-cursor { display: none !important; }

  /* ── NAV mobile ── */
  .nav-inner {
    padding: 12px 16px !important;
    gap: 12px !important;
    height: 60px;
    box-sizing: border-box;
  }
  .logo { font-size: 15px !important; }
  .logo-mark { width: 24px !important; height: 24px !important; font-size: 16px !important; }
  .nav-links { display: none !important; }
  .nav-cta {
    margin-left: auto;
    gap: 6px !important;
  }
  .nav-cta .btn {
    padding: 8px 12px !important;
    font-size: 12.5px !important;
    min-height: 36px;
  }
  /* hide secondary login on smallest */
  .nav-cta > a:first-child {
    display: none !important;
  }
  @media (min-width: 480px) {
    .nav-cta > a:first-child { display: inline-flex !important; }
  }

  /* ── PROBLEM mobile ── */
  .problem-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 36px !important;
  }
  .problem-card {
    padding: 22px 20px !important;
    border-radius: 16px !important;
  }
  .problem-card-title { font-size: 19px !important; }
  .problem-card-body { font-size: 14px !important; }
  .mini-chat { margin-top: 16px !important; }
  .mini-bub { font-size: 12.5px !important; padding: 7px 11px !important; }

  /* ── HOW IT WORKS mobile ── */
  .steps-stage {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    margin-top: 36px !important;
  }
  .steps-nav {
    position: static !important;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .step-nav-item {
    padding: 18px 0 !important;
    cursor: pointer;
  }
  .step-nav-title { font-size: 18px !important; line-height: 1.2 !important; }
  .step-nav-n { font-size: 10.5px !important; }
  .step-nav-desc { font-size: 13.5px !important; }
  .step-nav-item.active::before {
    left: -10px !important;
    width: 3px !important;
    height: 22px !important;
    top: 22px !important;
  }
  .step-stage {
    position: static !important;
    height: 380px !important;
    border-radius: 16px !important;
    padding: 12px !important;
  }

  /* ── FEATURES mobile ── */
  .features-grid {
    grid-template-columns: 1fr !important;
    margin-top: 36px !important;
    border-radius: 16px !important;
  }
  .feature {
    padding: 24px 22px !important;
    min-height: auto !important;
  }
  .feature::before { left: 22px !important; right: 22px !important; }
  .feature-ico { width: 32px !important; height: 32px !important; margin-bottom: 14px !important; }
  .feature-title { font-size: 16.5px !important; }
  .feature-desc { font-size: 13.5px !important; }

  /* ── CONNECTION (Telegram) mobile ── */
  #integrations > .container > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  #integrations [style*="border:'2px solid"],
  #integrations [style*='2px solid'] {
    padding: 24px 20px !important;
  }
  #integrations [style*="fontSize:22"] {
    font-size: 18px !important;
  }

  /* ── PRICING mobile ── */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 36px !important;
  }
  .price-card {
    padding: 28px 24px !important;
    border-radius: 16px !important;
  }
  .price-card.featured {
    transform: none !important;
    order: -1; /* поднимаем популярный наверх */
  }
  .price-amount { font-size: 38px !important; }
  .price-feat { font-size: 13.5px !important; }
  .price-card .btn { width: 100%; min-height: 46px; }

  /* ── FAQ mobile ── */
  .faq-list { margin-top: 32px !important; }
  .faq-item {
    margin: 0 -8px !important;
    padding: 0 8px !important;
  }
  .faq-q {
    font-size: 15.5px !important;
    padding: 18px 0 !important;
    line-height: 1.35 !important;
  }
  .faq-a { font-size: 14px !important; }
  .faq-plus { width: 18px !important; height: 18px !important; flex-shrink: 0; }
  .faq-plus::before { top: 8px !important; }
  .faq-plus::after { left: 8px !important; }

  /* ── CTA mobile ── */
  .cta-card {
    padding: 44px 22px !important;
    border-radius: 22px !important;
  }
  .cta-sub { font-size: 15px !important; margin: 16px auto 24px !important; }
  .cta-ctas {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .cta-ctas .btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 50px;
  }

  /* ── FOOTER mobile ── */
  .footer { padding: 40px 0 28px !important; margin-top: 50px !important; }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px !important;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1 !important;
  }
  .foot-link { font-size: 13.5px !important; padding: 6px 0 !important; }
  .footer-bottom {
    margin-top: 36px !important;
    padding-top: 18px !important;
    flex-direction: column !important;
    gap: 6px;
    text-align: center;
    font-size: 12px !important;
  }
}

/* ─────────────────────────────────────────────────────────────────
   PHONE-SMALL ≤ 480px
   ───────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px !important; }
  .section { padding: 48px 0 !important; }

  h1.display {
    font-size: clamp(30px, 9vw, 38px) !important;
    line-height: 1.04 !important;
  }
  h2.section-title {
    font-size: clamp(24px, 7.6vw, 32px) !important;
  }
  .hero-sub { font-size: 15px !important; }
  .lede { font-size: 15px !important; }

  .nav-inner { padding: 10px 14px !important; }
  .nav-cta .btn {
    padding: 7px 11px !important;
    font-size: 12px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .step-stage { height: 340px !important; }

  .ambient-stat {
    padding: 9px 12px !important;
  }
  .ambient-stat-ico { width: 28px !important; height: 28px !important; }
  .ambient-stat-v { font-size: 14px !important; }

  .hero-kicker {
    font-size: 11px !important;
    line-height: 1.3;
  }
}

/* ─────────────────────────────────────────────────────────────────
   TOUCH HOVER FIX — на тач-устройствах убираем sticky hover
   ───────────────────────────────────────────────────────────────── */
@media (hover: none) {
  .btn:hover { transform: none !important; }
  .problem-card:hover,
  .price-card:hover,
  .feature:hover { transform: none !important; }
  .feature:hover .feature-ico { transform: none !important; }
}

/* ─────────────────────────────────────────────────────────────────
   REDUCED MOTION
   ───────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ════════════════════════════════════════════════════════════════════
   PACKAGES 1+2+3 (2026-04-29) — kinetic kicker, magnetic CTAs,
   TrustBar with marquee, Comparison table, page slide-in transitions.
   ════════════════════════════════════════════════════════════════════ */

/* ─── Magnetic buttons — smooth pull-toward-cursor ───────────────── */
.btn-magnetic {
  position: relative;
  transition: transform 380ms cubic-bezier(0.16, 1, 0.3, 1),
              background-color 200ms ease,
              box-shadow 200ms ease;
  will-change: transform;
}
.btn-magnetic::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, color-mix(in oklch, var(--accent) 30%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 240ms ease;
  z-index: -1;
  filter: blur(10px);
}
.btn-magnetic:hover::before { opacity: 1; }

/* ─── Page transitions — overlay slides in from right + fades ──────
   Patches the existing .lf-page open/close to feel kinetic instead of
   instant. Only the inner content slides; the backdrop fades. */
.lf-page {
  transition: opacity 360ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.lf-page .lf-page-bar,
.lf-page .lf-page-content {
  transition: transform 480ms cubic-bezier(0.16, 1, 0.3, 1),
              opacity 360ms cubic-bezier(0.16, 1, 0.3, 1);
}
.lf-page:not(.is-open) .lf-page-bar {
  transform: translateY(-24px);
  opacity: 0;
}
.lf-page:not(.is-open) .lf-page-content {
  transform: translateY(28px) scale(0.985);
  opacity: 0;
}
.lf-page.is-open .lf-page-bar,
.lf-page.is-open .lf-page-content {
  transform: none;
  opacity: 1;
}

/* ─── Sequential reveal — stagger via CSS, no extra JS ───────────── */
.features-grid > .feature {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 480ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
}
.features-grid > .feature.in {
  opacity: 1;
  transform: none;
}

/* Reduced motion respects user pref */
@media (prefers-reduced-motion: reduce) {
  .trust-marquee-track { animation: none !important; }
  .hero-kicker-pulse::before, .hero-kicker-pulse::after { animation: none !important; }
  .btn-magnetic { transition: none !important; transform: none !important; }
}
