/* ============================================
   Line ERP — Design System
   - Dark (default) + Light themes via [data-theme]
   - LTR (default) + RTL via [dir="rtl"]
   - Geist (EN) + Readex Pro (AR)
   ============================================ */

:root {
  /* ---- Brand colors (theme-agnostic) ---- */
  --c-teal:  #1aa8bd;
  --c-sea:   #3db39c;
  --c-gold:  #c8a14a;
  --c-coral: #e55b5f;

  /* ---- Surfaces (DARK default) ---- */
  --bg:        #08090e;
  --bg-alt:    #0c0d14;
  --bg-elev:   #11121a;
  --surface:   rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --surface-3: rgba(255, 255, 255, 0.10);
  --border:    rgba(255, 255, 255, 0.08);
  --border-2:  rgba(255, 255, 255, 0.14);

  /* Text */
  --text:      #ffffff;
  --text-2:    #c5c8d4;
  --text-3:    #8b8fa3;
  --text-4:    #5b6072;

  /* Inverted (always against the opposite of bg) */
  --on-grad:   #ffffff;

  /* Subtle grid pattern color */
  --grid-line: rgba(255, 255, 255, 0.02);

  /* Hero radial mesh */
  --hero-mesh:
    radial-gradient(60% 40% at 80% 20%, rgba(26, 168, 189, 0.30) 0%, transparent 60%),
    radial-gradient(50% 35% at 20% 80%, rgba(229, 91, 95, 0.16) 0%, transparent 60%),
    radial-gradient(40% 30% at 50% 50%, rgba(200, 161, 74, 0.12) 0%, transparent 70%),
    var(--bg);

  /* Page-head mesh */
  --page-mesh:
    radial-gradient(700px 350px at 70% 0%, rgba(26, 168, 189, 0.18), transparent),
    radial-gradient(500px 350px at 0% 100%, rgba(200, 161, 74, 0.08), transparent),
    var(--bg);

  /* Newsletter bg */
  --newsletter-bg:
    radial-gradient(60% 80% at 100% 0%, rgba(229, 91, 95, 0.18) 0%, transparent 60%),
    radial-gradient(70% 80% at 0% 100%, rgba(26, 168, 189, 0.20) 0%, transparent 60%),
    linear-gradient(135deg, var(--bg-elev), var(--bg-alt));

  /* CTA bg */
  --cta-bg: linear-gradient(135deg, var(--bg-elev) 0%, var(--bg-alt) 100%);

  /* Compare cards */
  --compare-bad:  linear-gradient(180deg, rgba(229, 91, 95, 0.06), var(--surface));
  --compare-good: linear-gradient(180deg, rgba(26, 168, 189, 0.08), var(--surface));

  /* Big stats bg */
  --bigstats-bg:
    radial-gradient(80% 60% at 50% 0%, rgba(26, 168, 189, 0.18) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-elev), var(--bg-alt));

  /* Pricing featured */
  --price-featured-bg: linear-gradient(180deg, rgba(26, 168, 189, 0.10) 0%, var(--surface) 60%);

  /* Map iframe filter (dark inversion) */
  --map-filter: invert(1) hue-rotate(180deg);

  /* Logo filter (none in dark, darken in light) */
  --logo-filter: none;

  /* Gradients */
  --grad: linear-gradient(135deg, #1aa8bd 0%, #3db39c 50%, #c8a14a 100%);
  --grad-warm: linear-gradient(135deg, #e55b5f 0%, #c8a14a 100%);
  --grad-cool: linear-gradient(135deg, #1aa8bd 0%, #3db39c 100%);
  --grad-text: linear-gradient(120deg, #ffffff 20%, #5ec8d8 50%, #ffffff 80%);

  /* Type — set later per [lang] */
  --ff-en: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-ar: 'Readex Pro', 'IBM Plex Sans Arabic', 'Geist', system-ui, sans-serif;
  --ff: var(--ff-en);
  --ff-display: var(--ff);
  --ff-mono: 'Geist Mono', 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Sizing */
  --container: 1280px;
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 48px;

  /* Shadow / glow */
  --glow-teal: 0 0 60px -10px rgba(26, 168, 189, 0.6);
  --glow-warm: 0 0 60px -10px rgba(229, 91, 95, 0.5);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.20);

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ====================================================
   LIGHT THEME OVERRIDES
   ==================================================== */
[data-theme="light"] {
  --bg:        #ffffff;
  --bg-alt:    #f5f7fb;
  --bg-elev:   #ffffff;
  --surface:   rgba(15, 20, 25, 0.025);
  --surface-2: rgba(15, 20, 25, 0.05);
  --surface-3: rgba(15, 20, 25, 0.08);
  --border:    rgba(15, 20, 25, 0.08);
  --border-2:  rgba(15, 20, 25, 0.14);

  --text:      #0a0d14;
  --text-2:    #2d3340;
  --text-3:    #5b6072;
  --text-4:    #8b8fa3;

  --on-grad:   #ffffff;

  --grid-line: rgba(15, 20, 25, 0.04);

  --hero-mesh:
    radial-gradient(60% 40% at 80% 20%, rgba(26, 168, 189, 0.18) 0%, transparent 60%),
    radial-gradient(50% 35% at 20% 80%, rgba(229, 91, 95, 0.10) 0%, transparent 60%),
    radial-gradient(40% 30% at 50% 50%, rgba(200, 161, 74, 0.08) 0%, transparent 70%),
    var(--bg);

  --page-mesh:
    radial-gradient(700px 350px at 70% 0%, rgba(26, 168, 189, 0.10), transparent),
    radial-gradient(500px 350px at 0% 100%, rgba(200, 161, 74, 0.06), transparent),
    var(--bg);

  --newsletter-bg:
    radial-gradient(60% 80% at 100% 0%, rgba(229, 91, 95, 0.10) 0%, transparent 60%),
    radial-gradient(70% 80% at 0% 100%, rgba(26, 168, 189, 0.12) 0%, transparent 60%),
    linear-gradient(135deg, #f5f7fb, #fafbfd);

  --cta-bg:
    radial-gradient(60% 80% at 30% 30%, rgba(26, 168, 189, 0.15) 0%, transparent 60%),
    radial-gradient(60% 80% at 70% 70%, rgba(229, 91, 95, 0.10) 0%, transparent 60%),
    linear-gradient(135deg, #f5f7fb, #ffffff);

  --compare-bad:  linear-gradient(180deg, rgba(229, 91, 95, 0.06), var(--bg));
  --compare-good: linear-gradient(180deg, rgba(26, 168, 189, 0.08), var(--bg));

  --bigstats-bg:
    radial-gradient(80% 60% at 50% 0%, rgba(26, 168, 189, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, #ffffff, #f5f7fb);

  --price-featured-bg: linear-gradient(180deg, rgba(26, 168, 189, 0.06) 0%, #ffffff 60%);

  --map-filter: none;

  --logo-filter: none;

  --grad-text: linear-gradient(120deg, #0a0d14 20%, #1aa8bd 50%, #0a0d14 80%);

  --shadow-card: 0 12px 36px rgba(15, 20, 25, 0.08);
  --shadow-soft: 0 2px 12px rgba(15, 20, 25, 0.06);
  --glow-teal: 0 10px 32px -8px rgba(26, 168, 189, 0.45);
}

/* ====================================================
   ARABIC FONT
   ==================================================== */
html[lang="ar"] { --ff: var(--ff-ar); --ff-display: var(--ff-ar); }

/* ====================================================
   RESET + BASE
   ==================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
img, svg, video, canvas { max-width: 100%; display: block; height: auto; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul, ol { list-style: none; }
::selection { background: var(--c-teal); color: #fff; }

/* Subtle background grid */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}
main { position: relative; z-index: 1; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
p  { color: var(--text-3); line-height: 1.75; }

/* Arabic line-height tweak (Arabic glyphs run taller) */
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.25; letter-spacing: -0.005em; }
html[lang="ar"] body { line-height: 1.75; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-weight: 600; }
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-teal);
  box-shadow: 0 0 10px var(--c-teal);
  animation: pulse 2.5s var(--ease) infinite;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--text-3); }
.dim   { color: var(--text-4); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(40px, 6vw, 70px) 0; position: relative; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.94rem;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

.btn-grad {
  background: var(--grad);
  color: var(--on-grad);
  font-weight: 600;
  background-size: 200% 200%;
  box-shadow: var(--glow-teal);
  animation: gradMove 8s ease-in-out infinite;
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -10px rgba(26, 168, 189, 0.7); }

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: var(--surface-2); border-color: var(--border-2); }

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

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  color: var(--c-teal);
  padding: 4px 0;
}
.btn-link svg { transition: transform .3s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }
[dir="rtl"] .btn-link:hover svg { transform: translateX(-4px); }

/* Navigation */
.nav-wrap {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all .35s var(--ease);
}
.nav-wrap.scrolled {
  background: color-mix(in srgb, var(--bg) 75%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img {
  height: 56px;
  width: auto;
  transition: opacity .3s var(--ease);
}
/* Theme-swappable logo: show the right variant per theme */
.nav-logo .logo-light,
.footer-brand .logo-light { display: none; }
.nav-logo .logo-dark,
.footer-brand .logo-dark  { display: block; }
[data-theme="light"] .nav-logo .logo-light,
[data-theme="light"] .footer-brand .logo-light { display: block; }
[data-theme="light"] .nav-logo .logo-dark,
[data-theme="light"] .footer-brand .logo-dark  { display: none; }

@media (max-width: 720px) {
  .nav-logo img { height: 44px; }
}
.nav-logo span {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  backdrop-filter: blur(10px);
}
.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--text-3);
  transition: all .25s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  background: var(--surface-2);
  color: var(--text);
}

/* Theme + lang utility buttons */
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-2);
  transition: all .3s var(--ease);
  flex-shrink: 0;
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.icon-btn svg { width: 16px; height: 16px; }
.theme-toggle .sun  { display: none; }
.theme-toggle .moon { display: block; }
[data-theme="light"] .theme-toggle .sun  { display: block; }
[data-theme="light"] .theme-toggle .moon { display: none; }

.lang-btn {
  width: auto;
  padding: 0 14px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 20px; height: 2px; background: var(--text);
  transition: all .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--hero-mesh);
  overflow: hidden;
  isolation: isolate;
  padding: 160px 0 100px;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, black 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 200px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}
.hero-bg-canvas { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  line-height: 1.05;
  margin: 24px 0 24px;
  letter-spacing: -0.03em;
}
html[lang="ar"] .hero-text h1 { line-height: 1.18; letter-spacing: 0; }
.hero-text h1 .word {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 200%;
  animation: gradMove 6s ease-in-out infinite;
}
.hero-text p.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.18rem);
  color: var(--text-3);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  font-weight: 600;
  color: var(--text);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.85rem; color: var(--text-3); }

