/* ============================================================
   Link3 - Premium Design System
   Inspired by: Stripe, Linear, Vercel
   ============================================================ */

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* === Design Tokens === */
:root {
  /* === Background palette === */
  --color-bg: #FFFFFF;
  --color-bg-alt: #FBFAFF;        /* slight lilac tint - warmer than gray */
  --color-bg-soft: #F4F0FF;       /* soft violet */
  --color-bg-deep: #0A0B14;
  --color-bg-card: #FFFFFF;
  --color-bg-tinted: #FFF8F3;     /* warm cream tint */

  /* === Text palette === */
  --color-text: #0F1729;
  --color-text-light: #475067;
  --color-text-mute: #6B7280;
  --color-text-subtle: #9CA3AF;
  --color-text-invert: #FFFFFF;

  --color-border: #EEEAF9;
  --color-border-strong: #DDD7F0;

  /* === Rich color spectrum === */
  /* Primary: vivid indigo */
  --c-indigo-50:  #F0EFFF;
  --c-indigo-100: #DCDAFF;
  --c-indigo-200: #BAB4FF;
  --c-indigo-500: #5B6CFF;
  --c-indigo-600: #4854E0;
  --c-indigo-700: #2D3DC4;

  /* Accent warm: coral → fuchsia */
  --c-coral-50:  #FFF1EB;
  --c-coral-100: #FFE2D4;
  --c-coral-500: #FF5A1F;
  --c-coral-600: #E64A0F;

  --c-fuchsia-50:  #FDF2FF;
  --c-fuchsia-100: #FAE0FF;
  --c-fuchsia-500: #D946EF;
  --c-fuchsia-600: #B324CC;

  /* Cool: cyan → teal */
  --c-cyan-50:   #ECFEFF;
  --c-cyan-100:  #CFFAFE;
  --c-cyan-500:  #06B6D4;
  --c-cyan-600:  #0891B2;

  /* Fresh: emerald */
  --c-emerald-50:  #ECFDF5;
  --c-emerald-100: #D1FAE5;
  --c-emerald-500: #10B981;
  --c-emerald-600: #059669;

  /* Warm: amber → orange */
  --c-amber-50:    #FFFBEB;
  --c-amber-100:   #FEF3C7;
  --c-amber-500:   #F59E0B;
  --c-amber-600:   #D97706;

  /* Cool deep: violet */
  --c-violet-50:   #F5F3FF;
  --c-violet-100:  #EDE9FE;
  --c-violet-500:  #8B5CF6;
  --c-violet-600:  #7C3AED;

  /* Semantic shortcuts */
  --color-accent:        var(--c-indigo-500);
  --color-accent-hover:  var(--c-indigo-600);
  --color-accent-light:  var(--c-indigo-50);
  --color-accent-deep:   var(--c-indigo-700);
  --color-highlight:     var(--c-coral-500);
  --color-highlight-hover: var(--c-coral-600);
  --color-success: var(--c-emerald-500);
  --color-warning: var(--c-amber-500);
  --color-danger:  #EF4444;

  /* === Rich Gradients === */
  --grad-primary:    linear-gradient(135deg, #5B6CFF 0%, #8B5CF6 50%, #D946EF 100%);
  --grad-primary-soft: linear-gradient(135deg, #F0EFFF 0%, #F5F3FF 50%, #FDF2FF 100%);
  --grad-warm:       linear-gradient(135deg, #FF5A1F 0%, #F59E0B 60%, #D946EF 100%);
  --grad-warm-soft:  linear-gradient(135deg, #FFF1EB 0%, #FFFBEB 50%, #FDF2FF 100%);
  --grad-cool:       linear-gradient(135deg, #06B6D4 0%, #5B6CFF 100%);
  --grad-cool-soft:  linear-gradient(135deg, #ECFEFF 0%, #F0EFFF 100%);
  --grad-fresh:      linear-gradient(135deg, #10B981 0%, #06B6D4 100%);
  --grad-fresh-soft: linear-gradient(135deg, #ECFDF5 0%, #ECFEFF 100%);
  --grad-sunset:     linear-gradient(135deg, #FF5A1F 0%, #D946EF 50%, #8B5CF6 100%);
  --grad-aurora:     linear-gradient(135deg, #06B6D4 0%, #5B6CFF 30%, #8B5CF6 60%, #D946EF 100%);
  --grad-text:       linear-gradient(120deg, #5B6CFF 0%, #8B5CF6 35%, #D946EF 65%, #FF5A1F 100%);
  --grad-text-cool:  linear-gradient(120deg, #06B6D4 0%, #5B6CFF 50%, #8B5CF6 100%);
  --grad-glass:      linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  --grad-mesh:       radial-gradient(at 0% 0%, rgba(91,108,255,0.15) 0px, transparent 50%),
                     radial-gradient(at 100% 0%, rgba(217,70,239,0.10) 0px, transparent 50%),
                     radial-gradient(at 100% 100%, rgba(255,90,31,0.10) 0px, transparent 50%),
                     radial-gradient(at 0% 100%, rgba(6,182,212,0.10) 0px, transparent 50%);

  /* === Typography (richer scale) === */
  --font-display: 'Plus Jakarta Sans', 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', 'Heebo', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', 'Cascadia Code', Consolas, monospace;

  /* Type scale - fluid, dramatic hierarchy */
  --fs-xs:    clamp(0.75rem, 0.75rem + 0vw, 0.8rem);
  --fs-sm:    clamp(0.875rem, 0.875rem + 0vw, 0.9rem);
  --fs-base:  clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  --fs-lg:    clamp(1.125rem, 1.05rem + 0.5vw, 1.25rem);
  --fs-xl:    clamp(1.25rem, 1.15rem + 0.7vw, 1.5rem);
  --fs-2xl:   clamp(1.5rem, 1.3rem + 1vw, 1.875rem);
  --fs-3xl:   clamp(1.875rem, 1.5rem + 2vw, 2.5rem);
  --fs-4xl:   clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  --fs-5xl:   clamp(2.75rem, 1.5rem + 5vw, 5rem);
  --fs-6xl:   clamp(3.5rem, 1.5rem + 7vw, 6.5rem);

  /* Line heights */
  --lh-tight:   1.05;
  --lh-snug:    1.2;
  --lh-normal:  1.55;
  --lh-relaxed: 1.7;

  /* Letter spacing */
  --ls-tighter: -0.04em;
  --ls-tight:   -0.025em;
  --ls-normal:  -0.005em;
  --ls-wide:    0.02em;
  --ls-wider:   0.08em;

  /* === Spacing scale (8pt grid + generous additions) === */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 20px; --space-6: 24px; --space-8: 32px; --space-10: 40px;
  --space-12: 48px; --space-14: 56px; --space-16: 64px; --space-20: 80px;
  --space-24: 96px; --space-28: 112px; --space-32: 128px; --space-40: 160px;
  --space-48: 192px;

  /* Section rhythm */
  --section-py: clamp(var(--space-16), 5vw + 2rem, var(--space-32));
  --section-py-lg: clamp(var(--space-20), 6vw + 3rem, var(--space-40));

  /* === Radius === */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --radius-2xl: 48px;
  --radius-full: 9999px;

  /* === Shadows - layered + colored === */
  --shadow-xs:  0 1px 2px rgba(15,23,41,0.04);
  --shadow-sm:  0 2px 4px rgba(15,23,41,0.05), 0 1px 2px rgba(15,23,41,0.03);
  --shadow-md:  0 4px 12px rgba(15,23,41,0.06), 0 2px 4px rgba(15,23,41,0.04);
  --shadow-lg:  0 10px 30px rgba(15,23,41,0.08), 0 4px 8px rgba(15,23,41,0.04);
  --shadow-xl:  0 24px 56px rgba(15,23,41,0.10), 0 10px 18px rgba(15,23,41,0.04);
  --shadow-2xl: 0 40px 90px rgba(15,23,41,0.13), 0 16px 28px rgba(15,23,41,0.06);

  /* Colored shadows for premium accent */
  --shadow-indigo: 0 12px 32px rgba(91,108,255,0.20), 0 4px 12px rgba(91,108,255,0.10);
  --shadow-coral:  0 12px 32px rgba(255,90,31,0.22), 0 4px 12px rgba(255,90,31,0.10);
  --shadow-fuchsia:0 12px 32px rgba(217,70,239,0.22), 0 4px 12px rgba(217,70,239,0.10);
  --shadow-emerald:0 12px 32px rgba(16,185,129,0.22), 0 4px 12px rgba(16,185,129,0.10);
  --shadow-glow:   0 0 0 1px rgba(91,108,255,0.10), 0 8px 24px rgba(91,108,255,0.16);

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration: 250ms;
  --duration-slow: 400ms;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --container-wide: 1360px;
}

/* === Base typography === */
body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01', 'kern';
  letter-spacing: var(--ls-normal);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-text);
  line-height: var(--lh-tight);
  margin: 0;
}

h1 {
  font-size: var(--fs-5xl);
  font-weight: 900;
  letter-spacing: var(--ls-tighter);
  line-height: 1.02;
  margin-bottom: var(--space-6);
}
h2 {
  font-size: var(--fs-3xl);
  letter-spacing: var(--ls-tight);
  line-height: 1.1;
  margin-bottom: var(--space-5);
}
h3 {
  font-size: var(--fs-xl);
  letter-spacing: var(--ls-tight);
  line-height: 1.2;
  margin-bottom: var(--space-3);
}
h4 {
  font-size: var(--fs-lg);
  letter-spacing: var(--ls-normal);
  line-height: 1.25;
  margin-bottom: var(--space-2);
}

p {
  color: var(--color-text-light);
  line-height: var(--lh-relaxed);
  margin: 0;
}

/* Display heading - hero only, extra dramatic */
.display {
  font-size: var(--fs-6xl);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: var(--ls-tighter);
}

/* Lead paragraph after a heading */
.lead, .hero-lead, .section-header p {
  font-size: var(--fs-lg);
  line-height: var(--lh-normal);
  color: var(--color-text-light);
}

/* === Layout primitives === */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--space-6); }
.container-narrow { max-width: var(--container-narrow); }
.container-wide { max-width: var(--container-wide); }

.section { padding: var(--section-py) 0; position: relative; }
.section-lg { padding: var(--section-py-lg) 0; }
.section-sm { padding: var(--space-20) 0; }
.section-tight { padding: var(--space-16) 0; }
.section-alt { background: var(--color-bg-alt); }
.section-soft { background: var(--color-bg-soft); }
.section-tinted { background: var(--color-bg-tinted); }
.section-mesh {
  background-color: var(--color-bg);
  background-image: var(--grad-mesh);
}
.section-dark { background: var(--color-bg-deep); color: var(--color-text-invert); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.72); }

.section-header { text-align: center; max-width: 760px; margin: 0 auto var(--space-20); }
.section-header h2 { margin-bottom: var(--space-5); }
.section-header p { font-size: var(--fs-lg); color: var(--color-text-light); line-height: var(--lh-normal); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 8px 16px;
  background: var(--color-accent-light);
  color: var(--color-accent-deep);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  border: 1px solid rgba(91,108,255,0.15);
}
.eyebrow.warm { background: var(--c-coral-50); color: var(--c-coral-600); border-color: rgba(255,90,31,0.15); }
.eyebrow.fresh { background: var(--c-emerald-50); color: var(--c-emerald-600); border-color: rgba(16,185,129,0.15); }
.eyebrow.cool { background: var(--c-cyan-50); color: var(--c-cyan-600); border-color: rgba(6,182,212,0.15); }
.eyebrow.fuchsia { background: var(--c-fuchsia-50); color: var(--c-fuchsia-600); border-color: rgba(217,70,239,0.15); }
.eyebrow.violet { background: var(--c-violet-50); color: var(--c-violet-600); border-color: rgba(139,92,246,0.15); }
.eyebrow.warm-gradient {
  background: var(--grad-warm-soft);
  color: var(--c-coral-600);
  border: 1px solid rgba(255,90,31,0.15);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(91,108,255,0.10); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: all var(--duration) var(--ease-out);
  white-space: nowrap;
  letter-spacing: -0.01em;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--duration);
  z-index: -1;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--color-text);
  color: #fff;
  box-shadow: 0 4px 12px rgba(15,23,41,0.15);
}
.btn-primary:hover {
  background: #1F2937;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15,23,41,0.25);
}

.btn-accent {
  background: var(--grad-primary);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: var(--shadow-indigo);
}
.btn-accent:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(91,108,255,0.30), 0 6px 16px rgba(217,70,239,0.20);
}

.btn-warm {
  background: var(--grad-warm);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: var(--shadow-coral);
}
.btn-warm:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255,90,31,0.32);
}

.btn-highlight {
  background: var(--color-highlight);
  color: #fff;
  box-shadow: var(--shadow-coral);
}
.btn-highlight:hover {
  background: var(--color-highlight-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255,90,31,0.35);
}

.btn-ghost {
  color: var(--color-text);
  background: transparent;
  border: 1.5px solid var(--color-border-strong);
}
.btn-ghost:hover {
  background: var(--color-bg-alt);
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-link { color: var(--color-accent); background: transparent; padding: 8px 0; }
.btn-link:hover { color: var(--color-accent-hover); }

.btn-lg { padding: 18px 32px; font-size: 1.0625rem; }
.btn-arrow::after { content: "←"; transition: transform var(--duration) var(--ease-out); }
.btn-arrow:hover::after { transform: translateX(-6px); }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: 16px var(--space-6); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 800;
  font-size: 1.125rem;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.brand-mark {
  width: 32px; height: 32px;
  background: var(--color-text);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}
.brand-mark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--duration);
}
.brand:hover .brand-mark::before { opacity: 1; }
.brand-mark span { position: relative; z-index: 1; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease-out);
}
.nav-link:hover { color: var(--color-text); background: var(--color-bg-alt); }
.nav-link.active { color: var(--color-text); }
.nav .btn { margin-right: var(--space-3); padding: 10px 18px; font-size: 0.9rem; }
.mobile-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; padding: 0; }
.mobile-toggle span { width: 22px; height: 1.5px; background: var(--color-text); display: block; margin-right: auto; }

