/* ════════════════════════════════════════════════════════════════
   AS AUTOMATION SYSTEMS — CORE DESIGN SYSTEM
   Shared across homepage and all product pages
════════════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --bg-0: #f4f6ff;
  --bg-1: #eceffe;
  --bg-card: rgba(255,255,255,.97);
  --bg-base: var(--bg-0);

  --c-blue:   #4f6ef7;
  --c-blue-b: #3a57e8;
  --c-purple: #7c3aed;
  --c-purp-b: #9333ea;
  --c-cyan:   #0891b2;
  --c-green:  #059669;
  --c-amber:  #d97706;
  --c-pink:   #ec4899;

  --t-1: #0d1340;
  --t-2: #3d4f7a;
  --t-3: #7b8db8;

  --b-0: rgba(79,110,247,.13);
  --b-glow: rgba(99,102,241,.22);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --ease: cubic-bezier(.4,0,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --ease-out-expo: cubic-bezier(.16,1,.3,1);

  --sh-card: 0 4px 24px rgba(79,110,247,.10), 0 0 0 1px rgba(79,110,247,.08);
  --sh-card-hover: 0 12px 40px rgba(79,110,247,.14), 0 0 0 1px rgba(79,110,247,.12);
  --sh-glow-b: 0 0 40px rgba(79,110,247,.14), 0 0 80px rgba(79,110,247,.05);
  --sh-glow-p: 0 0 40px rgba(124,58,237,.14), 0 0 80px rgba(124,58,237,.05);
  --sh-glow: var(--sh-glow-b);

  --f-display: 'Inter', system-ui, -apple-system, sans-serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;
  --f-mono:    ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --f-arabic:  'Tajawal', 'Segoe UI', system-ui, sans-serif;

  --gl: rgba(79,110,247,.055);
  --gl-h: rgba(79,110,247,.10);
}

[data-theme="dark"] {
  --bg-0: #0b0d14;
  --bg-1: #131629;
  --bg-card: rgba(19,22,41,.97);
  --bg-base: var(--bg-0);

  --t-1: #e8eaff;
  --t-2: #8b94c4;
  --t-3: #4a527a;

  --b-0: rgba(79,110,247,.18);
  --b-glow: rgba(99,102,241,.28);

  --sh-card: 0 4px 24px rgba(0,0,10,.4), 0 0 0 1px rgba(79,110,247,.12);
  --sh-card-hover: 0 12px 40px rgba(0,0,10,.5), 0 0 0 1px rgba(79,110,247,.18);
  --sh-glow-b: 0 0 40px rgba(79,110,247,.22), 0 0 80px rgba(79,110,247,.08);
  --sh-glow-p: 0 0 40px rgba(124,58,237,.22), 0 0 80px rgba(124,58,237,.08);

  --gl: rgba(79,110,247,.07);
  --gl-h: rgba(79,110,247,.14);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--f-body);
  background: var(--bg-0);
  color: var(--t-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Smooth background/color transition when toggling theme */
  transition: background-color .3s ease, color .3s ease;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
a { color: inherit; }

/* ── Accessibility ── */
.skip-link {
  position: absolute; top: -100%; left: 16px;
  background: var(--c-blue); color: #fff;
  padding: 10px 18px; border-radius: 0 0 8px 8px;
  font-family: var(--f-display); font-size: 14px; font-weight: 600;
  text-decoration: none; z-index: 10000;
  transition: top .15s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Scrollbar & Selection ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: rgba(79,110,247,.4); border-radius: 3px; }
::selection { background: rgba(79,110,247,.2); color: var(--t-1); }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; position: relative; z-index: 2; }
.section-sep {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 480px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--b-glow), transparent);
  pointer-events: none;
}

/* ── Typography ── */
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--t-1);
  max-width: 600px;
  margin: 0 auto;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--t-2);
  line-height: 1.7;
  max-width: 560px;
  margin: 12px auto 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-blue); margin-bottom: 14px;
}
.eyebrow-bar {
  width: 24px; height: 2px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-purple));
  border-radius: 2px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 26px; border-radius: 14px;
  font-family: var(--f-display); font-size: 14.5px; font-weight: 600;
  letter-spacing: -.01em; text-decoration: none; border: none;
  cursor: pointer; position: relative; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-purple) 100%);
  color: #fff;
  box-shadow: 0 0 28px rgba(79,110,247,.28), 0 4px 14px rgba(79,110,247,.18), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-primary:hover {
  box-shadow: 0 0 44px rgba(79,110,247,.44), 0 6px 20px rgba(79,110,247,.24), inset 0 1px 0 rgba(255,255,255,.2);
  transform: translateY(-2px);
}
.btn-secondary {
  background: var(--gl); color: var(--t-1);
  border: 1px solid var(--b-0); backdrop-filter: blur(12px);
}
.btn-secondary:hover {
  border-color: rgba(79,110,247,.25); background: var(--gl-h);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; color: var(--c-blue);
  border: none; padding: 8px 0;
  font-family: var(--f-display); font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s var(--ease);
}
.btn-ghost:hover { gap: 10px; }

/* ── Navigation ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0;
  background: rgba(244,246,255,.88);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(79,110,247,.10);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled, .site-header.stuck {
  box-shadow: 0 4px 32px rgba(79,110,247,.08);
  background: rgba(244,246,255,.95);
}
[data-theme="dark"] .site-header,
[data-theme="dark"] .site-header.scrolled,
[data-theme="dark"] .site-header.stuck {
  background: rgba(13,15,26,.92);
  border-bottom-color: rgba(79,110,247,.16);
}

.nav {
  display: flex; align-items: center; height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; margin-right: auto;
}
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 13px; color: #fff;
  box-shadow: 0 0 20px rgba(99,102,241,.4);
  position: relative;
}
.brand-mark::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid rgba(255,255,255,.14);
}
.brand-text {
  font-family: var(--f-display); font-weight: 600; font-size: 15px;
  color: var(--t-1); letter-spacing: -.02em;
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  margin-right: 14px;
}
.nav-link {
  padding: 8px 14px; border-radius: 10px;
  font-family: var(--f-display); font-size: 14px; font-weight: 500;
  color: var(--t-2); text-decoration: none;
  transition: color .2s var(--ease), background .2s var(--ease);
  position: relative;
}
.nav-link:hover { color: var(--t-1); background: var(--gl); }
.nav-link.active { color: var(--c-blue); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-card); border: 1px solid var(--b-0);
  border-radius: 18px; padding: 10px;
  box-shadow: var(--sh-card), 0 16px 48px rgba(79,110,247,.14);
  min-width: 240px; display: grid; gap: 2px;
  opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  z-index: 2000;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; border-radius: 12px;
  text-decoration: none; color: var(--t-2);
  transition: background .18s, color .18s;
  font-size: 13.5px;
}
.nav-dropdown-item:hover { background: var(--gl); color: var(--t-1); }
.nav-dropdown-item > span:first-child { font-size: 20px; width: 28px; text-align: center; flex-shrink: 0; }
.nav-dropdown-item small {
  display: block; font-family: var(--f-mono); font-size: 10.5px;
  color: var(--t-3); margin-top: 1px; letter-spacing: .02em;
}

.nav-toggles {
  display: flex; align-items: center; gap: 6px;
  margin-right: 12px;
}
.nav-toggle-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--b-0); background: var(--gl);
  cursor: pointer; font-size: 15px;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .15s var(--ease);
  flex-shrink: 0; color: var(--t-1);
}
.nav-toggle-btn:hover { background: var(--gl-h); transform: scale(1.08); }
.lang-toggle-btn {
  font-family: var(--f-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .04em; width: auto; padding: 0 12px; color: var(--t-2);
}

.nav-cta-btn {
  display: inline-flex; align-items: center;
  padding: 9px 20px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
  color: #fff; font-family: var(--f-display); font-size: 13px; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 0 22px rgba(79,110,247,.25);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.nav-cta-btn:hover {
  box-shadow: 0 0 36px rgba(79,110,247,.45);
  transform: translateY(-1px);
}

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; background: transparent; border: none;
  margin-left: 10px; z-index: 1001; position: relative;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--t-1); border-radius: 2px;
  transform-origin: center;
  transition: transform .35s var(--ease), opacity .25s var(--ease), width .25s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Nav Overlay (Full-Screen Menu) ──────────────────────────── */