.hero-visual { position: relative; height: 600px; display: flex; align-items: center; justify-content: center; }
.hero-3d-mount {
  position: absolute;
  inset: 0;
  mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, #000 35%, transparent 80%);
}
.hero-3d-mount canvas { background: transparent !important; }

/* Hero floating toasts */
.toast {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--bg-elev) 70%, transparent);
  border: 1px solid var(--border);
  border-radius: 14px;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-card);
  font-size: 0.85rem;
  color: var(--text);
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transform: translateY(8px);
  animation: toastIn 0.7s var(--ease-spring) forwards, toastFloat 5s ease-in-out infinite;
  max-width: 240px;
}
.toast .ic {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: grid; place-items: center;
  flex-shrink: 0;
  background: var(--toast-bg, rgba(26, 168, 189, 0.18));
  color: var(--toast-color, var(--c-teal));
  border: 1px solid var(--toast-bd, rgba(26, 168, 189, 0.3));
}
.toast .ic svg { width: 16px; height: 16px; }
.toast .body { display: flex; flex-direction: column; line-height: 1.3; }
.toast strong { font-weight: 600; font-size: 0.88rem; color: var(--text); }
.toast span { font-size: 0.75rem; color: var(--text-3); }

.toast-1 { top: 8%; right: -20px; animation-delay: 0.4s, 0.4s;
  --toast-bg: rgba(61, 179, 156, 0.18); --toast-color: var(--c-sea); --toast-bd: rgba(61, 179, 156, 0.3); }
