/* ============================================
   TALPANIT — Corporate Telecom Design System
   Master Brief: minimalist, banded sections, bold stats
   ============================================ */

/* ---------- CSS Custom Properties (Master Brief) ---------- */
:root {
  /* Palette from design: #050A34, #092676, #085CF0, #AFE9FD */
  --color-primary: #085CF0;
  --color-primary-hsl: 216, 92%, 48%;

  /* Backgrounds — "לבן שבור" (off-white / broken white) */
  --bg-base: #FAF9F7;
  --bg-surface: #FAF9F7;
  --bg-highlight: #F5F3F0;
  --bg-elevated: #F0EDE9;
  --bg-hero: #FAF9F7;
  --bg-band: #F5F3F0;

  /* Footer / Dark sections — from palette */
  --bg-dark: #050A34;
  --bg-dark-surface: #092676;
  --bg-dark-elevated: #0a2d85;

  /* Text — never pure black */
  --text-primary: #050A34;
  --text-secondary: #050A34;
  --text-muted: #4a5a7a;
  --text-faint: #566a8a;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #AFE9FD;

  /* Accent (Vibrant Blue #085CF0) */
  --accent: var(--color-primary);
  --accent-hover: #074dd6;
  --accent-light: #AFE9FD;
  --accent-subtle: rgba(8, 92, 240, 0.08);
  --accent-subtle-hover: rgba(8, 92, 240, 0.12);
  --accent-glow: rgba(8, 92, 240, 0.2);
  --accent-muted: #092676;

  /* Tech glow system — palette blues */
  --glow-cyan: rgba(175, 233, 253, 0.2);
  --glow-cyan-border: rgba(8, 92, 240, 0.3);
  --glow-cyan-solid: #AFE9FD;
  --glow-accent: 0 0 30px rgba(8, 92, 240, 0.2);
  --glow-soft: 0 8px 32px rgba(5, 10, 52, 0.06);
  --glow-tech: 0 0 40px rgba(8, 92, 240, 0.15);

  --font-family-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --border: hsl(216, 60%, 92%);
  --border-light: hsl(216, 50%, 95%);
  --border-dark: hsl(216, 80%, 15%);
  --border-accent: rgba(8, 92, 240, 0.25);
  --border-top-highlight: hsla(0, 0%, 100%, 0.1);

  --text-on-accent: hsl(0, 0%, 100%);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 4px 12px -4px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 32px -8px rgba(0, 0, 0, 0.1), 0 4px 8px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 48px -16px rgba(0, 0, 0, 0.12);

  --navbar-bg: hsla(30, 14%, 98%, 0.85);
  --navbar-bg-scrolled: hsla(30, 14%, 98%, 0.96);

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  --font-family: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-he: 'Rubik', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Typography — Golden Ratio scale (base * 1.618^n) */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.618rem;
  --font-size-3xl: 2.058rem;
  --font-size-4xl: 2.618rem;
  --font-size-5xl: 3.33rem;
  --font-size-6xl: 4.236rem;
  --font-size-mega: 5.5rem;
  --font-size-stat: 5rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 300ms ease;
  --ease-m3: cubic-bezier(0.2, 0, 0, 1);
  --ease-m3-spring: cubic-bezier(0.05, 0.7, 0.1, 1);
}

/* ---------- Dark Mode ---------- */
[data-theme="dark"] {
  --bg-base: #121218;
  --bg-surface: #1a1a24;
  --bg-highlight: #22222e;
  --bg-elevated: #2a2a38;
  --bg-hero: #121218;
  --bg-band: #1a1a24;

  --bg-dark: #0a0a14;
  --bg-dark-surface: #12121e;
  --bg-dark-elevated: #1a1a28;

  --text-primary: #f0f0f5;
  --text-secondary: #c8c8d5;
  --text-muted: #8888a0;
  --text-faint: #606078;
  --text-on-dark: #f0f0f5;
  --text-on-dark-muted: #a0a0b8;

  --accent: #4d8af7;
  --accent-hover: #6a9ff9;
  --accent-light: #AFE9FD;
  --accent-subtle: rgba(77, 138, 247, 0.12);
  --accent-subtle-hover: rgba(77, 138, 247, 0.18);
  --accent-glow: rgba(77, 138, 247, 0.25);
  --accent-muted: #1a3a7a;

  --glow-cyan: rgba(175, 233, 253, 0.08);
  --glow-cyan-border: rgba(77, 138, 247, 0.35);
  --glow-cyan-solid: #AFE9FD;
  --glow-accent: 0 0 30px rgba(77, 138, 247, 0.25);
  --glow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);
  --glow-tech: 0 0 40px rgba(77, 138, 247, 0.2);

  --border: hsl(240, 10%, 20%);
  --border-light: hsl(240, 8%, 16%);
  --border-dark: hsl(240, 12%, 22%);
  --border-accent: rgba(77, 138, 247, 0.3);
  --border-top-highlight: hsla(0, 0%, 100%, 0.06);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 12px -4px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 32px -8px rgba(0, 0, 0, 0.5), 0 4px 8px -4px rgba(0, 0, 0, 0.25);
  --shadow-xl: 0 20px 48px -16px rgba(0, 0, 0, 0.6);

  --navbar-bg: hsla(240, 15%, 10%, 0.85);
  --navbar-bg-scrolled: hsla(240, 15%, 10%, 0.96);

  color-scheme: dark;
}

[data-theme="dark"] .hero {
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(77, 138, 247, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-hero) 0%, var(--bg-base) 100%);
}
[data-theme="dark"] .hero::after {
  background:
    radial-gradient(circle at 20% 30%, rgba(77, 138, 247, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(175, 233, 253, 0.04) 0%, transparent 45%),
    radial-gradient(circle at 60% 20%, rgba(77, 138, 247, 0.04) 0%, transparent 40%);
}
[data-theme="dark"] .hero__shape--1 { border-color: rgba(77, 138, 247, 0.08); }
[data-theme="dark"] .hero__shape--2 { border-color: rgba(175, 233, 253, 0.06); }
[data-theme="dark"] .hero__shape--3 { background: rgba(175, 233, 253, 0.03); }
[data-theme="dark"] .hero__shape--4 { border-color: rgba(77, 138, 247, 0.05); }

/* Dark mode chip overrides */
[data-theme="dark"] .ai-chip__body {
  border-color: rgba(77, 138, 247, 0.4);
  background: linear-gradient(135deg, rgba(9, 38, 118, 0.3) 0%, rgba(77, 138, 247, 0.08) 100%);
}
[data-theme="dark"] .ai-chip__inner {
  background: linear-gradient(145deg, rgba(77, 138, 247, 0.15) 0%, rgba(9, 38, 118, 0.25) 100%);
  border-color: rgba(77, 138, 247, 0.3);
  box-shadow:
    0 0 30px rgba(77, 138, 247, 0.15),
    inset 0 0 20px rgba(77, 138, 247, 0.08);
}
[data-theme="dark"] .ai-chip__core {
  background: linear-gradient(135deg, rgba(77, 138, 247, 0.25) 0%, rgba(100, 160, 255, 0.3) 50%, rgba(77, 138, 247, 0.2) 100%);
  border-color: rgba(100, 160, 255, 0.4);
  box-shadow:
    0 0 50px rgba(77, 138, 247, 0.2),
    0 0 100px rgba(77, 138, 247, 0.1);
}
[data-theme="dark"] .ai-chip__grid {
  background-image:
    linear-gradient(rgba(100, 160, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 160, 255, 0.2) 1px, transparent 1px);
}
[data-theme="dark"] .ai-chip__label {
  color: var(--accent-light);
  opacity: 1;
}
[data-theme="dark"] .ai-chip__pin {
  background: rgba(77, 138, 247, 0.4);
}
[data-theme="dark"] .ai-chip__trace {
  background: rgba(77, 138, 247, 0.25);
}
[data-theme="dark"] .ai-chip__particle--1 {
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.9), 0 0 24px rgba(255, 255, 255, 0.5);
}
[data-theme="dark"] .ai-chip__particle--2 {
  background: var(--accent-light);
  box-shadow: 0 0 10px rgba(175, 233, 253, 0.6);
}
[data-theme="dark"] .ai-chip__particle--3 {
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.7);
}
[data-theme="dark"] .ai-chip__particle--4 {
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
}

[data-theme="dark"] .ai-chip__trace--flow-in::after {
  background: rgba(175, 233, 253, 0.98);
  box-shadow:
    0 0 10px rgba(77, 138, 247, 0.9),
    0 0 20px rgba(175, 233, 253, 0.35);
}

[data-theme="dark"] .ai-chip__trace--flow-out::after {
  background: rgba(52, 211, 153, 0.98);
  box-shadow:
    0 0 12px rgba(52, 211, 153, 0.85),
    0 0 22px rgba(74, 222, 128, 0.45);
}