/* === Hero === */
.hero {
  position: relative;
  padding: var(--space-32) 0 var(--space-40);
  overflow: hidden;
  background: var(--color-bg);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 85% 5%, rgba(91,108,255,0.18), transparent 60%),
    radial-gradient(ellipse 55% 45% at 10% 30%, rgba(217,70,239,0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(255,90,31,0.12), transparent 60%),
    radial-gradient(ellipse 50% 35% at 90% 80%, rgba(6,182,212,0.10), transparent 60%);
  pointer-events: none;
  /* hero-bg-shift animation removed - static gradient bloom */
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(91,108,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(91,108,255,0.04) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 70% 50% at 50% 50%, black, transparent);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  margin-bottom: var(--space-6);
}
.hero-lead {
  font-size: 1.2rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-8);
  max-width: 540px;
  line-height: 1.6;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-10); }
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}

/* Gradient text */
.gradient-text {
  background: var(--grad-text);
  background-size: 200% 200%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* gradient-flow animation removed - static gradient */
}
@keyframes gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* === Hero visual: layered cards === */
.hero-visual {
  position: relative;
  height: 480px;
}
.hv-card {
  position: absolute;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-5);
  transition: all var(--duration) var(--ease-out);
}
.hv-main {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  z-index: 2;
  /* animation removed - completely static */
}
.hv-secondary {
  top: 8%;
  right: -10px;
  width: 240px;
  z-index: 3;
  /* animation removed - completely static */
}
.hv-tertiary {
  bottom: 5%;
  left: -10px;
  width: 200px;
  z-index: 3;
  /* animation removed - completely static */
}