.toast-2 { bottom: 18%; left: -24px; animation-delay: 0.8s, 0.8s;
  --toast-bg: rgba(229, 91, 95, 0.18); --toast-color: var(--c-coral); --toast-bd: rgba(229, 91, 95, 0.3); }
.toast-3 { top: 50%; right: -40px; animation-delay: 1.2s, 1.2s;
  --toast-bg: rgba(200, 161, 74, 0.20); --toast-color: var(--c-gold); --toast-bd: rgba(200, 161, 74, 0.3); }
.toast-4 { bottom: 6%; right: 18%; animation-delay: 1.6s, 1.6s;
  --toast-bg: rgba(26, 168, 189, 0.18); --toast-color: var(--c-teal); --toast-bd: rgba(26, 168, 189, 0.3); }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
@keyframes toastFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Section header */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 72px; }
.section-head h2 { margin: 18px 0 18px; }
.section-head p { font-size: 1.05rem; color: var(--text-3); line-height: 1.75; }

/* Glass cards */
.glass {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  transition: all .4s var(--ease);
}
.glass:hover { background: var(--surface-2); border-color: var(--border-2); }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  position: relative;
  padding: 32px 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all .45s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, var(--accent, var(--c-teal)) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  z-index: -1;
  filter: blur(40px);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-2);
  background: var(--surface-2);
}
.feature-card:hover::before { opacity: 0.18; }

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent-bg, rgba(26, 168, 189, 0.12));
  color: var(--accent, var(--c-teal));
  margin-bottom: 22px;
  border: 1px solid var(--accent-bd, rgba(26, 168, 189, 0.22));
  transition: transform .45s var(--ease-spring);
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.feature-card p { font-size: 0.93rem; color: var(--text-3); line-height: 1.7; }

.fc-teal  { --accent: var(--c-teal);  --accent-bg: rgba(26, 168, 189, 0.12); --accent-bd: rgba(26, 168, 189, 0.22); }
.fc-coral { --accent: var(--c-coral); --accent-bg: rgba(229, 91, 95, 0.12); --accent-bd: rgba(229, 91, 95, 0.22); }
.fc-gold  { --accent: var(--c-gold);  --accent-bg: rgba(200, 161, 74, 0.14); --accent-bd: rgba(200, 161, 74, 0.24); }
.fc-sea   { --accent: var(--c-sea);   --accent-bg: rgba(61, 179, 156, 0.12); --accent-bd: rgba(61, 179, 156, 0.22); }

/* Capabilities */
.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cap-card {
  position: relative;
  padding: 36px 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all .45s var(--ease);
  overflow: hidden;
}
.cap-card:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateY(-4px); }
.cap-num {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-4);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.cap-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.cap-card p { font-size: 0.95rem; }
.cap-card .accent-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent, var(--c-teal)) 50%, transparent);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.cap-card:hover .accent-line { opacity: 1; }

/* Showcase row */
.showcase-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 120px;
}
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row.reverse > div:first-child { order: 2; }
.showcase-row h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 18px 0 18px; letter-spacing: -0.025em; }
.showcase-list { margin-top: 26px; display: grid; gap: 14px; }
.showcase-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.96rem; color: var(--text-2);
}
.showcase-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--c-teal); margin-top: 1px; }

.showcase-visual {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  padding: 30px;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.showcase-visual::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--accent-color, var(--c-teal)), transparent 50%);
  opacity: 0.5;
  z-index: -1;
  filter: blur(20px);
}

/* Use cases */
.uses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.use-card {
  position: relative;
  padding: 32px 24px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  transition: all .35s var(--ease);
  cursor: pointer;
}
[dir="rtl"] .use-card { text-align: right; }
.use-card:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateY(-4px); }
.use-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: var(--accent, var(--c-teal));
  background: var(--accent-bg, rgba(26, 168, 189, 0.1));
}
.use-icon svg { width: 22px; height: 22px; }
.use-card h4 { font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.use-card p { font-size: 0.85rem; color: var(--text-3); }

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.process-step {
  position: relative;
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: all .35s var(--ease);
}
.process-step:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateY(-4px); }
.process-num {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-4);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.process-step h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.process-step p { font-size: 0.9rem; }