[data-theme="dark"] .hero::before {
  background-image:
    linear-gradient(hsla(0, 0%, 100%, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, hsla(0, 0%, 100%, 0.02) 1px, transparent 1px);
}

[data-theme="dark"] .navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .hero__eyebrow {
  background: rgba(77, 138, 247, 0.1);
  border-color: rgba(77, 138, 247, 0.2);
  color: var(--accent-light);
}
[data-theme="dark"] .hero__eyebrow::before {
  background: linear-gradient(90deg, transparent, rgba(77, 138, 247, 0.12), transparent);
}

[data-theme="dark"] .narrative__text {
  background: linear-gradient(135deg, hsl(240, 15%, 12%) 0%, hsl(240, 12%, 10%) 100%);
  border-color: hsl(240, 10%, 18%);
  border-top-color: hsla(0, 0%, 100%, 0.06);
}

[data-theme="dark"] .scroll-track__card {
  background: linear-gradient(180deg, hsl(240, 12%, 13%) 0%, hsl(240, 10%, 11%) 100%);
  border-color: hsl(240, 10%, 18%);
  border-top-color: hsla(0, 0%, 100%, 0.05);
}

[data-theme="dark"] .feature-card {
  background: linear-gradient(180deg, hsl(240, 12%, 13%) 0%, hsl(240, 10%, 11%) 100%);
  border-color: hsl(240, 10%, 18%);
  border-top-color: hsla(0, 0%, 100%, 0.05);
}
[data-theme="dark"] .feature-card__title { color: var(--text-primary); }
[data-theme="dark"] .feature-card__desc { color: var(--text-secondary); }
[data-theme="dark"] .feature-card__icon {
  background: linear-gradient(135deg, rgba(77, 138, 247, 0.12), rgba(175, 233, 253, 0.08));
  border-color: rgba(77, 138, 247, 0.2);
}

[data-theme="dark"] .faq-item {
  background: linear-gradient(180deg, hsl(240, 12%, 13%) 0%, hsl(240, 10%, 11%) 100%);
  border-color: hsl(240, 10%, 18%);
  border-top-color: hsla(0, 0%, 100%, 0.04);
}

[data-theme="dark"] .roi-table-wrapper {
  border-color: hsl(240, 10%, 18%);
  border-top-color: hsla(0, 0%, 100%, 0.04);
}
[data-theme="dark"] .roi-table thead { background: hsl(240, 12%, 14%); }
[data-theme="dark"] .roi-table thead th { border-bottom-color: hsl(240, 10%, 20%); }
[data-theme="dark"] .roi-table td,
[data-theme="dark"] .roi-table tbody th[scope="row"] {
  background: var(--bg-surface);
  border-bottom-color: hsl(240, 10%, 18%);
}
[data-theme="dark"] .roi-table tbody tr:hover td,
[data-theme="dark"] .roi-table tbody tr:hover th[scope="row"] { background: var(--bg-highlight); }
[data-theme="dark"] .roi-table__ai-col { background: rgba(77, 138, 247, 0.08) !important; }

[data-theme="dark"] .contact-form__input {
  background: var(--bg-highlight);
  border-color: hsl(240, 10%, 22%);
  color: var(--text-primary);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}
[data-theme="dark"] .contact-form__input::placeholder { color: var(--text-muted); }
[data-theme="dark"] .contact-form__textarea {
  background: var(--bg-highlight);
  border-color: hsl(240, 10%, 22%);
  color: var(--text-primary);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .page-hero {
  background:
    linear-gradient(180deg, hsl(240, 15%, 9%) 0%, var(--bg-base) 40%, hsl(240, 12%, 10%) 100%),
    radial-gradient(ellipse 70% 40% at 50% 30%, rgba(77, 138, 247, 0.08) 0%, transparent 55%);
}
[data-theme="dark"] .page-hero::before {
  background-image:
    linear-gradient(hsla(0, 0%, 100%, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, hsla(0, 0%, 100%, 0.015) 1px, transparent 1px);
}

[data-theme="dark"] .section--gradient {
  background:
    linear-gradient(180deg, var(--bg-base) 0%, hsl(240, 12%, 10%) 30%, hsl(240, 14%, 11%) 100%);
}
[data-theme="dark"] .section--gradient::before {
  background-image:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(77, 138, 247, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(77, 138, 247, 0.03) 0%, transparent 65%);
}
[data-theme="dark"] .section--gradient::after {
  background-image:
    linear-gradient(hsla(0, 0%, 100%, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, hsla(0, 0%, 100%, 0.012) 1px, transparent 1px);
}

[data-theme="dark"] .section--band {
  background:
    linear-gradient(180deg, hsl(240, 10%, 10%) 0%, hsl(240, 12%, 11%) 50%, hsl(240, 10%, 10%) 100%);
}

[data-theme="dark"] .section--alt { background: var(--bg-surface); }
[data-theme="dark"] .about-section--alt { border-top-color: hsl(240, 10%, 18%); }
[data-theme="dark"] .about-callout {
  background: var(--bg-surface);
  border-color: hsl(240, 10%, 18%);
  border-top-color: var(--accent);
}
[data-theme="dark"] .about-benefit {
  background: var(--bg-base);
  border-color: hsl(240, 10%, 18%);
}
[data-theme="dark"] .pricing-model,
[data-theme="dark"] .pricing-included {
  background: var(--bg-surface);
  border-color: hsl(240, 10%, 18%);
}
[data-theme="dark"] .pricing-model__scenario {
  background: var(--bg-base);
  border-color: hsl(240, 10%, 18%);
}

[data-theme="dark"] .cookie-banner {
  background: var(--bg-surface);
  border-top-color: hsl(240, 10%, 18%);
}

[data-theme="dark"] .a11y-toggle {
  background: linear-gradient(180deg, hsl(240, 12%, 14%) 0%, hsl(240, 10%, 12%) 100%);
  border-color: hsl(240, 10%, 20%);
  border-top-color: hsla(0, 0%, 100%, 0.05);
  color: var(--text-primary);
}

[data-theme="dark"] .a11y-panel {
  background: var(--bg-surface);
  border-color: hsl(240, 10%, 20%);
}
[data-theme="dark"] .a11y-option {
  background: var(--bg-highlight);
  border-color: hsl(240, 10%, 25%);
  color: var(--text-primary);
}
[data-theme="dark"] .a11y-panel__reset {
  border-color: hsl(240, 10%, 25%);
  color: var(--text-primary);
}

[data-theme="dark"] .mobile-nav-open .navbar {
  background: hsl(240, 15%, 10%);
}
[data-theme="dark"] .mobile-nav-open .navbar__links {
  background: hsl(240, 15%, 10%);
  border-top-color: hsl(240, 10%, 18%);
}

[data-theme="dark"] .legal-prose__declaration {
  background: var(--bg-highlight);
  border-color: hsl(240, 10%, 18%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-bottom: env(safe-area-inset-bottom, 0);
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--bg-base);
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: manipulation;
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: 10001;
  padding: var(--space-sm) var(--space-lg);
  background: var(--accent);
  color: var(--text-on-accent);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
}
.skip-link:focus { top: var(--space-md); outline: 2px solid var(--text-on-accent); outline-offset: 2px; }
[dir="rtl"] .skip-link { left: auto; right: var(--space-md); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

a:focus-visible, button:focus-visible, .btn:focus-visible,
.hamburger:focus-visible, .a11y-toggle:focus-visible,
.a11y-option:focus-visible, .a11y-panel__close:focus-visible,
.back-to-top:focus-visible, .faq-item__question:focus-visible,
[tabindex]:focus-visible:not([tabindex="-1"]) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
/* WCAG 2.1 AA: Red focus ring for high visibility */

/* ---------- Tech Monospace Utility ---------- */
.tech-mono {
  font-family: var(--font-family-mono);
  letter-spacing: -0.02em;
}

/* ---------- Container ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--space-xl); }
.container--wide { max-width: 1440px; }
@media (max-width: 768px) {
  .container { padding: 0 var(--space-lg); }
}

/* ---------- Figure ---------- */
.figure-img { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.figure-img img { width: 100%; height: auto; object-fit: cover; }
.figure-caption { font-size: var(--font-size-sm); color: var(--text-muted); margin-top: var(--space-sm); line-height: 1.5; }

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-base), background var(--transition-base), box-shadow var(--transition-base), backdrop-filter var(--transition-base);
}

.navbar.scrolled {
  border-bottom-color: var(--border-light);
  background: var(--navbar-bg-scrolled);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mega Menu */
.navbar__item--mega { position: static; }
.navbar__link-trigger { display: flex; align-items: center; }
.mega-menu {
  position: absolute;
  top: 100%; right: 0; left: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-base), visibility var(--transition-base), transform var(--transition-base);
  z-index: 100;
}
[dir="rtl"] .mega-menu { right: 0; left: 0; }
.navbar__item--mega:hover .mega-menu,
.navbar__item--mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.navbar__item--mega:hover .navbar__link-trigger,
.navbar__item--mega:focus-within .navbar__link-trigger { color: var(--accent); }
.mega-menu[aria-hidden="true"] { pointer-events: none; }

.mega-menu__inner { padding: var(--space-2xl) 0; }
.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3xl);
}
.mega-menu__heading {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}
.mega-menu__col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.mega-menu__col a {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  font-weight: 400;
  transition: color var(--transition-fast);
}
.mega-menu__col a:hover { color: var(--accent); }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
  direction: ltr;
}

.navbar__logo { font-size: var(--font-size-xl); font-weight: 700; color: var(--text-primary); letter-spacing: -0.03em; display: flex; align-items: center; flex-shrink: 0; min-width: 0; }
.navbar__logo img { width: 200px; max-width: 200px; height: auto; }

.navbar__links { display: flex; align-items: center; gap: var(--space-2xl); }

.navbar__links a {
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 50%;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition-base), left var(--transition-base);
  box-shadow: 0 0 6px var(--accent-glow);
}
.navbar__links a:hover { color: var(--text-primary); }
.navbar__links a:hover::after { width: 100%; left: 0; }

.navbar__actions { display: flex; align-items: center; gap: var(--space-md); flex-shrink: 0; }
/* Must beat `.btn { display: inline-flex }` (declared later); otherwise the navbar CTA shows on mobile and collides with the hamburger */
.navbar__actions .navbar__cta { display: none; }
@media (min-width: 1025px) {
  .navbar__actions .navbar__cta { display: inline-flex; }
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--accent-subtle);
}
.theme-toggle__icon { width: 18px; height: 18px; }
.theme-toggle__icon--dark { display: block; }
.theme-toggle__icon--light { display: none; }
[data-theme="dark"] .theme-toggle__icon--dark { display: none; }
[data-theme="dark"] .theme-toggle__icon--light { display: block; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 2.25rem; height: 2.25rem;
  gap: var(--space-xs);
  flex-shrink: 0;
  position: relative;
  z-index: 1002;
}
.hamburger span { display: block; width: 20px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform var(--transition-base), opacity var(--transition-fast); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* מסכים עד טאבלט: ניווט מלא לא נכנס — תפריט המבורגר */
@media (max-width: 1024px) {
  .hamburger { display: flex; }
  .navbar__links { display: none; }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--accent);
  color: var(--text-on-accent);
  border: 1px solid transparent;
  box-shadow: 0 0 24px var(--accent-glow);
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 200%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.3s ease;
  pointer-events: none;
}
.btn--primary:hover::before { left: 100%; }
.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 48px var(--accent-glow), var(--glow-accent);
  transform: translateY(-2px) scale(1.02);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-subtle);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid transparent;
}
.btn--ghost:hover { color: var(--accent); }

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--font-size-base);
}

/* CTA Links with Arrow (Master Brief) */
.cta-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  transition: color 0.3s ease-in-out;
}
.cta-link__arrow {
  display: inline-flex;
  transition: transform 0.3s ease-in-out;
}
[dir="rtl"] .cta-link__arrow { transform: scaleX(-1); }
.cta-link:hover { color: var(--accent); }
.cta-link:hover .cta-link__arrow { transform: translateX(5px); }
[dir="rtl"] .cta-link:hover .cta-link__arrow { transform: scaleX(-1) translateX(5px); }

/* Tag Pills (News section) */
.tag-pill {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  font-size: var(--font-size-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: var(--bg-highlight);
  border-radius: 50px;
  transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}
.tag-pill:hover {
  background: var(--accent);
  color: var(--text-on-accent);
}

.section--dark .btn--outline {
  color: var(--text-on-dark);
  border-color: hsla(0, 0%, 100%, 0.2);
}
.section--dark .btn--outline:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
  background: var(--accent-subtle-hover);
}

.section--dark .btn--ghost {
  color: var(--text-on-dark);
}
.section--dark .btn--ghost:hover { color: var(--accent-light); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9rem 0 var(--space-5xl);
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(8, 92, 240, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, var(--bg-hero) 0%, var(--bg-base) 100%);
  overflow: hidden;
  text-align: center;
}

/* Animated gradient mesh behind hero */
.hero::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background:
    radial-gradient(circle at 20% 30%, rgba(8, 92, 240, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 60% 20%, rgba(8, 92, 240, 0.05) 0%, transparent 40%);
  animation: heroMeshDrift 25s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes heroMeshDrift {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.9; }
  50% { transform: translate(-4%, 3%) rotate(2deg) scale(1.05); opacity: 1; }
  100% { transform: translate(3%, -2%) rotate(-2deg) scale(1); opacity: 0.95; }
}