.hv-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.hv-dots { display: flex; gap: 4px; }
.hv-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--color-border-strong); }
.hv-label { font-size: 0.7rem; color: var(--color-text-subtle); font-family: var(--font-mono); }
.hv-metric { display: flex; align-items: end; justify-content: space-between; margin-bottom: var(--space-3); }
.hv-num { font-size: 1.875rem; font-weight: 800; color: var(--color-text); font-family: var(--font-display); letter-spacing: -0.03em; }
.hv-delta { font-size: 0.875rem; font-weight: 600; color: var(--color-success); display: inline-flex; align-items: center; gap: 4px; }

.hv-chart {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 60px;
  margin-top: var(--space-3);
}
.hv-chart span {
  flex: 1;
  background: var(--grad-cool);
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  animation: barIn 1s var(--ease-out) both;
}

@keyframes barIn { from { transform: scaleY(0); } }

.hv-icon-tile {
  width: 36px; height: 36px;
  background: var(--grad-primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}
.hv-icon-tile.warm { background: var(--grad-warm); }
.hv-icon-tile.cool { background: var(--grad-cool); }
.hv-icon-tile.green { background: linear-gradient(135deg, #10B981, #059669); }

.hv-row { display: flex; align-items: center; gap: var(--space-3); }
.hv-row + .hv-row { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--color-border); }
.hv-text strong { display: block; font-size: 0.875rem; color: var(--color-text); font-weight: 600; }
.hv-text span { display: block; font-size: 0.75rem; color: var(--color-text-mute); }

/* Live dot */
.live-dot { position: relative; display: inline-block; width: 6px; height: 6px; background: var(--color-success); border-radius: 50%; }
.live-dot::before {
  content: ''; position: absolute; inset: -2px;
  border: 1.5px solid var(--color-success); border-radius: 50%;
  /* pulse animation removed - static dot only */
}
@keyframes live-pulse { 0% { transform: scale(0.8); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }

/* Avatar group */
.avatars { display: flex; align-items: center; }
.avatars-stack { display: flex; }
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  margin-right: -8px;
  background: var(--grad-primary);
}
.avatar.warm { background: var(--grad-warm); }
.avatar.cool { background: var(--grad-cool); }
.avatar.green { background: linear-gradient(135deg, #10B981, #059669); }
.avatar.purple { background: linear-gradient(135deg, #8B5CF6, #6D28D9); }
.avatars-text { margin-right: var(--space-3); }
.avatars-text strong { display: block; font-size: 0.875rem; font-weight: 600; color: var(--color-text); }
.avatars-text span { display: block; font-size: 0.8rem; color: var(--color-text-mute); }

/* Stars */
.stars { display: inline-flex; gap: 1px; color: #F59E0B; font-size: 0.9rem; letter-spacing: -1px; }

/* === Logo marquee === */
.platforms {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: relative;
}
.platforms-label {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-mute);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
}
.marquee {
  overflow: visible;
}
.marquee-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-3) var(--space-6);
  padding: 0 var(--space-6);
  /* Static - no animation - items are clickable links to /platforms.html */
}
.platform-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-light);
  white-space: nowrap;
  padding: 10px 16px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  transition: all var(--duration) var(--ease-out);
  cursor: zoom-in;
  position: relative;
  text-decoration: none;
}
.platform-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(91,108,255,0.06), rgba(217,70,239,0.04));
  opacity: 0;
  transition: opacity var(--duration);
  z-index: -1;
}
.platform-item:hover {
  color: var(--color-text);
  border-color: var(--color-border);
  transform: translateY(-2px) scale(1.04);
  box-shadow: var(--shadow-md);
}
.platform-item:hover::after { opacity: 1; }

