/* ============================================================
   PULSAR TECH — STYLESHEET
   Design: Deep Space × Neon Tech
   Fonts: Space Grotesk (EN headings) / Inter (EN body) / Cairo (AR)
   Colors: #060B18 bg · #00D4FF cyan · #6C3EFF purple · #0FFFB3 teal accent
============================================================ */

/* ─── RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg-0:          #040810;
  --bg-1:          #091425;
  --bg-2:          #0E1D3A;
  --card-bg:       rgba(11, 22, 48, 0.75);
  --card-border:   rgba(99, 180, 255, 0.08);
  --cyan:          #00D4FF;
  --cyan-rgb:      0, 212, 255;
  --purple:        #7C5CFC;
  --purple-rgb:    124, 92, 252;
  --teal:          #10F5C2;
  --teal-rgb:      16, 245, 194;
  --red:           #FF6B8A;
  --gold:          #FBBF24;
  --rose:          #F472B6;
  --grad:          linear-gradient(135deg, #00D4FF 0%, #7C5CFC 50%, #E879A8 100%);
  --grad-soft:     linear-gradient(135deg, rgba(0,212,255,.12), rgba(124,92,252,.10), rgba(232,121,168,.06));
  --text-1:        #F0F4FC;
  --text-2:        #8E9CBC;
  --text-3:        #5B6A87;
  --text-primary:  #F0F4FC;
  --text-secondary:#8E9CBC;
  --text-muted:    #5B6A87;
  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     32px;
  --shadow-glow:   0 0 40px rgba(0, 212, 255, 0.15);
  --focus-ring:    0 0 0 3px rgba(0, 212, 255, 0.3);
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-en:       'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-ar:       'Cairo', 'Space Grotesk', system-ui, sans-serif;
  --container-max: 1200px;
  --header-h:      72px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-en);
  background-color: var(--bg-0);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Arabic direction */
html[lang="ar"] body {
  font-family: var(--font-ar);
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .fa-arrow-right::before { content: "\f060"; /* fa-arrow-left */ }

h1,h2,h3,h4,h5 { line-height: 1.15; font-weight: 700; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* Accessible keyboard focus */
:focus:not(:focus-visible) { outline: none; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
}

/* ─── UTILITIES ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.3);
  background-size: 200% 200%;
  background-position: 0% 50%;
  transition: transform var(--transition), box-shadow var(--transition),
              background-position 0.5s ease;
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 212, 255, 0.5);
  background-position: 100% 50%;
}

.btn--ghost {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
}
.btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,212,255,0.15);
}
.btn--lg { padding: 15px 32px; font-size: 1rem; }
.btn--full  { width: 100%; justify-content: center; }

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HEADER ─────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), backdrop-filter var(--transition),
              box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(4, 8, 16, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0, 212, 255, 0.08), 0 4px 30px rgba(0,0,0,0.3);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon svg { display: block; filter: drop-shadow(0 0 8px rgba(0,212,255,0.6)); }
.logo-text { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.5px; }
.logo-accent { color: var(--cyan); }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav__link {
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link--active { color: var(--text-1); background: rgba(255,255,255,0.05); }
.nav__link--active  { color: var(--cyan) !important; }

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__cta {
  padding: 9px 18px;
  font-size: 0.82rem;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  gap: 6px;
  transition: var(--transition);
}
.lang-toggle:hover { border-color: var(--cyan); color: var(--text-1); }
.lang-toggle__inner { display: flex; align-items: center; gap: 5px; }
.lang-sep { opacity: 0.3; }
.lang-en, .lang-ar { transition: var(--transition); }
.lang-en.active, .lang-ar.active { color: var(--cyan); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── .nav__burger (product pages) — mirrors .nav__hamburger ── */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-2);
  border-radius: 2px;
  transition: var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

/* New hero uses hero__inner — no grid-children trick needed */

#starCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  /* No filter:blur — use opacity+color only */
}
.hero__glow--left  { background: radial-gradient(circle, rgba(108, 62, 255, 0.22) 0%, transparent 70%); top: -100px; left: -200px; }
.hero__glow--right { background: radial-gradient(circle, rgba(0, 212, 255, 0.14) 0%,  transparent 70%); bottom: -100px; right: -200px; }

/* Hero inner — centered column container */
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Remove old grid child style */

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,0.6); }
  50%      { box-shadow: 0 0 0 6px rgba(0,212,255,0); }
}

.hero__headline {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 28px;
}
.hero__headline-line1 {
  display: block;
  color: var(--text-1);
}
.hero__headline-line2 {
  display: block;
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 640px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

.hero__trust {
  margin-top: -20px;
  margin-bottom: 24px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,212,255,0.22);
  background: rgba(0,212,255,0.07);
  color: var(--text-2);
  font-size: 0.78rem;
  font-weight: 600;
}

.hero__trust-item i {
  color: var(--cyan);
  font-size: 0.75rem;
}

/* ─── Hero Showcase: Stats + Orb side by side ────────────── */
.hero__showcase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  width: 100%;
  max-width: 700px;
  margin-top: 16px;
}

/* Vertical stats column */
.hero__stats-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0,212,255,0.04);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: 14px;
  padding: 14px 22px;
  min-width: 200px;
  transition: var(--transition);
}
.stat-pill:hover {
  border-color: rgba(0,212,255,0.25);
  background: rgba(0,212,255,0.07);
  transform: translateX(-4px);
}
[lang="ar"] .stat-pill:hover {
  transform: translateX(4px);
}

.stat-pill__num {
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  min-width: 52px;
  text-align: center;
}
.stat-pill__label {
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.3px;
}

/* ─── Hero Animated Tech Orb ─────────────────────────────── */
.hero__orb {
  width: 320px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.orb {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}

/* Core sphere */
.orb__core {
  position: absolute;
  top: 50%; left: 50%;
  width: 90px; height: 90px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%,
    rgba(0,212,255,0.6) 0%,
    rgba(108,62,255,0.4) 40%,
    rgba(244,114,182,0.2) 70%,
    transparent 100%);
  box-shadow:
    0 0 60px rgba(0,212,255,0.3),
    0 0 120px rgba(108,62,255,0.15),
    inset 0 0 30px rgba(0,212,255,0.2);
  animation: orbPulse 4s ease-in-out infinite;
}
@keyframes orbPulse {
  0%,100% {
    transform: translate(-50%,-50%) scale(1);
    box-shadow: 0 0 60px rgba(0,212,255,0.3), 0 0 120px rgba(108,62,255,0.15), inset 0 0 30px rgba(0,212,255,0.2);
  }
  50% {
    transform: translate(-50%,-50%) scale(1.08);
    box-shadow: 0 0 80px rgba(0,212,255,0.4), 0 0 160px rgba(108,62,255,0.25), inset 0 0 40px rgba(0,212,255,0.3);
  }
}

/* Rotating rings */
.orb__ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid transparent;
  transform-style: preserve-3d;
}

.orb__ring--1 {
  width: 180px; height: 180px;
  margin: -90px 0 0 -90px;
  border-color: rgba(0,212,255,0.25);
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: ringRotate1 8s linear infinite;
  box-shadow: 0 0 15px rgba(0,212,255,0.08);
}
.orb__ring--2 {
  width: 240px; height: 240px;
  margin: -120px 0 0 -120px;
  border-color: rgba(108,62,255,0.2);
  border-left-color: transparent;
  border-right-color: transparent;
  animation: ringRotate2 12s linear infinite;
  box-shadow: 0 0 20px rgba(108,62,255,0.06);
}
.orb__ring--3 {
  width: 300px; height: 300px;
  margin: -150px 0 0 -150px;
  border-color: rgba(244,114,182,0.12);
  border-top-color: transparent;
  border-left-color: transparent;
  animation: ringRotate3 18s linear infinite;
  box-shadow: 0 0 25px rgba(244,114,182,0.04);
}