/* Floating geometric shapes */
.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: shapeFloat 14s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transition: opacity 0.5s ease;
}
.hero__shape--1 {
  width: 300px; height: 300px;
  border: 1px solid rgba(8, 92, 240, 0.08);
  top: 10%; left: 5%;
  animation-delay: 0s;
  animation-duration: 18s;
}
.hero__shape--2 {
  width: 180px; height: 180px;
  border: 1px solid rgba(0, 212, 255, 0.1);
  bottom: 15%; right: 8%;
  animation-delay: 3s;
  animation-duration: 15s;
}
.hero__shape--3 {
  width: 80px; height: 80px;
  background: rgba(0, 212, 255, 0.04);
  top: 40%; right: 20%;
  animation-delay: 6s;
  animation-duration: 12s;
}
.hero__shape--4 {
  width: 120px; height: 120px;
  border: 1px dashed rgba(8, 92, 240, 0.06);
  bottom: 30%; left: 15%;
  animation-delay: 2s;
  animation-duration: 20s;
  border-radius: 0;
  transform: rotate(45deg);
}
@keyframes shapeFloat {
  0% { opacity: 0; transform: translateY(24px) scale(0.92); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  50% { transform: translateY(-24px) scale(1.06); }
  100% { opacity: 0; transform: translateY(20px) scale(0.96); }
}

/* Hero with Video (Master Brief) */
.hero--video {
  padding: 0;
  min-height: 80vh;
  background: #000;
}
.hero--video .hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero--video .hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--video .hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.hero--video .hero__inner {
  position: relative;
  z-index: 2;
  padding: 8rem var(--space-xl) var(--space-5xl);
}
@media (max-width: 768px) {
  .hero--video .hero__inner { padding: 6rem var(--space-lg) var(--space-4xl); }
}
@media (max-width: 480px) {
  .hero--video .hero__inner { padding: 5rem var(--space-md) var(--space-3xl); }
}
.hero--video .hero__title,
.hero--video .hero__subtitle,
.hero--video .hero__eyebrow { color: #fff; }
.hero--video .hero__subtitle { color: rgba(255, 255, 255, 0.9); }
.hero--video .hero__eyebrow { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.hero--video .hero__video-controls {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  z-index: 3;
}
[dir="rtl"] .hero--video .hero__video-controls { right: auto; left: var(--space-xl); }
.hero__video-controls button {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  cursor: pointer;
  transition: background var(--transition-fast);
}
.hero__video-controls button:hover { background: rgba(0, 0, 0, 0.7); }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsla(0, 0%, 0%, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, hsla(0, 0%, 0%, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero__text {
  text-align: right;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-2xl);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.hero__eyebrow::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(8, 92, 240, 0.15), transparent);
  animation: eyebrowScan 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}
@keyframes eyebrowScan {
  0% { left: -60%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 160%; opacity: 0; }
}

.hero__title {
  font-size: var(--font-size-mega);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-xl);
}

.hero__subtitle {
  font-size: var(--font-size-xl);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: var(--space-2xl);
  max-width: 60ch;
}

.hero__cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ========== SECTIONS (Full-bleed system) ========== */
.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.section--dark .narrative__tagline,
.section--dark .narrative__text p,
.section--dark .mega-stat__label { color: var(--text-on-dark-muted); }
.section--dark .narrative__title,
.section--dark .mega-stat__value { color: var(--text-on-dark); }

.section--gradient {
  background:
    linear-gradient(180deg, var(--bg-base) 0%, hsl(216, 15%, 97.5%) 30%, hsl(216, 18%, 96%) 100%);
  position: relative;
  overflow: hidden;
}
.section--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(8, 92, 240, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(8, 92, 240, 0.04) 0%, transparent 65%);
  pointer-events: none;
}
.section--gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsla(216, 40%, 0%, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, hsla(216, 40%, 0%, 0.015) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}
.section--gradient .container { position: relative; z-index: 1; }

.section--alt {
  background: var(--bg-surface);
}

/* Banded sections (Master Brief) */
.section--band {
  background:
    linear-gradient(180deg, hsl(216, 12%, 98%) 0%, var(--bg-band) 50%, hsl(216, 10%, 96.5%) 100%);
  position: relative;
}
.section--band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(0, 0, 0, 0.015) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

/* Pillar alternating layout */
.narrative__split--reverse {
  direction: ltr;
}
.narrative__split--reverse .narrative__text { order: 2; }
.narrative__split--reverse .narrative__visual { order: 1; }
[dir="rtl"] .narrative__split--reverse { direction: rtl; }
[dir="rtl"] .narrative__split--reverse .narrative__text { order: 1; }
[dir="rtl"] .narrative__split--reverse .narrative__visual { order: 2; }

/* Data highlight (bold stat) */
.pillar-stat-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-lg);
}
.pillar-stat {
  font-size: var(--font-size-stat);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}
.pillar-stat__label {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  font-weight: 500;
  margin-top: var(--space-sm);
}

/* ========== NARRATIVE SECTIONS ========== */
.narrative__header {
  text-align: center;
  margin-bottom: var(--space-4xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.narrative__title {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
}

.narrative__tagline {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.narrative__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  margin-bottom: var(--space-4xl);
}
.narrative__split--reverse { display: grid; grid-template-columns: 1fr 1fr; }

.narrative__text {
  padding: var(--space-2xl);
  background: linear-gradient(135deg, hsl(216, 10%, 99%) 0%, hsl(216, 8%, 97%) 100%);
  border: 1px solid var(--border-light);
  border-top: 1px solid hsla(0, 0%, 100%, 0.9);
  border-radius: var(--radius-xl);
  box-shadow:
    0 4px 6px -1px rgba(5, 10, 52, 0.04),
    0 10px 20px -4px rgba(5, 10, 52, 0.03);
}
.section--dark .narrative__text {
  background: linear-gradient(135deg, hsl(216, 70%, 12%) 0%, hsl(216, 65%, 10%) 100%);
  border-color: hsla(0, 0%, 100%, 0.08);
  border-top-color: hsla(0, 0%, 100%, 0.12);
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.25),
    0 10px 20px -4px rgba(0, 0, 0, 0.15);
}
.section--dark .narrative__text .pillar-stat { color: var(--accent-light); }
.section--dark .narrative__text .pillar-stat__label { color: var(--text-on-dark-muted); }
.section--dark .narrative__text .cta-link { color: var(--accent-light); }

.narrative__text p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 65ch;
}
.section--dark .narrative__text p {
  color: var(--text-on-dark-muted);
}

.narrative__text p:last-child { margin-bottom: 0; }

.narrative__text .mega-stat {
  margin-top: var(--space-xl);
}

.narrative__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.narrative__cta {
  text-align: center;
  margin-top: var(--space-3xl);
}

/* ========== STATS BANNER ========== */
.stats-banner { padding: var(--space-4xl) 0; }

.stats-banner__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

/* ========== STAT CARDS ========== */
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-2xl);
  background: var(--bg-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  border-color: var(--glow-cyan-border);
  box-shadow: var(--glow-tech);
}
.stat-card__live {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: #28c840;
  font-family: var(--font-family-mono);
  letter-spacing: 0.08em;
}
[dir="rtl"] .stat-card__live { right: auto; left: var(--space-md); }
.stat-card__dot {
  width: 6px; height: 6px;
  background: #28c840;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(40, 200, 64, 0.5);
  animation: pulse 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* ========== MEGA STATS ========== */
.mega-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.mega-stat__value {
  font-size: var(--font-size-6xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}

.mega-stat__label {
  font-size: var(--font-size-base);
  color: var(--text-muted);
  font-weight: 500;
}

/* ========== SCROLL TRACK (Cards grid - no horizontal scroll) ========== */
.scroll-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.scroll-track__card {
  min-width: 0;
  background: linear-gradient(180deg, hsl(0, 0%, 100%) 0%, hsl(216, 10%, 98%) 100%);
  border: 1px solid hsl(216, 30%, 88%);
  border-top: 1px solid hsla(0, 0%, 100%, 0.85);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow:
    0 4px 6px -1px rgba(5, 10, 52, 0.06),
    0 10px 16px -4px rgba(5, 10, 52, 0.05);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.scroll-track__card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 12px -4px rgba(5, 10, 52, 0.08),
    0 20px 32px -8px rgba(5, 10, 52, 0.06),
    0 0 20px rgba(8, 92, 240, 0.08);
  border-color: var(--glow-cyan-border);
  border-top-color: hsla(0, 0%, 100%, 0.9);
}

.scroll-track__card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.scroll-track__card p {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.section--dark .scroll-track__card {
  background: var(--bg-dark-surface);
  border-color: var(--border-dark);
  border-top-color: hsla(0, 0%, 100%, 0.06);
}
.section--dark .scroll-track__card h3 { color: var(--text-on-dark); }
.section--dark .scroll-track__card p { color: var(--text-on-dark-muted); }

.scroll-track__card__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent);
  color: var(--text-on-accent);
  font-weight: 700;
  font-size: var(--font-size-base);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section--dark .scroll-track__card__num {
  background: var(--accent-light);
  color: var(--bg-dark);
}

/* 5 cards in one row - התהליך ב-5 צעדים */
.scroll-track--row {
  grid-template-columns: repeat(5, 1fr);
}

/* ========== BENTO GRID (Tech Section) ========== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(200px, auto);
  grid-auto-flow: dense;
  gap: var(--space-lg);
}
.bento-item--large {
  grid-column: span 1;
  grid-row: span 2;
}
.bento-item--wide {
  grid-column: span 2;
}

/* Legacy support */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  background: linear-gradient(180deg, hsl(0, 0%, 100%) 0%, hsl(216, 12%, 98%) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid hsl(216, 30%, 88%);
  border-top: 1px solid hsla(0, 0%, 100%, 0.9);
  box-shadow:
    0 4px 6px -1px rgba(5, 10, 52, 0.06),
    0 12px 20px -4px rgba(5, 10, 52, 0.05),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: right;
  display: flex;
  flex-direction: column;
}
[dir="rtl"] .feature-card { text-align: right; }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 16px -4px rgba(5, 10, 52, 0.08),
    0 24px 40px -8px rgba(5, 10, 52, 0.06),
    0 0 24px rgba(8, 92, 240, 0.1),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.6);
  border-color: var(--glow-cyan-border);
  border-top-color: hsla(0, 0%, 100%, 0.95);
}

.feature-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-subtle), var(--glow-cyan));
  color: var(--accent);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}
.feature-card__icon--lg {
  width: 4.5rem;
  height: 4.5rem;
}

.feature-card__title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.feature-card__desc {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.bento-item__tag {
  display: inline-flex;
  align-self: flex-start;
  margin-top: var(--space-lg);
  padding: 0.25rem 0.75rem;
  font-size: var(--font-size-xs);
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-sm);
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
  }
  .bento-item--large { grid-row: span 1; }
}
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-item--large,
  .bento-item--wide { grid-column: span 1; }
}

/* ========== NEWS GRID (Master Brief) ========== */
.news-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-3xl);
}
.news-section__title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}
.news-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.news-card__link:hover .news-card__thumb img { transform: scale(1.05); }
.news-card__link:hover .news-card__title { color: var(--accent); }
.news-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}
.news-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.news-card__meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}
.news-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: var(--space-md);
  transition: color var(--transition-fast);
}
.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.news-card__read {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}
.news-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
}
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ========== CALL CARD (Hero visual) ========== */
.hero__call-card,
.narrative__call-card {
  width: 380px;
  max-width: 100%;
  background: linear-gradient(180deg, hsl(216, 15%, 98%) 0%, hsl(216, 12%, 96%) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  border-top: 1px solid hsla(0, 0%, 100%, 0.9);
  box-shadow:
    0 4px 6px -1px rgba(5, 10, 52, 0.08),
    0 12px 24px -6px rgba(5, 10, 52, 0.06),
    0 0 0 1px rgba(8, 92, 240, 0.04),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.8);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.hero__call-card:hover,
.narrative__call-card:hover {
  box-shadow:
    0 4px 6px -1px rgba(5, 10, 52, 0.1),
    0 16px 32px -8px rgba(5, 10, 52, 0.08),
    0 0 24px rgba(8, 92, 240, 0.15),
    0 -2px 12px rgba(8, 92, 240, 0.12),
    inset 0 1px 0 hsla(0, 0%, 100%, 0.8);
  border-color: var(--glow-cyan-border);
}

.hero__call-card::before,
.narrative__call-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(8, 92, 240, 0.25), transparent);
  pointer-events: none;
}
.hero__call-card::after,
.narrative__call-card::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(180deg, transparent, rgba(8, 92, 240, 0.2));
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  pointer-events: none;
}

.call-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); margin-bottom: var(--space-xl); position: relative; z-index: 1; }

.call-card__number {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-full);
}

.call-card__sim-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.375rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
}

.call-card__active { display: flex; align-items: center; gap: 0.375rem; font-size: var(--font-size-sm); font-weight: 600; color: var(--accent); }

.call-card__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px rgba(40, 200, 64, 0.5); }
  50% { opacity: 0.8; transform: scale(1.15); box-shadow: 0 0 14px rgba(40, 200, 64, 0.7); }
}

.call-card__body { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }

.call-card__avatar {
  width: 3.5rem; height: 3.5rem;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-muted));
  color: var(--text-on-accent);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  box-shadow: 0 4px 16px var(--accent-glow);
}