/* Magnifying glass icon appears on hover */
.platform-item .zoom-icon {
  width: 0;
  height: 16px;
  opacity: 0;
  margin-right: 0;
  overflow: hidden;
  transition: all var(--duration) var(--ease-out);
  color: var(--color-accent);
}
.platform-item:hover .zoom-icon {
  width: 16px;
  opacity: 1;
  margin-right: var(--space-1);
}

.platform-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transition: transform var(--duration);
}
.platform-item:hover .platform-dot { transform: scale(1.3); }

/* Quick-link pills on platforms page */
.platform-quick-link:hover {
  background: var(--color-accent-light) !important;
  border-color: var(--color-accent) !important;
  color: var(--color-accent-deep) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* === Stats === */
.stats-section { padding: var(--space-20) 0; background: var(--color-bg-alt); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-8); }
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label { font-size: 0.95rem; color: var(--color-text-mute); }

/* === Cards === */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.feature-grid-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  transition: all var(--duration) var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-mesh);
  opacity: 0;
  transition: opacity var(--duration-slow);
  z-index: -1;
}
.feature::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: var(--grad-aurora);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration-slow);
}
.feature:hover {
  border-color: transparent;
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}
.feature:hover::before { opacity: 1; }
.feature:hover::after { opacity: 1; animation: gradient-flow 6s ease infinite; }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad-primary-soft);
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  transition: all var(--duration);
  position: relative;
  box-shadow: 0 4px 12px rgba(91,108,255,0.10);
}
.feature-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--duration);
  z-index: -1;
}
.feature:hover .feature-icon {
  color: #fff;
  transform: rotate(-6deg) scale(1.08);
  box-shadow: var(--shadow-indigo);
}
.feature:hover .feature-icon::after { opacity: 1; }