@keyframes ringRotate1 {
  to { transform: rotateX(65deg) rotateZ(360deg); }
}
@keyframes ringRotate2 {
  to { transform: rotateX(-45deg) rotateY(360deg); }
}
@keyframes ringRotate3 {
  to { transform: rotateY(35deg) rotateZ(-360deg); }
}

/* Floating particles */
.orb__particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  top: 50%; left: 50%;
  --angle: calc(var(--d) * 45deg);
  --dist: 130px;
  transform: translate(-50%,-50%)
             rotate(var(--angle))
             translateX(var(--dist));
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
  animation-delay: calc(var(--d) * 0.75s);
}
.orb__particle:nth-child(odd) {
  background: #7C5CFC;
  width: 3px; height: 3px;
  --dist: 110px;
}
.orb__particle:nth-child(3n) {
  background: #F472B6;
  width: 3px; height: 3px;
  --dist: 145px;
}
@keyframes particleFloat {
  0%   { opacity: 0; transform: translate(-50%,-50%) rotate(var(--angle)) translateX(calc(var(--dist) - 30px)); }
  20%  { opacity: 0.8; }
  50%  { opacity: 1; transform: translate(-50%,-50%) rotate(calc(var(--angle) + 60deg)) translateX(var(--dist)); }
  80%  { opacity: 0.6; }
  100% { opacity: 0; transform: translate(-50%,-50%) rotate(calc(var(--angle) + 120deg)) translateX(calc(var(--dist) + 20px)); }
}

/* Ambient glow behind orb */
.orb__glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 350px; height: 350px;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0,212,255,0.08) 0%,
    rgba(108,62,255,0.05) 35%,
    rgba(244,114,182,0.03) 60%,
    transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  animation: glowBreath 5s ease-in-out infinite;
}
@keyframes glowBreath {
  0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: 1; transform: translate(-50%,-50%) scale(1.1); }
}

/* Responsive showcase + orb */
@media (max-width: 700px) {
  .hero__showcase {
    flex-direction: column-reverse;
    gap: 32px;
  }
  .hero__stats-col {
    flex-direction: row;
    gap: 10px;
    width: 100%;
    justify-content: center;
  }
  .stat-pill {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    min-width: 0;
    flex: 1;
    padding: 12px 10px;
  }
  .stat-pill:hover { transform: translateY(-4px); }
  [lang="ar"] .stat-pill:hover { transform: translateY(-4px); }
  .stat-pill__num { min-width: 0; font-size: 1.25rem; }
  .stat-pill__label { font-size: 0.68rem; }
}
@media (max-width: 600px) {
  .hero__orb { width: 240px; }
  .orb { width: 240px; height: 240px; }
  .orb__core { width: 64px; height: 64px; }
  .orb__ring--1 { width: 130px; height: 130px; margin: -65px 0 0 -65px; }
  .orb__ring--2 { width: 175px; height: 175px; margin: -87px 0 0 -87px; }
  .orb__ring--3 { width: 220px; height: 220px; margin: -110px 0 0 -110px; }
  .orb__particle { --dist: 95px; }
  .orb__particle:nth-child(odd) { --dist: 80px; }
  .orb__particle:nth-child(3n) { --dist: 105px; }
  .orb__glow { width: 260px; height: 260px; }
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ─── SECTION COMMON ─────────────────────────────────────── */
section { padding: 100px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  padding: 5px 14px;
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(124,92,252,0.06));
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
}

/* .section-label — product pages variant */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
  padding: 5px 14px;
  background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(124,92,252,0.06));
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 20px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── PRODUCTS SECTION ───────────────────────────────────── */
.products {
  background: var(--bg-0);
  position: relative;
}
.products::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  opacity: 0.3;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  position: relative;
  background: linear-gradient(145deg, #0B1829 0%, #091425 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              border-color var(--transition), box-shadow var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: default;
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity var(--transition);
  border-radius: inherit;
  pointer-events: none;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(0, 212, 255, 0.35);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5),
              0 0 0 1px rgba(0, 212, 255, 0.2),
              0 0 50px rgba(124, 92, 252, 0.08),
              0 0 100px rgba(0, 212, 255, 0.05);
}
.product-card:hover::after { opacity: 1; }

.product-card__glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--cyan);
  filter: blur(60px);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.product-card:hover .product-card__glow { opacity: 0.06; }