/* Testimonials */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 30px;
  border: 1px solid var(--border);
  transition: all .35s var(--ease);
}
.testi:hover { background: var(--surface-2); border-color: var(--border-2); }
.testi-text {
  font-size: 0.97rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 24px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.testi-author strong { display: block; font-weight: 600; color: var(--text); font-size: 0.95rem; }
.testi-author span { font-size: 0.82rem; color: var(--text-3); }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px 30px;
  position: relative;
  transition: all .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.price-card:hover { background: var(--surface-2); border-color: var(--border-2); }
.price-card.featured {
  background: var(--price-featured-bg);
  border-color: rgba(26, 168, 189, 0.4);
  box-shadow: 0 0 80px -20px rgba(26, 168, 189, 0.4);
}
.price-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  padding: 1px;
  background: linear-gradient(180deg, var(--c-teal), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 30px;
  background: var(--grad);
  color: var(--on-grad);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
[dir="rtl"] .price-badge { left: auto; right: 30px; letter-spacing: 0; text-transform: none; }
.price-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.price-card .desc { color: var(--text-3); font-size: 0.88rem; margin-bottom: 22px; }
.price-amount {
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.price-amount .currency { font-size: 1.1rem; font-weight: 500; vertical-align: top; color: var(--text-3); }
.price-amount .period   { font-size: 0.9rem;  font-weight: 500; color: var(--text-3); margin-left: 6px; }
[dir="rtl"] .price-amount .period { margin-left: 0; margin-right: 6px; }
.price-features { margin: 28px 0 28px; display: grid; gap: 12px; flex-grow: 1; }
.price-features li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem;
  color: var(--text-2);
}
.price-features li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--c-teal); }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  transition: all .3s var(--ease);
}
.faq-item.open { border-color: var(--border-2); background: var(--surface-2); }
.faq-q {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  color: var(--text);
}
[dir="rtl"] .faq-q { text-align: right; }
.faq-q .ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  font-size: 1rem;
  color: var(--text-2);
  transition: all .35s var(--ease);
  flex-shrink: 0;
}
.faq-item.open .ic { transform: rotate(45deg); background: var(--c-teal); border-color: var(--c-teal); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a-inner { padding: 0 26px 22px; color: var(--text-3); line-height: 1.75; font-size: 0.95rem; }
.faq-item.open .faq-a { max-height: 400px; }

/* CTA */
.cta {
  position: relative;
  border-radius: var(--r-2xl);
  background: var(--cta-bg);
  border: 1px solid var(--border);
  padding: 80px 40px;
  overflow: hidden;
  text-align: center;
  isolation: isolate;
}
.cta::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--r-2xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(26, 168, 189, 0.5), transparent 50%, rgba(229, 91, 95, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.cta h2 { margin-bottom: 18px; }
.cta p { font-size: 1.05rem; max-width: 560px; margin: 0 auto 32px; }
.cta-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Footer */
.footer {
  position: relative;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 80px 0 30px;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 4px;
  background: var(--grad);
  filter: blur(2px);
  opacity: 0.6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand img { height: 64px; margin-bottom: 18px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.75; max-width: 320px; color: var(--text-3); }
.footer-col h5 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}
html[lang="ar"] .footer-col h5 { letter-spacing: 0; text-transform: none; font-size: 0.95rem; }
.footer-col ul { display: grid; gap: 12px; }
.footer-col a { font-size: 0.92rem; color: var(--text-3); transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-4);
  flex-wrap: wrap;
  gap: 16px;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-2);
  transition: all .3s var(--ease);
}
.socials a:hover { background: var(--surface-2); color: var(--c-teal); border-color: var(--c-teal); }
.socials svg { width: 16px; height: 16px; }

/* Page header */
.page-head {
  position: relative;
  padding: 180px 0 80px;
  background: var(--page-mesh);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--border);
}
.page-head h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin: 16px 0 18px; letter-spacing: -0.03em; }
.page-head p { font-size: 1.08rem; color: var(--text-3); max-width: 640px; line-height: 1.75; }
.crumbs {
  display: flex; gap: 8px;
  font-size: 0.85rem;
  color: var(--text-4);
  margin-bottom: 4px;
}
.crumbs a:hover { color: var(--text-2); }
.crumbs span { color: var(--border-2); }

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 0.85rem; font-weight: 500; color: var(--text-2); }
.form-field input,
.form-field select,
.form-field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--text);
  transition: all .25s var(--ease);
  outline: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-4); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--c-teal);
  background: var(--surface-2);
  box-shadow: 0 0 0 4px rgba(26, 168, 189, 0.12);
}
.form-field.full { grid-column: 1 / -1; }
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b8fa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
[dir="rtl"] .form-field select { background-position: left 14px center; padding-right: 16px; padding-left: 40px; }

/* Style the native dropdown options (browser-rendered, doesn't inherit theme) */
.form-field select option,
.form-field select optgroup {
  background-color: var(--bg-elev);
  color: var(--text);
  padding: 12px;
}
[data-theme="light"] .form-field select option,
[data-theme="light"] .form-field select optgroup {
  background-color: #ffffff;
  color: #0a0d14;
}

/* Autofill background fix (Chrome highlights autofilled fields with yellow) */
.form-field input:-webkit-autofill,
.form-field input:-webkit-autofill:hover,
.form-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 30px var(--bg-elev) inset !important;
  caret-color: var(--text);
  transition: background-color 5000s ease-in-out 0s;
}

/* Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 28px 0;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg-alt) 50%, var(--bg) 100%);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marqueeScroll 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-2);
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
.marquee-item:hover { opacity: 1; color: var(--text); }
.marquee-item .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-teal);
  box-shadow: 0 0 12px var(--c-teal);
  flex-shrink: 0;
}
.marquee-item:nth-child(4n+2) .dot { background: var(--c-coral); box-shadow: 0 0 12px var(--c-coral); }
.marquee-item:nth-child(4n+3) .dot { background: var(--c-gold);  box-shadow: 0 0 12px var(--c-gold); }
.marquee-item:nth-child(4n+4) .dot { background: var(--c-sea);   box-shadow: 0 0 12px var(--c-sea); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Big stats band */
.big-stats {
  position: relative;
  border-radius: var(--r-2xl);
  background: var(--bigstats-bg);
  border: 1px solid var(--border);
  padding: 72px 56px;
  overflow: hidden;
  isolation: isolate;
}
.big-stats::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--r-2xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(26, 168, 189, 0.4), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.big-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.big-stat { position: relative; text-align: left; padding: 0 4px; }
[dir="rtl"] .big-stat { text-align: right; }
.big-stat + .big-stat::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--border-2), transparent);
}
[dir="rtl"] .big-stat + .big-stat::before { left: auto; right: -16px; }
.big-stat .num {
  font-size: clamp(2.5rem, 4.8vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 12px;
}
.big-stat .num.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.big-stat .lbl { color: var(--text-3); font-size: 0.92rem; line-height: 1.6; }

/* Compare */
.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
}
.compare-card {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.compare-card.bad {
  background: var(--compare-bad);
  border-color: rgba(229, 91, 95, 0.15);
}
.compare-card.good {
  background: var(--compare-good);
  border-color: rgba(26, 168, 189, 0.25);
}
.compare-arrow {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  align-self: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  color: var(--text);
  flex-shrink: 0;
}
.compare-arrow svg { width: 22px; height: 22px; }
[dir="rtl"] .compare-arrow svg { transform: scaleX(-1); }
.compare-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.compare-card.bad h4 { color: var(--c-coral); }
.compare-card.good h4 { color: var(--c-teal); }
.compare-card ul { display: grid; gap: 14px; }
.compare-card li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.6;
}
.compare-card li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.compare-card.bad li svg  { color: var(--c-coral); }
.compare-card.good li svg { color: var(--c-teal); }

/* Bento */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 18px;
}
.bento-card {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  isolation: isolate;
  transition: all .4s var(--ease);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
}
.bento-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--bento-glow, rgba(26,168,189,0.4)) 0%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity .4s var(--ease);
}
.bento-card:hover { background: var(--surface-2); border-color: var(--border-2); transform: translateY(-4px); }
.bento-card:hover::before { opacity: 1; }
.bento-card .meta {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
html[lang="ar"] .bento-card .meta { letter-spacing: 0; text-transform: none; }
.bento-card h3 {
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.bento-card p { font-size: 0.92rem; color: var(--text-3); line-height: 1.65; }
.bento-visual { position: relative; margin-top: 20px; flex-grow: 1; display: grid; place-items: center; min-height: 0; }

.bento-A { grid-column: span 2; grid-row: span 2; --bento-glow: rgba(26, 168, 189, 0.5); }
.bento-B { grid-column: span 2; grid-row: span 1; --bento-glow: rgba(229, 91, 95, 0.4); }
.bento-C { grid-column: span 1; grid-row: span 1; --bento-glow: rgba(61, 179, 156, 0.4); }
.bento-D { grid-column: span 1; grid-row: span 1; --bento-glow: rgba(200, 161, 74, 0.4); }
.bento-E { grid-column: span 2; grid-row: span 1; --bento-glow: rgba(61, 179, 156, 0.4); }
.bento-F { grid-column: span 2; grid-row: span 1; --bento-glow: rgba(200, 161, 74, 0.4); }

.bento-mock {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,168,189,0.08), rgba(61,179,156,0.04));
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bento-mock-row { display: flex; gap: 10px; }
.bento-mock-bar { flex: 1; height: 8px; background: var(--surface-2); border-radius: 4px; overflow: hidden; }
.bento-mock-bar > span { display: block; height: 100%; border-radius: 4px; background: var(--grad); }
.bento-mock-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  flex: 1;
}
.bento-mock-card .lbl { font-size: 0.7rem; color: var(--text-4); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.bento-mock-card .val { font-size: 1.1rem; font-weight: 600; color: var(--text); }
.bento-mock-card .val.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.bento-badge .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c-sea);
  display: grid; place-items: center;
}
.bento-badge .check svg { width: 11px; height: 11px; color: var(--bg); }