.feature-icon.warm   { background: var(--grad-warm-soft);  color: var(--c-coral-600); }
.feature-icon.warm::after { background: var(--grad-warm); }
.feature:hover .feature-icon.warm { box-shadow: var(--shadow-coral); }

.feature-icon.green  { background: var(--grad-fresh-soft); color: var(--c-emerald-600); }
.feature-icon.green::after { background: var(--grad-fresh); }
.feature:hover .feature-icon.green { box-shadow: var(--shadow-emerald); }

.feature-icon.purple { background: var(--c-violet-50);     color: var(--c-violet-600); }
.feature-icon.purple::after { background: linear-gradient(135deg, var(--c-violet-500), var(--c-fuchsia-500)); }
.feature:hover .feature-icon.purple { box-shadow: 0 12px 32px rgba(139,92,246,0.30); }

.feature-icon.cyan   { background: var(--grad-cool-soft);  color: var(--c-cyan-600); }
.feature-icon.cyan::after { background: var(--grad-cool); }
.feature:hover .feature-icon.cyan { box-shadow: 0 12px 32px rgba(6,182,212,0.30); }
.feature h3 { margin-bottom: var(--space-2); }
.feature p { font-size: 0.95rem; line-height: 1.6; }
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-4);
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
}
.feature-link::after { content: "←"; transition: transform var(--duration); }
.feature:hover .feature-link::after { transform: translateX(-4px); }

/* === Bento grid === */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-5);
}
.bento-card {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  overflow: hidden;
  transition: all var(--duration) var(--ease-out);
  isolation: isolate;
}
.bento-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); border-color: transparent; }
.bento-card.col-3 { grid-column: span 3; }
.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-2 { grid-column: span 2; }
.bento-card.col-6 { grid-column: span 6; }
.bento-card.row-2 { grid-row: span 2; }
.bento-card.dark {
  background: var(--color-bg-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bento-card.dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(91,108,255,0.30), transparent 50%),
              radial-gradient(circle at 20% 90%, rgba(217,70,239,0.15), transparent 50%);
  z-index: 0;
}
.bento-card.dark > * { position: relative; z-index: 1; }
.bento-card.dark h3 { color: #fff; }
.bento-card.dark p { color: rgba(255,255,255,0.78); }

.bento-card.accent {
  background: var(--grad-primary);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-out);
}
.bento-card.accent:hover {
  background-position: 100% 50%;
  box-shadow: var(--shadow-indigo);
}
.bento-card.accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(255,255,255,0.18), transparent 50%);
  z-index: 0;
}
.bento-card.accent > * { position: relative; z-index: 1; }
.bento-card.accent h3 { color: #fff; }
.bento-card.accent p { color: rgba(255,255,255,0.88); }

.bento-card.warm {
  background: var(--grad-warm);
  background-size: 200% 200%;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-out);
}
.bento-card.warm:hover {
  background-position: 100% 50%;
  box-shadow: var(--shadow-coral);
}
.bento-card.warm::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(255,255,255,0.20), transparent 50%);
  z-index: 0;
}
.bento-card.warm > * { position: relative; z-index: 1; }
.bento-card.warm h3 { color: #fff; }
.bento-card.warm p { color: rgba(255,255,255,0.92); }

.bento-card.fresh {
  background: var(--grad-fresh);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.bento-card.fresh::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(255,255,255,0.18), transparent 50%);
}
.bento-card.fresh > * { position: relative; z-index: 1; }
.bento-card.fresh h3 { color: #fff; }
.bento-card.fresh p { color: rgba(255,255,255,0.88); }

.bento-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: var(--space-3);
}
.bento-h {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}
.bento-card .bento-visual {
  margin-top: var(--space-6);
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}

/* === Methodology cards === */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); margin-top: var(--space-16); }
.method {
  position: relative;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  transition: all var(--duration-slow) var(--ease-out);
  isolation: isolate;
  overflow: hidden;
}
.method::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 80%; aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
  filter: blur(40px);
  transition: opacity var(--duration-slow);
  z-index: -1;
}
.method.blue::before  { background: radial-gradient(circle, rgba(91,108,255,0.30), transparent 70%); }
.method.warm::before  { background: radial-gradient(circle, rgba(255,90,31,0.30), transparent 70%); }
.method.green::before { background: radial-gradient(circle, rgba(16,185,129,0.30), transparent 70%); }
.method::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-out);
}
.method.blue::after  { background: var(--grad-primary); }
.method.warm::after  { background: var(--grad-warm); }
.method.green::after { background: var(--grad-fresh); }
.method:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2xl);
  border-color: transparent;
}
.method:hover::before { opacity: 0.6; }
.method:hover::after { transform: scaleX(1); }

.method-letter {
  width: 72px; height: 72px;
  color: #fff;
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: var(--space-8);
  position: relative;
  overflow: hidden;
  letter-spacing: -0.04em;
}
.method.blue  .method-letter {
  background: var(--grad-primary);
  box-shadow: var(--shadow-indigo);
}
.method.warm  .method-letter {
  background: var(--grad-warm);
  box-shadow: var(--shadow-coral);
}
.method.green .method-letter {
  background: var(--grad-fresh);
  box-shadow: var(--shadow-emerald);
}
.method-letter::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 50%);
  pointer-events: none;
}