.product-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  position: relative;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              box-shadow var(--transition);
}
.product-card:hover .product-icon {
  transform: scale(1.12) rotate(-4deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.product-icon--erp  { background: rgba(0, 212, 255, 0.12); color: var(--cyan);   border: 1px solid rgba(0,212,255,.2); }
.product-icon--hr   { background: rgba(108, 62, 255, 0.12); color: #a78bfa;      border: 1px solid rgba(108,62,255,.2); }
.product-icon--pos  { background: rgba(255, 180, 0, 0.12);  color: #fbbf24;      border: 1px solid rgba(255,180,0,.2); }
.product-icon--tours{ background: rgba(15, 255, 179, 0.12); color: var(--teal);  border: 1px solid rgba(15,255,179,.2); }
.product-icon--med  { background: rgba(255, 77, 109, 0.12); color: var(--red);   border: 1px solid rgba(255,77,109,.2); }
.product-icon--lms  { background: rgba(99, 179, 237, 0.12); color: #63b3ed;      border: 1px solid rgba(99,179,237,.2); }

.product-card__tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-3);
  text-transform: uppercase;
  background: rgba(255,255,255,0.05);
  padding: 3px 8px;
  border-radius: 6px;
}

.product-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.product-card__name-ar {
  display: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--cyan);
  opacity: 0.7;
  margin-top: 2px;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}

.product-card__desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  flex: 1;
  transition: color var(--transition);
}
.product-card:hover .product-card__desc { color: #b8cce0; }

.product-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}
.product-card__cta:hover { gap: 10px; }
.product-card__cta i { font-size: 0.7rem; transition: transform var(--transition); }
.product-card__cta:hover i { transform: translateX(3px); }

/* Delay variants */
.reveal[data-delay="100"]  { transition-delay: 0.1s; }
.reveal[data-delay="200"]  { transition-delay: 0.2s; }
.reveal[data-delay="300"]  { transition-delay: 0.3s; }
.reveal[data-delay="150"]  { transition-delay: 0.15s; }

/* ─── WHY SECTION ────────────────────────────────────────── */
.why {
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}

.why__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

.why-card {
  background: linear-gradient(165deg, #0C1B33 0%, #0A1628 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              border-color var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.why-card:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 92, 252, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(124, 92, 252, 0.06);
}
.why-card:hover::before { transform: scaleX(1); }

html[lang="ar"] .why-card::before { transform-origin: right; }

.why-card__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.why-card:hover .why-card__icon { transform: scale(1.1) rotate(-5deg); }
.why-card__icon--cyan   { background: rgba(0,212,255,0.1);   color: var(--cyan);  border: 1px solid rgba(0,212,255,0.2); }
.why-card__icon--purple { background: rgba(108,62,255,0.1);  color: #a78bfa;      border: 1px solid rgba(108,62,255,0.2); }
.why-card__icon--teal   { background: rgba(15,255,179,0.1);  color: var(--teal);  border: 1px solid rgba(15,255,179,0.2); }

.why-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.why-card__body {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, #00D4FF 0%, #7C5CFC 45%, #E879A8 100%);
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: 0 20px 60px rgba(0, 212, 255, 0.18), 0 0 80px rgba(124,92,252,0.1);
}

.cta-banner__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.cta-banner__sub { font-size: 0.95rem; opacity: 0.85; max-width: 480px; }

.cta-banner .btn--primary {
  background: rgba(0,0,0,0.25);
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: none;
  flex-shrink: 0;
  color: #fff;
  backdrop-filter: blur(8px);
}
.cta-banner .btn--primary:hover {
  background: rgba(0,0,0,0.4);
  border-color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

/* ─── CONTACT SECTION ────────────────────────────────────── */
.contact { background: var(--bg-0); }

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.contact__info { display: flex; flex-direction: column; gap: 24px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item i {
  width: 42px; height: 42px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--cyan);
  flex-shrink: 0;
}
.contact-item__label { font-size: 0.75rem; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-item a,
.contact-item span { font-size: 0.95rem; color: var(--text-2); transition: color var(--transition); }
.contact-item a:hover { color: var(--cyan); }

/* Form */
.contact__form {
  background: linear-gradient(150deg, #0C1B32 0%, #091425 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-1);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: vertical;
}
.form-group select option { background: var(--bg-1); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }

.form-helper {
  margin-top: -4px;
  font-size: 0.82rem;
  color: var(--text-2);
}

.form-status {
  font-size: 0.82rem;
  color: var(--cyan);
}

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-1);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  padding: 64px 24px;
}

.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__logo  { font-size: 1.2rem; }
.footer__tagline { font-size: 0.88rem; color: var(--text-2); max-width: 280px; line-height: 1.7; }

.footer__socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer__socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-2);
  transition: var(--transition);
}
.footer__socials a:hover { background: rgba(0,212,255,0.1); color: var(--cyan); border-color: rgba(0,212,255,0.3); }

.footer__col-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: 20px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a {
  font-size: 0.88rem;
  color: var(--text-2);
  transition: color var(--transition);
}
.footer__col ul a:hover { color: var(--cyan); }

.footer__newsletter p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  transition: border-color var(--transition);
}
.newsletter-form:focus-within { border-color: var(--cyan); }

.newsletter-form input {
  flex: 1;
  padding: 11px 16px;
  background: transparent;
  border: none;
  font-size: 0.88rem;
  color: var(--text-1);
  outline: none;
}
.newsletter-form input::placeholder { color: var(--text-3); }

.newsletter-form button {
  padding: 11px 18px;
  background: var(--grad);
  color: #fff;
  font-size: 0.88rem;
  transition: opacity var(--transition);
}
.newsletter-form button:hover { opacity: 0.85; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.82rem;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { color: var(--text-3); transition: color var(--transition); }
.footer__bottom-links a:hover { color: var(--cyan); }

/* ─── BACK TO TOP ────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--grad);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition);
  pointer-events: none;
  z-index: 999;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,212,255,0.4); }

/* RTL adjustments */
html[lang="ar"] .back-to-top { right: auto; left: 28px; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero {
    padding-bottom: 60px;
  }
  .hero__inner { padding: 0 24px; }
  .hero__dashboard { max-width: 600px; }
  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .contact__layout { grid-template-columns: 1fr; }
}

/* Hamburger breakpoint — nav collapses to mobile menu */
@media (max-width: 900px) {
  :root { --header-h: 64px; }

  .nav__menu {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(6, 11, 24, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
    flex-wrap: wrap;
  }
  .nav__menu.open { transform: translateY(0); }

  .nav__link { padding: 12px 16px; font-size: 0.9rem; }
  .nav__cta   { display: none; }
  .nav__hamburger,
  .nav__burger { display: flex; }
}

@media (max-width: 768px) {
  .products__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }
  .why-card:last-child { display: none; /* only for 1-col; removed below */ }
  .why-card { display: block; } /* override */

  .cta-banner {
    padding: 36px 28px;
    text-align: center;
    flex-direction: column;
    align-items: center;
  }
  .cta-banner__sub { max-width: 100%; }

  .footer__top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .hero__badge { font-size: 0.7rem; }
  .hero__headline { letter-spacing: -0.5px; }

}

@media (max-width: 480px) {
  section { padding: 72px 0; }
  .contact__form { padding: 24px; }
  .section-title { font-size: 1.8rem; }
}

/* ─── SECTION DIVIDER ────────────────────────────────────── */
.products, .why, .contact {
  position: relative;
}
.products::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.2), transparent);
}

/* ─── SECTION TAG PULSE ──────────────────────────────────── */
.section-tag { animation: tagPulse 3s ease-in-out infinite; }
@keyframes tagPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,212,255,0); }
  50%      { box-shadow: 0 0 12px 2px rgba(0,212,255,0.15); }
}

/* ─── PRODUCT CARD NUMBER BADGE ──────────────────────────── */
.product-card::before {
  content: attr(data-num);
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.025);
  line-height: 1;
  pointer-events: none;
  font-family: var(--font-en);
  transition: color var(--transition), transform var(--transition);
  letter-spacing: -3px;
}
.product-card:hover::before {
  color: rgba(0, 212, 255, 0.06);
  transform: scale(1.1) translateY(-4px);
}
html[lang="ar"] .product-card::before { right: auto; left: 20px; }

/* ─── SHIMMER BUTTON ─────────────────────────────────────── */
.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.btn--primary:hover::before { left: 160%; }

/* ─── HERO HEADLINE TYPEWRITER CURSOR ───────────────────── */
.hero__headline .gradient-text::after {
  content: '|';
  display: inline-block;
  width: 0;
  overflow: hidden;
  animation: blink 1s step-end infinite;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 4px;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* ─── IMPROVED HERO SUB ──────────────────────────────────── */
.hero__sub {
  border-left: 2px solid rgba(0, 212, 255, 0.3);
  padding-left: 16px;
}
html[lang="ar"] .hero__sub {
  border-left: none;
  border-right: 2px solid rgba(0, 212, 255, 0.3);
  padding-left: 0;
  padding-right: 16px;
}

/* ─── CONTACT FORM ENHANCED ──────────────────────────────── */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12),
              0 0 20px rgba(0, 212, 255, 0.05);
  background: rgba(0, 212, 255, 0.03);
}

/* ─── PRODUCT CARD CTA LINE ──────────────────────────────── */
.product-card__cta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  width: 100%;
}
.product-card:hover .product-card__cta {
  border-top-color: rgba(0, 212, 255, 0.15);
}

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: rgba(0, 212, 255, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }

/* ═══════════════════════════════════════════════════════════
   PRICING — Quote Request Box
═══════════════════════════════════════════════════════════ */
.pricing { padding: 100px 0; }

