:root {
  --primary: #0d47a1;
  --primary-light: #1565c0;
  --accent: #00acc1;
  --accent-glow: rgba(0, 172, 193, 0.35);
  --bg: #06101c;
  --bg-elevated: #0a1628;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(148, 180, 220, 0.12);
  --text: #eef4fb;
  --text-muted: #8fa3b8;
  --radius: 14px;
  --font-ar: 'Cairo', sans-serif;
  --font-en: 'Manrope', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-anchor: none; }
body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
html[lang="en"] body { font-family: var(--font-en); }

.bg-mesh {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 55% at 15% 0%, rgba(13, 71, 161, 0.45), transparent 55%),
    radial-gradient(ellipse 55% 45% at 90% 15%, rgba(0, 172, 193, 0.18), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(8, 40, 90, 0.55), transparent 60%),
    linear-gradient(180deg, #04101c 0%, #06101c 40%, #081828 100%);
  animation: meshShift 22s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0% { opacity: 1; }
  100% { opacity: 0.92; }
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; opacity: 0.035;
  background-image:
    linear-gradient(rgba(148, 180, 220, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 180, 220, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 20%, transparent 75%);
}

.container { width: min(1140px, 92vw); margin-inline: auto; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 0;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(6, 16, 28, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}
.header-inner { display: flex; align-items: center; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(145deg, rgba(21, 101, 192, 0.32), rgba(0, 131, 143, 0.22));
  border: 1px solid rgba(144, 202, 249, 0.22);
  display: grid; place-items: center; font-size: 1.15rem; color: #fff; font-weight: 800;
  box-shadow: 0 4px 18px rgba(21, 101, 192, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.logo-mark img {
  width: 80%; height: 80%; object-fit: contain; display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}
.nav-links { display: flex; gap: 22px; margin-inline: auto; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

.lang-switch { display: flex; gap: 4px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.lang-switch button {
  border: none; background: transparent; color: var(--text-muted);
  padding: 6px 10px; border-radius: 8px; cursor: pointer; font-size: 0.8rem; font-weight: 600;
}
.lang-switch button.active { background: var(--primary-light); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: #fff; box-shadow: 0 8px 28px var(--accent-glow);
}
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 28px var(--accent-glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e); color: #fff;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.35); gap: 8px;
}
.btn-whatsapp:hover { box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 28px; }
.btn-xl { padding: 18px 36px; font-size: 1.05rem; border-radius: 14px; }

/* Hero */
.hero {
  position: relative; padding: 132px 0 72px; min-height: 92vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-backdrop {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    linear-gradient(105deg, rgba(6, 16, 28, 0.72) 0%, rgba(6, 16, 28, 0.28) 48%, transparent 72%),
    radial-gradient(ellipse 52% 58% at 82% 42%, rgba(0, 172, 193, 0.14), transparent 62%),
    radial-gradient(ellipse 40% 40% at 20% 20%, rgba(13, 71, 161, 0.22), transparent 60%);
  opacity: 0;
  animation: heroBackdropIn 1.1s ease-out forwards;
}
@keyframes heroBackdropIn {
  to { opacity: 1; }
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 36px; align-items: center;
}
.hero-logo-mark { margin-bottom: 14px; }
.hero-logo-q {
  width: 56px; height: 56px; border-radius: 15px; font-size: 1.4rem;
  box-shadow: 0 8px 28px rgba(21, 101, 192, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.hero-logo-q img { width: 82%; height: 82%; }
.hero-eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-size: 0.88rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--accent);
}
.hero-brand {
  font-size: clamp(3.4rem, 8vw, 5.6rem); font-weight: 800; line-height: 1; margin-bottom: 14px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 20%, #90caf9 70%, #4dd0e1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 14px; font-weight: 600; }
.hero-desc { color: var(--text-muted); max-width: 480px; margin-bottom: 28px; font-size: 1.02rem; line-height: 1.75; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-stats {
  display: flex; gap: 28px; padding-top: 8px;
  border-top: 1px solid var(--border); max-width: 420px;
}
.hero-stats div { text-align: start; }
.hero-stats strong { display: block; font-size: 1.55rem; color: #fff; font-weight: 800; }
.hero-stats span { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

.hero-visual { position: relative; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-screen-caption {
  text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 14px;
}

/* Hero intro sequence */
.hero-seq {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(4px);
  animation: heroSeqIn 0.7s cubic-bezier(.22,.8,.24,1) forwards;
  animation-delay: calc(var(--seq, 0) * 0.12s + 0.15s);
}
.hero-logo-mark.hero-seq {
  transform: scale(0.9);
  filter: none;
}
@keyframes heroSeqIn {
  to { opacity: 1; transform: none; filter: blur(0); }
}
/* Hold the hero / map intro while the splash screen is visible */
html.splash-active .hero-seq,
html.splash-active .hero-backdrop,
html.splash-active .iraq-map-svg,
html.splash-active .iraq-map-svg *,
html.splash-active .iraq-map-caption { animation-play-state: paused !important; }

/* Iraq map */
.iraq-map-stage {
  position: relative;
  width: min(100%, 520px);
  margin-inline: auto;
  aspect-ratio: 400 / 440;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, rgba(13, 71, 161, 0.22), transparent 70%),
    linear-gradient(160deg, rgba(8, 24, 48, 0.55), rgba(6, 16, 28, 0.2));
  border: 1px solid rgba(100, 160, 255, 0.14);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4), inset 0 0 60px rgba(0, 172, 193, 0.04);
  overflow: hidden;
}
.iraq-map-particles {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0.7; z-index: 0;
}
.iraq-map-svg {
  position: relative; z-index: 1;
  width: 100%; height: 100%; display: block;
  padding: 5% 4% 11%;
  overflow: visible;
}
.iraq-map-fill {
  opacity: 0;
  animation: iraqFillIn 0.9s ease-out 0.85s forwards;
}
@keyframes iraqFillIn { to { opacity: 1; } }
.iraq-map-stroke,
.iraq-map-stroke-glow {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: iraqDraw 1.7s cubic-bezier(.4,0,.2,1) 0.55s forwards;
}
.iraq-map-stroke-glow { opacity: 0.55; }
@keyframes iraqDraw { to { stroke-dashoffset: 0; } }
.iraq-city-hub .iraq-city-dot {
  fill: #fff;
  stroke: #4fc3f7;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 6px rgba(79, 195, 247, 0.7));
}
.iraq-city-hub .iraq-city-pulse { fill: rgba(79, 195, 247, 0.26); }
.iraq-map-aura { opacity: 0; animation: iraqFillIn 1.2s ease 1s forwards; }

.iraq-link {
  stroke: rgba(79, 195, 247, 0.28);
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: 0;
  animation: iraqLinkIn 0.5s ease forwards;
  animation-delay: calc(1.7s + var(--i, 0) * 0.08s);
}
@keyframes iraqLinkIn { to { opacity: 1; } }

.iraq-city {
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: iraqCityIn 0.45s ease forwards;
  animation-delay: calc(1.85s + var(--i, 0) * 0.07s);
  cursor: pointer;
  outline: none;
}
@keyframes iraqCityIn {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}
.iraq-city-dot {
  fill: #e3f2fd;
  stroke: #00acc1;
  stroke-width: 1.4;
  transition: transform 0.25s ease, filter 0.25s ease;
  transform-box: fill-box;
  transform-origin: center;
}
.iraq-city-pulse {
  fill: rgba(0, 172, 193, 0.22);
  animation: iraqPulse 2.8s ease-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.iraq-city:nth-child(odd) .iraq-city-pulse { animation-delay: 0.6s; }
.iraq-city:nth-child(3n) .iraq-city-pulse { animation-delay: 1.2s; }
@keyframes iraqPulse {
  0% { transform: scale(0.55); opacity: 0.7; }
  70% { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}
.iraq-city-hit { fill: transparent; }
.iraq-city.is-active .iraq-city-dot,
.iraq-city:hover .iraq-city-dot,
.iraq-city:focus-visible .iraq-city-dot {
  transform: scale(1.35);
  filter: drop-shadow(0 0 8px rgba(0, 172, 193, 0.85));
  fill: #fff;
}
.iraq-packet {
  fill: #4dd0e1;
  opacity: 0;
  animation: iraqPacketShow 0.3s ease forwards;
  animation-delay: 2.3s;
  filter: drop-shadow(0 0 4px rgba(0, 172, 193, 0.8));
}
@keyframes iraqPacketShow { to { opacity: 0.95; } }

.iraq-map-tooltip {
  position: absolute; z-index: 5; pointer-events: none;
  transform: translate(-50%, -120%) scale(0.94);
  opacity: 0;
  padding: 8px 12px; border-radius: 10px;
  background: rgba(8, 20, 40, 0.92);
  border: 1px solid rgba(79, 195, 247, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  color: #fff; text-align: center; min-width: 88px;
  transition: opacity 0.22s ease, transform 0.22s ease;
  backdrop-filter: blur(8px);
}
.iraq-map-tooltip.visible {
  opacity: 1; transform: translate(-50%, -130%) scale(1);
}
.iraq-map-tooltip strong { display: block; font-size: 0.88rem; font-weight: 800; }
.iraq-map-tooltip span { display: block; font-size: 0.72rem; color: #90caf9; margin-top: 2px; }

.iraq-map-caption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 14px;
  text-align: center; font-size: 0.82rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: 0.01em;
  opacity: 0; animation: iraqFillIn 0.6s ease 2.4s forwards;
}

/* Desktop UI mock — mirrors offline WPF main window */
.desktop-showcase {
  position: relative; border-radius: 12px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(148, 180, 220, 0.12);
  border: none;
}
.desktop-screenshot {
  display: block; width: 100%; height: auto; border-radius: 14px;
}
.desktop-screenshot:not([hidden]) + .almuhasib-desktop { display: none; }

.almuhasib-desktop {
  background: #f5f7fa; color: #1a1a2e; font-size: 11px; direction: rtl; text-align: right;
  min-height: 300px;
}
html[dir="ltr"] .almuhasib-desktop { direction: ltr; text-align: left; }
html[dir="ltr"] .phone-screen { direction: ltr; text-align: left; }
.ald-titlebar {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  background: linear-gradient(180deg, #1565c0, #0d47a1); color: #fff;
}
.ald-win-btns { display: flex; gap: 5px; }
.ald-win-btns span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.ald-win-btns .close { background: #e57373; }
.ald-page-title { font-weight: 700; font-size: 12px; flex: 1; }
.ald-app-name { font-size: 10px; opacity: 0.85; }
.ald-body { display: flex; min-height: 260px; }
.ald-sidebar {
  width: 118px; flex-shrink: 0; background: #0d1b2a; color: #b0bec5; padding: 10px 0;
}
.ald-logo-side {
  width: 32px; height: 32px; margin: 0 auto 12px; border-radius: 8px;
  background: linear-gradient(135deg, #00acc1, #1565c0); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.ald-menu { display: flex; flex-direction: column; gap: 2px; padding: 0 6px; }
.ald-menu a {
  padding: 7px 8px; border-radius: 6px; font-size: 10px; color: #90a4ae; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ald-menu a.active { background: rgba(0,172,193,0.25); color: #4dd0e1; border-right: 3px solid #00acc1; }
html[dir="ltr"] .ald-menu a.active { border-right: none; border-left: 3px solid #00acc1; }
.ald-content { flex: 1; padding: 12px; background: #eceff1; display: flex; flex-direction: column; gap: 10px; }
.ald-quick-bar { display: flex; gap: 6px; flex-wrap: wrap; }
.ald-pill {
  padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid #cfd8dc;
  font-size: 9px; color: #546e7a;
}
.ald-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ald-card {
  background: #fff; border-radius: 8px; padding: 10px 8px; border: 1px solid #e0e0e0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}
.ald-card small { display: block; font-size: 8px; color: #78909c; margin-bottom: 4px; }
.ald-card strong { font-size: 13px; color: #1565c0; font-weight: 800; }
.ald-chart-area {
  flex: 1; background: #fff; border-radius: 8px; padding: 10px; border: 1px solid #e0e0e0;
  min-height: 90px;
}
.ald-chart-label { font-size: 9px; color: #607d8b; display: block; margin-bottom: 8px; }
.ald-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.ald-bars div {
  flex: 1; height: var(--h); border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #00acc1, #1565c0); opacity: 0.85;
}

/* Mobile app section */
.mobile-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.coming-badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
  background: rgba(255,193,7,0.15); border: 1px solid rgba(255,193,7,0.4);
  color: #ffc107; font-size: 0.78rem; font-weight: 700;
}
.mobile-text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.mobile-text p { color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }
.mobile-points { list-style: none; }
.mobile-points li {
  padding: 10px 0 10px 28px; position: relative; color: var(--text-muted);
}
html[dir="rtl"] .mobile-points li { padding: 10px 28px 10px 0; }
.mobile-points li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}
html[dir="rtl"] .mobile-points li::before { left: auto; right: 0; }

.phone-showcase { display: flex; flex-direction: column; align-items: center; }
.mobile-screenshot {
  max-width: 300px; width: 100%; border-radius: 32px;
  box-shadow:
    0 28px 70px rgba(0,0,0,0.5),
    0 0 0 1px rgba(100, 160, 255, 0.15),
    0 0 40px rgba(26, 115, 232, 0.18);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.mobile-screenshot:hover {
  transform: translateY(-8px);
  box-shadow:
    0 36px 80px rgba(0,0,0,0.55),
    0 0 0 1px rgba(100, 160, 255, 0.25),
    0 0 56px rgba(26, 115, 232, 0.28);
}
.mobile-screenshot:not([hidden]) + .phone-frame { display: none; }
.mobile-stores {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px;
}
.phone-frame {
  width: 260px; padding: 12px; border-radius: 36px;
  background: linear-gradient(145deg, #2a2a3e, #1a1a28);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), inset 0 0 0 2px rgba(255,255,255,0.08);
}
.phone-notch {
  width: 80px; height: 22px; background: #0a0a12; border-radius: 0 0 14px 14px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: #f8fafc; border-radius: 24px; overflow: hidden; min-height: 420px;
  display: flex; flex-direction: column; direction: rtl; text-align: right;
}
.phone-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; background: linear-gradient(135deg, #1565c0, #00acc1); color: #fff;
  font-weight: 700; font-size: 14px;
}
.phone-api {
  font-size: 10px; padding: 3px 8px; border-radius: 6px;
  background: rgba(255,255,255,0.2); font-weight: 600;
}
.phone-greeting { padding: 16px; font-size: 13px; color: #37474f; font-weight: 600; }
.phone-cards { padding: 0 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.phone-card {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px; background: #fff; border-radius: 12px; border: 1px solid #e0e7ef;
  font-size: 12px; color: #263238; box-shadow: 0 2px 8px rgba(21,101,192,0.08);
}
.phone-card em { font-style: normal; font-size: 11px; color: #00acc1; font-weight: 700; }
.phone-nav {
  display: flex; justify-content: space-around; padding: 12px; background: #fff;
  border-top: 1px solid #e0e7ef; font-size: 10px; color: #90a4ae;
}
.phone-nav .on { color: #1565c0; font-weight: 700; }
.mobile-caption { font-size: 0.78rem; color: var(--text-muted); margin-top: 12px; text-align: center; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: rgba(255,255,255,0.018); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 10px; letter-spacing: -0.02em; }
.section-head p { color: var(--text-muted); max-width: 560px; margin-inline: auto; }

/* Platform infra — network / cloud / reports nested */
.platform-infra { background: linear-gradient(180deg, transparent, rgba(8, 28, 52, 0.45), transparent); }
.infra-block {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.infra-block:first-of-type { border-top: none; padding-top: 0; }
.infra-subhead {
  font-size: 1.35rem; font-weight: 800; margin-bottom: 24px; text-align: center;
}
.network-text h3, .cloud-text h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin-bottom: 12px; font-weight: 800;
}

.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px;
}
.feature-card {
  position: relative; padding: 22px; border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--border); overflow: hidden;
  transition: background 0.35s, transform 0.35s, border-color 0.35s;
}
.feature-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(circle at 20% 0%, rgba(0,172,193,0.1), transparent 55%);
}
.feature-card:hover {
  background: var(--bg-card); transform: translateY(-4px);
  border-color: rgba(0,172,193,0.3); box-shadow: none;
}
.feature-card:hover::before { opacity: 1; }
.feature-icon-wrap {
  position: relative; width: 52px; height: 52px; margin-bottom: 16px;
}
.feature-icon-glow {
  position: absolute; inset: -4px; border-radius: 16px; opacity: 0.35;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  filter: blur(8px);
}
.feature-icon {
  position: relative; width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  box-shadow: 0 8px 24px var(--accent-glow);
  transition: transform 0.35s;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card:hover .feature-icon { transform: scale(1.08) translateY(-2px); }
.feature-card[data-icon="pos"] .feature-icon { background: linear-gradient(135deg, #7b1fa2, #e91e63); }
.feature-card[data-icon="warehouse"] .feature-icon { background: linear-gradient(135deg, #f57c00, #ff9800); }
.feature-card[data-icon="installment"] .feature-icon { background: linear-gradient(135deg, #00897b, #26a69a); }
.feature-card[data-icon="cloud"] .feature-icon { background: linear-gradient(135deg, #3949ab, #5c6bc0); }
.feature-card[data-icon="ai"] .feature-icon { background: linear-gradient(135deg, #6a1b9a, #ab47bc); }
.feature-card[data-icon="shield"] .feature-icon { background: linear-gradient(135deg, #2e7d32, #66bb6a); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; position: relative; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); position: relative; }

/* Videos section */
.videos-section { position: relative; overflow: hidden; }
.videos-section::before {
  content: ''; position: absolute; width: 500px; height: 500px; top: -120px; left: -120px;
  background: radial-gradient(circle, rgba(229,57,53,0.12), transparent 70%);
  pointer-events: none; animation: videoOrb 12s ease-in-out infinite alternate;
}
@keyframes videoOrb {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 30px); }
}
.section-icon-pill {
  display: inline-block; padding: 6px 14px; border-radius: 999px; margin-bottom: 12px;
  background: rgba(229,57,53,0.15); border: 1px solid rgba(229,57,53,0.35);
  color: #ff6b6b; font-size: 0.82rem; font-weight: 700;
}
.videos-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 16px; flex-wrap: wrap;
}
.video-search-wrap {
  flex: 1; min-width: 220px; position: relative;
}
.video-search-wrap input {
  width: 100%; padding: 14px 16px 14px 44px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--bg-card); color: var(--text);
  font-family: inherit; font-size: 0.95rem; transition: border-color 0.25s, box-shadow 0.25s;
}
html[dir="rtl"] .video-search-wrap input { padding: 14px 44px 14px 16px; }
.video-search-wrap input:focus {
  outline: none; border-color: rgba(0,172,193,0.5);
  box-shadow: 0 0 0 4px rgba(0,172,193,0.12);
}
.search-icon {
  position: absolute; top: 50%; transform: translateY(-50%);
  left: 14px; width: 18px; height: 18px; color: var(--text-muted); pointer-events: none;
}
html[dir="rtl"] .search-icon { left: auto; right: 14px; }
.video-count-label { color: var(--text-muted); font-size: 0.9rem; }
.video-count-label strong { color: var(--accent); font-size: 1.2rem; }
.video-cats-scroll { overflow-x: auto; margin-bottom: 24px; padding-bottom: 6px; }
.video-cats { display: flex; gap: 10px; flex-wrap: nowrap; min-width: min-content; }
.video-cat {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-card); color: var(--text-muted); cursor: pointer;
  font-family: inherit; font-size: 0.85rem; font-weight: 600;
  transition: all 0.25s;
}
.video-cat em { font-style: normal; font-size: 0.75rem; opacity: 0.7; }
.video-cat.active {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  color: #fff; border-color: transparent; box-shadow: 0 6px 20px var(--accent-glow);
}
.video-cat:hover:not(.active) { border-color: rgba(0,172,193,0.4); color: var(--text); }
.videos-layout {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: start;
}
.video-player-panel {
  position: relative; border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--border); padding: 16px; overflow: hidden;
}
.player-glow {
  position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(0,172,193,0.08), transparent);
  animation: playerSpin 10s linear infinite; pointer-events: none;
}
@keyframes playerSpin { to { transform: rotate(360deg); } }
.player-frame {
  position: relative; border-radius: 12px; overflow: hidden;
  aspect-ratio: 16/9; background: #0a0f18;
}
.video-embed-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none;
}
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; color: var(--text-muted);
}
.video-placeholder span {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(0,172,193,0.2); color: var(--accent); font-size: 1.4rem;
  animation: playPulse 2s ease-in-out infinite;
}
@keyframes playPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,172,193,0.4); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(0,172,193,0); }
}
.placeholder-pulse {
  position: absolute; width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid rgba(0,172,193,0.2); animation: ringExpand 2.5s ease-out infinite;
}
@keyframes ringExpand {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.player-meta { position: relative; margin-top: 16px; }
.player-meta h3 { font-size: 1.15rem; margin-bottom: 6px; }
.player-meta p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.video-list-panel {
  max-height: 520px; overflow-y: auto; padding-inline-end: 4px;
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.video-list { display: flex; flex-direction: column; gap: 10px; }
.video-card {
  display: flex; gap: 12px; width: 100%; text-align: inherit;
  padding: 10px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--bg-card); cursor: pointer; font-family: inherit; color: var(--text);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s, background 0.25s;
  opacity: 0; transform: translateX(12px);
  animation: videoCardIn 0.5s ease forwards; animation-delay: var(--delay, 0s);
}
html[dir="rtl"] .video-card { transform: translateX(-12px); }
@keyframes videoCardIn {
  to { opacity: 1; transform: translateX(0); }
}
.video-card.visible { opacity: 1; transform: none; }
.video-card:hover { transform: translateY(-2px); border-color: rgba(0,172,193,0.35); background: var(--bg-card-hover); }
.video-card.active {
  border-color: var(--accent); box-shadow: 0 0 0 1px rgba(0,172,193,0.3), 0 8px 24px rgba(0,0,0,0.2);
  background: rgba(0,172,193,0.08);
}
.video-thumb {
  position: relative; width: 112px; flex-shrink: 0; border-radius: 10px; overflow: hidden;
  aspect-ratio: 16/9; background: #0a0f18;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-no-thumb {
  width: 100%; height: 100%; display: grid; place-items: center;
  color: var(--accent); font-size: 1.2rem;
}
.play-ring {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(0,0,0,0.35); opacity: 0; transition: opacity 0.25s;
}
.play-ring::after {
  content: '▶'; color: #fff; font-size: 1rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(229,57,53,0.9); display: grid; place-items: center;
}
.video-card:hover .play-ring { opacity: 1; }
.video-card-body { flex: 1; min-width: 0; text-align: start; }
.video-cat-tag {
  display: inline-block; font-size: 0.72rem; color: var(--accent);
  margin-bottom: 4px; font-weight: 600;
}
.video-card-body strong { display: block; font-size: 0.92rem; margin-bottom: 4px; }
.video-card-body p {
  font-size: 0.78rem; color: var(--text-muted); line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.video-empty { color: var(--text-muted); text-align: center; padding: 32px; }

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 28px; z-index: 200;
  inset-inline-end: 28px;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 32px rgba(37,211,102,0.45);
  text-decoration: none; transition: transform 0.3s, width 0.35s, border-radius 0.35s, padding 0.35s;
  overflow: visible;
}
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 2; }
.wa-float:hover {
  transform: translateY(-4px) scale(1.04);
  width: auto; border-radius: 999px; padding: 0 20px 0 16px;
  display: inline-flex; align-items: center; gap: 10px;
}
html[dir="rtl"] .wa-float:hover { padding: 0 16px 0 20px; }
.wa-float-label {
  display: none; font-weight: 700; font-size: 0.88rem; white-space: nowrap; z-index: 2;
}
.wa-float:hover .wa-float-label { display: block; }
.wa-float-ring {
  position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: waRing 2s ease-out infinite;
}
.wa-float-ring-2 { animation-delay: 1s; }
@keyframes waRing {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}
.support-phone-line {
  margin-top: 16px; color: var(--text-muted); font-size: 0.9rem;
}
.support-phone-line strong { color: var(--accent); direction: ltr; unicode-bidi: embed; }

.steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
  padding: 32px 24px; border-radius: var(--radius); background: var(--bg-card);
  border: 1px solid var(--border); text-align: center;
}
.step-num { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; margin-bottom: 12px; }
.step-card h3 { margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.9rem; }

.cloud-split,
.network-split,
.branches-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.cloud-split > *,
.network-split > *,
.branches-split > * {
  min-width: 0; max-width: 100%;
}
.network-text, .cloud-text, .branches-text {
  overflow-wrap: anywhere; word-break: break-word;
}
.network-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  background: rgba(0, 137, 123, 0.2); color: #4db6ac; margin-bottom: 12px;
}
.network-text p { color: var(--text-muted); margin-bottom: 20px; }
.network-points { list-style: none; }
.network-points li {
  padding: 10px 0 10px 28px; position: relative; color: var(--text-muted);
}
html[dir="rtl"] .network-points li { padding: 10px 28px 10px 0; }
.network-points li::before {
  content: '✓'; position: absolute; inset-inline-start: 0; color: #26a69a; font-weight: 700;
}
.network-flow {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 28px 16px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border);
  width: 100%; max-width: 100%; box-sizing: border-box;
}
.network-node {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 14px; border-radius: 14px; min-width: 0; flex: 1 1 88px;
  text-align: center; max-width: 100%;
}
.network-node strong { font-size: 0.85rem; overflow-wrap: anywhere; }
.network-node.main {
  background: linear-gradient(135deg, rgba(0, 105, 92, 0.35), rgba(0, 172, 193, 0.2));
  border: 1px solid rgba(38, 166, 154, 0.35);
}
.network-node.branch {
  background: rgba(21, 101, 192, 0.15); border: 1px solid rgba(21, 101, 192, 0.25);
  flex: 1; min-width: 0;
}
.network-node-icon { font-size: 1.25rem; opacity: 0.85; color: var(--accent); }
.network-node small { color: var(--text-muted); font-size: 0.75rem; }
.network-branches { display: flex; gap: 12px; width: 100%; justify-content: center; flex-wrap: wrap; }
.network-links {
  display: flex; flex-direction: column; align-items: center; gap: 4px; height: 28px; justify-content: center;
}
.network-link {
  display: block; width: 2px; height: 12px; background: linear-gradient(var(--accent), #26a69a);
  border-radius: 2px;
}
.network-flow-caption { color: var(--text-muted); font-size: 0.82rem; text-align: center; margin-top: 8px; }
.cloud-text p { color: var(--text-muted); margin-bottom: 20px; }
.cloud-points { list-style: none; }
.cloud-points li {
  padding: 10px 0 10px 28px; position: relative; color: var(--text-muted);
}
html[dir="rtl"] .cloud-points li { padding: 10px 28px 10px 0; }
.cloud-points li::before {
  content: '✓'; position: absolute; inset-inline-start: 0; color: var(--accent); font-weight: 700;
}
.sync-flow {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 28px 16px; border-radius: var(--radius); background: var(--bg-card); border: 1px solid var(--border);
  width: 100%; max-width: 100%; box-sizing: border-box;
}
.sync-node {
  padding: 16px 20px; border-radius: 14px; font-weight: 700; font-size: 0.85rem;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  text-align: center; max-width: 100%;
}
.sync-arrows { font-size: 2rem; color: var(--accent); animation: pulse 2s ease infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.reports-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.report-chip {
  padding: 10px 18px; border-radius: 999px; background: var(--bg-card);
  border: 1px solid var(--border); font-size: 0.88rem; transition: border-color 0.2s;
}
.report-chip:hover { border-color: var(--accent); }

.download-card {
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  padding: 48px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(13,71,161,0.35), rgba(0,172,193,0.15));
  border: 1px solid rgba(0,172,193,0.25);
}
.download-card h2 { font-size: 2rem; margin-bottom: 8px; }
.dl-notes { color: var(--accent); font-size: 0.9rem; margin: 12px 0; }
.dl-meta { display: flex; gap: 32px; margin: 20px 0; flex-wrap: wrap; }
.dl-meta dt { font-size: 0.78rem; color: var(--text-muted); }
.dl-meta dd { font-size: 1.1rem; font-weight: 700; }
.dl-req { font-size: 0.85rem; color: var(--text-muted); }

.faq-list { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border-radius: 12px; background: var(--bg-card); border: 1px solid var(--border); overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq-item[open] {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; cursor: pointer; font-weight: 700; font-size: 0.98rem; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span:first-child { flex: 1; text-align: start; }
.faq-toggle {
  width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  position: relative; transition: transform 0.25s, background 0.25s;
}
.faq-toggle::before, .faq-toggle::after {
  content: ''; position: absolute; inset: 50% auto auto 50%;
  background: var(--accent); border-radius: 1px;
  transform: translate(-50%, -50%);
}
.faq-toggle::before { width: 12px; height: 2px; }
.faq-toggle::after { width: 2px; height: 12px; transition: transform 0.25s, opacity 0.25s; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) scaleY(0); opacity: 0; }
.faq-item p {
  padding: 0 20px 18px; color: var(--text-muted); font-size: 0.92rem; line-height: 1.7;
  margin: 0;
}

.cta-box {
  text-align: center; padding: 64px 32px; border-radius: 20px;
  background: var(--bg-card); border: 1px solid var(--border);
}
.cta-box h2 { font-size: 2rem; margin-bottom: 8px; }
.cta-box p { color: var(--text-muted); margin-bottom: 24px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.site-footer { padding: 32px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--text-muted); font-size: 0.88rem; }

/* Reveal animation — المحتوى ظاهر افتراضياً؛ الأنيميشن عند تفعيل JS */
.reveal { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1100px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 0.84rem; }
  .features-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .systems-showcase,
  .cloud-split,
  .network-split,
  .branches-split { grid-template-columns: 1fr; gap: 28px; }
  .system-modules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .cloud-split, .network-split, .branches-split, .mobile-split, .videos-layout, .download-card, .systems-showcase { grid-template-columns: 1fr; }
  .video-list-panel { max-height: 360px; }
  .header-actions .btn-whatsapp span { display: none; }
  .ald-cards { grid-template-columns: repeat(2, 1fr); }
  .phone-showcase { order: -1; }
  .system-visual { order: -1; }
  .steps-row { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 260px; }
  .hero { min-height: auto; padding: 110px 0 56px; }
  .hero-brand { font-size: clamp(2.6rem, 10vw, 3.6rem); }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .nav-links {
    display: none; position: fixed; top: 64px; left: 4vw; right: 4vw;
    flex-direction: column; background: rgba(6,16,28,0.96); backdrop-filter: blur(16px);
    padding: 20px; border-radius: 14px; border: 1px solid var(--border);
    max-height: calc(100vh - 80px); overflow-y: auto; z-index: 99;
  }
  .nav-links.open { display: flex; }
  .header-actions .btn-sm:not(.btn-whatsapp) { display: none; }
  .system-tabs-wrap { overflow: hidden; }
  .system-tabs {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; padding-bottom: 10px;
  }
  .system-tab { flex-shrink: 0; }
  .system-tab-indicator { display: none; }
  .system-modules-grid { grid-template-columns: 1fr; }
  .system-panel { padding: 22px; }
  .system-panel-cta .btn { flex: 1 1 auto; justify-content: center; }
  .infra-block { padding-block: 36px; }
  .network-flow, .branches-flow, .sync-flow { padding-inline: 14px; }
  .whats-new-grid { grid-template-columns: repeat(2, 1fr); }
  .reports-groups { grid-template-columns: 1fr 1fr; }
  .wa-float { bottom: 18px; inset-inline-end: 14px; }
  .wa-float-label { display: none; }
}
@media (max-width: 600px) {
  .container { width: min(1140px, 94vw); }
  .hero { padding-top: 100px; padding-bottom: 40px; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .hero-stats div { min-width: 28%; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .download-card { padding: 24px; gap: 20px; }
  .system-tabs { gap: 6px; }
  .system-tab { padding: 10px 14px; font-size: 0.84rem; }
  .systems-showcase { gap: 20px; }
  .system-panel { padding: 16px; }
  .system-panel-text h3 { font-size: 1.2rem; }
  .system-highlights li { font-size: 0.86rem; }
  .system-panel-cta { flex-direction: column; }
  .system-panel-cta .btn { width: 100%; }
  .whats-new-grid { grid-template-columns: 1fr; gap: 14px; }
  .features-grid { grid-template-columns: 1fr; }
  .reports-groups { grid-template-columns: 1fr; }
  .ald-body { flex-direction: column; }
  .ald-sidebar { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; }
  .ald-logo-side { margin: 0; }
  .ald-menu { display: flex; gap: 6px; overflow-x: auto; width: 100%; }
  .ald-menu a { padding: 6px 10px; white-space: nowrap; }
  .ald-cards { grid-template-columns: 1fr 1fr; }
  .video-card { flex-direction: column; }
  .video-thumb { width: 100%; aspect-ratio: 16/9; }
  .faq-item summary { padding: 14px 16px; font-size: 0.92rem; gap: 12px; }
  .faq-item p { padding: 0 16px 16px; }
  .cta-box h2 { font-size: 1.55rem; }
  .section { padding: 56px 0; }
  .network-branches, .branches-row { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .network-node, .branches-node { flex: 1 1 calc(50% - 8px); min-width: 0; padding: 12px 10px; }
  .network-node.main, .branches-node.company { flex: 1 1 100%; }
  .sync-systems { gap: 6px; }
  .sync-systems span { font-size: 0.7rem; padding: 4px 8px; }
  .download-action .btn-xl { width: 100%; }
}
@media (max-width: 400px) {
  .hero-brand { font-size: 2.35rem; }
  .ald-cards { grid-template-columns: 1fr; }
  .lang-switch button { padding: 5px 8px; }
  .logo-text { font-size: 1.1rem; }
}

/* ── Systems Explorer ── */
.systems-section {
  --system-accent: #1565C0;
  position: relative;
}
.systems-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, color-mix(in srgb, var(--system-accent) 18%, transparent), transparent);
  pointer-events: none;
}
.system-tabs-wrap { position: relative; margin-bottom: 40px; }
.system-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  padding-bottom: 4px;
}
.system-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-card);
  color: var(--text-muted); font-weight: 600; font-size: 0.92rem;
  cursor: pointer; transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.2s;
  font-family: inherit;
}
.system-tab:hover { color: var(--text); border-color: color-mix(in srgb, var(--system-accent) 50%, var(--border)); }
.system-tab.active {
  color: #fff; border-color: var(--system-accent);
  background: linear-gradient(135deg, var(--system-accent), color-mix(in srgb, var(--system-accent) 70%, #000));
  box-shadow: 0 8px 28px color-mix(in srgb, var(--system-accent) 35%, transparent);
}
.system-tab-badge {
  font-size: 0.68rem; padding: 2px 8px; border-radius: 999px;
  background: rgba(255,255,255,0.15); font-weight: 700;
}
.system-tab:not(.active) .system-tab-badge {
  background: color-mix(in srgb, var(--system-accent) 20%, transparent);
  color: var(--system-accent);
}
.system-tab-indicator {
  position: absolute; bottom: 0; height: 3px; border-radius: 999px;
  background: var(--system-accent); transition: width 0.35s ease, left 0.35s ease, right 0.35s ease;
  pointer-events: none;
}
.systems-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
  margin-bottom: 48px;
}
.systems-showcase > * { min-width: 0; max-width: 100%; }
.system-panel-wrap { min-height: 0; max-width: 100%; }
.system-panel {
  padding: 28px; border-radius: var(--radius);
  background: var(--bg-card); border: 1px solid var(--border);
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.system-panel.system-panel-in {
  animation: systemPanelIn 0.45s ease-out;
}
@keyframes systemPanelIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.system-panel-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.78rem; font-weight: 700;
  background: color-mix(in srgb, var(--system-accent) 20%, transparent);
  color: var(--system-accent); margin-bottom: 12px;
}
.system-panel-text { max-width: 100%; min-width: 0; }
.system-panel-text h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.5rem); font-weight: 800; margin-bottom: 10px;
  line-height: 1.35; overflow-wrap: anywhere;
}
.system-panel-desc { color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; overflow-wrap: anywhere; }
.system-highlights {
  list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px;
}
.system-highlights li {
  padding-inline-start: 22px; position: relative; font-size: 0.9rem; color: var(--text-muted);
  overflow-wrap: anywhere; word-break: break-word;
}
.system-highlights li::before {
  content: '✓'; position: absolute; inset-inline-start: 0;
  color: var(--system-accent); font-weight: 800;
}
.system-highlights-compact { margin-bottom: 0; }
.system-restaurant-block {
  margin: 20px 0; padding: 16px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--system-accent) 30%, var(--border));
  background: color-mix(in srgb, var(--system-accent) 8%, transparent);
}
.system-restaurant-block h4 { font-size: 0.95rem; margin-bottom: 10px; color: var(--system-accent); }
.system-modules-block {
  margin: 20px 0; padding: 16px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--system-accent) 28%, var(--border));
  background: color-mix(in srgb, var(--system-accent) 6%, transparent);
}
.system-modules-block h4 {
  font-size: 0.92rem; margin-bottom: 14px; color: var(--system-accent); font-weight: 700;
}
.system-modules-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.system-module { min-width: 0; max-width: 100%; }
.system-module strong {
  display: block; font-size: 0.84rem; margin-bottom: 6px; color: var(--text);
  overflow-wrap: anywhere;
}
.system-module ul {
  list-style: none; display: flex; flex-direction: column; gap: 4px;
}
.system-module li {
  font-size: 0.8rem; color: var(--text-muted);
  padding-inline-start: 14px; position: relative;
}
.system-module li::before {
  content: '·'; position: absolute; inset-inline-start: 2px;
  color: var(--system-accent); font-weight: 800;
}
@media (max-width: 600px) {
  .system-modules-grid { grid-template-columns: 1fr; }
}
.system-panel-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.system-panel-cta .btn { max-width: 100%; }
.system-visual { position: relative; min-width: 0; max-width: 100%; }
.system-screenshot-glow {
  position: absolute; inset: 10%; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--system-accent) 40%, transparent), transparent 70%);
  animation: glowPulse 4s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes glowPulse {
  from { opacity: 0.5; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.05); }
}
.system-screenshot-frame {
  position: relative; border-radius: 16px; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--system-accent) 35%, var(--border));
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
}
.system-screenshot { width: 100%; display: block; border-radius: 16px; }
.system-mock { width: 100%; min-height: 220px; }
.system-screenshot-caption {
  text-align: center; font-size: 0.82rem; color: var(--text-muted); margin-top: 12px;
}
.system-features-heading {
  text-align: center; font-size: 1.2rem; font-weight: 700; margin-bottom: 24px;
  color: var(--text-muted);
}
.system-features-grid .feature-card { animation: featureStaggerIn 0.5s ease-out backwards; animation-delay: var(--delay, 0s); }
@keyframes featureStaggerIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero rotate words — 6 systems × 3s */
.hero-rotate-wrap {
  display: inline-block; position: relative; height: 1.4em; vertical-align: bottom;
  min-width: min(220px, 55vw); overflow: hidden;
}
.hero-rotate-word {
  position: absolute; inset-inline-start: 0; white-space: nowrap;
  font-weight: 800; color: var(--accent);
  animation: heroWordRotate 18s ease-in-out infinite;
  animation-delay: calc(var(--i) * 3s);
  opacity: 0;
}
@keyframes heroWordRotate {
  0%, 2% { opacity: 0; transform: translateY(100%); }
  5%, 13% { opacity: 1; transform: translateY(0); }
  16.5%, 100% { opacity: 0; transform: translateY(-100%); }
}

/* Platform feature icons */
.feature-card[data-icon="offline"] .feature-icon { background: linear-gradient(135deg, #455a64, #78909c); }
.feature-card[data-icon="backup"] .feature-icon { background: linear-gradient(135deg, #5d4037, #8d6e63); }
.feature-card[data-icon="audit"] .feature-icon { background: linear-gradient(135deg, #37474f, #607d8b); }
.feature-card[data-icon="update"] .feature-icon { background: linear-gradient(135deg, #0277bd, #29b6f6); }
.feature-card[data-icon="lang"] .feature-icon { background: linear-gradient(135deg, #00695c, #26a69a); }
.feature-card[data-icon="hotel"] .feature-icon { background: linear-gradient(135deg, #00695c, #00897b); }
.feature-card[data-icon="bed"] .feature-icon { background: linear-gradient(135deg, #00838f, #4dd0e1); }
.feature-card[data-icon="guest"] .feature-icon { background: linear-gradient(135deg, #4527a0, #7e57c2); }
.feature-card[data-icon="kitchen"] .feature-icon { background: linear-gradient(135deg, #e65100, #ff9800); }
.feature-card[data-icon="car"] .feature-icon { background: linear-gradient(135deg, #bf360c, #ff5722); }
.feature-card[data-icon="carTrade"] .feature-icon { background: linear-gradient(135deg, #33691e, #8bc34a); }
.feature-card[data-icon="voice"] .feature-icon { background: linear-gradient(135deg, #ad1457, #f06292); }
.feature-card[data-icon="pricing"] .feature-icon { background: linear-gradient(135deg, #f9a825, #ffca28); }
.feature-card[data-icon="print"] .feature-icon { background: linear-gradient(135deg, #455a64, #90a4ae); }
.feature-card[data-icon="network"] .feature-icon { background: linear-gradient(135deg, #0277bd, #4fc3f7); }
.feature-card[data-icon="realEstate"] .feature-icon { background: linear-gradient(135deg, #5d4037, #a1887f); }
.feature-card[data-icon="whatsapp"] .feature-icon { background: linear-gradient(135deg, #128c7e, #25d366); }
.feature-card[data-icon="barcode"] .feature-icon { background: linear-gradient(135deg, #37474f, #78909c); }
.feature-card[data-icon="investor"] .feature-icon { background: linear-gradient(135deg, #1565c0, #42a5f5); }
.feature-card[data-icon="industry"] .feature-icon { background: linear-gradient(135deg, #00695c, #26a69a); }
.feature-card[data-icon="gold"] .feature-icon,
.whats-new-card[data-icon="gold"] .feature-icon { background: linear-gradient(135deg, #b8860b, #f0c14b); }
.feature-card[data-icon="loyalty"] .feature-icon,
.whats-new-card[data-icon="loyalty"] .feature-icon { background: linear-gradient(135deg, #c62828, #ef5350); }
.feature-card[data-icon="customFields"] .feature-icon,
.whats-new-card[data-icon="customFields"] .feature-icon { background: linear-gradient(135deg, #4527a0, #7e57c2); }
.feature-card[data-icon="search"] .feature-icon,
.whats-new-card[data-icon="search"] .feature-icon { background: linear-gradient(135deg, #0277bd, #4fc3f7); }
.feature-card[data-icon="truck"] .feature-icon,
.whats-new-card[data-icon="truck"] .feature-icon { background: linear-gradient(135deg, #546e7a, #90a4ae); }
.feature-card[data-icon="salesBoost"] .feature-icon,
.whats-new-card[data-icon="salesBoost"] .feature-icon { background: linear-gradient(135deg, #2e7d32, #66bb6a); }
.feature-card[data-icon="scale"] .feature-icon,
.whats-new-card[data-icon="scale"] .feature-icon { background: linear-gradient(135deg, #6d4c41, #a1887f); }
.feature-card[data-icon="currency"] .feature-icon,
.whats-new-card[data-icon="currency"] .feature-icon { background: linear-gradient(135deg, #1b5e20, #66bb6a); }
.feature-card[data-icon="branches"] .feature-icon,
.whats-new-card[data-icon="branches"] .feature-icon { background: linear-gradient(135deg, #0d47a1, #42a5f5); }
.feature-card[data-icon="exchange"] .feature-icon,
.whats-new-card[data-icon="exchange"] .feature-icon { background: linear-gradient(135deg, #e65100, #ffb74d); }
.feature-card[data-icon="employees"] .feature-icon,
.whats-new-card[data-icon="employees"] .feature-icon { background: linear-gradient(135deg, #455a64, #90a4ae); }
.feature-card[data-icon="apps"] .feature-icon,
.whats-new-card[data-icon="apps"] .feature-icon { background: linear-gradient(135deg, #0a1a3f, #2979ff); }

/* What's new */
.whats-new-section {
  position: relative;
  overflow: hidden;
}
.whats-new-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 10% 20%, rgba(201, 162, 39, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(0, 172, 193, 0.1), transparent 55%);
}
.whats-new-eyebrow {
  display: inline-block; margin-bottom: 12px; padding: 5px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  color: #f0c14b;
  background: rgba(201, 162, 39, 0.14);
  border: 1px solid rgba(240, 193, 75, 0.28);
}
.whats-new-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
  position: relative;
}
.whats-new-card {
  position: relative;
  padding: 24px 22px 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  animation: featureStaggerIn 0.55s ease-out backwards;
  animation-delay: var(--delay, 0s);
}
.whats-new-card::after {
  content: ''; position: absolute; inset: auto -20% -40% auto; width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(0, 172, 193, 0.12), transparent 70%);
  pointer-events: none; transition: opacity 0.35s;
  opacity: 0.5;
}
.whats-new-card:hover {
  transform: translateY(-8px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  background: var(--bg-card-hover);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
.whats-new-card:hover::after { opacity: 1; }
.whats-new-card:hover .feature-icon {
  transform: scale(1.08) rotate(-4deg);
}
.whats-new-card .feature-icon {
  transition: transform 0.35s ease;
}
.whats-new-badge {
  position: absolute; top: 14px; inset-inline-end: 14px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800;
  color: #06101c;
  background: linear-gradient(135deg, #f0c14b, #00acc1);
  box-shadow: 0 0 0 0 rgba(240, 193, 75, 0.45);
  animation: badgePulse 2.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 193, 75, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(240, 193, 75, 0); }
}
.whats-new-card h3 {
  font-size: 1.05rem; font-weight: 800; margin: 14px 0 8px;
}
.whats-new-card p {
  color: var(--text-muted); font-size: 0.9rem; line-height: 1.65;
}

/* Free apps */
.free-apps-section {
  position: relative;
  overflow: hidden;
  padding-block: 88px;
}
.free-apps-backdrop {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(41, 121, 255, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 45% at 10% 90%, rgba(240, 193, 75, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(10, 26, 63, 0.35), transparent 40%, rgba(10, 26, 63, 0.25));
}
.free-apps-eyebrow {
  display: inline-block; margin-bottom: 12px; padding: 5px 14px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700;
  color: #82b1ff;
  background: rgba(41, 121, 255, 0.14);
  border: 1px solid rgba(41, 121, 255, 0.3);
}
.free-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
  position: relative;
}
.free-app-card {
  position: relative;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(10, 26, 63, 0.72), rgba(8, 20, 42, 0.88));
  border: 1px solid rgba(100, 160, 255, 0.18);
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), border-color 0.35s, box-shadow 0.4s;
  animation: freeAppIn 0.7s ease-out backwards;
  animation-delay: var(--delay, 0s);
}
@keyframes freeAppIn {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.free-app-glow {
  position: absolute; inset: -40% auto auto 40%; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(41, 121, 255, 0.22), transparent 70%);
  filter: blur(8px);
  animation: freeGlowDrift 8s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes freeGlowDrift {
  from { transform: translate(-10%, -5%); opacity: 0.7; }
  to { transform: translate(15%, 20%); opacity: 1; }
}
.free-app-card:hover {
  transform: translateY(-10px);
  border-color: rgba(240, 193, 75, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(41, 121, 255, 0.12);
}
.free-app-top {
  display: flex; align-items: center; gap: 18px; margin-bottom: 18px;
  position: relative;
}
.free-app-icon-wrap {
  position: relative;
  width: 88px; height: 88px; flex-shrink: 0;
  border-radius: 22px;
  overflow: hidden;
  background: transparent;
  box-shadow: 0 12px 32px rgba(10, 26, 63, 0.55), 0 0 0 1px rgba(255,255,255,0.08);
  animation: iconFloat 4.5s ease-in-out infinite;
}
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.free-app-icon {
  width: 100%; height: 100%; object-fit: contain; display: block; background: transparent;
}
.free-app-icon-shine {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.22) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: iconShine 3.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes iconShine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}
.free-app-meta h3 {
  font-size: 1.55rem; font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 4px;
}
.free-app-tagline {
  color: #90caf9; font-size: 0.95rem; font-weight: 600;
}
.free-app-pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 800;
  color: #0a1a3f;
  background: linear-gradient(135deg, #f0c14b, #ffd54f);
}
.free-app-desc {
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.7;
  margin-bottom: 16px; position: relative;
}
.free-app-features {
  list-style: none; display: grid; gap: 8px; margin-bottom: 22px; position: relative;
}
.free-app-features li {
  position: relative;
  padding-inline-start: 22px;
  color: var(--text); font-size: 0.88rem; font-weight: 600;
}
.free-app-features li::before {
  content: '';
  position: absolute; inset-inline-start: 0; top: 0.45em;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #2979ff, #f0c14b);
  box-shadow: 0 0 10px rgba(41, 121, 255, 0.45);
}
.free-app-stores {
  display: flex; flex-wrap: wrap; gap: 12px; position: relative;
}
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 14px;
  text-decoration: none; font-weight: 700; font-size: 0.9rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.store-btn:hover { transform: translateY(-3px); }
.store-google {
  color: #fff;
  background: linear-gradient(135deg, #1a73e8, #2979ff);
  box-shadow: 0 10px 28px rgba(41, 121, 255, 0.35);
}
.store-apple {
  color: #fff;
  background: linear-gradient(135deg, #1c1c1e, #3a3a3c);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255,255,255,0.1);
}
.store-btn:hover.store-google { box-shadow: 0 14px 36px rgba(41, 121, 255, 0.5); }
.store-btn:hover.store-apple { box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5); }
.store-soon {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(148, 180, 220, 0.28);
  box-shadow: none;
  cursor: default;
  opacity: 0.85;
}
.store-soon:hover { transform: none; box-shadow: none; }
.free-app-card.accent-sundooqi {
  background: linear-gradient(160deg, rgba(8, 28, 72, 0.78), rgba(6, 18, 40, 0.92));
  border-color: rgba(41, 121, 255, 0.22);
}
.free-app-card.accent-sundooqi .free-app-glow {
  background: radial-gradient(circle, rgba(0, 200, 120, 0.18), transparent 70%);
}
.free-app-card.accent-sundooqi .free-app-tagline { color: #80cbc4; }

/* Organizational branches */
.branches-badge {
  display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 800; color: #0a1a3f;
  background: linear-gradient(135deg, #f0c14b, #00acc1);
}
.branches-text h3 { font-size: 1.45rem; margin-bottom: 10px; }
.branches-text p { color: var(--text-muted); margin-bottom: 20px; }
.branches-points { list-style: none; }
.branches-points li {
  position: relative; padding: 10px 0 10px 28px; color: var(--text); font-weight: 600; font-size: 0.92rem;
}
html[dir="rtl"] .branches-points li { padding: 10px 28px 10px 0; }
.branches-points li::before {
  content: '✓'; position: absolute; inset-inline-start: 0; color: #42a5f5; font-weight: 800;
}
.branches-flow {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 14px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(13, 71, 161, 0.2), rgba(8, 24, 48, 0.55));
  border: 1px solid rgba(66, 165, 245, 0.18);
  width: 100%; max-width: 100%; box-sizing: border-box;
}
.branches-node {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 12px; border-radius: 14px; min-width: 0; flex: 1 1 88px;
  background: var(--bg-card); border: 1px solid var(--border);
  transition: transform 0.3s ease, border-color 0.3s ease;
  max-width: 100%; text-align: center;
}
.branches-node strong { font-size: 0.82rem; overflow-wrap: anywhere; }
.branches-node:hover { transform: translateY(-4px); border-color: rgba(66, 165, 245, 0.45); }
.branches-node.company {
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.45), rgba(0, 172, 193, 0.25));
  border-color: rgba(66, 165, 245, 0.35);
  animation: branchPulse 3s ease-in-out infinite;
}
@keyframes branchPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(66, 165, 245, 0.25); }
  50% { box-shadow: 0 0 0 12px rgba(66, 165, 245, 0); }
}
.branches-node.main {
  border-color: rgba(240, 193, 75, 0.35);
  background: linear-gradient(135deg, rgba(240, 193, 75, 0.12), rgba(13, 71, 161, 0.2));
}
.branches-node-icon { color: var(--accent); font-size: 1.15rem; }
.branches-links {
  display: flex; flex-direction: column; align-items: center; gap: 4px; height: 28px;
}
.branches-link {
  width: 2px; height: 8px;
  background: linear-gradient(#42a5f5, #00acc1);
  animation: pulse 1.8s ease infinite;
}
.branches-link:nth-child(2) { animation-delay: 0.2s; }
.branches-link:nth-child(3) { animation-delay: 0.4s; }
.branches-row {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: 100%;
}
.branches-flow-caption {
  color: var(--text-muted); font-size: 0.82rem; text-align: center; margin-top: 8px;
}

/* Mobile profiles */
.coming-badge-live {
  background: rgba(46, 125, 50, 0.2) !important;
  border-color: rgba(46, 125, 50, 0.45) !important;
  color: #81c784 !important;
}
.mobile-profiles { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.mobile-profile-chip {
  padding: 6px 14px; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
  background: color-mix(in srgb, #7B1FA2 20%, transparent);
  border: 1px solid color-mix(in srgb, #7B1FA2 40%, var(--border));
  color: #ce93d8;
}

/* Reports groups */
.reports-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.reports-group-label {
  font-size: 0.95rem; font-weight: 700; margin-bottom: 12px;
  color: var(--accent); padding-inline-start: 10px;
  border-inline-start: 3px solid var(--accent);
}
.reports-group .reports-list { justify-content: flex-start; }

/* Cloud multi-system */
.sync-flow-multi {
  flex-direction: column; gap: 12px; align-items: center;
}
.sync-systems {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.sync-systems span {
  padding: 4px 10px; border-radius: 8px; font-size: 0.75rem; font-weight: 600;
  background: var(--bg-card); border: 1px solid var(--border);
}
.sync-node.mobile { background: linear-gradient(135deg, #0277bd, #00acc1); }
.sync-pipe {
  position: relative; width: 2px; height: 28px;
  background: linear-gradient(180deg, rgba(0,172,193,0.15), rgba(79,195,247,0.55), rgba(0,172,193,0.15));
  border-radius: 999px; overflow: hidden;
}
.sync-dot {
  position: absolute; left: 50%; width: 6px; height: 6px; margin-left: -3px;
  border-radius: 50%; background: #4dd0e1;
  box-shadow: 0 0 8px rgba(0, 172, 193, 0.8);
  animation: syncDotMove 2.8s linear infinite;
}
.sync-dot:nth-child(2) { animation-delay: 1.4s; }
@keyframes syncDotMove {
  0% { top: -8px; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: calc(100% + 2px); opacity: 0; }
}
.sync-flow-live .sync-node {
  box-shadow: 0 0 0 1px rgba(79, 195, 247, 0.2), 0 10px 28px rgba(0, 0, 0, 0.25);
}

/* Branches draw-on-visible */
html.js-ready .branches-flow .branches-link {
  transform: scaleY(0);
  transform-origin: top;
}
html.js-ready .infra-block.visible .branches-flow .branches-link {
  animation: branchLinkGrow 0.45s ease forwards;
}
html.js-ready .infra-block.visible .branches-flow .branches-link:nth-child(1) { animation-delay: 0.15s; }
html.js-ready .infra-block.visible .branches-flow .branches-link:nth-child(2) { animation-delay: 0.3s; }
html.js-ready .infra-block.visible .branches-flow .branches-link:nth-child(3) { animation-delay: 0.45s; }
@keyframes branchLinkGrow {
  to { transform: scaleY(1); }
}
html.js-ready .infra-block.visible .branches-node {
  animation: branchNodeIn 0.5s ease both;
}
html.js-ready .infra-block.visible .branches-node.company { animation-delay: 0.05s; }
html.js-ready .infra-block.visible .branches-row .branches-node:nth-child(1) { animation-delay: 0.55s; }
html.js-ready .infra-block.visible .branches-row .branches-node:nth-child(2) { animation-delay: 0.65s; }
html.js-ready .infra-block.visible .branches-row .branches-node:nth-child(3) { animation-delay: 0.75s; }
html.js-ready .infra-block.visible .branches-row .branches-node:nth-child(4) { animation-delay: 0.85s; }
@keyframes branchNodeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* Mobile phone float */
.phone-showcase .phone-frame {
  animation: phoneFloat 5.5s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
html.js-ready .phone-showcase .mobile-screenshot:not([hidden]) {
  opacity: 0;
  transform: translateY(16px) scale(0.96);
}
.mobile-split.visible .phone-showcase .mobile-screenshot:not([hidden]),
html:not(.js-ready) .phone-showcase .mobile-screenshot:not([hidden]) {
  animation: phoneReveal 0.8s ease forwards, phoneFloat 5.5s ease-in-out 0.8s infinite;
}
@keyframes phoneReveal {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Scroll reveal polish */
html.js-ready .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--delay, 0s);
}
html.js-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 900px) {
  .free-apps-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 320px; order: -1; }
  .iraq-map-stage { width: min(100%, 380px); }
  .iraq-city:nth-child(n+9) { display: none; }
  .iraq-link:nth-child(n+7) { display: none; }
  .iraq-packet:nth-child(n+7) { display: none; }
}

@media (max-width: 600px) {
  .iraq-map-stage {
    width: min(100%, 300px);
    border-radius: 22px;
  }
  .iraq-map-caption { font-size: 0.75rem; bottom: 10px; }
  .hero-logo-q { width: 46px; height: 46px; font-size: 1.2rem; }
  .iraq-city:nth-child(n+7) { display: none; }
  .iraq-link:nth-child(n+5) { display: none; }
  .iraq-packet:nth-child(n+4) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-rotate-word, .system-screenshot-glow, .float, .system-panel-in,
  .system-features-grid .feature-card, .whats-new-card, .whats-new-badge, .bg-mesh,
  .free-app-card, .free-app-icon-wrap, .free-app-icon-shine, .free-app-glow,
  .branches-node.company, .hero-backdrop, .hero-seq,
  .iraq-map-fill, .iraq-map-stroke, .iraq-map-stroke-glow, .iraq-map-aura, .iraq-link, .iraq-city,
  .iraq-city-pulse, .iraq-packet, .iraq-map-caption, .sync-dot,
  .phone-showcase .mobile-screenshot, .phone-showcase .phone-frame,
  html.js-ready .infra-block.visible .branches-flow .branches-link,
  html.js-ready .infra-block.visible .branches-node,
  html.js-ready .branches-flow .branches-link { animation: none !important; transform: none !important; }
  .hero-seq, .iraq-map-fill, .iraq-map-stroke, .iraq-map-stroke-glow, .iraq-map-aura, .iraq-link,
  .iraq-city, .iraq-packet, .iraq-map-caption, .hero-backdrop,
  html.js-ready .phone-showcase .mobile-screenshot:not([hidden]) { opacity: 1 !important; filter: none !important; transform: none !important; }
  .iraq-map-stroke, .iraq-map-stroke-glow { stroke-dashoffset: 0 !important; }
  .hero-rotate-word { position: static; opacity: 1; }
  .hero-rotate-wrap { height: auto; }
  .hero-rotate-word:not(:first-child) { display: none; }
  .whats-new-card:hover, .free-app-card:hover { transform: none; }
  .faq-answer { transition: none; }
  .iraq-map-particles { display: none; }
}

/* ═══════════════ Splash screen ═══════════════ */
html.splash-active { overflow: hidden; }
.splash {
  position: fixed; inset: 0; z-index: 10000;
  display: none; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, rgba(21, 101, 192, 0.28), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(0, 172, 193, 0.14), transparent 70%),
    linear-gradient(180deg, #071224 0%, #061120 55%, #040c18 100%);
  color: #fff; overflow: hidden; cursor: pointer;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1), visibility 0s linear 0.7s;
}
html.splash-active .splash, .splash.splash-exit { display: flex; }
.splash.splash-exit { opacity: 0; transform: scale(1.04); visibility: hidden; pointer-events: none; }
.splash.splash-hidden { display: none !important; }

.splash-bg { position: absolute; inset: 0; pointer-events: none; }
.splash-orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0;
  animation: splashOrbIn 1.4s ease-out forwards, splashOrbDrift 9s ease-in-out 1.4s infinite alternate;
}
.splash-orb-1 { width: 46vmax; height: 46vmax; left: -8vmax; top: -12vmax; background: rgba(21, 101, 192, 0.42); }
.splash-orb-2 { width: 40vmax; height: 40vmax; right: -10vmax; bottom: -14vmax; background: rgba(0, 172, 193, 0.30); animation-delay: 0.2s, 1.6s; }
@keyframes splashOrbIn { to { opacity: 1; } }
@keyframes splashOrbDrift { to { transform: translate(5vmax, 4vmax) scale(1.08); } }
.splash-grid {
  position: absolute; inset: 0; opacity: 0;
  background-image:
    linear-gradient(rgba(144, 202, 249, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(144, 202, 249, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 20%, transparent 75%);
  animation: splashGridIn 1.6s ease-out 0.3s forwards;
}
@keyframes splashGridIn { to { opacity: 1; } }

.splash-center {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 24px;
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(.4,0,.2,1);
}
.splash-exit .splash-center { opacity: 0; transform: translateY(-14px) scale(0.96); }

.splash-logo-wrap { position: relative; width: 168px; height: 168px; display: grid; place-items: center; margin-bottom: 22px; }
.splash-logo {
  position: relative; z-index: 2; width: 118px; height: 118px; object-fit: contain;
  opacity: 0; transform: scale(0.55) translateY(10px);
  will-change: transform, opacity, filter;
  filter: blur(12px) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}
.splash-run .splash-logo {
  animation:
    splashLogoIn 0.95s cubic-bezier(.2,.85,.25,1.15) 0.15s forwards,
    splashBreathe 3.2s ease-in-out 1.15s infinite;
}
@keyframes splashLogoIn {
  60% { filter: blur(0) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)); }
  to { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)); }
}
@keyframes splashBreathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.025); }
}
.splash-halo {
  position: absolute; inset: -12px; border-radius: 50%; z-index: 0; opacity: 0;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.38) 0%, rgba(21, 101, 192, 0.18) 42%, transparent 70%);
  filter: blur(6px); transform: scale(0.5);
}
.splash-run .splash-halo {
  animation: splashHaloIn 1s ease-out 0.3s forwards, splashHaloPulse 3.2s ease-in-out 1.3s infinite;
}
@keyframes splashHaloIn { to { opacity: 1; transform: scale(1); } }
@keyframes splashHaloPulse { 0%, 100% { opacity: 0.85; } 50% { opacity: 1; transform: scale(1.06); } }
.splash-ring {
  position: absolute; inset: 14px; border-radius: 50%; z-index: 1; opacity: 0;
  border: 1.5px solid rgba(144, 202, 249, 0.55);
}
.splash-run .splash-ring-1 { animation: splashRipple 2.1s cubic-bezier(.2,.6,.3,1) 0.55s infinite; }
.splash-run .splash-ring-2 { animation: splashRipple 2.1s cubic-bezier(.2,.6,.3,1) 1.25s infinite; }
@keyframes splashRipple {
  0% { transform: scale(0.6); opacity: 0.85; }
  100% { transform: scale(1.65); opacity: 0; }
}
.splash-orbit {
  position: absolute; inset: 0; border-radius: 50%; z-index: 1; opacity: 0;
  background: conic-gradient(from 0deg, transparent 0 62%, rgba(79, 195, 247, 0.15) 76%, rgba(144, 202, 249, 0.95) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
}
.splash-orbit i {
  position: absolute; top: -3px; left: calc(50% - 4px); width: 8px; height: 8px; border-radius: 50%;
  background: #e3f2fd; box-shadow: 0 0 12px 3px rgba(79, 195, 247, 0.8);
}
.splash-run .splash-orbit { animation: splashOrbitIn 0.6s ease-out 0.7s forwards, splashSpin 2.4s linear 0.7s infinite; }
@keyframes splashOrbitIn { to { opacity: 1; } }
@keyframes splashSpin { to { transform: rotate(360deg); } }

.splash-brand {
  font-family: 'Cairo', 'Manrope', sans-serif; font-weight: 800; font-size: 3rem; line-height: 1.1; letter-spacing: -0.01em;
  background: linear-gradient(120deg, #e3f2fd 0%, #90caf9 55%, #4fc3f7 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(18px); filter: blur(6px);
}
.splash-run .splash-brand { animation: splashTextIn 0.8s cubic-bezier(.22,.8,.24,1) 0.8s forwards; }
.splash-tagline {
  margin-top: 8px; font-size: 1rem; font-weight: 600; color: rgba(227, 242, 253, 0.72); letter-spacing: 0.02em;
  opacity: 0; transform: translateY(14px); filter: blur(5px);
}
.splash-run .splash-tagline { animation: splashTextIn 0.8s cubic-bezier(.22,.8,.24,1) 1.05s forwards; }
@keyframes splashTextIn { to { opacity: 1; transform: none; filter: blur(0); } }

.splash-progress {
  width: 168px; height: 2px; margin-top: 30px; border-radius: 2px; overflow: hidden;
  background: rgba(144, 202, 249, 0.14); opacity: 0;
}
.splash-run .splash-progress { animation: splashOrbitIn 0.4s ease-out 1.1s forwards; }
.splash-progress span {
  display: block; height: 100%; width: 0; border-radius: 2px;
  background: linear-gradient(90deg, #1565c0, #4fc3f7, #e3f2fd);
  box-shadow: 0 0 10px rgba(79, 195, 247, 0.7);
}
.splash-run .splash-progress span { animation: splashProgress 1.45s cubic-bezier(.4,0,.2,1) 1.15s forwards; }
@keyframes splashProgress { to { width: 100%; } }

@media (max-width: 600px) {
  .splash-logo-wrap { width: 140px; height: 140px; }
  .splash-logo { width: 98px; height: 98px; }
  .splash-brand { font-size: 2.5rem; }
  .splash-tagline { font-size: 0.92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .splash, .splash-center { transition-duration: 0.15s; }
  .splash-orb, .splash-grid, .splash-ring, .splash-orbit, .splash-halo,
  .splash-logo, .splash-brand, .splash-tagline, .splash-progress, .splash-progress span,
  .splash-run .splash-logo, .splash-run .splash-brand, .splash-run .splash-tagline,
  .splash-run .splash-halo, .splash-run .splash-orbit, .splash-run .splash-progress,
  .splash-run .splash-ring-1, .splash-run .splash-ring-2, .splash-run .splash-progress span { animation: none !important; }
  .splash-logo, .splash-brand, .splash-tagline, .splash-halo, .splash-orb, .splash-grid { opacity: 1; transform: none; filter: none; }
  .splash-ring, .splash-orbit, .splash-progress { display: none; }
}