.bento-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}
.bento-toggle span { padding: 6px 14px; border-radius: 999px; color: var(--text-3); }
.bento-toggle span.on { background: var(--c-teal); color: #fff; }

.bento-flag {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #006c35, #008542);
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  border: 3px solid var(--surface-2);
  box-shadow: 0 0 30px rgba(0, 108, 53, 0.4);
}
.bento-avatars { display: flex; align-items: center; }
.bento-avatars .av {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 0.82rem;
  color: #fff;
  border: 2px solid var(--bg-elev);
  margin-left: -10px;
}
.bento-avatars .av:first-child { margin-left: 0; }

/* Sticky scroll showcase */
.sticky-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.sticky-left { position: sticky; top: 120px; align-self: start; padding: 40px 0; }
.sticky-left h2 { margin-bottom: 22px; }
.sticky-left p { font-size: 1.05rem; line-height: 1.75; color: var(--text-3); margin-bottom: 32px; }
.sticky-pills { display: flex; flex-direction: column; gap: 12px; }
.sticky-pill {
  position: relative;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  transition: all .35s var(--ease);
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  width: 100%;
  color: var(--text-2);
}
[dir="rtl"] .sticky-pill { text-align: right; }
.sticky-pill:hover { background: var(--surface-2); border-color: var(--border-2); }
.sticky-pill.active {
  background: linear-gradient(135deg, rgba(26, 168, 189, 0.12), rgba(26, 168, 189, 0.04));
  border-color: rgba(26, 168, 189, 0.4);
  color: var(--text);
}
.sticky-pill .ic {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--surface-2);
  color: var(--text-3);
  flex-shrink: 0;
  transition: all .35s var(--ease);
}
.sticky-pill.active .ic { background: var(--c-teal); color: #fff; }
.sticky-pill .ic svg { width: 18px; height: 18px; }
.sticky-pill strong { display: block; font-weight: 600; font-size: 0.98rem; color: var(--text); margin-bottom: 2px; }
.sticky-pill span { display: block; font-size: 0.85rem; color: var(--text-3); }

.sticky-right { position: relative; display: grid; gap: 100px; padding: 40px 0; }
.sticky-panel {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  padding: 36px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow: hidden;
  isolation: isolate;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  opacity: 0.4;
  transform: scale(0.96);
}
.sticky-panel.active { opacity: 1; transform: scale(1); }
.sticky-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--r-xl);
  padding: 1px;
  background: linear-gradient(135deg, var(--panel-glow, rgba(26, 168, 189, 0.5)), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.sticky-panel h4 { font-size: 1.15rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.sticky-panel .panel-meta {
  font-size: 0.78rem;
  color: var(--text-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
html[lang="ar"] .sticky-panel .panel-meta { letter-spacing: 0; text-transform: none; }
.panel-mock {
  flex-grow: 1;
  display: grid;
  place-items: center;
  background: var(--surface);
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

/* 3D divider */
.divider-3d {
  position: relative;
  height: 460px;
  margin: -40px 0 -80px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.divider-3d-mount {
  position: absolute;
  inset: 0;
  mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, #000 35%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 50% 50%, #000 35%, transparent 85%);
}
.divider-3d-mount canvas { background: transparent !important; }

/* Newsletter */
.newsletter {
  position: relative;
  border-radius: var(--r-2xl);
  background: var(--newsletter-bg);
  border: 1px solid var(--border);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.newsletter::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--r-2xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(26, 168, 189, 0.5), transparent 50%, rgba(229, 91, 95, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.newsletter h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 14px 0 14px;
  letter-spacing: -0.02em;
}
.newsletter p { color: var(--text-3); font-size: 1rem; line-height: 1.7; }
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.newsletter-input-row {
  display: flex;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.newsletter-input-row:focus-within {
  border-color: var(--c-teal);
  box-shadow: 0 0 0 4px rgba(26, 168, 189, 0.12);
}
.newsletter-input-row input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  padding: 10px 14px;
  font-size: 0.95rem;
  font-family: inherit;
}
.newsletter-input-row input::placeholder { color: var(--text-4); }
.newsletter-input-row button {
  flex-shrink: 0;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--grad);
  color: var(--on-grad);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  background-size: 200% 200%;
  animation: gradMove 8s ease-in-out infinite;
}
.newsletter-input-row button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(26, 168, 189, 0.35); }
.newsletter-input-row button svg { width: 14px; height: 14px; }
.newsletter-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.8rem;
  color: var(--text-3);
  flex-wrap: wrap;
}
.newsletter-trust span { display: inline-flex; align-items: center; gap: 6px; }
.newsletter-trust svg { width: 14px; height: 14px; color: var(--c-sea); flex-shrink: 0; }

/* Logo strip */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  opacity: 0.6;
  filter: grayscale(1);
}
.logo-strip span { font-weight: 600; font-size: 0.95rem; color: var(--text-3); }

/* Tabs */
.tabs {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}
.tab-btn {
  padding: 9px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-3);
  transition: all .3s var(--ease);
}
.tab-btn:hover { color: var(--text-2); }
.tab-btn.active { background: var(--surface-3); color: var(--text); }

/* Animations */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26, 168, 189, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(26, 168, 189, 0); }
}
@keyframes gradMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.float-anim { animation: float 6s ease-in-out infinite; }
.spin-anim  { animation: spin 30s linear infinite; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }
.reveal.delay-4 { transition-delay: .32s; }

/* Decorative blobs */
.blob {
  position: absolute;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.5;
  border-radius: 50%;
}
.blob-teal  { background: var(--c-teal); }
.blob-coral { background: var(--c-coral); }
.blob-gold  { background: var(--c-gold); }
.blob-sea   { background: var(--c-sea); }

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--surface-3); }

/* Map iframe (theme-aware filter) */
.map-iframe { filter: var(--map-filter); transition: filter .3s var(--ease); }

/* ==================================================================
   Custom branded overlay covering Google Maps' default place card
   ================================================================== */
.map-wrap {
  position: relative;
  padding-bottom: 75%;
  background: var(--bg-alt);
  overflow: hidden;
}
.map-wrap .map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Big branded card — fully covers Google's default place card and reviews line */
.map-overlay {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--border-2);
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.40), 0 0 0 1px rgba(26, 168, 189, 0.10) inset;
  pointer-events: auto;
}
[data-theme="light"] .map-overlay {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(15, 20, 25, 0.16), 0 0 0 1px rgba(26, 168, 189, 0.10) inset;
}

.map-overlay-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.map-overlay-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(26, 168, 189, 0.10), rgba(229, 91, 95, 0.08));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.map-overlay-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}
.map-overlay-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.25;
}
.map-overlay-info .name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--text);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.map-overlay-info .name .verified {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-teal);
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(26, 168, 189, 0.20);
}
.map-overlay-info .name .verified svg {
  width: 12px;
  height: 12px;
  color: #fff;
}
.map-overlay-info .where {
  font-size: 0.86rem;
  color: var(--text-3);
}
.map-overlay-info .meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--text-4);
  margin-top: 2px;
}
.map-overlay-info .meta .open-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-sea);
  box-shadow: 0 0 0 2px rgba(61, 179, 156, 0.25);
}
.map-overlay-info .meta strong { color: var(--c-sea); font-weight: 600; }