.quote-box {
  margin-top: 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(150deg, rgba(12,27,50,0.8) 0%, rgba(9,20,37,0.9) 100%);
  border: 1px solid rgba(0,212,255,0.1);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.quote-box::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(108,62,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Visual — product icon ring */
.quote-box__visual {
  position: relative;
  width: 220px; height: 220px;
  flex-shrink: 0;
}
.quote-box__ring {
  width: 100%; height: 100%;
  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 50%;
  position: relative;
  animation: qbPulse 4s ease-in-out infinite;
}
.quote-box__ring::after {
  content: '';
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(108,62,255,0.15);
  border-radius: 50%;
}
@keyframes qbPulse {
  0%,100% { box-shadow: 0 0 30px rgba(0,212,255,0.06); }
  50%     { box-shadow: 0 0 50px rgba(0,212,255,0.12); }
}

.quote-box__products {
  position: absolute;
  inset: 0;
}

/* Positioned product icons */
.qp {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transform: translate(-50%, -50%);
}
.qp i {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}
.qp span {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
}
.qp:hover i { transform: scale(1.15); }

/* Position 6 icons around circle — evenly distributed */
.qp--erp   { top: 5%;  left: 50%; }
.qp--hr    { top: 27%; left: 93%; }
.qp--pos   { top: 73%; left: 93%; }
.qp--tours { top: 95%; left: 50%; }
.qp--med   { top: 73%; left: 7%; }
.qp--lms   { top: 27%; left: 7%; }

/* Accent colours */
.qp--erp  i { background: rgba(0,212,255,0.12); color: #00D4FF; box-shadow: 0 0 16px rgba(0,212,255,0.15); }
.qp--hr   i { background: rgba(108,62,255,0.12); color: #6C3EFF; box-shadow: 0 0 16px rgba(108,62,255,0.15); }
.qp--pos  i { background: rgba(15,255,179,0.12); color: #0FFFB3; box-shadow: 0 0 16px rgba(15,255,179,0.15); }
.qp--tours i { background: rgba(255,180,0,0.12); color: #FFB400; box-shadow: 0 0 16px rgba(255,180,0,0.15); }
.qp--med  i { background: rgba(255,80,120,0.12); color: #FF5078; box-shadow: 0 0 16px rgba(255,80,120,0.15); }
.qp--lms  i { background: rgba(60,180,255,0.12); color: #3CB4FF; box-shadow: 0 0 16px rgba(60,180,255,0.15); }

/* Content side */
.quote-box__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.quote-box__title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-1);
  margin: 0;
}

.quote-box__starter {
  margin: -8px 0 0;
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
}
.quote-box__perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.quote-box__perks li {
  font-size: 0.95rem;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.6;
}
.quote-box__perks li i {
  color: var(--teal, #0FFFB3);
  font-size: 0.75rem;
  flex-shrink: 0;
}
.quote-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

.quote-box__note {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--text-2);
}

/* Ghost button variant */
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-1);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn--ghost:hover {
  border-color: rgba(0,212,255,0.3);
  background: rgba(0,212,255,0.06);
  color: #fff;
}
.btn--large {
  padding: 14px 32px;
  font-size: 0.95rem;
}

/* Quote box responsive */
@media (max-width: 800px) {
  .quote-box {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 28px;
    gap: 32px;
  }
  .quote-box__visual {
    width: 180px; height: 180px;
    margin: 0 auto;
  }
  .quote-box__content { align-items: center; }
  .quote-box__perks li { justify-content: center; text-align: left; }
  .quote-box__actions { justify-content: center; }
  .hero__trust-item { font-size: 0.74rem; padding: 7px 11px; }
}

/* ═══════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
═══════════════════════════════════════════════════════════ */
.testimonials { padding: 100px 0; position: relative; }
.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(124,92,252,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.testi-card {
  background: linear-gradient(145deg, #0C1B32 0%, #091425 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}
.testi-card:hover {
  border-color: rgba(124,92,252,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 30px rgba(124,92,252,0.06);
}

.testi-card__stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 2px; }

.testi-card__quote {
  font-size: 0.9rem;
  color: var(--text-1);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
  position: relative;
  padding-left: 16px;
}
.testi-card__quote::before {
  content: '"';
  position: absolute;
  left: 0; top: -4px;
  font-size: 2rem;
  color: var(--purple);
  line-height: 1;
  font-style: normal;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.testi-card__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00D4FF, #6C3EFF);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.testi-card__name { font-size: 0.88rem; font-weight: 600; color: var(--text-1); }
.testi-card__role { font-size: 0.75rem; color: var(--text-3); margin-top: 2px; }

.testi__stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 64px;
  background: linear-gradient(145deg, #0C1B32 0%, #091425 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.testi-stat {
  flex: 1;
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.testi-stat:last-child { border-right: none; }
.testi-stat__num {
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.testi-stat__label { font-size: 0.75rem; color: var(--text-3); margin-top: 6px; }

@media (max-width: 900px) {
  .testi__grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .testi__stats { flex-wrap: wrap; }
  .testi-stat { min-width: 50%; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .testi-stat:nth-child(2n) { border-right: none; }
}

/* ═══════════════════════════════════════════════════════════
   BLOG TEASER SECTION
═══════════════════════════════════════════════════════════ */
.blog-teaser { padding: 100px 0; }

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.blog-card {
  background: linear-gradient(145deg, #0C1B32 0%, #091425 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition);
}
.blog-card:hover {
  border-color: rgba(0,212,255,0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 30px rgba(0,212,255,0.06);
}

.blog-card__tag {
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.15);
  border-radius: 6px;
  padding: 3px 10px;
  align-self: flex-start;
}
.blog-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.4;
  margin: 0;
}
.blog-card__excerpt {
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
  margin: 0;
}
.blog-card__link {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--cyan);
  text-decoration: none;
  margin-top: auto;
  transition: opacity 0.2s;
}
.blog-card__link:hover { opacity: 0.75; }

@media (max-width: 900px) {
  .blog__grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}

/* ═══════════════════════════════════════════════════════════
   WHATSAPP FLOAT BUTTON
═══════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 88px;
  right: 28px;
  z-index: 998;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a1a;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a1a1a;
  border-right: none;
}
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

html[lang="ar"] .whatsapp-float { right: auto; left: 28px; }
html[lang="ar"] .whatsapp-float__tooltip {
  right: auto;
  left: calc(100% + 12px);
}
html[lang="ar"] .whatsapp-float__tooltip::after {
  right: auto; left: -6px;
  border-left: none;
  border-right: 6px solid #1a1a1a;
}

/* ═══════════════════════════════════════════════════════════
   RTL FIXES
═══════════════════════════════════════════════════════════ */
/* Flip arrows in Arabic mode */
html[lang="ar"] .product-card__cta .fa-arrow-right,
html[lang="ar"] .c3d-card__btn .fa-arrow-right {
  transform: scaleX(-1);
  display: inline-block;
}

/* Carousel nav arrows swap in RTL */
html[lang="ar"] .c3d-btn--prev i,
html[lang="ar"] .c3d-btn--next i {
  transform: scaleX(-1);
}
html[lang="ar"] .c3d-card__btn:hover .fa-arrow-right {
  transform: scaleX(-1) translateX(3px);
}

/* Mobile nav CTA — hidden on desktop */
.nav__menu-cta { display: none; }

@media (max-width: 900px) {
  .nav__menu-cta {
    display: block;
    padding: 12px 0 4px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 8px;
  }
}

/* Quote mark RTL flip */
html[lang="ar"] .testi-card__quote::before {
  left: auto; right: 0;
  content: '"';
}
html[lang="ar"] .testi-card__quote { padding-left: 0; padding-right: 16px; }

/* ═══════════════════════════════════════════════════════════
   COMPREHENSIVE RTL — Arabic Mode Alignment
═══════════════════════════════════════════════════════════ */

/* ── Global section alignment ──────────────────────────── */
html[lang="ar"] .section-header { text-align: center; }
html[lang="ar"] .section-tag,
html[lang="ar"] .section-title,
html[lang="ar"] .section-sub,
html[lang="ar"] .section-desc { font-family: 'Cairo', sans-serif; }

/* ── Navigation ────────────────────────────────────────── */
html[lang="ar"] .nav__menu { direction: rtl; }
html[lang="ar"] .nav__actions { direction: rtl; }

/* ── Hero ──────────────────────────────────────────────── */
html[lang="ar"] .hero__headline,
html[lang="ar"] .hero__sub,
html[lang="ar"] .hero__badge { text-align: center; }
html[lang="ar"] .hero__cta-group { justify-content: center; }
html[lang="ar"] .hero__trust { justify-content: center; }
html[lang="ar"] .hero__stats-col { text-align: right; }
html[lang="ar"] .stat-pill { direction: rtl; }

/* ── Carousel Cards ────────────────────────────────────── */
html[lang="ar"] .c3d-card { direction: rtl; text-align: right; }
html[lang="ar"] .c3d-card__head { direction: rtl; }
html[lang="ar"] .c3d-card__btn { flex-direction: row-reverse; }
html[lang="ar"] .c3d-progress { direction: ltr; }
html[lang="ar"] .c3d-card__name {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.45;
}
html[lang="ar"] .c3d-card__desc {
  font-family: 'Cairo', sans-serif;
  font-weight: 500;
  font-size: 0.76rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.65);
}
html[lang="ar"] .c3d-card__tag {
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.5px;
}
html[lang="ar"] .c3d-card__btn {
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
}

/* ── Product Cards ─────────────────────────────────────── */
html[lang="ar"] .product-card { direction: rtl; text-align: right; }
html[lang="ar"] .product-card__name-ar { font-family: 'Cairo', sans-serif; }

/* ── Why Section ───────────────────────────────────────── */
html[lang="ar"] .why-card { direction: rtl; text-align: right; }
html[lang="ar"] .why-card__title,
html[lang="ar"] .why-card__body { font-family: 'Cairo', sans-serif; }

/* ── CTA Banner ────────────────────────────────────────── */
html[lang="ar"] .cta-banner__content { text-align: center; }
html[lang="ar"] .cta-banner__title,
html[lang="ar"] .cta-banner__sub { font-family: 'Cairo', sans-serif; }

/* ── Pricing / Quote Box ───────────────────────────────── */
html[lang="ar"] .quote-box { direction: rtl; }
html[lang="ar"] .quote-box__content { text-align: right; }
html[lang="ar"] .quote-box__title,
html[lang="ar"] .quote-box__perks li { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .quote-box__perks li { flex-direction: row; }
html[lang="ar"] .quote-box__actions { justify-content: flex-start; }

/* ── Testimonials ──────────────────────────────────────── */
html[lang="ar"] .testi-card { direction: rtl; text-align: right; }
html[lang="ar"] .testi-card__quote,
html[lang="ar"] .testi-card__name,
html[lang="ar"] .testi-card__role { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .testi-card__author { direction: rtl; }
html[lang="ar"] .testi__stats { direction: rtl; }
html[lang="ar"] .testi-stat { text-align: center; }
html[lang="ar"] .testi-stat__label { font-family: 'Cairo', sans-serif; }

/* ── Contact Section ───────────────────────────────────── */
html[lang="ar"] .contact__layout { direction: rtl; }
html[lang="ar"] .contact-item { direction: rtl; flex-direction: row; }
html[lang="ar"] .contact-item div { text-align: right; }
html[lang="ar"] .contact-item__label { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .contact__form { direction: rtl; text-align: right; }
html[lang="ar"] .contact__form label { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .contact__form input,
html[lang="ar"] .contact__form select,
html[lang="ar"] .contact__form textarea { direction: rtl; text-align: right; font-family: 'Cairo', sans-serif; }
html[lang="ar"] .form-row { direction: rtl; }

/* ── Blog / Resources ──────────────────────────────────── */
html[lang="ar"] .blog-card { direction: rtl; text-align: right; }
html[lang="ar"] .blog-card__title,
html[lang="ar"] .blog-card__excerpt { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .blog-card__link { direction: rtl; }

/* ── Footer ────────────────────────────────────────────── */
html[lang="ar"] .footer__top { direction: rtl; text-align: right; }
html[lang="ar"] .footer__tagline { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .footer__col-title { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .footer__col ul a { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .footer__newsletter p { font-family: 'Cairo', sans-serif; }
html[lang="ar"] .newsletter-form { direction: ltr; }
html[lang="ar"] .footer__bottom { direction: rtl; }
html[lang="ar"] .footer__bottom p,
html[lang="ar"] .footer__bottom-links a { font-family: 'Cairo', sans-serif; }

/* ============================================================
   DIGITAL SERVICES SECTION
============================================================ */
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.7;
  text-align: center;
}
html[lang="ar"] .section-desc { font-family: 'Cairo', sans-serif; }

.digital-services { padding: 100px 0; background: var(--bg-1); }

.dsvc__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.dsvc-card {
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.dsvc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,212,255,0.2);
  box-shadow: 0 24px 60px rgba(0,212,255,0.07);
}

.dsvc-card__icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.dsvc-icon--web  { background: rgba(0,212,255,0.1); color: var(--cyan); }
.dsvc-icon--ecom { background: rgba(15,255,179,0.1); color: var(--teal); }

.dsvc-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  width: fit-content;
  background: rgba(0,212,255,0.08);
  color: var(--cyan);
  border: 1px solid rgba(0,212,255,0.2);
}

.dsvc-card__title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.dsvc-card__desc {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.dsvc-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.dsvc-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-secondary);
}
.dsvc-card__list li .fa-check { color: var(--cyan); flex-shrink: 0; margin-top: 3px; }

.dsvc-card .btn--outline {
  margin-top: 8px;
  align-self: flex-start;
}

html[lang="ar"] .dsvc-card { direction: rtl; text-align: right; }
html[lang="ar"] .dsvc-card__list li { flex-direction: row; }
html[lang="ar"] .dsvc-card .btn--outline { align-self: flex-start; }
html[lang="ar"] .dsvc-card__title,
html[lang="ar"] .dsvc-card__desc,
html[lang="ar"] .dsvc-card__tag { font-family: 'Cairo', sans-serif; }

@media (max-width: 768px) {
  .dsvc__grid { grid-template-columns: 1fr; }
  .dsvc-card .btn--outline { align-self: stretch; text-align: center; justify-content: center; }
  html[lang="ar"] .dsvc-card .btn--outline { align-self: stretch; }
}

/* ═══════════════════════════════════════════════════════════
   THEME TOGGLE BUTTON
═══════════════════════════════════════════════════════════ */
.theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  color: var(--text-1);
  font-size: 1rem;
  padding: 7px 10px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  line-height: 1;
}
.theme-toggle:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ═══════════════════════════════════════════════════════════
   SCROLL PROGRESS BAR — Base (shared across all pages)
═══════════════════════════════════════════════════════════ */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(0,212,255,0.4);
}

/* ═══════════════════════════════════════════════════════════
   LIGHT MODE — "Crystal" Premium Design
   Warm base · Colored shadows · Glass cards · Section hues
═══════════════════════════════════════════════════════════ */
html[data-theme="light"] {
  --bg-0:        #FAFBFF;
  --bg-1:        #F3F1FF;
  --bg-2:        #FFFFFF;
  --card-bg:     rgba(255,255,255,0.92);
  --card-border: rgba(124,92,252,0.08);
  --text-1:      #1A1F36;
  --text-2:      #475069;
  --text-3:      #7482A6;
  --text-primary:#1A1F36;
  --text-secondary:#475069;
  --text-muted:  #7482A6;
  --cyan:        #0EA5E9;
  --purple:      #6D4AE8;
  --teal:        #059669;
  --red:         #E11D48;
  --gold:        #D97706;
  --rose:        #DB2777;
  --grad:        linear-gradient(135deg, #0EA5E9 0%, #7C5CFC 50%, #D946A8 100%);
  --grad-soft:   linear-gradient(135deg, rgba(14,165,233,.08), rgba(124,92,252,.08), rgba(217,70,168,.05));
  --shadow-glow: 0 0 40px rgba(124,92,252,0.12);
}

/* ── Body ──────────────────────────────────────────────── */
html[data-theme="light"] body {
  background: #FAFBFF;
  color: #1A1F36;
}

/* ── Header ────────────────────────────────────────────── */
html[data-theme="light"] header {
  background: rgba(250,251,255,0.92) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(124,92,252,0.08) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
}
html[data-theme="light"] .header.scrolled {
  background: rgba(250,251,255,0.97) !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 24px rgba(124,92,252,0.07) !important;
  border-bottom-color: rgba(124,92,252,0.1) !important;
}
html[data-theme="light"] .nav__link { color: #475069; }
html[data-theme="light"] .nav__link:hover { color: #7C5CFC; background: rgba(124,92,252,0.05); }
html[data-theme="light"] .nav__link--active { color: #7C5CFC !important; background: rgba(124,92,252,0.06); }
html[data-theme="light"] .nav__link::after {
  background: linear-gradient(90deg, #0EA5E9, #7C5CFC);
}
html[data-theme="light"] .nav__hamburger span { background: #475069; }
html[data-theme="light"] .nav__burger span { background: #475069; }
html[data-theme="light"] .logo-accent { color: #7C5CFC; }
html[data-theme="light"] .logo-icon svg {
  filter: drop-shadow(0 0 6px rgba(124,92,252,0.35));
}
html[data-theme="light"] .logo-icon svg circle[fill="#00D4FF"] { fill: #7C5CFC; }
html[data-theme="light"] .logo-icon svg circle[stroke="#00D4FF"] { stroke: #7C5CFC; }
html[data-theme="light"] .logo-icon svg line[stroke="#00D4FF"] { stroke: #7C5CFC; }
html[data-theme="light"] .logo-icon svg circle[stroke="#6C3EFF"] { stroke: #0EA5E9; }
html[data-theme="light"] .logo-icon svg line[stroke="#6C3EFF"] { stroke: #0EA5E9; }
html[data-theme="light"] .logo-text { color: #1A1F36; }

/* Mobile nav */
html[data-theme="light"] .nav__menu {
  background: rgba(250,251,255,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(124,92,252,0.06);
}

/* ── Buttons ───────────────────────────────────────────── */
html[data-theme="light"] .btn--primary {
  box-shadow: 0 4px 24px rgba(124,92,252,0.25);
}
html[data-theme="light"] .btn--primary:hover {
  box-shadow: 0 12px 36px rgba(124,92,252,0.35);
}
html[data-theme="light"] .btn--outline {
  border-color: rgba(124,92,252,0.2);
  color: #475069;
}
html[data-theme="light"] .btn--outline:hover {
  border-color: #7C5CFC;
  color: #7C5CFC;
  box-shadow: 0 4px 16px rgba(124,92,252,0.1);
}

/* ── Theme & Lang toggles ──────────────────────────────── */
html[data-theme="light"] .theme-toggle {
  border-color: rgba(124,92,252,0.15);
  color: #475069;
  background: rgba(124,92,252,0.04);
}
html[data-theme="light"] .theme-toggle:hover { border-color: #7C5CFC; color: #7C5CFC; }
html[data-theme="light"] .lang-toggle {
  background: rgba(124,92,252,0.04);
  border-color: rgba(124,92,252,0.12);
  color: #475069;
}
html[data-theme="light"] .lang-toggle:hover { border-color: #7C5CFC; }
html[data-theme="light"] .lang-en.active,
html[data-theme="light"] .lang-ar.active { color: #7C5CFC; }

/* ── Section backgrounds with subtle hue tints ─────────── */
html[data-theme="light"] .hero {
  background: linear-gradient(180deg, #FAFBFF 0%, #F5F3FF 100%);
}
html[data-theme="light"] .products {
  background: linear-gradient(180deg, #F5F3FF 0%, #FAFBFF 50%, #F5F3FF 100%);
}
html[data-theme="light"] .carousel-section {
  background: linear-gradient(180deg, #F0F5FF 0%, #F3F1FF 100%);
}
html[data-theme="light"] .why {
  background: linear-gradient(180deg, #F3F1FF 0%, #F5F0FB 100%);
}
html[data-theme="light"] .digital-services {
  background: linear-gradient(180deg, #F0FBFA 0%, #F3F1FF 100%);
}
html[data-theme="light"] .pricing {
  background: linear-gradient(180deg, #F3F1FF 0%, #FAFBFF 100%);
}
html[data-theme="light"] .testimonials {
  background: linear-gradient(180deg, #FBF3FF 0%, #F3F1FF 100%);
}
html[data-theme="light"] .blog-teaser {
  background: linear-gradient(180deg, #F5F3FF 0%, #FAFBFF 100%);
}
html[data-theme="light"] .contact {
  background: linear-gradient(180deg, #F0F5FF 0%, #F3F1FF 100%);
}

/* ── Section headers ───────────────────────────────────── */
html[data-theme="light"] .section-title,
html[data-theme="light"] .hero__headline-line1 { color: #1A1F36; }
html[data-theme="light"] .section-sub,
html[data-theme="light"] .section-desc,
html[data-theme="light"] .hero__sub { color: #475069; }
html[data-theme="light"] .section-tag {
  background: linear-gradient(135deg, rgba(124,92,252,0.08), rgba(14,165,233,0.06));
  border-color: rgba(124,92,252,0.2);
  color: #7C5CFC;
}
html[data-theme="light"] .section-label {
  background: linear-gradient(135deg, rgba(124,92,252,0.08), rgba(14,165,233,0.06));
  border-color: rgba(124,92,252,0.2);
  color: #7C5CFC;
}
html[data-theme="light"] .section-header::after {
  box-shadow: 0 0 12px rgba(124,92,252,0.3);
}
html[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0EA5E9, #7C5CFC, #D946A8);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ── Hero specifics ────────────────────────────────────── */
html[data-theme="light"] .hero__badge {
  background: linear-gradient(90deg, rgba(124,92,252,0.06), rgba(14,165,233,0.08), rgba(124,92,252,0.06));
  border-color: rgba(124,92,252,0.2);
  color: #7C5CFC;
}
html[data-theme="light"] .badge-dot { background: #7C5CFC; }
html[data-theme="light"] .hero__sub {
  border-left-color: rgba(124,92,252,0.3);
}
html[data-theme="light"] .hero__trust-item {
  border-color: rgba(124,92,252,0.2);
  background: rgba(124,92,252,0.06);
  color: #475069;
}
html[data-theme="light"] .hero__trust-item i { color: #7C5CFC; }
html[lang="ar"][data-theme="light"] .hero__sub {
  border-right-color: rgba(124,92,252,0.3);
  border-left: none;
}
html[data-theme="light"] .stat-pill {
  background: rgba(255,255,255,0.85);
  border-color: rgba(124,92,252,0.1);
  box-shadow: 0 2px 12px rgba(124,92,252,0.06);
}
html[data-theme="light"] .stat-pill:hover {
  background: rgba(255,255,255,1);
  border-color: rgba(124,92,252,0.22);
  box-shadow: 0 6px 24px rgba(124,92,252,0.1);
}
html[data-theme="light"] .stat-pill__label { color: #7482A6; }
html[data-theme="light"] .stat-pill__num {
  background: linear-gradient(135deg, #0EA5E9, #7C5CFC, #D946A8);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ── Tech Orb (light) ──────────────────────────────────── */
html[data-theme="light"] .orb__core {
  background: radial-gradient(circle at 35% 35%,
    rgba(124,92,252,0.5) 0%,
    rgba(14,165,233,0.3) 40%,
    rgba(217,70,168,0.15) 70%,
    transparent 100%);
  box-shadow: 0 0 60px rgba(124,92,252,0.2), 0 0 120px rgba(14,165,233,0.1), inset 0 0 30px rgba(124,92,252,0.15);
}
html[data-theme="light"] .orb__ring--1 { border-color: rgba(124,92,252,0.2); border-top-color: transparent; border-bottom-color: transparent; }
html[data-theme="light"] .orb__ring--2 { border-color: rgba(14,165,233,0.15); border-left-color: transparent; border-right-color: transparent; }
html[data-theme="light"] .orb__ring--3 { border-color: rgba(217,70,168,0.1); border-top-color: transparent; border-left-color: transparent; }
html[data-theme="light"] .orb__particle { background: #7C5CFC; }
html[data-theme="light"] .orb__particle:nth-child(odd) { background: #0EA5E9; }
html[data-theme="light"] .orb__particle:nth-child(3n) { background: #D946A8; }
html[data-theme="light"] .orb__glow {
  background: radial-gradient(circle,
    rgba(124,92,252,0.06) 0%,
    rgba(14,165,233,0.04) 35%,
    rgba(217,70,168,0.02) 60%,
    transparent 75%);
}

/* ── Wave dividers ─────────────────────────────────────── */
html[data-theme="light"] .wave-divider svg path { fill: rgba(124,92,252,0.04); opacity: 1; }

/* ── Product cards ─────────────────────────────────────── */
html[data-theme="light"] .product-card {
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(124,92,252,0.07);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 4px 20px rgba(124,92,252,0.05);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .product-card:hover {
  border-color: rgba(124,92,252,0.22);
  box-shadow: 0 8px 30px rgba(124,92,252,0.1), 0 24px 60px rgba(124,92,252,0.06);
  background: #FFFFFF;
  transform: translateY(-4px);
}
html[data-theme="light"] .product-card::after { background: rgba(124,92,252,0.02); }
html[data-theme="light"] .product-card__name { color: #1A1F36; }
html[data-theme="light"] .product-card__desc { color: #475069; }
html[data-theme="light"] .product-card:hover .product-card__desc { color: #475069; }
html[data-theme="light"] .product-card__tag {
  background: rgba(124,92,252,0.06);
  color: #7C5CFC;
}
html[data-theme="light"] .product-card__cta { border-top-color: rgba(124,92,252,0.06); }
html[data-theme="light"] .product-card:hover .product-card__cta { border-top-color: rgba(124,92,252,0.15); }
html[data-theme="light"] .product-card::before { color: rgba(124,92,252,0.04); }
html[data-theme="light"] .product-card:hover::before { color: rgba(124,92,252,0.06); }
html[data-theme="light"] .products::before { background: linear-gradient(to bottom, transparent, #7C5CFC); }

/* ── Why cards ─────────────────────────────────────────── */
html[data-theme="light"] .why__bg-grid {
  background-image:
    linear-gradient(rgba(124,92,252,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,92,252,0.04) 1px, transparent 1px);
}
html[data-theme="light"] .why-card {
  background: rgba(255,255,255,0.95);
  border-color: rgba(124,92,252,0.07);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 4px 20px rgba(124,92,252,0.04);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .why-card:hover {
  border-color: rgba(124,92,252,0.25);
  box-shadow: 0 8px 30px rgba(124,92,252,0.1), 0 20px 50px rgba(124,92,252,0.05);
  background: #FFFFFF;
  transform: translateY(-3px);
}
html[data-theme="light"] .why-card::before {
  background: linear-gradient(90deg, #0EA5E9, #7C5CFC, #D946A8);
}
html[data-theme="light"] .why-card__title { color: #1A1F36; }
html[data-theme="light"] .why-card__body { color: #475069; }
html[data-theme="light"] .cta-banner {
  box-shadow: 0 20px 60px rgba(124,92,252,0.2), 0 0 80px rgba(14,165,233,0.1);
}
html[data-theme="light"] .cta-banner__title { color: #fff; }
html[data-theme="light"] .cta-banner__sub { color: rgba(255,255,255,0.9); }

/* ── Digital Services ──────────────────────────────────── */
html[data-theme="light"] .dsvc-card {
  background: rgba(255,255,255,0.95);
  border-color: rgba(124,92,252,0.07);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 4px 20px rgba(124,92,252,0.04);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .dsvc-card:hover {
  border-color: rgba(124,92,252,0.22);
  box-shadow: 0 8px 30px rgba(124,92,252,0.08), 0 24px 60px rgba(124,92,252,0.04);
  background: #FFFFFF;
  transform: translateY(-3px);
}
html[data-theme="light"] .dsvc-card__title { color: #1A1F36; }
html[data-theme="light"] .dsvc-card__desc { color: #475069; }
html[data-theme="light"] .dsvc-card__list li { color: #475069; }
html[data-theme="light"] .dsvc-card__list li .fa-check { color: #7C5CFC; }
html[data-theme="light"] .dsvc-card__tag {
  background: rgba(124,92,252,0.06);
  border-color: rgba(124,92,252,0.15);
  color: #7C5CFC;
}

/* ── Quote Box (light) ─────────────────────────────────── */
html[data-theme="light"] .quote-box {
  background: rgba(255,255,255,0.9);
  border-color: rgba(124,92,252,0.1);
  box-shadow: 0 8px 40px rgba(124,92,252,0.06);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .quote-box::before {
  background: radial-gradient(circle, rgba(124,92,252,0.04) 0%, transparent 70%);
}
html[data-theme="light"] .quote-box__ring {
  border-color: rgba(124,92,252,0.12);
}
html[data-theme="light"] .quote-box__ring::after {
  border-color: rgba(124,92,252,0.08);
}
html[data-theme="light"] .qp i {
  border-color: rgba(124,92,252,0.08);
}
html[data-theme="light"] .qp span { color: #7482A6; }
html[data-theme="light"] .quote-box__title { color: #1A1F36; }
html[data-theme="light"] .quote-box__starter { color: #7482A6; }
html[data-theme="light"] .quote-box__perks li { color: #475069; }
html[data-theme="light"] .quote-box__perks li i { color: #7C5CFC; }
html[data-theme="light"] .quote-box__note { color: #7482A6; }
html[data-theme="light"] .btn--ghost {
  border-color: rgba(124,92,252,0.22);
  color: #1A1F36;
  box-shadow: 0 1px 4px rgba(124,92,252,0.06);
}
html[data-theme="light"] .btn--ghost:hover {
  border-color: rgba(124,92,252,0.4);
  background: rgba(124,92,252,0.05);
  color: #7C5CFC;
  box-shadow: 0 4px 16px rgba(124,92,252,0.12);
}

/* ── Testimonials ──────────────────────────────────────── */
html[data-theme="light"] .testimonials::before {
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(217,70,168,0.04) 0%, transparent 70%);
}
html[data-theme="light"] .testi-card {
  background: rgba(255,255,255,0.95);
  border-color: rgba(124,92,252,0.07);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 4px 20px rgba(124,92,252,0.04);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .testi-card:hover {
  border-color: rgba(217,70,168,0.2);
  box-shadow: 0 8px 30px rgba(217,70,168,0.06), 0 16px 40px rgba(217,70,168,0.03);
  background: #FFFFFF;
  transform: translateY(-3px);
}
html[data-theme="light"] .testi-card__stars { color: #E89B00; }
html[data-theme="light"] .testi-card__quote { color: #1A1F36; }
html[data-theme="light"] .testi-card__quote::before { color: #D946A8; }
html[data-theme="light"] .testi-card__author { border-top-color: rgba(124,92,252,0.06); }
html[data-theme="light"] .testi-card__name { color: #1A1F36; }
html[data-theme="light"] .testi-card__role { color: #7482A6; }
html[data-theme="light"] .testi-card__avatar {
  background: linear-gradient(135deg, #0EA5E9, #7C5CFC);
}
html[data-theme="light"] .testi__stats {
  background: rgba(255,255,255,0.9);
  border-color: rgba(124,92,252,0.06);
  box-shadow: 0 4px 20px rgba(124,92,252,0.04);
}
html[data-theme="light"] .testi-stat { border-right-color: rgba(124,92,252,0.06); }
html[data-theme="light"] .testi-stat__label { color: #7482A6; }

/* ── Blog Teaser ───────────────────────────────────────── */
html[data-theme="light"] .blog-card {
  background: rgba(255,255,255,0.95);
  border-color: rgba(124,92,252,0.07);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03), 0 4px 20px rgba(124,92,252,0.04);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .blog-card:hover {
  border-color: rgba(14,165,233,0.25);
  box-shadow: 0 8px 30px rgba(14,165,233,0.08), 0 16px 40px rgba(14,165,233,0.04);
  background: #FFFFFF;
  transform: translateY(-3px);
}
html[data-theme="light"] .blog-card__tag {
  color: #7C5CFC;
  background: rgba(124,92,252,0.06);
  border-color: rgba(124,92,252,0.15);
}
html[data-theme="light"] .blog-card__title { color: #1A1F36; }
html[data-theme="light"] .blog-card__excerpt { color: #475069; }
html[data-theme="light"] .blog-card__link { color: #7C5CFC; }

/* ── Contact section ───────────────────────────────────── */
html[data-theme="light"] .contact::before {
  background: radial-gradient(circle, rgba(124,92,252,0.06), transparent 70%);
}
html[data-theme="light"] .contact-item i {
  background: rgba(124,92,252,0.06);
  border-color: rgba(124,92,252,0.12);
  color: #7C5CFC;
}
html[data-theme="light"] .contact-item__label { color: #7482A6; }
html[data-theme="light"] .contact-item span,
html[data-theme="light"] .contact-item a { color: #475069; }
html[data-theme="light"] .contact-item a:hover { color: #7C5CFC; }
html[data-theme="light"] .contact__form {
  background: rgba(255,255,255,0.95);
  border-color: rgba(124,92,252,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03), 0 8px 40px rgba(124,92,252,0.06);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .form-group label { color: #475069; }
html[data-theme="light"] .form-group input,
html[data-theme="light"] .form-group select,
html[data-theme="light"] .form-group textarea {
  background: #F8F7FF;
  border-color: rgba(124,92,252,0.1);
  color: #1A1F36;
}
html[data-theme="light"] .form-group select option { background: #FFFFFF; color: #1A1F36; }
html[data-theme="light"] .form-group input:focus,
html[data-theme="light"] .form-group select:focus,
html[data-theme="light"] .form-group textarea:focus {
  border-color: #7C5CFC;
  background: #FBF9FF;
  box-shadow: 0 0 0 3px rgba(124,92,252,0.1), 0 0 20px rgba(124,92,252,0.04);
}
html[data-theme="light"] .form-group input::placeholder,
html[data-theme="light"] .form-group textarea::placeholder { color: #A0AAC0; }
html[data-theme="light"] .form-helper { color: #7482A6; }
html[data-theme="light"] .form-status { color: #7C5CFC; }

/* ── Footer — dark anchor with gradient ────────────────── */
html[data-theme="light"] .footer {
  background: linear-gradient(180deg, #151B2E 0%, #0D1220 100%);
  border-top-color: rgba(124,92,252,0.15);
  background-image: linear-gradient(180deg, #151B2E 0%, #0D1220 100%),
                    linear-gradient(90deg, transparent, rgba(124,92,252,0.2), transparent);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}
html[data-theme="light"] .footer__col-title { color: #F0F4FC; }
html[data-theme="light"] .footer__col ul a { color: #8E9CBC; }
html[data-theme="light"] .footer__col ul a:hover { color: #7C5CFC; }
html[data-theme="light"] .footer__tagline { color: #8E9CBC; }
html[data-theme="light"] .footer .logo-text { color: #F0F4FC; }
html[data-theme="light"] .footer .logo-accent { color: #7C5CFC; }
html[data-theme="light"] .footer .logo-icon svg circle[fill="#00D4FF"] { fill: #00D4FF; }
html[data-theme="light"] .footer .logo-icon svg circle[stroke="#00D4FF"] { stroke: #00D4FF; }
html[data-theme="light"] .footer .logo-icon svg line[stroke="#00D4FF"] { stroke: #00D4FF; }
html[data-theme="light"] .footer .logo-icon svg circle[stroke="#6C3EFF"] { stroke: #6C3EFF; }
html[data-theme="light"] .footer .logo-icon svg line[stroke="#6C3EFF"] { stroke: #6C3EFF; }
html[data-theme="light"] .footer .logo-icon svg {
  filter: drop-shadow(0 0 8px rgba(0,212,255,0.6));
}
html[data-theme="light"] .footer__newsletter p { color: #8E9CBC; }
html[data-theme="light"] .footer__bottom { color: #5B6A87; }
html[data-theme="light"] .footer__bottom-links a { color: #5B6A87; }
html[data-theme="light"] .footer__bottom-links a:hover { color: #7C5CFC; }
html[data-theme="light"] .footer__socials a {
  background: rgba(124,92,252,0.06);
  border-color: rgba(124,92,252,0.12);
  color: #8E9CBC;
}
html[data-theme="light"] .footer__socials a:hover {
  color: #7C5CFC;
  border-color: rgba(124,92,252,0.3);
  background: rgba(124,92,252,0.12);
}
html[data-theme="light"] .newsletter-form {
  background: rgba(255,255,255,0.06);
  border-color: rgba(124,92,252,0.12);
}
html[data-theme="light"] .newsletter-form:focus-within { border-color: #7C5CFC; }
html[data-theme="light"] .newsletter-form input { color: #F0F4FC; }
html[data-theme="light"] .newsletter-form input::placeholder { color: #5B6A87; }

/* ── Scrollbar ─────────────────────────────────────────── */
html[data-theme="light"] ::-webkit-scrollbar-track { background: #F3F1FF; }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: rgba(124,92,252,0.25); }
html[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: #7C5CFC; }

/* ── Floating elements ─────────────────────────────────── */
html[data-theme="light"] .whatsapp-float { box-shadow: 0 8px 24px rgba(37,211,102,0.25); }
html[data-theme="light"] .back-to-top { box-shadow: 0 8px 24px rgba(124,92,252,0.25); }
html[data-theme="light"] .whatsapp-float__tooltip {
  background: #1A1F36;
}
html[data-theme="light"] .whatsapp-float__tooltip::after {
  border-left-color: #1A1F36;
}

html[data-theme="light"] a:focus-visible,
html[data-theme="light"] button:focus-visible,
html[data-theme="light"] input:focus-visible,
html[data-theme="light"] select:focus-visible,
html[data-theme="light"] textarea:focus-visible,
html[data-theme="light"] [role="button"]:focus-visible,
html[data-theme="light"] [tabindex]:focus-visible {
  outline-color: #7C5CFC;
  box-shadow: 0 0 0 3px rgba(124, 92, 252, 0.28);
}

/* ── Scroll progress bar ───────────────────────────────── */
html[data-theme="light"] #scrollProgress {
  background: linear-gradient(90deg, #0EA5E9, #7C5CFC, #D946A8);
  box-shadow: 0 0 8px rgba(124,92,252,0.4);
}

/* ── Mobile menu CTA border ────────────────────────────── */
@media (max-width: 900px) {
  html[data-theme="light"] .nav__menu {
    background: rgba(250,251,255,0.98);
    border-bottom-color: rgba(124,92,252,0.08);
  }
  html[data-theme="light"] .nav__menu-cta {
    border-top-color: rgba(124,92,252,0.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