.call-card__wave { display: flex; align-items: flex-end; justify-content: center; gap: 3px; margin: var(--space-sm) 0; }
.call-card__wave .wave-dot { transform-origin: center bottom; }
.call-card__wave--primary .wave-dot { width: 4px; height: 12px; background: var(--accent); border-radius: var(--radius-full); animation: waveAnim 1.2s ease-in-out infinite; }
.call-card__wave--primary .wave-dot:nth-child(1) { animation-delay: 0s; height: 8px; }
.call-card__wave--primary .wave-dot:nth-child(2) { animation-delay: 0.1s; height: 14px; }
.call-card__wave--primary .wave-dot:nth-child(3) { animation-delay: 0.2s; height: 20px; }
.call-card__wave--primary .wave-dot:nth-child(4) { animation-delay: 0.3s; height: 24px; }
.call-card__wave--primary .wave-dot:nth-child(5) { animation-delay: 0.4s; height: 24px; }
.call-card__wave--primary .wave-dot:nth-child(6) { animation-delay: 0.3s; height: 20px; }
.call-card__wave--primary .wave-dot:nth-child(7) { animation-delay: 0.2s; height: 14px; }
.call-card__wave--primary .wave-dot:nth-child(8) { animation-delay: 0.1s; height: 10px; }
.call-card__wave--primary .wave-dot:nth-child(9) { animation-delay: 0s; height: 8px; }
.call-card__wave--muted .wave-dot { width: 3px; height: 8px; background: var(--text-muted); opacity: 0.5; border-radius: var(--radius-full); animation: waveAnim 1.4s ease-in-out infinite; }
.call-card__wave--muted .wave-dot:nth-child(1) { animation-delay: 0.2s; }
.call-card__wave--muted .wave-dot:nth-child(2) { animation-delay: 0.35s; }
.call-card__wave--muted .wave-dot:nth-child(3) { animation-delay: 0.5s; }
.call-card__wave--muted .wave-dot:nth-child(4) { animation-delay: 0.65s; }
.call-card__wave--muted .wave-dot:nth-child(5) { animation-delay: 0.7s; }
.call-card__wave--muted .wave-dot:nth-child(6) { animation-delay: 0.65s; }
.call-card__wave--muted .wave-dot:nth-child(7) { animation-delay: 0.5s; }
.call-card__wave--muted .wave-dot:nth-child(8) { animation-delay: 0.35s; }
.call-card__wave--muted .wave-dot:nth-child(9) { animation-delay: 0.2s; }
@keyframes waveAnim { 0%, 100% { transform: scaleY(0.5); opacity: 0.6; } 50% { transform: scaleY(1); opacity: 1; } }

.call-card__transcription {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin: var(--space-sm) 0;
  transition: color 0.25s ease;
}
.call-card__transcription[data-call-role="assistant"] {
  color: var(--accent);
}
.call-card__sparkle { margin-top: var(--space-md); color: var(--accent); opacity: 0.4; }

/* ========== ROI TABLE ========== */
.roi-table-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  border-top: 1px solid hsla(0, 0%, 100%, 0.85);
  overflow: hidden;
  overflow-x: auto;
  box-shadow:
    0 4px 6px -1px rgba(5, 10, 52, 0.06),
    0 12px 24px -6px rgba(5, 10, 52, 0.05);
}

.roi-table { width: 100%; border-collapse: collapse; font-size: var(--font-size-sm); }
.roi-table thead { background: var(--bg-highlight); }
.roi-table thead th {
  padding: var(--space-lg);
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  border-bottom: 2px solid var(--border);
  font-size: var(--font-size-base);
}
[dir="rtl"] .roi-table thead th { text-align: right; }

.roi-table td {
  padding: var(--space-md) var(--space-lg);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
[dir="rtl"] .roi-table td { text-align: right; }

.roi-table tbody th[scope="row"] {
  padding: var(--space-md) var(--space-lg);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-align: right;
}
[dir="rtl"] .roi-table tbody th[scope="row"] { text-align: right; }

.roi-table tbody tr:last-child > * { border-bottom: none; }
.roi-table tbody tr { transition: background var(--transition-fast); }
.roi-table tbody tr:hover td,
.roi-table tbody tr:hover th[scope="row"] { background: var(--bg-highlight); }
.roi-table tbody tr:hover .roi-table__ai-col { background: var(--accent-subtle) !important; }
.roi-table__metric { font-weight: 600; color: var(--text-primary); }
.roi-table__ai-col { color: var(--accent) !important; font-weight: 600; background: var(--accent-subtle) !important; }
.roi-table thead .roi-table__ai-col { background: var(--accent-subtle) !important; }

.roi-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--text-on-accent);
  font-size: 0.7rem;
  font-weight: 700;
  margin-inline-end: 0.375rem;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ========== FAQ ========== */
.faq { background: var(--bg-base); }

.faq .narrative__header { margin-bottom: var(--space-3xl); }

.faq__list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, hsl(216, 12%, 99%) 0%, var(--bg-surface) 100%);
  border-top: 1px solid hsla(0, 0%, 100%, 0.7);
  box-shadow:
    0 2px 4px -1px rgba(5, 10, 52, 0.03),
    0 4px 8px -2px rgba(5, 10, 52, 0.02);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.faq-item:hover,
.faq-item--open {
  border-color: var(--border-accent);
  box-shadow:
    0 4px 8px -2px rgba(5, 10, 52, 0.04),
    0 0 12px rgba(8, 92, 240, 0.06);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}
[dir="rtl"] .faq-item__question { text-align: right; flex-direction: row-reverse; }
.faq-item__question:hover { color: var(--accent); }

.faq-item__chevron {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform var(--transition-base), color var(--transition-base);
}
.faq-item--open .faq-item__chevron { transform: rotate(180deg); color: var(--accent); }

.faq-item__answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-base);
}
.faq-item--open .faq-item__answer-wrapper { grid-template-rows: 1fr; }
.faq-item__answer { overflow: hidden; }
.faq-item__answer p {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item__answer-body {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-item__answer-body ul {
  list-style: none; padding: 0;
  margin: var(--space-sm) 0;
  display: flex; flex-direction: column; gap: var(--space-xs);
}
.faq-item__answer-body ul li {
  position: relative;
  padding-inline-start: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.65;
}
.faq-item__answer-body ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}

/* ========== CTA SECTION ========== */
.cta-section {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.cta-section__inner { max-width: 560px; margin: 0 auto; }

.cta-section__title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}
.section--dark .cta-section__title { color: var(--text-on-dark); }

.cta-section__subtitle {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}
.section--dark .cta-section__subtitle { color: var(--text-on-dark-muted); }

.cta-section__trust {
  font-size: var(--font-size-sm);
  margin-top: var(--space-md);
}
.section--dark .cta-section__trust { color: var(--text-on-dark-muted); }

/* ========== CONTACT FORM ========== */
.contact-form { display: flex; flex-direction: column; gap: var(--space-sm); max-width: 400px; margin: 0 auto var(--space-md); width: 100%; }
.contact-form__fields { display: flex; flex-direction: column; gap: var(--space-sm); }

.contact-form__input {
  padding: 0.875rem 1.25rem;
  font-size: var(--font-size-sm);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--bg-base);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}
.contact-form__input:focus { border-color: var(--accent); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06), 0 0 0 3px var(--accent-glow); }
.contact-form__input::placeholder { color: var(--text-muted); }

.section--dark .contact-form__input {
  background: var(--bg-dark-surface);
  border-color: var(--border-dark);
  color: var(--text-on-dark);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}
.section--dark .contact-form__input:focus {
  border-color: var(--accent-light);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 0 3px var(--accent-glow);
}
.section--dark .contact-form__input::placeholder { color: var(--text-on-dark-muted); }

[dir="rtl"] .contact-form__input,
[dir="rtl"] .contact-form__textarea,
[dir="rtl"] .contact-form__select { text-align: right; }

.contact-form__disclosure { font-size: var(--font-size-sm); color: var(--text-muted); margin: 0; }
.section--dark .contact-form__disclosure { color: var(--text-on-dark-muted); }
.contact-form__disclosure a { color: var(--accent); }

.contact-form__consent { font-size: var(--font-size-sm); color: var(--text-muted); display: flex; align-items: center; gap: var(--space-sm); cursor: pointer; align-self: stretch; text-align: right; }
.section--dark .contact-form__consent { color: var(--text-on-dark-muted); }
.contact-form__consent a { color: var(--accent); }
.contact-form__btn { align-self: center; }
.contact-form__btn:disabled { opacity: 0.6; cursor: not-allowed; }

.contact-form__message {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  text-align: center;
}
.contact-form__message--success {
  background: var(--color-success-bg, #e8f5e9);
  color: var(--color-success-text, #2e7d32);
  border: 1px solid var(--color-success-border, #a5d6a7);
}
.contact-form__message--error {
  background: var(--color-error-bg, #ffebee);
  color: var(--color-error-text, #c62828);
  border: 1px solid var(--color-error-border, #ef9a9a);
}
[data-theme="dark"] .contact-form__message--success {
  background: rgba(46, 125, 50, 0.15);
  color: #81c784;
  border-color: rgba(129, 199, 132, 0.3);
}
[data-theme="dark"] .contact-form__message--error {
  background: rgba(198, 40, 40, 0.15);
  color: #ef9a9a;
  border-color: rgba(239, 154, 154, 0.3);
}

.section--dark .contact-form__consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}
.section--dark .contact-form__consent input[type="checkbox"]:checked {
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.65rem no-repeat;
  border-color: var(--accent);
}
.section--dark .contact-form__consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}

.contact-form__select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a5a7a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1.25rem center;
  background-size: 12px;
  cursor: pointer;
}
[dir="rtl"] .contact-form__select {
  background-position: left 1.25rem center;
}
.contact-form__select option { color: var(--text-primary); background: var(--bg-surface); }
.contact-form__select:invalid { color: var(--text-muted); }
.contact-form__select:focus { color: var(--text-primary); }

.section--dark .contact-form__select {
  border-color: rgba(255, 255, 255, 0.32);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14' viewBox='0 0 26 14'%3E%3Cpath d='M0 1 L13 13 L26 1' fill='none' stroke='%23AFE9FD' stroke-opacity='0.16' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: repeat, no-repeat;
  background-position: 0 0, left 1.25rem center;
  background-size: 26px 14px, 12px;
}
.section--dark .contact-form__select:invalid { color: var(--text-on-dark-muted); }
.section--dark .contact-form__select:focus { color: var(--text-on-dark); }
.section--dark .contact-form__select option { background: var(--bg-dark-surface); color: var(--text-on-dark); }

[data-theme="dark"] .contact-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238888a0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

[data-theme="dark"] .section--dark .contact-form__select {
  border-color: rgba(255, 255, 255, 0.32);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='14' viewBox='0 0 26 14'%3E%3Cpath d='M0 1 L13 13 L26 1' fill='none' stroke='%23AFE9FD' stroke-opacity='0.16' stroke-width='1'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: repeat, no-repeat;
  background-position: 0 0, left 1.25rem center;
  background-size: 26px 14px, 12px;
}

.contact-form__textarea {
  padding: 0.875rem 1.25rem;
  font-size: var(--font-size-sm);
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-base);
  color: var(--text-primary);
  resize: vertical;
  min-height: 6rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}
.contact-form__textarea:focus { border-color: var(--accent); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06), 0 0 0 3px var(--accent-glow); }

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark-muted);
  padding: 0 0 var(--space-lg);
  border-top: none;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0 0;
}
.footer__col--brand {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  min-width: 200px;
}
.footer__logo {
  flex-shrink: 0;
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-on-dark);
  margin-bottom: 0;
}
.footer__logo img { display: block; width: 180px; max-width: 180px; height: auto; }
.footer__brand-content { flex: 1; min-width: 0; }
.footer__tagline { font-size: var(--font-size-sm); color: var(--text-on-dark-muted); max-width: 260px; margin-bottom: var(--space-sm); }
.footer__contact p { font-size: var(--font-size-sm); color: var(--text-on-dark-muted); margin-bottom: 0.125rem; }
.footer__contact a { color: var(--text-on-dark-muted); transition: color var(--transition-fast); }
.footer__contact a:hover { color: var(--accent-light); }