/* Action row */
.map-overlay-actions {
  display: flex;
  gap: 10px;
}
.map-overlay-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 12px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.map-overlay-btn.primary {
  background: var(--grad);
  color: #fff;
  background-size: 200% 200%;
  animation: gradMove 8s ease-in-out infinite;
  box-shadow: 0 8px 22px -4px rgba(26, 168, 189, 0.45);
}
.map-overlay-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(26, 168, 189, 0.55);
  color: #fff;
}
.map-overlay-btn.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-2);
}
[data-theme="light"] .map-overlay-btn.secondary {
  background: rgba(15, 20, 25, 0.04);
  border-color: rgba(15, 20, 25, 0.12);
}
.map-overlay-btn.secondary:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
  color: var(--text);
}
.map-overlay-btn svg { width: 16px; height: 16px; }

/* ==================================================================
   Appointment Booking section
   Professional multi-purpose booking form: demo / sales / support
   / training / implementation. Pill selector for request type,
   customer status toggle, scheduling fields, and a "what to expect"
   sidebar with reassurance.
   ================================================================== */
.booking-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.booking-card {
  position: relative;
  padding: 36px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(26, 168, 189, 0.08) 0%, transparent 60%),
    var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.booking-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: var(--r-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(26, 168, 189, 0.4), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.booking-card form { display: grid; gap: 22px; }

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.field-label .required { color: var(--c-coral); margin-left: 2px; }

/* Request type pills (radio styled as cards) */
.request-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.request-pill {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all .25s var(--ease);
  text-align: left;
}
[dir="rtl"] .request-pill { text-align: right; align-items: flex-start; }
.request-pill:hover { background: var(--surface-2); border-color: var(--border-2); }
.request-pill input { position: absolute; opacity: 0; pointer-events: none; }
.request-pill .pill-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--surface-2);
  color: var(--text-3);
  transition: all .25s var(--ease);
}
.request-pill .pill-icon svg { width: 16px; height: 16px; }
.request-pill .pill-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.3;
}
.request-pill .pill-desc {
  font-size: 0.74rem;
  color: var(--text-4);
  line-height: 1.4;
}
.request-pill input:checked ~ * { color: var(--text); }
.request-pill:has(input:checked) {
  border-color: var(--c-teal);
  background: linear-gradient(135deg, rgba(26, 168, 189, 0.10), rgba(26, 168, 189, 0.02));
  box-shadow: 0 0 0 4px rgba(26, 168, 189, 0.10);
}
.request-pill:has(input:checked) .pill-icon {
  background: var(--c-teal);
  color: #fff;
}
.request-pill:has(input:checked) .pill-label { color: var(--text); }

/* Customer status toggle (segmented control) */
.customer-toggle {
  display: inline-flex;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.customer-toggle label {
  position: relative;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-3);
  cursor: pointer;
  transition: all .25s var(--ease);
}
.customer-toggle label:hover { color: var(--text-2); }
.customer-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.customer-toggle label:has(input:checked) {
  background: var(--c-teal);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26, 168, 189, 0.3);
}

/* Sidebar: What to expect */
.booking-side {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.booking-side-card {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.booking-side-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.booking-side-card h4 svg {
  width: 18px; height: 18px;
  color: var(--c-teal);
}
.booking-side-card ul {
  display: grid;
  gap: 12px;
}
.booking-side-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.55;
}
.booking-side-card li svg {
  width: 16px; height: 16px;
  color: var(--c-sea);
  flex-shrink: 0;
  margin-top: 2px;
}

.booking-side-card.contact-mini ul { gap: 10px; }
.booking-side-card.contact-mini li {
  align-items: center;
  font-size: 0.92rem;
}
.booking-side-card.contact-mini li svg {
  width: 18px; height: 18px;
  color: var(--c-teal);
  margin-top: 0;
}
.booking-side-card.contact-mini li a {
  color: var(--text);
  font-weight: 600;
}
.booking-side-card.contact-mini li a:hover { color: var(--c-teal); }

/* Submit row with reassurance */
.booking-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.booking-reassure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-3);
}
.booking-reassure svg {
  width: 16px; height: 16px;
  color: var(--c-sea);
}

/* Success state after booking submit */
.booking-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 40px 20px;
  text-align: center;
  animation: toastIn 0.5s var(--ease-spring);
}
.booking-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-sea), var(--c-teal));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 32px -8px rgba(61, 179, 156, 0.5);
  animation: toastIn 0.7s var(--ease-spring) 0.1s both;
}
.booking-success-icon svg { width: 32px; height: 32px; }
.booking-success h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 700;
  margin: 0;
  color: var(--text);
}
.booking-success p {
  font-size: 0.98rem;
  color: var(--text-3);
  max-width: 480px;
  line-height: 1.7;
}
.booking-success-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.btn-success-wa,
.btn-success-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-success-wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.5);
}
.btn-success-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -6px rgba(37, 211, 102, 0.65);
  color: #fff;
}
.btn-success-email {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border-2);
}
[data-theme="light"] .btn-success-email {
  background: rgba(15, 20, 25, 0.04);
}
.btn-success-email:hover {
  background: var(--surface-2);
  border-color: var(--c-teal);
  color: var(--c-teal);
  transform: translateY(-2px);
}
.btn-success-wa svg, .btn-success-email svg { width: 18px; height: 18px; }
.booking-success-again {
  margin-top: 14px;
  font-size: 0.86rem;
  color: var(--text-3);
  border: 0;
  background: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  padding: 6px 12px;
  transition: color .25s var(--ease);
}
.booking-success-again:hover { color: var(--text); }