.nav-overlay {
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden;
  pointer-events: none;
}
.nav-overlay.active {
  visibility: visible;
  pointer-events: all;
}

/* SVG background path */
.nav-overlay-bg {
  position: absolute; inset: 0; z-index: 0;
}
.nav-overlay-bg svg {
  width: 100%; height: 100%; display: block;
}
.nav-overlay-bg path {
  fill: #0b0d14;
}
[data-theme="dark"] .nav-overlay-bg path {
  fill: #07080f;
}

/* Menu layout */
.nav-overlay-menu {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  width: 100%; max-width: 1200px;
  padding: 0 28px;
  gap: 48px;
}

/* Primary links */
.nav-overlay-primary {
  display: flex; flex-direction: column;
  gap: 8px;
}
.nav-overlay-primary .nav-overlay-item a {
  display: inline-flex; align-items: baseline; gap: 16px;
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: #e8eaff;
  text-decoration: none;
  text-transform: uppercase;
  position: relative; top: 80px;
  transition: letter-spacing 750ms cubic-bezier(.075, .82, .165, 1);
}
.nav-overlay-primary .nav-overlay-item a span {
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--c-blue);
  letter-spacing: .02em;
  opacity: .7;
}
.nav-overlay-primary .nav-overlay-item a:hover {
  letter-spacing: .04em;
  color: #fff;
}

/* Secondary links */
.nav-overlay-secondary {
  display: flex; flex-wrap: wrap;
  gap: 12px 32px;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
}
.nav-overlay-secondary .nav-overlay-item a {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 500;
  color: rgba(232,234,255,.55);
  text-decoration: none;
  letter-spacing: .02em;
  position: relative; top: 40px;
  transition: color .3s var(--ease);
}
.nav-overlay-secondary .nav-overlay-item a:hover {
  color: #fff;
}

/* Revealer mask */
.nav-overlay-item {
  position: relative; overflow: hidden;
}
.nav-overlay-revealer {
  position: absolute; inset: 0;
  background: #0b0d14;
}
[data-theme="dark"] .nav-overlay-revealer {
  background: #07080f;
}

/* RTL */
[dir="rtl"] .nav-overlay-primary .nav-overlay-item a { flex-direction: row-reverse; }
[dir="rtl"] .nav-overlay-secondary { justify-content: flex-end; }

/* Responsive */
@media (max-width: 640px) {
  .nav-overlay-menu { padding: 0 20px; gap: 36px; }
  .nav-overlay-primary .nav-overlay-item a { gap: 10px; top: 60px; }
  .nav-overlay-secondary { gap: 10px 20px; padding-top: 20px; }
}