.footer__categories {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  align-items: flex-start;
}
.footer__col-title { font-size: var(--font-size-sm); font-weight: 600; color: var(--text-on-dark); margin-bottom: var(--space-sm); text-transform: uppercase; letter-spacing: 0.06em; }
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-xs); }
.footer__col a { font-size: var(--font-size-sm); color: var(--text-on-dark-muted); transition: color var(--transition-fast); }
.footer__col a:hover { color: var(--accent-light); }

.footer__bottom {
  width: 100%;
  padding-top: var(--space-md);
  margin-top: var(--space-xl);
  border-top: 1px solid hsla(0, 0%, 100%, 0.08);
  font-size: var(--font-size-sm);
  color: var(--text-on-dark-muted);
  text-align: center;
}

/* ========== PAGE STYLES (subpages) ========== */
.page-main { padding-top: 5.5rem; min-height: 100vh; }

.page-hero {
  padding: var(--space-5xl) 0 var(--space-3xl);
  text-align: center;
  background:
    linear-gradient(180deg, hsl(216, 20%, 99%) 0%, var(--bg-base) 40%, hsl(216, 15%, 97%) 100%),
    radial-gradient(ellipse 70% 40% at 50% 30%, rgba(8, 92, 240, 0.08) 0%, transparent 55%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsla(216, 30%, 0%, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, hsla(216, 30%, 0%, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 75%);
}
.page-hero__title {
  font-size: var(--font-size-5xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  margin-bottom: var(--space-md);
  position: relative;
}
.page-hero__subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-muted);
  max-width: 60ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Legacy page-title-section support */
.page-title-section { padding: var(--space-5xl) 0 var(--space-2xl); }
.page-title-section .section-header { margin-bottom: 0; text-align: center; }

.section-header { text-align: center; margin-bottom: var(--space-3xl); max-width: 640px; margin-left: auto; margin-right: auto; }
.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
}
.section-subtitle { font-size: var(--font-size-base); color: var(--text-muted); line-height: 1.7; }

/* ========== ABOUT PAGE ========== */
.about-section { padding: var(--space-4xl) 0; }
.about-section .container > * + * { margin-top: var(--space-2xl); }
.about-section--alt { background: var(--bg-surface); border-top: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: center; }
.about__content .section-title { margin-bottom: var(--space-xl); }
.about__lead { font-size: var(--font-size-lg); color: var(--text-primary); line-height: 1.75; margin-bottom: var(--space-lg); font-weight: 500; }
.about__text { font-size: var(--font-size-base); color: var(--text-secondary); line-height: 1.75; margin-bottom: var(--space-lg); }
.about__text--muted { color: var(--text-muted); font-size: var(--font-size-sm); }
.about-page__illustration { max-width: 520px; margin: 0; }
.about-page__illustration img { width: 100%; height: auto; object-fit: contain; object-position: center; }
.about-callout {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  box-shadow: var(--shadow-md);
}
.about-callout__text { font-size: var(--font-size-lg); color: var(--text-secondary); line-height: 1.75; margin: 0; }
.about-callout__highlight { color: var(--accent); font-weight: 700; }
.about-benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); }
.about-benefit {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}
.about-benefit__title { font-size: var(--font-size-lg); font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-sm); }
.about-benefit__desc { font-size: var(--font-size-sm); color: var(--text-secondary); line-height: 1.7; margin: 0; }
.about-closing { max-width: 680px; margin: 0 auto; }
.about-closing .section-title { margin-bottom: var(--space-xl); }

/* ========== PRICING PAGE ========== */
.pricing-title-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2xl); align-items: center; max-width: 1000px; margin: 0 auto; }
.pricing-page__illustration { max-width: 520px; margin: 0; }
.pricing-page__illustration img { width: 100%; height: auto; object-fit: contain; object-position: center; }
.pricing-section { padding: var(--space-3xl) 0; }
.pricing-section__title { text-align: center; margin-bottom: var(--space-xl); }
.pricing-model {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-2xl);
}
.pricing-model__intro { font-size: var(--font-size-base); color: var(--text-muted); line-height: 1.7; margin-bottom: var(--space-xl); }
.pricing-model__scenarios { display: grid; gap: var(--space-xl); }
@media (min-width: 768px) { .pricing-model__scenarios { grid-template-columns: repeat(2, 1fr); } }
.pricing-model__scenario { padding: var(--space-xl); background: var(--bg-base); border-radius: var(--radius-xl); border: 1px solid var(--border); }
.pricing-model__scenario-title { font-size: var(--font-size-lg); font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-sm); }
.pricing-model__scenario p { font-size: var(--font-size-sm); color: var(--text-secondary); line-height: 1.7; margin: 0; }
.pricing-included {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.pricing-included__title { font-size: var(--font-size-xl); font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-md); }
.pricing-included__intro { font-size: var(--font-size-sm); color: var(--text-muted); line-height: 1.7; margin-bottom: var(--space-lg); }
.pricing-included__list { font-size: var(--font-size-sm); color: var(--text-secondary); line-height: 1.7; margin-bottom: var(--space-lg); padding-inline-start: 1.25rem; }
.pricing-included__list li { margin-bottom: var(--space-sm); }
.pricing-included__note { font-size: var(--font-size-sm); color: var(--text-muted); line-height: 1.7; margin: 0; }
.pricing-included__note-label { font-weight: 700; color: var(--text-primary); }

/* ========== CONTACT PAGE ========== */
.contact-page-section { padding: var(--space-3xl) 0; }
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3xl); align-items: start; max-width: 1000px; margin: 0 auto; }
.contact-page__illustration { max-width: 520px; margin-bottom: var(--space-xl); }
.contact-page__illustration img { width: 100%; height: auto; object-fit: contain; object-position: center; }
.contact-form--page { max-width: none; margin: 0; }
.contact-info-block { margin-bottom: var(--space-xl); }
.contact-info-block h3 { font-size: var(--font-size-lg); font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-sm); }
.contact-info-block p { font-size: var(--font-size-sm); color: var(--text-secondary); margin-bottom: 0.25rem; }

/* ========== LEGAL PAGES ========== */
.legal-content { padding: var(--space-3xl) 0; }
.legal-prose {
  max-width: 65ch;
  margin-inline: auto;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.75;
}
.legal-content .section-header { margin-inline: auto; }
.legal-content .contact-form { max-width: 560px; margin-inline: auto; }
.legal-prose h2 { font-size: var(--font-size-xl); font-weight: 700; color: var(--text-primary); margin: var(--space-xl) 0 var(--space-sm); }
.legal-prose h3 { font-size: var(--font-size-base); font-weight: 600; color: var(--text-primary); margin: var(--space-lg) 0 var(--space-sm); }
.legal-prose p { margin-bottom: var(--space-md); }
.legal-prose ul { margin: var(--space-md) 0; padding-inline-start: 1.5rem; }
.legal-prose li { margin-bottom: var(--space-xs); }
.legal-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-intro { font-weight: 500; color: var(--text-primary); margin-bottom: var(--space-md); }
.legal-updated { font-size: var(--font-size-sm); color: var(--text-faint); margin-bottom: var(--space-lg); }
.legal-lang-title { margin-top: var(--space-xl); }
.legal-lang-intro { font-style: italic; margin-bottom: var(--space-lg); }
.legal-prose__divider { border: none; border-top: 1px solid var(--border); margin: var(--space-2xl) 0; }
.legal-prose__declaration { background: var(--bg-highlight); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-lg); margin: var(--space-xl) 0; }
.legal-prose__declaration h3 { margin-top: 0; }
.legal-prose__form-title { font-size: var(--font-size-lg); font-weight: 600; color: var(--text-primary); margin-bottom: var(--space-lg); }
.contact-form__fields--stacked { display: flex; flex-direction: column; gap: var(--space-md); }
.contact-form__fields--stacked label { font-size: var(--font-size-sm); font-weight: 500; color: var(--text-primary); }
.privacy-policy-en, .legal-prose--en { margin-top: var(--space-2xl); padding-top: var(--space-2xl); border-top: 1px solid var(--border); margin-inline: auto; max-width: 720px; }

/* ========== ARTICLE / BLOG PAGE ========== */
.article-hero {
  padding: var(--space-4xl) 0 var(--space-2xl);
  background:
    linear-gradient(180deg, hsl(216, 20%, 99%) 0%, var(--bg-base) 40%, hsl(216, 15%, 97%) 100%),
    radial-gradient(ellipse 70% 40% at 50% 30%, rgba(8, 92, 240, 0.08) 0%, transparent 55%);
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsla(216, 30%, 0%, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, hsla(216, 30%, 0%, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 0%, transparent 75%);
}
[data-theme="dark"] .article-hero {
  background:
    linear-gradient(180deg, hsl(240, 15%, 9%) 0%, var(--bg-base) 40%, hsl(240, 12%, 10%) 100%),
    radial-gradient(ellipse 70% 40% at 50% 30%, rgba(77, 138, 247, 0.08) 0%, transparent 55%);
}
[data-theme="dark"] .article-hero::before {
  background-image:
    linear-gradient(hsla(0, 0%, 100%, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, hsla(0, 0%, 100%, 0.015) 1px, transparent 1px);
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}
.article-breadcrumb a {
  color: var(--accent);
  transition: color var(--transition-fast);
}
.article-breadcrumb a:hover { color: var(--accent-hover); }
.article-breadcrumb__sep { color: var(--text-faint); }

.article-hero__meta {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.article-hero__title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: var(--space-lg);
  max-width: 800px;
}

.article-hero__lead {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 700px;
}

.article-content {
  padding: var(--space-3xl) 0 var(--space-5xl);
}

.article-prose {
  max-width: 720px;
  margin-inline: auto;
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.85;
}
.article-prose h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: var(--space-3xl) 0 var(--space-lg);
  letter-spacing: -0.02em;
}
.article-prose h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin: var(--space-2xl) 0 var(--space-md);
}
.article-prose p {
  margin-bottom: var(--space-lg);
}
.article-prose ul, .article-prose ol {
  margin: var(--space-lg) 0;
  padding-inline-start: 1.5rem;
}
.article-prose li {
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}
.article-prose ul li {
  position: relative;
  list-style: none;
  padding-inline-start: 1.25rem;
}
.article-prose ul li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.article-prose ol { list-style: decimal; }
.article-prose strong { color: var(--text-primary); font-weight: 600; }
.article-prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.article-prose blockquote {
  margin: var(--space-2xl) 0;
  padding: var(--space-xl) var(--space-2xl);
  border-inline-start: 4px solid var(--accent);
  background: var(--accent-subtle);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--font-size-lg);
  color: var(--text-primary);
  line-height: 1.7;
  font-weight: 500;
}
[dir="rtl"] .article-prose blockquote {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.article-prose__figure {
  margin: var(--space-3xl) 0;
}
.article-prose__figure-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.article-prose__figure-img img {
  width: 100%;
  height: auto;
  display: block;
}
.article-prose__figure-caption {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-top: var(--space-sm);
  text-align: center;
}

.article-cta-box {
  margin: var(--space-3xl) 0;
  padding: var(--space-2xl);
  background: linear-gradient(135deg, var(--accent-subtle), var(--glow-cyan));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
  text-align: center;
}
.article-cta-box__title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.article-cta-box__text {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
}

.article-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.5;
}
.article-card__thumb-placeholder--1 {
  background: linear-gradient(135deg, hsl(216, 80%, 95%) 0%, hsl(216, 60%, 88%) 100%);
}
.article-card__thumb-placeholder--2 {
  background: linear-gradient(135deg, hsl(200, 80%, 93%) 0%, hsl(210, 65%, 85%) 100%);
}
.article-card__thumb-placeholder--3 {
  background: linear-gradient(135deg, hsl(230, 70%, 94%) 0%, hsl(220, 55%, 87%) 100%);
}
.article-card__thumb-placeholder--4 {
  background: linear-gradient(135deg, hsl(190, 75%, 93%) 0%, hsl(205, 60%, 86%) 100%);
}
.article-card__thumb-placeholder--5 {
  background: linear-gradient(135deg, hsl(240, 65%, 95%) 0%, hsl(225, 50%, 88%) 100%);
}
.article-card__thumb-placeholder--6 {
  background: linear-gradient(135deg, hsl(210, 90%, 94%) 0%, hsl(215, 70%, 87%) 100%);
}
[data-theme="dark"] .article-card__thumb-placeholder--1 { background: linear-gradient(135deg, hsl(216, 40%, 18%) 0%, hsl(216, 35%, 14%) 100%); }
[data-theme="dark"] .article-card__thumb-placeholder--2 { background: linear-gradient(135deg, hsl(200, 40%, 17%) 0%, hsl(210, 35%, 13%) 100%); }
[data-theme="dark"] .article-card__thumb-placeholder--3 { background: linear-gradient(135deg, hsl(230, 35%, 18%) 0%, hsl(220, 30%, 14%) 100%); }
[data-theme="dark"] .article-card__thumb-placeholder--4 { background: linear-gradient(135deg, hsl(190, 35%, 17%) 0%, hsl(205, 30%, 13%) 100%); }
[data-theme="dark"] .article-card__thumb-placeholder--5 { background: linear-gradient(135deg, hsl(240, 30%, 18%) 0%, hsl(225, 25%, 14%) 100%); }
[data-theme="dark"] .article-card__thumb-placeholder--6 { background: linear-gradient(135deg, hsl(210, 45%, 17%) 0%, hsl(215, 35%, 13%) 100%); }