/* Date / time inputs use the same form-field styling, but native pickers
   show in default colors — force theme-aware appearance */
.form-field input[type="date"]::-webkit-calendar-picker-indicator,
.form-field input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.5);
  opacity: 0.7;
  cursor: pointer;
}
[data-theme="dark"] .form-field input[type="date"]::-webkit-calendar-picker-indicator,
[data-theme="dark"] .form-field input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
}

@media (max-width: 1024px) {
  .booking-grid { grid-template-columns: 1fr; gap: 24px; }
  .booking-side { position: relative; top: 0; }
  .request-pills { grid-template-columns: repeat(2, 1fr); }
  .booking-card { padding: 28px; }
}
@media (max-width: 540px) {
  .request-pills { grid-template-columns: 1fr; }
  .booking-card { padding: 22px; }
  .booking-submit-row { justify-content: center; flex-direction: column; }
}

/* Pulsing pin badge bottom-right */
.map-pin-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--bg-elev) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-2);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
[data-theme="light"] .map-pin-badge {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(15, 20, 25, 0.12);
}
.map-pin-badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c-coral);
  box-shadow: 0 0 0 3px rgba(229, 91, 95, 0.25);
  animation: pulse 2.5s var(--ease) infinite;
}

@media (max-width: 600px) {
  .map-overlay { padding: 14px; gap: 12px; top: 10px; left: 10px; right: 10px; }
  .map-overlay-icon { width: 44px; height: 44px; }
  .map-overlay-icon img { width: 32px; height: 32px; }
  .map-overlay-info .name { font-size: 1.05rem; }
  .map-overlay-info .where { font-size: 0.8rem; }
  .map-overlay-btn { padding: 10px 12px; font-size: 0.85rem; }
  .map-pin-badge { font-size: 0.74rem; padding: 7px 11px; }
}

/* ==================================================================
   RTL fix for inline SVG text/positioning
   SVG inherits CSS `direction`, which makes `text-anchor="start"` and
   `x` coordinates interpret right-to-left in RTL pages. This breaks
   our SVG mockups where labels are anchored to the left side. Forcing
   `direction: ltr` on SVGs in RTL pages keeps the coordinate system
   LTR (positioning works as designed) while Arabic text inside
   <text> elements still renders right-to-left at the character level
   (Unicode bidi handles that automatically).
   ================================================================== */
[dir="rtl"] svg { direction: ltr; }

/* ==================================================================
   Keep NAV + FOOTER layout direction LTR in both languages so logo,
   menu, and CTAs occupy the same physical positions regardless of
   language. Arabic text inside individual elements still renders
   right-to-left at the character level via Unicode bidi.
   ================================================================== */
[dir="rtl"] .nav-wrap,
[dir="rtl"] .footer { direction: ltr; }

/* Ensure inner text blocks that need to read right-to-left re-flip */
[dir="rtl"] .footer-brand p,
[dir="rtl"] .footer-col h5,
[dir="rtl"] .footer-col a,
[dir="rtl"] .footer-bottom > span {
  direction: rtl;
  text-align: right;
}
[dir="rtl"] .footer-col { text-align: right; }

/* Code/monospace blocks should always render LTR (e.g., URLs, tokens) */
[dir="rtl"] code,
[dir="rtl"] [style*="font-family:var(--ff-mono)"],
[dir="rtl"] [style*="font-family: var(--ff-mono)"] {
  direction: ltr;
  unicode-bidi: embed;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 480px; }
  .showcase-row { grid-template-columns: 1fr; gap: 40px; margin-bottom: 80px; }
  .showcase-row.reverse > div:first-child { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .testi-grid { grid-template-columns: 1fr; max-width: 580px; margin: 0 auto; }
  .capabilities { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .big-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .big-stat + .big-stat::before { display: none; }
  .big-stats { padding: 48px 28px; }
  .compare { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); justify-self: center; }
  [dir="rtl"] .compare-arrow svg { transform: scaleX(1); }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .bento-A { grid-column: span 2; grid-row: span 2; }
  .bento-B, .bento-E, .bento-F { grid-column: span 2; }
  .bento-C, .bento-D { grid-column: span 1; }
  .sticky-showcase { grid-template-columns: 1fr; gap: 32px; }
  .sticky-left { position: relative; top: 0; padding: 0; }
  .sticky-right { gap: 24px; }
  .sticky-panel { opacity: 1; transform: none; min-height: 320px; }
  .newsletter { grid-template-columns: 1fr; gap: 32px; padding: 48px 28px; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta .btn-outline { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; right: 16px; left: 16px;
    background: var(--bg-elev);
    border-radius: 16px;
    padding: 14px;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    margin-top: 12px;
  }
  .nav-links.mobile-open a { width: 100%; padding: 12px 16px; border-radius: 10px; text-align: left; }
  [dir="rtl"] .nav-links.mobile-open a { text-align: right; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { grid-template-columns: 1fr; gap: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .capabilities { grid-template-columns: 1fr; }
  .cta { padding: 56px 24px; }
  .toast { display: none; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .bento-A { grid-row: span 2; }
  .bento-A, .bento-B, .bento-C, .bento-D, .bento-E, .bento-F { grid-column: span 1; }
  .divider-3d { height: 280px; margin: -20px 0 -40px; }
  .big-stats-grid { grid-template-columns: 1fr; gap: 28px; }
  .marquee-track { gap: 36px; animation-duration: 28s; }
  .marquee-item { font-size: 0.92rem; }
}

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