/* ── Cards ── */
.feat-card, .testi-card, .use-case-card, .step, .price-card {
  background: var(--bg-card); border: 1px solid var(--b-0);
  border-radius: var(--r-lg); box-shadow: var(--sh-card);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.feat-card:hover, .testi-card:hover, .use-case-card:hover, .step:hover, .price-card:hover {
  border-color: rgba(79,110,247,.28); box-shadow: var(--sh-card-hover); transform: translateY(-4px);
}

/* ── Feature Cards ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat-card { padding: 28px; }
.feat-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: rgba(79,110,247,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(79,110,247,.15);
}
.feat-icon svg { width: 22px; height: 22px; }
.feat-title { font-family: var(--f-display); font-size: 16px; font-weight: 600; color: var(--t-1); margin-bottom: 8px; }
.feat-desc { font-size: 13.5px; color: var(--t-2); line-height: 1.65; }
.feat-outcome {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--b-0);
  font-family: var(--f-mono); font-size: 11px; color: var(--c-green);
  display: flex; align-items: center; gap: 5px;
}

/* ── Testimonials ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi-card { padding: 28px; position: relative; overflow: hidden; }
.testi-stars { color: #f59e0b; font-size: 14px; letter-spacing: 2px; margin-bottom: 14px; }
.testi-body, .testi-text { font-size: 14px; color: var(--t-2); line-height: 1.72; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 14px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-name { font-family: var(--f-display); font-size: 13.5px; font-weight: 600; color: var(--t-1); }
.testi-role { font-size: 12px; color: var(--t-3); }
.testi-result {
  margin-top: 16px; padding: 10px 14px; border-radius: 10px;
  background: rgba(5,150,105,.08); border: 1px solid rgba(5,150,105,.2);
  font-family: var(--f-mono); font-size: 11px; color: var(--c-green); font-weight: 600;
}

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.price-card { padding: 36px 30px; position: relative; overflow: hidden; }
.price-card.featured {
  border-color: rgba(79,110,247,.35);
  background: linear-gradient(160deg, rgba(248,249,255,.99), rgba(240,234,255,.96));
  box-shadow: var(--sh-card), var(--sh-glow-p);
  transform: scale(1.02);
}
.price-card.featured:hover { transform: scale(1.02) translateY(-4px); }
[data-theme="dark"] .price-card.featured {
  background: linear-gradient(160deg, rgba(22,25,48,.99), rgba(19,22,41,.96));
}
.featured-badge {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  font-family: var(--f-mono); font-size: 9.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
  color: #fff; border-radius: 0 0 10px 10px; padding: 4px 14px;
}
.price-tier {
  font-family: var(--f-display); font-size: 13px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--t-3); margin-bottom: 14px;
}
.price-amount-row { display: flex; align-items: flex-start; gap: 4px; margin-bottom: 4px; }
.price-currency { font-family: var(--f-display); font-size: 20px; font-weight: 600; color: var(--t-2); margin-top: 8px; }
.price-amount { font-family: var(--f-display); font-size: 52px; font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--t-1); transition: all .3s var(--ease); }
.price-amount-orig { font-family: var(--f-mono); font-size: 13px; color: var(--t-3); text-decoration: line-through; margin-left: 6px; margin-top: 10px; display: none; }
.annual-active .price-amount-orig { display: inline; }
.price-period { font-family: var(--f-mono); font-size: 12px; color: var(--t-3); margin-bottom: 20px; }
.price-desc { font-size: 13.5px; color: var(--t-2); line-height: 1.62; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--b-0); }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.price-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; color: var(--t-2); line-height: 1.5; }
.pf-check {
  width: 18px; height: 18px; border-radius: 6px; flex-shrink: 0; margin-top: 1px;
  background: rgba(79,110,247,.1); border: 1px solid rgba(79,110,247,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; color: var(--c-blue-b);
}
.price-card.featured .pf-check { background: rgba(99,102,241,.16); border-color: rgba(99,102,241,.3); color: var(--c-blue); }
.price-cta-note { font-family: var(--f-mono); font-size: 10.5px; color: var(--t-3); text-align: center; margin-top: 12px; letter-spacing: .02em; }

.billing-toggle-row { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 48px; }
.billing-label { font-family: var(--f-mono); font-size: 12px; color: var(--t-3); letter-spacing: .04em; }
.billing-label.active-label { color: var(--t-1); font-weight: 600; }
.toggle-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track {
  position: absolute; inset: 0; background: var(--gl); border: 1px solid var(--b-0);
  border-radius: 100px; cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.toggle-track::before {
  content: ''; position: absolute; left: 3px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; border-radius: 50%; background: var(--t-3);
  transition: transform .3s var(--spring), background .25s var(--ease);
}
.toggle-switch input:checked + .toggle-track { background: linear-gradient(135deg, var(--c-blue), var(--c-purple)); border-color: transparent; }
.toggle-switch input:checked + .toggle-track::before { transform: translate(20px, -50%); background: #fff; }
.annual-badge { font-family: var(--f-mono); font-size: 10px; font-weight: 600; color: var(--c-green); background: rgba(16,185,129,.1); border: 1px solid rgba(16,185,129,.22); border-radius: 100px; padding: 2px 8px; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--b-0); border-radius: 16px; overflow: hidden; box-shadow: var(--sh-card); transition: border-color .3s var(--ease); }
.faq-item:hover { border-color: rgba(79,110,247,.22); }
.faq-item.open { border-color: rgba(79,110,247,.28); box-shadow: var(--sh-card), 0 0 32px rgba(79,110,247,.09); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 24px; background: transparent; border: none; cursor: pointer;
  font-family: var(--f-display); font-size: 15px; font-weight: 600; letter-spacing: -.01em;
  color: var(--t-1); text-align: left; transition: color .2s var(--ease); user-select: none;
}
.faq-q:hover { color: var(--c-blue); }
.faq-icon {
  width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; background: var(--gl); border: 1px solid var(--b-0);
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 400; color: var(--t-3);
  transition: transform .35s var(--spring), background .2s var(--ease), color .2s var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(79,110,247,.12); color: var(--c-blue); border-color: rgba(79,110,247,.3); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .35s var(--ease); padding: 0 24px; font-size: 14px; color: var(--t-2); line-height: 1.75; }
.faq-item.open .faq-a { max-height: 300px; padding: 0 24px 22px; }

/* ── CTA Section ── */
.cta-section { padding: 96px 0; background: linear-gradient(135deg, rgba(79,110,247,.06) 0%, rgba(124,58,237,.06) 100%); border-top: 1px solid var(--b-0); }
.cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-h2 { font-family: var(--f-display); font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.15; color: var(--t-1); margin-bottom: 16px; }
.cta-sub { font-size: 16px; color: var(--t-2); line-height: 1.7; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-family: var(--f-mono); font-size: 11.5px; color: var(--t-3); margin-top: 16px; }

/* ── Sticky CTA ── */
.sticky-cta {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px); z-index: 500;
  display: flex; align-items: center; gap: 12px;
  background: var(--bg-card); border: 1px solid var(--b-0);
  border-radius: 999px; padding: 10px 10px 10px 20px;
  box-shadow: 0 8px 40px rgba(79,110,247,.18), 0 0 0 1px rgba(79,110,247,.08);
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
  white-space: nowrap;
}
.sticky-cta.visible { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.sticky-cta-txt { font-family: var(--f-display); font-size: 13.5px; font-weight: 500; color: var(--t-2); }
.sticky-cta-btn {
  padding: 10px 22px; border-radius: 999px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
  color: #fff; text-decoration: none;
  font-family: var(--f-display); font-size: 13px; font-weight: 600;
  box-shadow: 0 0 22px rgba(79,110,247,.25);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.sticky-cta-btn:hover { box-shadow: 0 0 36px rgba(79,110,247,.5); transform: translateY(-1px); }

/* ── Footer ── */
.site-footer { border-top: 1px solid var(--b-0); padding: 0; position: relative; z-index: 2; background: rgba(244,246,255,.96); backdrop-filter: blur(20px); }
[data-theme="dark"] .site-footer { background: rgba(13,15,26,.95); }
.footer-top { padding: 56px 0 44px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 0; }
.footer-brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 13px; color: #fff;
  box-shadow: 0 0 18px rgba(99,102,241,.35);
}
.footer-brand-name { font-family: var(--f-display); font-weight: 600; font-size: 15px; color: var(--t-1); letter-spacing: -.02em; }
.footer-tagline { font-size: 13.5px; color: var(--t-3); line-height: 1.72; max-width: 240px; margin-bottom: 18px; }
.footer-socials { display: flex; gap: 8px; }
.footer-social-btn {
  width: 34px; height: 34px; border-radius: 9px; background: var(--gl); border: 1px solid var(--b-0);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  text-decoration: none; color: var(--t-3);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.footer-social-btn:hover { background: var(--gl-h); border-color: var(--b-glow); color: var(--t-1); transform: translateY(-2px); }
.footer-col-title { font-family: var(--f-display); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--t-1); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; list-style: none; }
.footer-links a { font-size: 13.5px; color: var(--t-3); text-decoration: none; transition: color .18s var(--ease); display: inline-flex; align-items: center; gap: 5px; }
.footer-links a:hover { color: var(--c-blue); }
.footer-bottom { border-top: 1px solid var(--b-0); padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.footer-bottom-left { font-family: var(--f-mono); font-size: 12px; color: var(--t-3); }
.footer-bottom-right { display: flex; align-items: center; gap: 16px; }
.footer-bottom-right a { font-family: var(--f-mono); font-size: 12px; color: var(--t-3); text-decoration: none; transition: color .18s var(--ease); }
.footer-bottom-right a:hover { color: var(--c-blue); }
.footer-contact-line { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--t-3); text-decoration: none; transition: color .18s var(--ease); }
.footer-contact-item:hover { color: var(--c-blue); }
.footer-contact-icon { font-size: 16px; flex-shrink: 0; }
.footer-legal-row { border-top: 1px solid var(--b-0); padding: 16px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.footer-legal-link { font-family: var(--f-mono); font-size: 11px; color: var(--t-3); text-decoration: none; transition: color .18s var(--ease); }
.footer-legal-link:hover { color: var(--c-blue); }
.footer-legal-sep { color: var(--t-3); opacity: .35; font-size: 11px; }

/* ── Forms ── */
.contact-section { padding: 96px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-copy-label { font-family: var(--f-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--c-blue-b); margin-bottom: 16px; display: block; }
.contact-copy-h2 { font-family: var(--f-display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -.03em; color: var(--t-1); line-height: 1.15; margin-bottom: 14px; }
.contact-copy-p { font-size: 15.5px; color: var(--t-2); line-height: 1.7; margin-bottom: 28px; }
.contact-alt-links { display: flex; flex-direction: column; gap: 10px; }
.contact-alt-link { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-md); background: var(--bg-card); border: 1px solid var(--b-0); text-decoration: none; color: var(--t-2); font-size: 14px; transition: border-color .2s, color .2s, transform .2s; }
.contact-alt-link:hover { border-color: rgba(79,110,247,.3); color: var(--t-1); transform: translateX(4px); }
.contact-alt-icon { font-size: 18px; flex-shrink: 0; }
.contact-alt-text { display: flex; flex-direction: column; gap: 1px; }
.contact-alt-label { font-family: var(--f-display); font-size: 13px; font-weight: 600; color: var(--t-1); }
.contact-alt-sub { font-family: var(--f-mono); font-size: 11px; color: var(--t-3); }
.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--b-0); border-radius: var(--r-xl); padding: 40px; box-shadow: var(--sh-card); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.cf-field:last-child { margin-bottom: 0; }
.cf-label { font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; color: var(--t-2); letter-spacing: .02em; }
.cf-label .cf-required { color: var(--c-blue); margin-left: 2px; }
.cf-input, .cf-select, .cf-textarea {
  padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--b-0); background: var(--bg-0);
  font-family: var(--f-body); font-size: 14px; color: var(--t-1);
  transition: border-color .2s, box-shadow .2s;
  appearance: none; width: 100%;
}
.cf-input:focus, .cf-select:focus, .cf-textarea:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(79,110,247,.12); }
.cf-input.invalid, .cf-select.invalid, .cf-textarea.invalid { border-color: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.1); }
.cf-error { font-family: var(--f-mono); font-size: 11px; color: #ef4444; display: none; margin-top: 2px; }
.cf-error.visible { display: block; }
.cf-textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.cf-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237b8db8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; cursor: pointer;
}
.cf-submit {
  width: 100%; padding: 14px; border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
  color: #fff; font-family: var(--f-display); font-size: 15px; font-weight: 700;
  border: none; cursor: pointer; box-shadow: 0 4px 16px rgba(79,110,247,.25);
  transition: opacity .2s, transform .2s, box-shadow .2s; margin-top: 6px;
}
.cf-submit:hover { opacity: .92; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(79,110,247,.35); }
.cf-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.cf-note { font-family: var(--f-mono); font-size: 10.5px; color: var(--t-3); text-align: center; margin-top: 10px; }
.cf-success { display: none; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 40px 20px; }
.cf-success.visible { display: flex; }
.cf-success-icon { font-size: 40px; }
.cf-success-h3 { font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--t-1); }
.cf-success-p { font-size: 14px; color: var(--t-2); max-width: 320px; line-height: 1.6; }