.news-card__excerpt {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .article-hero__title { font-size: var(--font-size-2xl); }
  .article-hero__lead { font-size: var(--font-size-base); }
  .article-breadcrumb { flex-wrap: wrap; }
  .article-prose blockquote { padding: var(--space-lg); }
}

@media (max-width: 480px) {
  .article-hero__title { font-size: var(--font-size-xl); }
  .article-hero { padding: var(--space-3xl) 0 var(--space-xl); }
}

/* ========== A11Y PANEL ========== */
.a11y-toggle {
  position: fixed;
  bottom: var(--space-xl);
  right: calc(var(--space-xl) + 3.5rem);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
  background: linear-gradient(180deg, hsl(216, 15%, 99%) 0%, hsl(216, 12%, 97%) 100%);
  border: 1px solid var(--border);
  border-top: 1px solid hsla(0, 0%, 100%, 0.9);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  z-index: 998;
  cursor: pointer;
  box-shadow:
    0 4px 8px -2px rgba(5, 10, 52, 0.08),
    0 8px 20px -4px rgba(5, 10, 52, 0.05),
    0 0 0 1px rgba(8, 92, 240, 0.03);
  transition: all var(--transition-fast);
}
.a11y-toggle:hover {
  background: linear-gradient(180deg, hsl(216, 15%, 98%) 0%, hsl(216, 12%, 96%) 100%);
  border-color: var(--accent);
  box-shadow:
    0 6px 12px -2px rgba(5, 10, 52, 0.1),
    0 0 20px rgba(8, 92, 240, 0.12);
}
[dir="rtl"] .a11y-toggle { right: auto; left: calc(var(--space-xl) + 3.5rem); }

.a11y-panel {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
  z-index: 10002;
  max-width: 90vw;
}
.a11y-panel[aria-hidden="true"] { display: none; }
.a11y-panel__title { font-size: var(--font-size-lg); font-weight: 700; color: var(--text-primary); margin-bottom: var(--space-lg); }
.a11y-panel__options { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-bottom: var(--space-lg); }
.a11y-option { padding: var(--space-sm) var(--space-md); font-size: var(--font-size-sm); background: var(--bg-surface); color: var(--text-primary); border: 1.5px solid hsl(216, 30%, 82%); border-radius: var(--radius-full); cursor: pointer; transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast); font-weight: 500; }
.a11y-option:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }
.a11y-option[aria-pressed="true"] { background: var(--accent); color: var(--text-on-accent); border-color: var(--accent); }
.a11y-option[aria-pressed="true"]:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.a11y-panel__actions { display: flex; gap: var(--space-sm); justify-content: flex-end; flex-wrap: wrap; margin-top: var(--space-md); }
.a11y-panel__reset { padding: var(--space-sm) var(--space-md); font-size: var(--font-size-sm); background: transparent; color: var(--text-primary); border: 1.5px solid hsl(216, 30%, 82%); border-radius: var(--radius-full); cursor: pointer; font-weight: 500; }
.a11y-panel__reset:hover { color: var(--accent); border-color: var(--accent); }
.a11y-panel__close { padding: var(--space-sm) var(--space-lg); background: var(--accent); color: var(--text-on-accent); border-radius: var(--radius-full); cursor: pointer; }

/* A11y body classes */
body.a11y-large-text { font-size: 1.125rem; }
html.a11y-large-text { font-size: 18px; }
body.a11y-large-text .section-title,
body.a11y-large-text .hero__title,
body.a11y-large-text .narrative__title,
body.a11y-large-text h1, body.a11y-large-text h2, body.a11y-large-text h3 { font-size: 1.25em; }
body.a11y-high-contrast {
  --text-primary: hsl(0, 0%, 0%);
  --text-secondary: hsl(0, 0%, 15%);
  --text-muted: hsl(0, 0%, 25%);
  --border: hsl(0, 0%, 20%);
}
body.a11y-grayscale .skip-link,
body.a11y-grayscale .navbar,
body.a11y-grayscale main,
body.a11y-grayscale .footer,
body.a11y-grayscale .cookie-banner { filter: grayscale(100%); }
body.a11y-highlight-links a { text-decoration: underline; text-underline-offset: 2px; color: var(--accent) !important; }
body.a11y-readable-font { font-family: 'Georgia', 'Times New Roman', serif; }
body.a11y-readable-font .navbar__logo, body.a11y-readable-font .footer__logo,
body.a11y-readable-font .section-title, body.a11y-readable-font .hero__title,
body.a11y-readable-font .narrative__title,
body.a11y-readable-font h1, body.a11y-readable-font h2, body.a11y-readable-font h3 { font-family: inherit; }
body.a11y-reduced-motion *, body.a11y-reduced-motion *::before, body.a11y-reduced-motion *::after {
  animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important;
}
body.a11y-reduced-motion .reveal { opacity: 1; transform: none; }

/* ========== COOKIE BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
}
.cookie-banner[aria-hidden="true"] { display: none; }
.cookie-banner__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); }
@media (max-width: 480px) {
  .cookie-banner { padding: var(--space-md) 0; }
  .cookie-banner__inner { flex-direction: column; align-items: stretch; text-align: center; gap: var(--space-md); }
  .cookie-banner__text { min-width: 0; }
  .cookie-banner__actions { flex-direction: column; width: 100%; }
  .cookie-banner__actions .btn { width: 100%; }
}
.cookie-banner__text { font-size: var(--font-size-sm); color: var(--text-secondary); margin: 0; flex: 1; min-width: 200px; }
.cookie-banner__settings { display: flex; flex-direction: column; gap: var(--space-sm); margin: var(--space-md) 0; }
.cookie-banner__settings[aria-hidden="true"] { display: none; }
.cookie-banner__category { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.cookie-banner__toggle { display: flex; align-items: center; gap: var(--space-sm); cursor: pointer; font-size: var(--font-size-sm); }
.cookie-banner__badge { font-size: var(--font-size-xs); color: var(--text-muted); }
.cookie-banner__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: var(--text-on-accent);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-2px); color: var(--text-on-accent); }
[dir="rtl"] .back-to-top { right: auto; left: var(--space-xl); }

/* ========== MOBILE NAV ========== */
/* Lock page scroll (html + body avoids iOS/Safari scroll bleed); toggled from script.js */
html.mobile-nav-open,
body.mobile-nav-open {
  overflow: hidden;
}
/* מעל באנר עוגיות (10000) כדי שהניווט הנייד יהיה לחיץ */
.mobile-nav-open .navbar {
  z-index: 10005;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: var(--navbar-bg-scrolled);
}
.mobile-nav-open .navbar__links {
  display: flex;
  position: fixed;
  top: 5.5rem;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-2xl);
  padding-top: max(var(--space-2xl), env(safe-area-inset-top, 0px));
  padding-bottom: max(var(--space-2xl), env(safe-area-inset-bottom, 0px));
  flex-direction: column;
  align-items: center;
  /* center + overflow-y on same flex box breaks scrolling on iOS; start from top and scroll naturally */
  justify-content: flex-start;
  gap: var(--space-xl);
  background: hsl(30, 14%, 98%);
  z-index: 2;
  animation: fadeIn 0.2s ease;
  border-top: 1px solid var(--border);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