.method-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: var(--ls-wider);
  background: var(--color-accent-light);
  color: var(--color-accent-deep);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}
.method.warm  .method-tag { background: var(--c-coral-50);   color: var(--c-coral-600); }
.method.green .method-tag { background: var(--c-emerald-50); color: var(--c-emerald-600); }

.method h3 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--space-4);
  letter-spacing: var(--ls-tight);
}
.method-desc {
  color: var(--color-text-light);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
}
.method-stats {
  display: flex;
  gap: var(--space-10);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border);
}
.method-stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: var(--ls-tighter);
}
.method.warm  .method-stat-num { background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; }
.method.green .method-stat-num { background: var(--grad-fresh); -webkit-background-clip: text; background-clip: text; }
.method-stat-label {
  font-size: 0.85rem;
  color: var(--color-text-mute);
  font-weight: 500;
}

/* === Big quote === */
.quote-block {
  max-width: 880px;
  margin: 0 auto;
  padding: var(--space-12);
  background: linear-gradient(135deg, var(--color-accent-light), #fff);
  border-radius: var(--radius-xl);
  position: relative;
  text-align: center;
}
.quote-mark {
  position: absolute;
  top: var(--space-6);
  right: var(--space-8);
  font-family: Georgia, serif;
  font-size: 5rem;
  color: var(--color-accent);
  opacity: 0.2;
  line-height: 1;
}
.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.4;
  color: var(--color-text);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-6);
}
.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}
.quote-author .avatar { width: 36px; height: 36px; font-size: 0.85rem; }
.quote-name { font-weight: 600; color: var(--color-text); }
.quote-role { font-size: 0.85rem; color: var(--color-text-mute); margin-right: 4px; }

/* === Problems === */
.problem-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3) var(--space-6); }
.problem {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: all var(--duration);
}
.problem:hover { border-color: var(--color-border-strong); box-shadow: var(--shadow-sm); }
.problem-x {
  width: 32px; height: 32px; min-width: 32px;
  background: rgba(239,68,68,0.08);
  color: var(--color-danger);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.problem-text strong { display: block; font-weight: 600; color: var(--color-text); margin-bottom: 2px; }
.problem-text span { font-size: 0.875rem; color: var(--color-text-mute); }

/* === Comparison === */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-8);
  max-width: 1000px;
  margin: var(--space-12) auto 0;
  align-items: start;
}
.compare-col {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.compare-col-head {
  display: flex; align-items: center; gap: var(--space-3);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-5);
}
.compare-col-head .hv-icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.compare-col-head h3 { font-size: 1.25rem; margin: 0; }
.compare-list li {
  padding: var(--space-3) 0;
  padding-right: var(--space-6);
  position: relative;
  color: var(--color-text-light);
  font-size: 0.95rem;
}
.compare-list li::before {
  content: '';
  position: absolute;
  right: 0; top: 18px;
  width: 14px; height: 14px;
  background: var(--color-success);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.versus {
  width: 56px; height: 56px;
  align-self: center;
  background: var(--color-text);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
}

/* === Industries === */
.industries-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.industry {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--duration) var(--ease-out);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.industry::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity var(--duration);
  z-index: -1;
}
.industry:hover { transform: translateY(-3px); border-color: transparent; box-shadow: var(--shadow-lg); }
.industry:hover::before { opacity: 1; }
.industry:hover * { color: #fff !important; }
.industry-icon-wrap {
  width: 48px; height: 48px;
  margin: 0 auto var(--space-3);
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration);
}
.industry:hover .industry-icon-wrap { background: rgba(255,255,255,0.2); color: #fff; }
.industry h4 { font-size: 0.95rem; margin-bottom: 2px; }
.industry p { font-size: 0.8rem; color: var(--color-text-mute); margin: 0; }

/* === Process Timeline === */
.timeline {
  position: relative;
  max-width: 720px;
  margin: var(--space-12) auto 0;
}
.timeline::before {
  content: '';
  position: absolute;
  right: 20px; top: 20px; bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent), var(--color-highlight));
}
.tl-item {
  position: relative;
  padding-right: 60px;
  padding-bottom: var(--space-8);
}
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute;
  right: 0; top: 0;
  width: 40px; height: 40px;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-accent);
  font-size: 0.9rem;
}
.tl-item:hover .tl-dot { background: var(--color-accent); color: #fff; }
.tl-item h3 { margin-bottom: 4px; }
.tl-item p { font-size: 0.95rem; }

/* === Testimonials === */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.testimonial {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--duration);
  position: relative;
}
.testimonial:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.testimonial-quote {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--space-5);
}
.testimonial-author {
  display: flex; align-items: center; gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
}