/* ── Chat ── */
#chat-launcher { position: fixed; bottom: 90px; right: 28px; z-index: 991; display: flex; align-items: center; gap: 10px; }
#chat-launcher-btn {
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(79,110,247,.42), 0 0 0 0 rgba(79,110,247,.3);
  cursor: pointer; transition: transform .2s var(--spring), box-shadow .2s;
  animation: chat-pulse 3.2s ease-in-out infinite; flex-shrink: 0; position: relative;
}
#chat-launcher-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(79,110,247,.55); animation: none; }
#chat-launcher-btn:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 3px; }
@keyframes chat-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(79,110,247,.38), 0 0 0 0 rgba(79,110,247,.28); }
  50%      { box-shadow: 0 4px 20px rgba(79,110,247,.38), 0 0 0 10px rgba(79,110,247,.0); }
}
#chat-launcher-tooltip {
  background: var(--bg-card); border: 1px solid var(--b-0); border-radius: 10px; padding: 8px 14px;
  font-family: var(--f-display); font-size: 13px; font-weight: 500; color: var(--t-2);
  white-space: nowrap; opacity: 0; transform: translateX(8px);
  transition: opacity .18s, transform .18s; pointer-events: none; box-shadow: 0 4px 16px rgba(0,0,0,.07);
}
#chat-launcher:hover #chat-launcher-tooltip { opacity: 1; transform: translateX(0); }
#chat-backdrop { position: fixed; inset: 0; z-index: 1096; background: rgba(13,19,64,.45); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .3s; }
#chat-backdrop.open { opacity: 1; pointer-events: all; }

#chat-panel {
  position: fixed; z-index: 1097; right: 24px; bottom: 24px; width: 380px; height: 580px; max-height: calc(100svh - 48px);
  background: var(--bg-card); border: 1px solid rgba(79,110,247,.18); border-radius: 22px;
  box-shadow: 0 20px 60px rgba(13,19,64,.22), 0 0 0 1px rgba(79,110,247,.08), var(--sh-glow-b);
  display: flex; flex-direction: column; overflow: hidden;
  transform: translateY(28px) scale(.96); opacity: 0; pointer-events: none;
  transition: transform .32s var(--spring), opacity .28s; transform-origin: bottom right; will-change: transform, opacity;
}
#chat-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }

#chat-panel-header {
  padding: 16px 18px; background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-purple) 100%);
  display: flex; align-items: center; gap: 12px; flex-shrink: 0; position: relative;
}
#chat-panel-header::after { content: ''; position: absolute; bottom: 0; left: 10%; right: 10%; height: 1px; background: rgba(255,255,255,.15); }
.chat-header-avatar {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 13px; color: #fff; border: 1px solid rgba(255,255,255,.25);
}
.chat-header-info { flex: 1; min-width: 0; }
.chat-header-name { font-family: var(--f-display); font-size: 14px; font-weight: 600; color: #fff; line-height: 1.2; }
.chat-header-status { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-family: var(--f-mono); font-size: 10px; color: rgba(255,255,255,.7); letter-spacing: .04em; }
.chat-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; animation: pulse-dot 2s ease-in-out infinite; }
#chat-close-btn {
  width: 30px; height: 30px; border-radius: 8px; border: none; background: rgba(255,255,255,.15); color: #fff;
  display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background .15s;
}
#chat-close-btn:hover { background: rgba(255,255,255,.28); }
#chat-close-btn:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }

#chat-body { flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden; background: var(--bg-0); }
#chat-welcome {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px 20px; text-align: center;
}
#chat-welcome.hidden { display: none; }
.chat-welcome-icon {
  width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 18px; color: #fff; box-shadow: 0 6px 24px rgba(79,110,247,.32);
}
.chat-welcome-h { font-family: var(--f-display); font-size: 15px; font-weight: 700; color: var(--t-1); line-height: 1.3; }
.chat-welcome-p { font-size: 12.5px; color: var(--t-3); line-height: 1.6; max-width: 230px; }
.chat-welcome-starters { display: flex; flex-direction: column; gap: 7px; width: 100%; margin-top: 4px; }
.chat-starter-btn {
  text-align: left; padding: 9px 14px; border-radius: 11px; border: 1px solid var(--b-0); background: var(--gl);
  font-family: var(--f-display); font-size: 12.5px; color: var(--t-2); cursor: pointer;
  transition: background .15s, border-color .15s, color .15s; line-height: 1.4;
}
.chat-starter-btn:hover { background: var(--gl-h); border-color: rgba(79,110,247,.25); color: var(--t-1); }

#chat-messages { flex: 1; overflow-y: auto; padding: 14px 14px 6px; display: none; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
#chat-messages.active { display: flex; }
#chat-messages::-webkit-scrollbar { width: 3px; }
#chat-messages::-webkit-scrollbar-thumb { background: rgba(79,110,247,.2); border-radius: 2px; }

.chat-msg { display: flex; gap: 7px; align-items: flex-end; }
.chat-msg-bot { flex-direction: row; }
.chat-msg-user { flex-direction: row-reverse; }
.chat-msg-avatar {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 9px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple)); letter-spacing: -.02em;
}
.chat-msg-user .chat-msg-avatar { background: var(--t-2); font-size: 12px; }
.chat-msg-bubble { max-width: calc(100% - 36px); padding: 9px 12px; border-radius: 13px; font-family: var(--f-body); font-size: 13px; line-height: 1.58; word-break: break-word; }
.chat-msg-bot .chat-msg-bubble { background: var(--bg-1); color: var(--t-1); border-radius: 4px 13px 13px 13px; }
.chat-msg-user .chat-msg-bubble { background: linear-gradient(135deg, var(--c-blue) 0%, var(--c-purple) 100%); color: #fff; border-radius: 13px 4px 13px 13px; }
.chat-msg-error .chat-msg-bubble { background: rgba(239,68,68,.09); color: #b91c1c; border: 1px solid rgba(239,68,68,.18); border-radius: 13px; }
.chat-msg-bubble code { background: rgba(0,0,0,.07); border-radius: 4px; padding: 1px 5px; font-size: 11.5px; font-family: var(--f-mono); }
.chat-msg-user .chat-msg-bubble code { background: rgba(255,255,255,.2); }

#chat-typing { display: none; flex-direction: row; gap: 7px; align-items: flex-end; padding: 0 14px 8px; flex-shrink: 0; }
#chat-typing.visible { display: flex; }
.typing-bubble { background: var(--bg-1); border-radius: 4px 13px 13px 13px; padding: 9px 13px; display: flex; gap: 4px; align-items: center; }
.typing-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--t-3); flex-shrink: 0; animation: typing-bounce 1.3s ease-in-out infinite; }
.typing-dot:nth-child(2) { animation-delay: .18s; }
.typing-dot:nth-child(3) { animation-delay: .36s; }
@keyframes typing-bounce { 0%,80%,100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-5px); opacity: 1; } }

#chat-input-bar { padding: 10px 12px; border-top: 1px solid var(--b-0); display: flex; gap: 8px; align-items: flex-end; background: var(--bg-0); flex-shrink: 0; }
#chat-input {
  flex: 1; border: 1.5px solid var(--b-0); border-radius: 11px; padding: 9px 12px;
  font-family: var(--f-body); font-size: 13.5px; color: var(--t-1); background: var(--bg-0); resize: none;
  line-height: 1.45; max-height: 96px; overflow-y: auto; transition: border-color .18s, box-shadow .18s;
}
#chat-input:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(79,110,247,.1); }
#chat-input::placeholder { color: var(--t-3); }
#chat-send-btn {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--c-blue), var(--c-purple)); border: none; cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center; transition: opacity .15s, transform .15s var(--spring);
}
#chat-send-btn:hover:not(:disabled) { opacity: .88; transform: scale(1.06); }
#chat-send-btn:disabled { opacity: .32; cursor: not-allowed; }
#chat-send-btn:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }

.chat-net-error { margin: 4px 14px 8px; padding: 9px 12px; border-radius: 11px; background: rgba(239,68,68,.08); border: 1px solid rgba(239,68,68,.18); font-size: 12px; color: #b91c1c; line-height: 1.5; display: none; }
.chat-net-error.visible { display: block; }

/* ── Reveal animations ── */
.js-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease-out-expo), transform .6s var(--ease-out-expo); }
.js-reveal.revealed { opacity: 1; transform: none; }

/* ── Product Page Shared ── */
.back-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 12px; color: var(--t-3); text-decoration: none; padding: 6px 0; margin-bottom: 20px; transition: color .2s var(--ease); }
.back-link:hover { color: var(--c-blue); }

.product-hero { padding: 150px 0 90px; position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%); }
.product-hero::before {
  content: ''; position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,110,247,.10) 0%, transparent 65%); pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: linear-gradient(rgba(79,110,247,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(79,110,247,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 100%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px;
  background: rgba(79,110,247,.1); border: 1px solid rgba(79,110,247,.25);
  font-family: var(--f-mono); font-size: 11px; font-weight: 600; color: var(--c-blue);
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px;
}
.hero-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-blue); animation: pulse-dot 2s ease-in-out infinite; }
.hero-h1 { font-family: var(--f-display); font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; color: var(--t-1); margin-bottom: 18px; }
.hero-h1 .accent { background: linear-gradient(140deg, var(--c-blue) 20%, var(--c-purple) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-body { font-size: clamp(1rem, 1.7vw, 1.1rem); color: var(--t-2); line-height: 1.72; margin-bottom: 32px; max-width: 500px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 20px; font-family: var(--f-mono); font-size: 12px; color: var(--t-3); }
.hero-proof-item { display: flex; align-items: center; gap: 6px; }
.hero-proof-item span:first-child { color: var(--c-green); font-weight: 700; }

.hero-visual { position: relative; }
.hero-card {
  background: var(--bg-card); border: 1px solid var(--b-0); border-radius: var(--r-xl); padding: 26px;
  box-shadow: var(--sh-card), 0 24px 80px rgba(79,110,247,.12); position: relative; overflow: hidden;
}
.hero-card::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, transparent, var(--c-blue), transparent); }
.card-label { font-family: var(--f-mono); font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--t-3); margin-bottom: 18px; display: flex; align-items: center; gap: 8px; }
.card-label-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-green); box-shadow: 0 0 8px var(--c-green); animation: pulse-dot 1.8s ease-in-out infinite; }
.lead-score-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.lead-info h4 { font-family: var(--f-display); font-size: 15px; font-weight: 600; color: var(--t-1); }
.lead-info span { font-size: 12px; color: var(--t-3); }
.score-badge {
  width: 50px; height: 50px; border-radius: 14px; background: linear-gradient(135deg, var(--c-blue), var(--c-purple));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-size: 17px; font-weight: 700; color: #fff; box-shadow: 0 0 24px rgba(79,110,247,.35);
}
.flow-steps { display: flex; flex-direction: column; gap: 8px; }
.flow-step { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: var(--gl); border: 1px solid rgba(79,110,247,.08); font-size: 12.5px; color: var(--t-2); }
.flow-step-icon { font-size: 15px; width: 24px; text-align: center; }
.flow-step-txt { flex: 1; }
.flow-step-status { font-family: var(--f-mono); font-size: 9px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 5px; }
.status-done { background: rgba(5,150,105,.12); color: var(--c-green); }
.status-live { background: rgba(79,110,247,.12); color: var(--c-blue); }