@media (max-width: 480px) {
  .mobile-nav-open .navbar__links {
    top: 4rem;
  }
}
.mobile-nav-open .navbar__links a { font-size: var(--font-size-xl); }
.mobile-nav-open .navbar__item--mega .mega-menu {
  position: static;
  box-shadow: none;
  border: none;
  background: transparent;
  padding: var(--space-md) 0;
  transform: none;
}
.mobile-nav-open .navbar__item--mega:hover .mega-menu,
.mobile-nav-open .navbar__item--mega:focus-within .mega-menu {
  transform: none;
}
.mobile-nav-open .mega-menu__grid { grid-template-columns: 1fr; gap: var(--space-md); }
.mobile-nav-open .navbar__item--mega .navbar__link-trigger { margin-bottom: var(--space-sm); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ========== RTL ========== */
[dir="rtl"] { text-align: right; font-family: var(--font-family-he); }
[dir="rtl"] .section-header { text-align: center; }
[dir="rtl"] .narrative__header { text-align: center; }
[dir="rtl"] .hero__cta { flex-direction: row-reverse; justify-content: flex-start; }
[dir="rtl"] .call-card__top { flex-direction: row-reverse; }
[dir="rtl"] .call-card__number { flex-direction: row-reverse; }
[dir="rtl"] .footer__inner { direction: rtl; }

/* ========== AI CHIP (Hero Visual) ========== */
.ai-chip {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-chip__body {
  position: relative;
  width: 200px;
  height: 200px;
  border: 1.5px solid rgba(8, 92, 240, 0.35);
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, rgba(5, 10, 52, 0.06) 0%, rgba(8, 92, 240, 0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-chip__inner {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(8, 92, 240, 0.08) 0%, rgba(9, 38, 118, 0.12) 100%);
  border: 1px solid rgba(8, 92, 240, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 30px rgba(8, 92, 240, 0.08),
    inset 0 0 20px rgba(8, 92, 240, 0.04);
}

.ai-chip__core {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(8, 92, 240, 0.15) 0%, rgba(77, 138, 247, 0.2) 50%, rgba(8, 92, 240, 0.12) 100%);
  border: 1px solid rgba(77, 138, 247, 0.3);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    0 0 40px rgba(8, 92, 240, 0.12),
    0 0 80px rgba(8, 92, 240, 0.06);
  animation: chipCoreGlow 4s ease-in-out infinite;
}

.ai-chip__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(77, 138, 247, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 138, 247, 0.15) 1px, transparent 1px);
  background-size: 25px 25px;
  border-radius: inherit;
  pointer-events: none;
  animation: chipGridDrift 14s linear infinite;
}

.ai-chip__label {
  position: relative;
  z-index: 1;
  font-family: var(--font-family-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 0.9;
}

/* Pins */
.ai-chip__pin {
  position: absolute;
  background: rgba(8, 92, 240, 0.25);
  border-radius: 1px;
}
.ai-chip__pin--top-1, .ai-chip__pin--top-2,
.ai-chip__pin--bottom-1, .ai-chip__pin--bottom-2 {
  width: 20px;
  height: 6px;
}
.ai-chip__pin--left-1, .ai-chip__pin--left-2,
.ai-chip__pin--right-1, .ai-chip__pin--right-2 {
  width: 6px;
  height: 20px;
}

.ai-chip__pin--top-1    { top: -3px; left: 30%; }
.ai-chip__pin--top-2    { top: -3px; right: 30%; }
.ai-chip__pin--bottom-1 { bottom: -3px; left: 30%; }
.ai-chip__pin--bottom-2 { bottom: -3px; right: 30%; }
.ai-chip__pin--left-1   { left: -3px; top: 30%; }
.ai-chip__pin--left-2   { left: -3px; bottom: 30%; }
.ai-chip__pin--right-1  { right: -3px; top: 30%; }
.ai-chip__pin--right-2  { right: -3px; bottom: 30%; }

/* Traces */
.ai-chip__trace {
  position: absolute;
  background: rgba(8, 92, 240, 0.18);
  overflow: visible;
}

/* Data in (raw) -> chip; knowledge out <- chip (pulse along trace) */
.ai-chip__trace--flow-in::after,
.ai-chip__trace--flow-out::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
}

.ai-chip__trace--flow-in::after {
  background: rgba(77, 138, 247, 0.95);
  box-shadow:
    0 0 8px rgba(8, 92, 240, 0.85),
    0 0 16px rgba(77, 138, 247, 0.45);
  animation: chipFlowInYDown 2.4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.ai-chip__trace--flow-out::after {
  background: rgba(74, 222, 128, 0.98);
  box-shadow:
    0 0 10px rgba(34, 197, 94, 0.75),
    0 0 18px rgba(74, 222, 128, 0.4);
  animation: chipFlowOutX 2.2s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

/* Top: stream downward into chip */
.ai-chip__trace--top-1.ai-chip__trace--flow-in::after,
.ai-chip__trace--top-2.ai-chip__trace--flow-in::after {
  left: 50%;
  top: 0;
  margin-left: -2.5px;
  animation-name: chipFlowInYDown;
}

.ai-chip__trace--top-1.ai-chip__trace--flow-in::after { animation-delay: 0s; }
.ai-chip__trace--top-2.ai-chip__trace--flow-in::after { animation-delay: 0.55s; }

/* Bottom: stream upward into chip */
.ai-chip__trace--bottom-1.ai-chip__trace--flow-in::after,
.ai-chip__trace--bottom-2.ai-chip__trace--flow-in::after {
  left: 50%;
  bottom: 0;
  margin-left: -2.5px;
  animation-name: chipFlowInYUp;
}

.ai-chip__trace--bottom-1.ai-chip__trace--flow-in::after { animation-delay: 0.25s; }
.ai-chip__trace--bottom-2.ai-chip__trace--flow-in::after { animation-delay: 0.8s; }

/* Left: stream right into chip */
.ai-chip__trace--left-1.ai-chip__trace--flow-in::after,
.ai-chip__trace--left-2.ai-chip__trace--flow-in::after {
  left: 0;
  top: 50%;
  margin-top: -2.5px;
  animation-name: chipFlowInXRight;
}

.ai-chip__trace--left-1.ai-chip__trace--flow-in::after { animation-delay: 0.1s; }
.ai-chip__trace--left-2.ai-chip__trace--flow-in::after { animation-delay: 0.65s; }

/* Right: stream outward (knowledge) */
.ai-chip__trace--right-1.ai-chip__trace--flow-out::after,
.ai-chip__trace--right-2.ai-chip__trace--flow-out::after {
  left: 0;
  top: 50%;
  margin-top: -2.5px;
}

.ai-chip__trace--right-1.ai-chip__trace--flow-out::after { animation-delay: 0.35s; }
.ai-chip__trace--right-2.ai-chip__trace--flow-out::after { animation-delay: 0.95s; }

.ai-chip__trace--top-1, .ai-chip__trace--top-2 {
  width: 1.5px;
  height: 40px;
}
.ai-chip__trace--bottom-1, .ai-chip__trace--bottom-2 {
  width: 1.5px;
  height: 40px;
}
.ai-chip__trace--left-1, .ai-chip__trace--left-2 {
  height: 1.5px;
  width: 40px;
}
.ai-chip__trace--right-1, .ai-chip__trace--right-2 {
  height: 1.5px;
  width: 40px;
}

.ai-chip__trace--top-1    { top: 8px; left: calc(50% - 30px); }
.ai-chip__trace--top-2    { top: 8px; right: calc(50% - 30px); }
.ai-chip__trace--bottom-1 { bottom: 8px; left: calc(50% - 30px); }
.ai-chip__trace--bottom-2 { bottom: 0; right: calc(50% - 30px); }
.ai-chip__trace--left-1   { left: 8px; top: calc(50% - 25px); }
.ai-chip__trace--left-2   { left: 0; bottom: calc(50% - 25px); }
.ai-chip__trace--right-1  { right: 8px; top: calc(50% - 25px); }
.ai-chip__trace--right-2  { right: 0; bottom: calc(50% - 25px); }

/* Particles */
.ai-chip__particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ai-chip__particle--1 {
  width: 6px;
  height: 6px;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
  left: 15%;
  bottom: 18%;
  animation: particleFloat1 8s ease-in-out infinite;
}

.ai-chip__particle--2 {
  width: 4px;
  height: 4px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(8, 92, 240, 0.6);
  top: 35%;
  left: 28%;
  animation: particleFloat2 10s ease-in-out infinite;
}

.ai-chip__particle--3 {
  width: 5px;
  height: 5px;
  background: #4ade80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.6);
  top: 42%;
  right: 30%;
  animation: particleFloat3 7s ease-in-out infinite;
}

.ai-chip__particle--4 {
  width: 4px;
  height: 4px;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
  bottom: 36%;
  right: 26%;
  animation: particleFloat4 9s ease-in-out infinite;
}

/* ========== ANIMATIONS ========== */
.hero__text > * {
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease-m3-spring) forwards;
}
.hero__text > *:nth-child(1) { animation-delay: 0.1s; }
.hero__text > *:nth-child(2) { animation-delay: 0.2s; }
.hero__text > *:nth-child(3) { animation-delay: 0.35s; }
.hero__text > *:nth-child(4) { animation-delay: 0.5s; }
.hero__visual {
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-m3-spring) 0.3s forwards;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes chipCoreGlow {
  0%, 100% {
    box-shadow:
      0 0 40px rgba(8, 92, 240, 0.12),
      0 0 80px rgba(8, 92, 240, 0.06);
  }
  50% {
    box-shadow:
      0 0 50px rgba(8, 92, 240, 0.2),
      0 0 100px rgba(8, 92, 240, 0.1);
  }
}

@keyframes chipFlowInYDown {
  0% {
    transform: translateY(0) scale(0.85);
    opacity: 0.35;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateY(34px) scale(1);
    opacity: 0.25;
  }
}

@keyframes chipFlowInYUp {
  0% {
    transform: translateY(0) scale(0.85);
    opacity: 0.35;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateY(-34px) scale(1);
    opacity: 0.25;
  }
}

@keyframes chipFlowInXRight {
  0% {
    transform: translateX(0) scale(0.85);
    opacity: 0.35;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    transform: translateX(34px) scale(1);
    opacity: 0.25;
  }
}

@keyframes chipFlowOutX {
  0% {
    transform: translateX(0) scale(1);
    opacity: 0.9;
  }
  100% {
    transform: translateX(36px) scale(0.9);
    opacity: 0.2;
  }
}

@keyframes chipGridDrift {
  0% {
    background-position: 0 0, 0 0;
  }
  100% {
    background-position: 25px 25px, 25px 25px;
  }
}

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

  .ai-chip__trace--flow-in::after,
  .ai-chip__trace--flow-out::after {
    animation: none !important;
    opacity: 0.95;
  }

  .ai-chip__trace--top-1.ai-chip__trace--flow-in::after,
  .ai-chip__trace--top-2.ai-chip__trace--flow-in::after {
    transform: translateY(17px);
  }

  .ai-chip__trace--bottom-1.ai-chip__trace--flow-in::after,
  .ai-chip__trace--bottom-2.ai-chip__trace--flow-in::after {
    transform: translateY(-17px);
  }

  .ai-chip__trace--left-1.ai-chip__trace--flow-in::after,
  .ai-chip__trace--left-2.ai-chip__trace--flow-in::after {
    transform: translateX(17px);
  }

  .ai-chip__trace--right-1.ai-chip__trace--flow-out::after,
  .ai-chip__trace--right-2.ai-chip__trace--flow-out::after {
    transform: translateX(18px);
  }
}

@keyframes particleFloat1 {
  0%, 100% { transform: translate(0, 0); opacity: 0.9; }
  25% { transform: translate(4px, -8px); opacity: 1; }
  50% { transform: translate(-2px, -14px); opacity: 0.7; }
  75% { transform: translate(6px, -6px); opacity: 1; }
}

@keyframes particleFloat2 {
  0%, 100% { transform: translate(0, 0); opacity: 0.7; }
  33% { transform: translate(-6px, 5px); opacity: 1; }
  66% { transform: translate(4px, -4px); opacity: 0.6; }
}

@keyframes particleFloat3 {
  0%, 100% { transform: translate(0, 0); opacity: 0.8; }
  30% { transform: translate(5px, 6px); opacity: 1; }
  60% { transform: translate(-3px, -5px); opacity: 0.6; }
  80% { transform: translate(2px, 3px); opacity: 0.9; }
}

@keyframes particleFloat4 {
  0%, 100% { transform: translate(0, 0); opacity: 0.6; }
  40% { transform: translate(-5px, -4px); opacity: 1; }
  70% { transform: translate(3px, 6px); opacity: 0.7; }
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Show reveal content without waiting for JS when user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Stagger children reveal */
.bento-grid .bento-item.reveal:nth-child(1)  { transition-delay: 0ms; }
.bento-grid .bento-item.reveal:nth-child(2)  { transition-delay: 80ms; }
.bento-grid .bento-item.reveal:nth-child(3)  { transition-delay: 160ms; }
.bento-grid .bento-item.reveal:nth-child(4)  { transition-delay: 240ms; }
.bento-grid .bento-item.reveal:nth-child(5)  { transition-delay: 80ms; }
.bento-grid .bento-item.reveal:nth-child(6)  { transition-delay: 160ms; }
.bento-grid .bento-item.reveal:nth-child(7)  { transition-delay: 240ms; }
.bento-grid .bento-item.reveal:nth-child(8)  { transition-delay: 80ms; }
.bento-grid .bento-item.reveal:nth-child(9)  { transition-delay: 160ms; }
.bento-grid .bento-item.reveal:nth-child(10) { transition-delay: 240ms; }
.bento-grid .bento-item.reveal:nth-child(11) { transition-delay: 80ms; }
.bento-grid .bento-item.reveal:nth-child(12) { transition-delay: 160ms; }
.bento-grid .bento-item.reveal:nth-child(13) { transition-delay: 240ms; }
.bento-grid .bento-item.reveal:nth-child(14) { transition-delay: 80ms; }
.news-grid .news-card.reveal:nth-child(1) { transition-delay: 0ms; }
.news-grid .news-card.reveal:nth-child(2) { transition-delay: 100ms; }
.news-grid .news-card.reveal:nth-child(3) { transition-delay: 200ms; }

/* Mobile-only elements — summaries hidden on desktop; shown from 768px block below */
.hero__mobile-summary,
.about__mobile-summary,
.about-closing__mobile-summary { display: none; }
.mobile-only,
.mobile-only--inline { display: none; }
.mobile-accordion-hint { display: none; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .section { padding: var(--space-4xl) 0; }
  .hero { padding: 7rem 0 var(--space-4xl); }
  .hero__title { font-size: var(--font-size-5xl); }
  .narrative__title { font-size: var(--font-size-4xl); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .narrative__split { gap: var(--space-2xl); }
  .narrative__call-card { width: 340px; }
  .stats-banner__grid { gap: var(--space-lg); }
  .mega-stat__value { font-size: var(--font-size-5xl); }
  .footer__inner { flex-direction: column; }
  .footer__categories { width: 100%; justify-content: flex-start; }
  .cta-section__title { font-size: var(--font-size-3xl); }
  .mega-menu__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2xl); }
  @media (max-width: 600px) {
    .mega-menu__grid { grid-template-columns: 1fr; }
  }
  .scroll-track { grid-template-columns: repeat(2, 1fr); }
  .scroll-track--row { grid-template-columns: repeat(3, 1fr); }
  .ai-chip { width: 260px; height: 260px; }
  .ai-chip__body { width: 170px; height: 170px; }
  .ai-chip__inner { width: 120px; height: 120px; }
  .ai-chip__core { width: 84px; height: 84px; }
  .navbar__logo img { max-width: 170px; }
}

@media (max-width: 768px) {
  .back-to-top { bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0)); right: var(--space-md); }
  .a11y-toggle { bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0)); right: calc(var(--space-md) + 3rem); }
  [dir="rtl"] .back-to-top { right: auto; left: var(--space-md); }
  [dir="rtl"] .a11y-toggle { right: auto; left: calc(var(--space-md) + 3rem); }

  /* Hero */
  .hero { min-height: auto; padding: 6rem 0 var(--space-3xl); }
  .hero__inner { grid-template-columns: 1fr; text-align: center; gap: var(--space-xl); }
  .hero__text { text-align: center; }
  .hero__title { font-size: var(--font-size-4xl); }
  .hero__subtitle { font-size: var(--font-size-base); margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; flex-direction: column; align-items: stretch; }
  [dir="rtl"] .hero__cta { flex-direction: column; justify-content: center; }
  .hero__cta .btn { width: 100%; text-align: center; }
  .ai-chip { width: 180px; height: 180px; margin: 0 auto; }
  .ai-chip__body { width: 120px; height: 120px; }
  .ai-chip__inner { width: 85px; height: 85px; }
  .ai-chip__core { width: 60px; height: 60px; }
  .ai-chip__label { font-size: 0.55rem; }
  .ai-chip__trace { display: none; }

  /* Sections */
  .section { padding: var(--space-3xl) 0; }
  .narrative__header { margin-bottom: var(--space-2xl); }
  .narrative__title { font-size: var(--font-size-3xl); }
  .narrative__tagline { font-size: var(--font-size-base); }
  .narrative__split { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .narrative__split--reverse .narrative__text,
  .narrative__split--reverse .narrative__visual { order: unset; }
  .narrative__split--reverse .narrative__visual { order: -1; }
  .narrative__visual { order: -1; }
  .narrative__call-card { width: 100%; max-width: 340px; margin: 0 auto; }
  .narrative__text { padding: var(--space-xl); }
  .narrative__text p { font-size: var(--font-size-base); }

  /* Stats */
  .stats-banner { padding: var(--space-2xl) 0; }
  .stats-banner__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .stat-card { padding: var(--space-xl); }
  .mega-stat__value { font-size: var(--font-size-3xl); }
  .pillar-stat { font-size: var(--font-size-3xl); }

  /* Navbar logo */
  .navbar__logo img { max-width: 140px; }

  /* News section header */
  .news-section__header { flex-direction: column; align-items: stretch; text-align: center; }

  /* Cards */
  .feature-grid { grid-template-columns: 1fr; }
  .scroll-track { grid-template-columns: 1fr; }
  .scroll-track--row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    overflow-x: visible;
    padding-bottom: 0;
    padding-inline-end: 0;
    scroll-snap-type: none;
  }
  .scroll-track--row .scroll-track__card {
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  /* FAQ */
  .faq-item__question { font-size: var(--font-size-base); padding: var(--space-md) var(--space-lg); }
  .faq-item__answer-body { padding: 0 var(--space-lg) var(--space-md); }

  /* CTA */
  .cta-section__title { font-size: var(--font-size-2xl); }
  .cta-section {
    padding-bottom: calc(var(--space-3xl) + env(safe-area-inset-bottom, 0));
  }
  .cta-section__subtitle { font-size: var(--font-size-base); }

  /* ROI — stacked row cards, no horizontal scroll */
  .roi-table-wrapper {
    overflow-x: visible;
    margin-inline: 0;
    border-radius: var(--radius-xl);
  }
  .roi-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .roi-table tbody tr {
    display: block;
    margin-bottom: var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface);
    box-shadow: var(--shadow-sm);
  }
  .roi-table tbody tr:last-child { margin-bottom: 0; }
  .roi-table tbody td,
  .roi-table tbody th[scope="row"] {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
  }
  .roi-table tbody tr > *:last-child { border-bottom: none; }
  .roi-table tbody th[scope="row"].roi-table__metric {
    background: var(--bg-highlight);
    font-size: var(--font-size-base);
    font-weight: 700;
    padding: var(--space-md) var(--space-lg);
  }
  .roi-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
  }
  [data-theme="dark"] .roi-table tbody tr {
    border-color: hsl(240, 10%, 18%);
    background: var(--bg-surface);
  }
  [data-theme="dark"] .roi-table tbody th[scope="row"].roi-table__metric {
    background: hsl(240, 12%, 14%);
  }

  .mobile-hide { display: none !important; }
  .mobile-only { display: block; }
  .mobile-only--inline { display: inline; }

  .hero__mobile-summary,
  .about__mobile-summary,
  .about-closing__mobile-summary { display: block; }

  .hero__mobile-summary {
    font-size: var(--font-size-base);
    color: var(--text-muted);
    margin: 0 auto var(--space-md);
    max-width: 34ch;
    line-height: 1.6;
  }

  .about__mobile-summary ul,
  .about-closing__mobile-summary ul {
    margin: 0;
    padding-inline-start: 1.25rem;
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.65;
  }
  .about__mobile-summary li + li,
  .about-closing__mobile-summary li + li { margin-top: var(--space-sm); }

  /* Footer */
  .footer__inner { flex-direction: column; gap: var(--space-xl); }
  .footer__col--brand { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .footer__logo img { width: 140px; max-width: 140px; }
  .footer__categories { flex-direction: row; flex-wrap: wrap; gap: var(--space-xl); }
  .footer__col { min-width: 120px; }
  .footer { padding-bottom: calc(var(--space-xl) + env(safe-area-inset-bottom, 0)); }
  main { padding-bottom: env(safe-area-inset-bottom, 0); }

  /* Subpages */
  .about-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .about__content { order: -1; }
  .about-page__illustration { max-width: 100%; justify-self: center; }
  .about-benefits { grid-template-columns: 1fr; }
  .pricing-title-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .pricing-page__illustration { max-width: 100%; justify-self: center; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .contact-page__illustration { max-width: 280px; margin-inline: auto; }
  .contact-page-section {
    padding-bottom: calc(var(--space-3xl) + env(safe-area-inset-bottom, 0));
  }
  .page-hero { padding: var(--space-3xl) 0 var(--space-2xl); }
  .page-hero__title { font-size: var(--font-size-3xl); }
  .page-hero__subtitle { font-size: var(--font-size-base); }

  /* Buttons on mobile */
  .btn { min-height: 44px; padding: var(--space-md) var(--space-xl); }

  /* Mobile - show all accordion content expanded (no tap-to-expand) */
  .benefits-card.mobile-accordion .benefits-card__desc,
  .problem-card.mobile-accordion .problem-card__desc,
  .solution-card.mobile-accordion .solution-card__desc,
  .how-it-works__step.mobile-accordion .how-it-works__desc,
  .about-benefit.mobile-accordion .about-benefit__desc,
  .pricing-model__scenario.mobile-accordion > p {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }

  /* Hero */
  .hero { padding: 5rem 0 var(--space-2xl); }
  .hero__title { font-size: var(--font-size-3xl); }
  .hero__eyebrow { font-size: 0.65rem; padding: var(--space-xs) var(--space-md); }
  .hero__subtitle { font-size: var(--font-size-sm); }
  .hero__cta { flex-direction: column; align-items: stretch; gap: var(--space-sm); }
  [dir="rtl"] .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; white-space: normal; text-align: center; }
  .ai-chip { width: 150px; height: 150px; }
  .ai-chip__body { width: 105px; height: 105px; }
  .ai-chip__inner { width: 74px; height: 74px; }
  .ai-chip__core { width: 52px; height: 52px; }
  .ai-chip__label { font-size: 0.5rem; }

  /* Sections */
  .section { padding: var(--space-2xl) 0; }
  .narrative__title { font-size: var(--font-size-2xl); }
  .narrative__call-card { width: 100%; max-width: 280px; }
  .narrative__text { padding: var(--space-lg); }
  .narrative__text p { font-size: var(--font-size-sm); }
  .pillar-stat { font-size: var(--font-size-2xl); }
  .call-card__top { flex-direction: column; align-items: center; }

  /* Stats */
  .stats-banner { padding: var(--space-xl) 0; }
  .stat-card { padding: var(--space-lg); }
  .mega-stat__value { font-size: var(--font-size-2xl); }

  /* Navbar */
  .navbar__logo img { max-width: 120px; }
  .navbar__inner { height: 4rem; }

  /* ROI stacked — slightly tighter padding on small phones */
  .roi-table tbody td,
  .roi-table tbody th[scope="row"] {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8125rem;
  }
  .roi-table tbody th[scope="row"].roi-table__metric {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--font-size-sm);
  }

  /* CTA */
  .cta-section__title { font-size: var(--font-size-xl); }
  .cta-section__subtitle { font-size: var(--font-size-sm); }

  /* Cookie banner */
  .cookie-banner__actions { flex-direction: column; width: 100%; }
  .cookie-banner__actions .btn { width: 100%; }

  /* Footer */
  .footer__categories { flex-direction: column; gap: var(--space-lg); }
  .footer__logo img { width: 120px; max-width: 120px; }

  /* Subpages */
  .page-hero { padding: var(--space-2xl) 0 var(--space-xl); }
  .page-hero__title { font-size: var(--font-size-2xl); }
  .page-hero__subtitle { font-size: var(--font-size-sm); }

  /* Misc */
  .btn { min-height: 44px; }
  .back-to-top { bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0)); right: var(--space-md); }
  .a11y-toggle { bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0)); right: calc(var(--space-md) + 3rem); }
  [dir="rtl"] .back-to-top { right: auto; left: var(--space-md); }
  [dir="rtl"] .a11y-toggle { right: auto; left: calc(var(--space-md) + 3rem); }

}

@media (max-width: 360px) {
  .container { padding: 0 0.75rem; }
  .hero__title { font-size: var(--font-size-2xl); }
  .narrative__title { font-size: var(--font-size-xl); }
  .cta-section__title { font-size: var(--font-size-lg); }
  .page-hero__title { font-size: var(--font-size-xl); }
  .navbar__logo img { max-width: 100px; }
  .stat-card { padding: var(--space-md); }
  .mega-stat__value { font-size: var(--font-size-xl); }
}

/* ========== iOS / MOBILE APP-LIKE BEHAVIOR ========== */
@supports (-webkit-touch-callout: none) {
  body {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
  }
  /* min-height (not height) so the document can grow past the viewport; fixed html height + overflow-x on root breaks iOS scrolling */
  html { min-height: -webkit-fill-available; }
  body { min-height: -webkit-fill-available; }
}

html {
  max-width: 100%;
}

body {
  max-width: 100vw;
}

input, textarea, select {
  font-size: 16px !important;
  touch-action: manipulation;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
  touch-action: pan-x pan-y;
}

* {
  -webkit-tap-highlight-color: transparent;
}