/* === FAQ === */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--color-border);
  transition: all var(--duration);
}
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-q {
  width: 100%;
  padding: var(--space-5) 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
  text-align: right;
  cursor: pointer;
  transition: color var(--duration);
}
.faq-q:hover { color: var(--color-accent); }
.faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration);
  flex-shrink: 0;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-text);
  transition: transform var(--duration);
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after { width: 1.5px; height: 10px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-item.open .faq-icon { background: var(--color-accent); }
.faq-item.open .faq-icon::before { background: #fff; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}
.faq-item.open .faq-a { max-height: 320px; }
.faq-a-inner { padding: 0 0 var(--space-5); color: var(--color-text-light); line-height: 1.65; }

/* === CTA section === */
.cta-section {
  padding: var(--space-24) 0;
  background: var(--color-bg-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(91,108,255,0.30), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,90,31,0.20), transparent 50%);
  z-index: -1;
}
.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: -1;
}
.cta-section .container { text-align: center; position: relative; }
.cta-section h2 { color: #fff; margin-bottom: var(--space-4); }
.cta-section p { color: rgba(255,255,255,0.7); font-size: 1.125rem; max-width: 600px; margin: 0 auto var(--space-8); }
.cta-section .btn-primary { background: #fff; color: var(--color-text); }
.cta-section .btn-primary:hover { background: var(--color-bg-alt); }
.cta-section .btn-ghost { border-color: rgba(255,255,255,0.3); color: #fff; }
.cta-section .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.cta-meta { display: flex; gap: var(--space-6); justify-content: center; flex-wrap: wrap; margin-top: var(--space-6); }
.cta-meta span {
  display: inline-flex; align-items: center; gap: var(--space-2);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
}
.cta-meta span::before { content: ''; width: 14px; height: 14px; background: var(--color-success); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* === Footer === */
.site-footer {
  background: var(--color-bg-deep);
  color: rgba(255,255,255,0.7);
  padding: var(--space-20) 0 var(--space-8);
  position: relative;
}
.site-footer .brand { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--space-12); margin-bottom: var(--space-12); }
.footer-col h4 { color: #fff; margin-bottom: var(--space-4); font-size: 0.95rem; }
.footer-col ul li { padding: 6px 0; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: color var(--duration); }
.footer-col a:hover { color: #fff; }
.footer-tagline { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.6; margin-top: var(--space-4); }
.footer-social { display: flex; gap: var(--space-2); margin-top: var(--space-5); }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: all var(--duration);
}
.footer-social a:hover { background: rgba(255,255,255,0.12); }
.footer-bottom {
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* === Floating actions === */
.fab-whatsapp {
  position: fixed;
  bottom: 24px; left: 24px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
  z-index: 50;
  transition: all var(--duration);
}
.fab-whatsapp:hover { transform: scale(1.08); }
.fab-whatsapp svg { width: 28px; height: 28px; fill: #fff; }

/* === Scroll progress === */
.scroll-bar {
  position: fixed;
  top: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  z-index: 200;
  width: 0%;
  transition: width 100ms linear;
}

/* === Reveal animations === */
.reveal { opacity: 0; transform: translateY(20px); transition: all 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-1 { transition-delay: 50ms; }
.reveal-2 { transition-delay: 100ms; }
.reveal-3 { transition-delay: 150ms; }
.reveal-4 { transition-delay: 200ms; }
.reveal-5 { transition-delay: 250ms; }
.reveal-6 { transition-delay: 300ms; }

/* === Page hero === */
.page-hero {
  padding: var(--space-20) 0 var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(91,108,255,0.08), transparent);
}
.page-hero h1 { max-width: 720px; margin: 0 auto var(--space-4); }
.page-hero .lead { max-width: 640px; margin: 0 auto var(--space-6); font-size: 1.125rem; color: var(--color-text-light); }

/* === Breadcrumb === */
.crumb { padding: var(--space-4) 0; font-size: 0.85rem; color: var(--color-text-mute); border-bottom: 1px solid var(--color-border); }
.crumb a { color: var(--color-accent); }
.crumb span { margin: 0 var(--space-2); }

/* === Form === */
.form-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-12); align-items: start; }
.contact-info {
  background: var(--color-bg-deep);
  color: #fff;
  padding: var(--space-10);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(91,108,255,0.2), transparent 50%);
  pointer-events: none;
}
.contact-info h3, .contact-info p { color: #fff; position: relative; }
.contact-method {
  display: flex; align-items: center; gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.contact-method:last-child { border-bottom: none; }
.contact-method-icon {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-method a { color: #fff; font-weight: 600; display: block; }
.contact-method small { color: rgba(255,255,255,0.5); font-size: 0.8rem; display: block; }

.contact-form {
  background: var(--color-bg-card);
  padding: var(--space-10);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { margin-bottom: var(--space-4); }
.form-group label {
  display: block; font-size: 0.875rem; font-weight: 600;
  color: var(--color-text); margin-bottom: var(--space-2);
}
.form-group .req { color: var(--color-danger); }
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: #fff;
  transition: all var(--duration);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(91,108,255,0.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { cursor: pointer; }
.form-msg { margin-top: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: 10px; font-weight: 500; font-size: 0.9rem; display: none; }
.form-msg.show { display: block; }
.form-msg.success { background: rgba(16,185,129,0.08); color: #047857; border: 1px solid rgba(16,185,129,0.3); }
.form-msg.error { background: rgba(239,68,68,0.08); color: #B91C1C; border: 1px solid rgba(239,68,68,0.3); }

/* === Service detail pages === */
.service-layout { display: grid; grid-template-columns: 2fr 1fr; gap: var(--space-12); align-items: start; }
.service-main { font-size: 1rem; line-height: 1.7; }
.service-main h2 { margin-top: var(--space-12); margin-bottom: var(--space-4); }
.service-main h2:first-child { margin-top: 0; }
.service-main p { margin-bottom: var(--space-4); }
.service-main ul { margin-bottom: var(--space-4); }
.service-main ul li { padding: 8px 0; padding-right: var(--space-6); position: relative; color: var(--color-text-light); }
.service-main ul li::before {
  content: ''; position: absolute; right: 0; top: 14px;
  width: 14px; height: 14px;
  background: var(--color-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.service-aside {
  position: sticky;
  top: 100px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}
.service-aside h4 { font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-mute); margin-bottom: var(--space-4); }
.service-aside ul li { padding: 6px 0; padding-right: var(--space-5); position: relative; font-size: 0.9rem; }
.service-aside ul li::before { content: '›'; position: absolute; right: 0; color: var(--color-accent); font-weight: 700; }

/* === Case studies === */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.case-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration);
}
.case-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.case-header { padding: var(--space-6) var(--space-8); background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); }
.case-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.case-card h3 { font-size: 1.2rem; }
.case-body { padding: var(--space-8); }
.case-body p { margin-bottom: var(--space-3); font-size: 0.95rem; }
.case-body strong { color: var(--color-text); }
.case-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4);
  padding: var(--space-5) var(--space-8);
  background: var(--color-bg-deep);
  color: #fff;
}
.case-metric { text-align: center; }
.case-metric-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}
.case-metric-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

/* === Quiz === */
.quiz-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  box-shadow: var(--shadow-md);
}
.quiz-progress { height: 4px; background: var(--color-bg-alt); border-radius: var(--radius-full); margin-bottom: var(--space-8); overflow: hidden; }
.quiz-progress-bar { height: 100%; background: var(--grad-primary); border-radius: var(--radius-full); transition: width var(--duration-slow) var(--ease-out); }
.quiz-question h3 { font-size: 1.375rem; margin-bottom: var(--space-6); }
.quiz-options { display: grid; gap: var(--space-3); margin-bottom: var(--space-6); }
.quiz-option {
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-alt);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: right;
  cursor: pointer;
  transition: all var(--duration);
  width: 100%;
}
.quiz-option:hover { background: var(--color-accent-light); border-color: var(--color-accent); }
.quiz-option.selected { background: var(--color-accent-light); border-color: var(--color-accent); color: var(--color-accent-deep); }
.quiz-nav { display: flex; justify-content: space-between; gap: var(--space-3); align-items: center; }
.quiz-result { text-align: center; }
.quiz-result-icon {
  display: inline-flex;
  width: 80px; height: 80px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  border-radius: 50%;
  align-items: center; justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-4);
}

/* === Packages === */
.packages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.package {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--duration);
  display: flex; flex-direction: column;
  position: relative;
}
.package:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--color-accent); }
.package.featured { border-color: var(--color-highlight); }
.package.featured::before {
  content: 'מומלץ';
  position: absolute;
  top: -10px; right: var(--space-6);
  background: var(--color-highlight);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.package h3 { color: var(--color-text); margin-bottom: var(--space-2); }
.package-meta { color: var(--color-text-mute); font-size: 0.85rem; margin-bottom: var(--space-5); }
.package ul { flex: 1; margin-bottom: var(--space-6); }
.package ul li { padding: 6px 0; padding-right: var(--space-5); position: relative; font-size: 0.9rem; color: var(--color-text-light); }
.package ul li::before {
  content: '';
  position: absolute; right: 0; top: 10px;
  width: 12px; height: 12px;
  background: var(--color-success);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-12); }
  .hero-visual { height: 380px; max-width: 480px; margin: 0 auto; }
  .feature-grid, .feature-grid-4, .industries-grid, .testimonials-grid, .method-grid, .case-grid, .packages-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-10); }
  .form-grid, .service-layout { grid-template-columns: 1fr; gap: var(--space-8); }
  .service-aside { position: static; }
  .compare { grid-template-columns: 1fr; gap: var(--space-6); }
  .versus { margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.col-3, .bento-card.col-4, .bento-card.col-6 { grid-column: span 2; }
  .section { padding: var(--space-16) 0; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 65px; right: 0; left: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-4);
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    transform: translateY(-110%);
    transition: transform var(--duration) var(--ease-out);
  }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: var(--space-3) var(--space-4); }
  .mobile-toggle { display: flex; }
  .feature-grid, .feature-grid-2, .feature-grid-4, .industries-grid, .testimonials-grid, .method-grid, .case-grid, .packages-grid, .problem-list, .form-row, .footer-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .hero { padding: var(--space-16) 0; }
  .hero-visual { height: 320px; }
  .hv-main { width: 280px; }
  .hv-secondary, .hv-tertiary { width: 180px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .section { padding: var(--space-12) 0; }
  .section-header { margin-bottom: var(--space-10); }
  .quote-block { padding: var(--space-8); }
  .quote-mark { font-size: 3rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-meta { gap: var(--space-3); }
  .bento { grid-template-columns: 1fr; }
  .bento-card.col-3, .bento-card.col-4, .bento-card.col-6 { grid-column: span 1; }
  .timeline { padding: 0 var(--space-4); }
}

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