.hero-stat-card { position: absolute; background: var(--bg-card); border: 1px solid var(--b-0); border-radius: 14px; padding: 11px 14px; box-shadow: 0 8px 28px rgba(79,110,247,.12); pointer-events: none; }
.hero-stat-card-1 { top: -18px; right: -16px; }
.hero-stat-card-2 { bottom: -16px; left: -16px; }
.stat-num { font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--t-1); letter-spacing: -.04em; }
.stat-lbl { font-family: var(--f-mono); font-size: 9px; color: var(--t-3); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }

.trust-bar { padding: 20px 0; border-top: 1px solid var(--b-0); border-bottom: 1px solid var(--b-0); background: rgba(244,246,255,.6); overflow: hidden; }
[data-theme="dark"] .trust-bar { background: rgba(13,15,26,.6); }
.trust-bar .marquee-track { font-family: var(--f-mono); font-size: 12px; color: var(--t-3); gap: 36px; padding: 0 18px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-family: var(--f-mono); font-size: 12px; color: var(--t-3); }
.trust-item strong { color: var(--t-2); }
.trust-item svg { width: 13px; height: 13px; flex-shrink: 0; }

.problem-section { background: linear-gradient(180deg, rgba(13,19,64,.03) 0%, transparent 100%); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.problem-copy h2 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; color: var(--t-1); margin-bottom: 14px; }
.problem-copy p { font-size: 15px; color: var(--t-2); line-height: 1.75; margin-bottom: 14px; }
.problem-quote { padding: 18px 22px; border-left: 3px solid var(--c-blue); background: var(--gl); border-radius: 0 12px 12px 0; font-size: 14px; color: var(--t-2); line-height: 1.7; font-style: italic; margin-top: 22px; }
.problem-quote cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--f-mono); font-size: 11px; color: var(--t-3); }
.pain-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.pain-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--bg-card); border: 1px solid var(--b-0); border-radius: var(--r-lg); box-shadow: var(--sh-card); }
.pain-icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; width: 22px; }
.pain-icon svg { width: 18px; height: 18px; flex-shrink: 0; }
.pain-title { font-family: var(--f-display); font-size: 14px; font-weight: 600; color: var(--t-1); margin-bottom: 4px; }
.pain-desc { font-size: 13px; color: var(--t-3); line-height: 1.6; }

.steps-section { background: linear-gradient(180deg, rgba(79,110,247,.025) 0%, transparent 100%); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps-grid::before {
  content: ''; position: absolute; top: 34px; left: calc(12.5%); right: calc(12.5%); height: 2px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-purple)); z-index: 0;
}
.step { text-align: center; padding: 0 14px; position: relative; z-index: 1; }
.step-num { width: 68px; height: 68px; border-radius: 50%; background: var(--bg-card); border: 2px solid var(--c-blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-family: var(--f-display); font-size: 22px; font-weight: 700; color: var(--c-blue); box-shadow: 0 0 24px rgba(79,110,247,.18); }
.step-icon { font-size: 24px; display: flex; align-items: center; justify-content: center; }
.step-icon svg { width: 22px; height: 22px; }
.step-title { font-family: var(--f-display); font-size: 15px; font-weight: 600; color: var(--t-1); margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--t-3); line-height: 1.65; }

.use-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.use-case-card { padding: 22px; }
.use-case-icon { font-size: 26px; margin-bottom: 10px; display: flex; align-items: center; }
.use-case-icon svg { width: 26px; height: 26px; }
.use-case-title { font-family: var(--f-display); font-size: 15px; font-weight: 600; color: var(--t-1); margin-bottom: 6px; }
.use-case-desc { font-size: 13px; color: var(--t-3); line-height: 1.65; }
.use-case-outcome { margin-top: 12px; font-family: var(--f-mono); font-size: 11px; font-weight: 600; color: var(--c-blue); letter-spacing: .03em; }

/* ── About section ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-copy { display: flex; flex-direction: column; gap: 16px; }
.about-copy h2 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.15;
  color: var(--t-1);
}
.about-copy p { font-size: 15px; color: var(--t-2); line-height: 1.76; }
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; padding-top: 8px; }
.about-process { display: flex; flex-direction: column; gap: 18px; }
.about-process .features-grid { grid-template-columns: 1fr; gap: 14px; }

/* ── Keyframes ── */
@keyframes pulse-dot { 0%,100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px currentColor; } 50% { opacity: .5; transform: scale(.85); box-shadow: 0 0 12px currentColor; } }

/* ── Responsive ── */
@media (max-width: 960px) {
  .nav-links, .nav-cta-btn, .nav-toggles { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .features-grid, .testimonials-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 80px 0; }
  .product-hero { padding: 130px 0 72px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
  .hero-card { padding: 22px; }
  .hero-stat-card-1 { top: -12px; right: -10px; }
  .hero-stat-card-2 { bottom: -12px; left: -10px; }
  .problem-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .steps-grid::before { display: none; }
  .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-process .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .features-grid, .testimonials-grid, .pricing-grid { grid-template-columns: 1fr; gap: 14px; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
  .faq-q { padding: 18px 20px; font-size: 14.5px; }
  .faq-a { padding: 0 20px; }
  .faq-item.open .faq-a { padding: 0 20px 18px; }
  .footer-top { grid-template-columns: 1fr; padding: 40px 0 32px; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .cta-actions { flex-direction: column; width: 100%; }
  .cta-actions .btn { width: 100%; }
  .sticky-cta { padding: 8px 8px 8px 16px; gap: 10px; }
  .sticky-cta-txt { font-size: 12px; }
  .sticky-cta-btn { padding: 9px 16px; font-size: 12px; }
  .contact-form-wrap { padding: 28px 24px; }
  .cf-row { grid-template-columns: 1fr; }
  .product-hero { padding: 110px 0 56px; }
  .hero-h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-card { padding: 18px; }
  .flow-step { padding: 8px 10px; font-size: 12px; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-num { width: 60px; height: 60px; font-size: 20px; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .pain-item { padding: 14px; }
  .about-process .features-grid { grid-template-columns: 1fr; }
  #chat-panel { right: 0; left: 0; bottom: 0; width: 100%; height: 72svh; max-height: 72svh; border-radius: 20px 20px 0 0; transform: translateY(100%); transform-origin: bottom center; }
  #chat-panel.open { transform: translateY(0); }
  #chat-launcher { bottom: 82px; right: 16px; }
  .footer-legal-sep { display: none; }
  .footer-legal-row { gap: 8px; }
}

@media (max-width: 420px) { .brand-text { display: none; } }

/* ── RTL Support ── */
[dir="rtl"] body { font-family: var(--f-arabic); }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: var(--f-arabic); letter-spacing: 0; }
[dir="rtl"] .nav { flex-direction: row-reverse; }
[dir="rtl"] .brand { margin-right: 0; margin-left: auto; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; margin-right: 0; margin-left: 14px; }
[dir="rtl"] .nav-toggles { margin-right: 0; margin-left: 12px; }
[dir="rtl"] .eyebrow { flex-direction: row-reverse; }
[dir="rtl"] .eyebrow-bar { transform-origin: right; }
[dir="rtl"] .section-head h2 { direction: rtl; }
[dir="rtl"] .footer-top { direction: rtl; }
[dir="rtl"] .footer-links { text-align: right; }
[dir="rtl"] .footer-brand-row { flex-direction: row-reverse; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
[dir="rtl"] .cta-actions { flex-direction: row-reverse; }
[dir="rtl"] .price-features li, [dir="rtl"] .faq-q, [dir="rtl"] .testi-author, [dir="rtl"] .sticky-cta { flex-direction: row-reverse; }
[dir="rtl"] .skip-link { left: auto; right: 16px; }
[dir="rtl"] .contact-inner { direction: rtl; }
[dir="rtl"] .cf-row { direction: rtl; }
[dir="rtl"] .cf-label { text-align: right; }
[dir="rtl"] .contact-alt-link { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .contact-alt-text { text-align: right; }
[dir="rtl"] .problem-quote { border-left: none; border-right: 3px solid var(--c-blue); border-radius: 12px 0 0 12px; }
[dir="rtl"] .back-link { flex-direction: row-reverse; }

/* RTL chat panel */
[dir="rtl"] #chat-launcher { right: auto; left: 28px; }
[dir="rtl"] #chat-panel { right: auto; left: 24px; transform-origin: bottom left; }
[dir="rtl"] .float-contact { right: auto; left: 28px; }
[dir="rtl"] .float-tooltip { right: auto; left: calc(100% + 12px); transform: translateX(-8px); }
[dir="rtl"] .float-contact-wrap:hover .float-tooltip { transform: translateX(0); }
[dir="rtl"] .chat-msg-bot { flex-direction: row-reverse; }
[dir="rtl"] .chat-msg-user { flex-direction: row; }
[dir="rtl"] .chat-starter-btn { text-align: right; }

@media(max-width: 640px) {
  [dir="rtl"] #chat-launcher { right: auto; left: 16px; }
  [dir="rtl"] #chat-panel { right: 0; left: 0; transform-origin: bottom center; }
  [dir="rtl"] .float-contact { right: auto; left: 16px; }
}


/* ── UI/UX Improvements (2026-04-19) ── */

/* Ensure inline SVG icons render correctly inside buttons/links */
.footer-social-btn svg,
.footer-contact-icon svg,
#chat-launcher-btn svg,
#chat-close-btn svg,
#chat-send-btn svg,
.nav-dropdown-item svg {
  display: block;
  width: 1em;
  height: 1em;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Form inline status (success / error) */
.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(5, 150, 105, .08);
  border: 1px solid rgba(5, 150, 105, .2);
  color: #047857;
}
.form-status.error {
  display: block;
  background: rgba(239, 68, 68, .08);
  border: 1px solid rgba(239, 68, 68, .2);
  color: #b91c1c;
}
.form-status a { color: inherit; text-decoration: underline; }

/* Button spinner for loading states */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* Small button variant */
.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: 10px;
}

/* Chat network error with retry + fallback */
.chat-net-error {
  margin: 4px 14px 8px;
  padding: 12px 14px;
  border-radius: 11px;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.18);
  font-size: 13px;
  color: #b91c1c;
  line-height: 1.5;
  display: none;
}
.chat-net-error.visible { display: block; }
.chat-net-error p { margin: 0 0 10px; }
.chat-net-error .btn { margin-right: 10px; }
.chat-fallback-link {
  font-size: 12px;
  color: #b91c1c;
  text-decoration: underline;
}

/* Trust strip (animated marquee) */
.trust-strip {
  padding: 18px 0;
  border-top: 1px solid var(--b-0);
  border-bottom: 1px solid var(--b-0);
  background: var(--bg-1);
  overflow: hidden;
  transition: background .3s ease;
}
[data-theme="dark"] .trust-strip { background: rgba(11,13,20,.85); }
/* .trust-strip-inner is now a plain alias — .marquee-track handles layout */
.trust-strip .marquee-track {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--t-3);
  gap: 48px;
  padding: 0 24px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.trust-item svg {
  width: 13px;
  height: 13px;
  color: var(--c-blue);
  flex-shrink: 0;
  display: inline-block;
}

/* Premium icon utilities */
.icon-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gl);
  border: 1px solid var(--b-0);
  color: var(--c-blue);
}
.icon-svg svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Chat send button sending state */
#chat-send-btn.sending svg { opacity: .35; }
#chat-send-btn.sending::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .7s linear infinite;
}
#chat-send-btn { position: relative; }

/* Reduce motion overrides */
@media (prefers-reduced-motion: reduce) {
  .btn-spinner,
  #chat-send-btn.sending::after { animation: none; }
}


/* ══════════════════════════════════════════════════════════════
   HAMBURGER BLOB  (Nav Menu 7 — morphing organic rings)
   Adds two organic animated rings around the mobile hamburger
   button. Only activates at mobile breakpoint where it's visible.
══════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .hamburger {
    overflow: visible;
    position: relative;
  }

  .hamburger::before,
  .hamburger::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 42px;
    height: 42px;
    border: 1.5px solid rgba(79, 110, 247, 0.3);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: border-color 0.35s var(--ease);
  }

  .hamburger::before {
    animation: hamburger-blob 4s linear infinite;
  }

  .hamburger::after {
    width: 34px;
    height: 34px;
    border-radius: 53% 47% 43% 57% / 51% 39% 61% 49%;
    opacity: 0.55;
  }

  .hamburger.open::before,
  .hamburger.open::after {
    border-color: rgba(232, 234, 255, 0.5);
  }

  @media (prefers-reduced-motion: reduce) {
    .hamburger::before { animation: none; }
  }
}

@keyframes hamburger-blob {
  0%   { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50%  { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
  100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}


/* ══════════════════════════════════════════════════════════════
   GRID SYMBOL OVERLAY  (Hover Effect 1 — matrix hover reveal)
   Applied to .hero-card on the homepage hero section.
   On mousemove, blocks of symbols light up in a cluster pattern
   and fade out, giving the card a cybernetic live-data feel.
══════════════════════════════════════════════════════════════ */

.grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
  overflow: hidden;
}

.grid-block {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(79, 110, 247, 0.82);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 500;
  opacity: 0;
  border-radius: 2px;
  transition: opacity 0.12s;
  letter-spacing: 0;
  user-select: none;
}

.grid-block.active {
  opacity: 1;
}

/* Dark theme: invert color scheme so overlay reads well */
[data-theme="dark"] .grid-block {
  background: rgba(99, 102, 241, 0.75);
  color: rgba(232, 234, 255, 0.95);
}


/* ══════════════════════════════════════════════════════════════
   UNIVERSAL CARD ENHANCEMENTS (2026-04-19)
   Extends motion, depth, and interaction polish to all cards
   that were previously static or lacked premium hover states.
══════════════════════════════════════════════════════════════ */

/* ── 1. Hover transitions for cards without them ─────────────── */
.pain-item,
.contact-form,
.faq-item {
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.pain-item:hover {
  border-color: rgba(79,110,247,.28);
  box-shadow: var(--sh-card-hover);
  transform: translateY(-4px);
}
.contact-form:hover {
  border-color: rgba(79,110,247,.22);
  box-shadow: var(--sh-card-hover);
  transform: translateY(-2px);
}
.faq-item:hover {
  border-color: rgba(79,110,247,.28);
  box-shadow: var(--sh-card-hover);
  transform: translateY(-2px);
}
.faq-item.open {
  border-color: rgba(79,110,247,.35);
  box-shadow: var(--sh-card), 0 0 40px rgba(79,110,247,.12);
  transform: translateY(-2px);
}

/* ── 2. Radial glow (::before) for all card types ───────────── */
.feat-card, .testi-card, .use-case-card, .step, .price-card,
.process-card, .pain-item, .contact-form, .faq-item,
.info-card, .terminal-card, .metric, .hero-stat-card {
  position: relative;
}
.feat-card::before, .testi-card::before, .use-case-card::before,
.step::before, .price-card::before, .process-card::before,
.pain-item::before, .contact-form::before, .faq-item::before,
.info-card::before, .terminal-card::before, .metric::before,
.hero-stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    460px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(79, 110, 247, 0.07),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 480ms;
  pointer-events: none;
  z-index: 5;
}

/* Ambient grid glow */
.glow-grid:hover .feat-card::before,
.glow-grid:hover .testi-card::before,
.glow-grid:hover .use-case-card::before,
.glow-grid:hover .step::before,
.glow-grid:hover .price-card::before,
.glow-grid:hover .process-card::before,
.glow-grid:hover .pain-item::before,
.glow-grid:hover .contact-form::before,
.glow-grid:hover .faq-item::before,
.glow-grid:hover .info-card::before,
.glow-grid:hover .terminal-card::before,
.glow-grid:hover .metric::before,
.glow-grid:hover .hero-stat-card::before {
  opacity: 0.45;
}

/* Full spotlight on individually hovered card */
.feat-card:hover::before,
.testi-card:hover::before,
.use-case-card:hover::before,
.step:hover::before,
.price-card:hover::before,
.process-card:hover::before,
.pain-item:hover::before,
.contact-form:hover::before,
.faq-item:hover::before,
.faq-item.open::before,
.info-card:hover::before,
.terminal-card:hover::before,
.metric:hover::before,
.hero-stat-card:hover::before {
  opacity: 1;
}

/* Sibling dimming for new grids */
.pain-list.glow-grid:hover .pain-item:not(:hover),
.steps-grid.glow-grid:hover .step:not(:hover),
.use-cases-grid.glow-grid:hover .use-case-card:not(:hover),
.pricing-grid.glow-grid:hover .price-card:not(:hover),
.process-stage.glow-grid:hover .process-card:not(:hover),
.contact-grid.glow-grid:hover .contact-form:not(:hover),
.faq-list.glow-grid:hover .faq-item:not(:hover) {
  opacity: 0.82;
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease),
              transform .35s var(--ease), opacity .28s;
}

/* ── 3. Step number glow on hover ────────────────────────────── */
.step-num {
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.step:hover .step-num {
  box-shadow: 0 0 32px rgba(79,110,247,.35);
  transform: scale(1.06);
}

/* ── 4. Hero stat card premium hover ─────────────────────────── */
.hero-stat-card {
  pointer-events: auto;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  cursor: default;
}
.hero-stat-card:hover {
  transform: scale(1.06);
  box-shadow: 0 16px 48px rgba(79,110,247,.22), var(--sh-card);
}

/* ── 5. CTA ambient glow ─────────────────────────────────────── */
.cta-inner {
  position: relative;
}
.cta-inner::after {
  content: '';
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(79,110,247,.07) 0%, transparent 70%);
  animation: cta-glow-pulse 5s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}
@keyframes cta-glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}

/* ── 6. Dark mode support ────────────────────────────────────── */
[data-theme="dark"] .pain-item:hover,
[data-theme="dark"] .contact-form:hover,
[data-theme="dark"] .faq-item:hover,
[data-theme="dark"] .faq-item.open {
  border-color: rgba(99,102,241,.35);
}
[data-theme="dark"] .hero-stat-card:hover {
  box-shadow: 0 16px 48px rgba(79,110,247,.28), var(--sh-card);
}
[data-theme="dark"] .cta-inner::after {
  background: radial-gradient(ellipse at center, rgba(79,110,247,.10) 0%, transparent 70%);
}

/* ── 7. Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .pain-item, .contact-form, .faq-item,
  .hero-stat-card, .step-num, .cta-inner::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ── 8. Touch device fallbacks ───────────────────────────────── */
@media (hover: none) {
  .feat-card::before, .testi-card::before, .use-case-card::before,
  .step::before, .price-card::before, .process-card::before,
  .pain-item::before, .contact-form::before, .faq-item::before,
  .info-card::before, .terminal-card::before, .metric::before,
  .hero-stat-card::before { display: none; }
  
  .pain-list.glow-grid:hover .pain-item:not(:hover),
  .steps-grid.glow-grid:hover .step:not(:hover),
  .use-cases-grid.glow-grid:hover .use-case-card:not(:hover),
  .pricing-grid.glow-grid:hover .price-card:not(:hover),
  .process-stage.glow-grid:hover .process-card:not(:hover),
  .contact-grid.glow-grid:hover .contact-form:not(:hover),
  .faq-list.glow-grid:hover .faq-item:not(:hover) { opacity: 1; }
}


/* ══════════════════════════════════════════════════════════════
   MARQUEE TRUST STRIP / BAR ANIMATION
   Seamless infinite-scroll chip strip extracted from the
   original design and applied to all trust strips/bars.
══════════════════════════════════════════════════════════════ */

/* Scrolling track */
.marquee-track {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  animation: marquee-go 32s linear infinite;
}

/* Pause on hover */
.trust-strip:hover .marquee-track,
.trust-bar:hover .marquee-track {
  animation-play-state: paused;
}

/* Keyframe: translate -50% because content is duplicated once */
@keyframes marquee-go {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Fade masks on left / right edges for seamless illusion */
.trust-strip,
.trust-bar {
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}

/* Reduced motion: freeze at a readable offset */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Mobile: remove edge fade so text isn't clipped */
@media (max-width: 640px) {
  .trust-strip,
  .trust-bar {
    mask-image: none;
    -webkit-mask-image: none;
  }
}
