/* ==============================================================
   ATHAR SITE — أثر سايت
   Arabic-first marketing site · navy + gold · v2
   ============================================================== */

:root {
  /* Surfaces */
  --bg:           #0B1626;
  --bg-2:         #0F1B2D;
  --bg-3:         #152843;
  --bg-4:         #1c3253;
  --cream:        #F5F1E8;

  /* Ink */
  --ink:          #FFFFFF;
  --ink-2:        rgba(255, 255, 255, 0.78);
  --ink-3:        rgba(255, 255, 255, 0.55);
  --ink-4:        rgba(255, 255, 255, 0.30);
  --ink-5:        rgba(255, 255, 255, 0.12);

  /* Brand gold (primary accent) */
  --gold:         #D4AF37;
  --gold-hi:      #F0D178;
  --gold-lo:      #A8853E;
  --gold-glow:    rgba(212, 175, 55, 0.32);
  --gold-fade:    rgba(212, 175, 55, 0.14);

  /* Brand blue (logo dots, secondary) */
  --blue:         #7CA3DE;
  --blue-hi:      #A8C4EE;
  --blue-glow:    rgba(124, 163, 222, 0.28);

  /* Functional */
  --wa:           #25D366;
  --wa-hi:        #46e07a;
  --danger:       #ff6b6b;

  /* Glass */
  --glass:        rgba(255, 255, 255, 0.04);
  --glass-2:      rgba(255, 255, 255, 0.07);
  --glass-brd:    rgba(255, 255, 255, 0.08);
  --glass-brd-2:  rgba(212, 175, 55, 0.18);

  /* Type — slimmed to 3 families (Cairo, Tajawal, Inter). Cairo covers Latin display too. */
  --f-ar-display: "Cairo", "Tajawal", system-ui, sans-serif;
  --f-ar:         "Tajawal", "Cairo", system-ui, sans-serif;
  --f-en-display: "Cairo", "Inter", system-ui, sans-serif;
  --f-en:         "Inter", "Cairo", system-ui, sans-serif;
  --f-mono:       ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Layout */
  --container:    1240px;
  --r-sm:         10px;
  --r:            14px;
  --r-lg:         22px;
  --r-xl:         28px;
  --r-2xl:        36px;

  /* Motion */
  --ease:         cubic-bezier(.2, .7, .2, 1);
  --ease-out:     cubic-bezier(.16, 1, .3, 1);
  --ease-spring:  cubic-bezier(.34, 1.56, .64, 1);
}

/* ----------- Reset ----------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-ar);
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
html[lang="en"] body { font-family: var(--f-en); }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--bg); }

/* ----------- Ambient backdrop ----------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 700px at 18% 10%, color-mix(in oklab, var(--gold) 14%, transparent), transparent 60%),
    radial-gradient(700px 600px at 90% 20%, color-mix(in oklab, var(--blue) 11%, transparent), transparent 60%),
    radial-gradient(1000px 700px at 50% 110%, color-mix(in oklab, var(--gold-lo) 12%, transparent), transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: ambient 26s ease-in-out infinite alternate;
}
@keyframes ambient {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2%, 1%, 0) scale(1.06); }
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* ----------- Layout ----------- */
.container {
  width: min(100% - 36px, var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}
section {
  position: relative;
  z-index: 1;
  padding: 110px 0;
}
section.tight { padding: 70px 0; }

[dir="rtl"] { font-family: var(--f-ar); }
[dir="ltr"] { font-family: var(--f-en); }

/* ==============================================================
   NAVIGATION
   ============================================================== */
.nav {
  position: fixed;
  inset: 14px 14px auto 14px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(11, 22, 38, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-brd);
  max-width: calc(var(--container) + 36px);
  margin: 0 auto;
  transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease);
}
.nav.scrolled {
  background: rgba(11, 22, 38, 0.88);
  border-color: var(--glass-brd-2);
  padding: 8px 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-ar-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: .2px;
  color: var(--ink);
}
.brand-logo {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--glass-brd-2);
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.4), 0 0 0 1px rgba(212,175,55,.08) inset;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .sub {
  font-family: var(--f-en-display);
  font-size: 9.5px;
  letter-spacing: 3.5px;
  color: var(--gold);
  margin-top: 2px;
  font-weight: 600;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 0; margin: 0;
}
.nav-links a {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: var(--glass-2); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-toggle {
  display: inline-flex;
  background: var(--glass-2);
  border: 1px solid var(--glass-brd);
  border-radius: 999px;
  padding: 3px;
}
.lang-toggle button {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: .4px;
  transition: all .25s var(--ease);
}
.lang-toggle button.is-on {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo));
  color: var(--bg);
  box-shadow: 0 2px 10px var(--gold-glow);
}

.nav-burger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--glass-2);
  border: 1px solid var(--glass-brd);
  align-items: center; justify-content: center;
}
.nav-burger svg { width: 20px; height: 20px; color: var(--ink); }

.mobile-drawer {
  position: fixed;
  inset: 80px 14px auto 14px;
  z-index: 99;
  background: rgba(11,22,38,.96);
  border: 1px solid var(--glass-brd-2);
  border-radius: var(--r-lg);
  padding: 18px;
  transform: translateY(-12px);
  opacity: 0; pointer-events: none;
  transition: all .3s var(--ease);
  backdrop-filter: blur(20px);
}
.mobile-drawer.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-drawer ul { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer a { display: block; padding: 12px 14px; border-radius: var(--r-sm); font-weight: 500; }
.mobile-drawer a:hover { background: var(--glass-2); }

/* ==============================================================
   BUTTONS
   ============================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .2px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-sm { padding: 10px 17px; font-size: 13.5px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  color: var(--bg);
  box-shadow: 0 10px 30px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.5); }

.btn-wa {
  background: linear-gradient(135deg, var(--wa-hi), var(--wa));
  color: #053b1c;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(37, 211, 102, .5); }

.btn-ghost {
  background: var(--glass-2);
  color: var(--ink);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.10); border-color: var(--glass-brd-2); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn-outline:hover { background: var(--gold-fade); }

/* ==============================================================
   HEADINGS / SECTION HEADERS
   ============================================================== */
h1, h2, h3, h4, h5 { font-family: var(--f-ar-display); font-weight: 800; margin: 0; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3, html[lang="en"] h4 { font-family: var(--f-en-display); }
p { margin: 0; }

.h-display {
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.05;
  letter-spacing: -.02em;
  font-weight: 900;
}
.h-section {
  font-size: clamp(28px, 4.2vw, 50px);
  line-height: 1.1;
  letter-spacing: -.015em;
  font-weight: 800;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--gold-fade);
  border: 1px solid var(--glass-brd-2);
  color: var(--gold-hi);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .4px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold-glow);
  animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 var(--gold-glow); }
  50% { box-shadow: 0 0 0 8px transparent; }
}

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.sec-head .lead { max-width: 700px; }
.sec-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--gold-fade);
}
.sec-head p {
  color: var(--ink-2);
  font-size: 16.5px;
  margin-top: 18px;
  line-height: 1.7;
}

.accent-gold { color: var(--gold); }
.accent-blue { color: var(--blue-hi); }
.handwrite {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==============================================================
   HERO
   ============================================================== */
.hero {
  padding: 150px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg svg { width: 100%; height: 100%; }
.hero-aurora {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(40% 35% at 20% 30%, var(--gold-glow), transparent 60%),
    radial-gradient(45% 40% at 80% 20%, var(--blue-glow), transparent 65%),
    radial-gradient(50% 40% at 50% 90%, rgba(212,175,55,.18), transparent 65%);
  filter: blur(40px);
  animation: aurora 18s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(0,0,0) scale(1) rotate(0deg); }
  100% { transform: translate3d(3%, -2%, 0) scale(1.1) rotate(2deg); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-h1 .row {
  display: block;
}
.hero-h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: wordIn .9s var(--ease-out) forwards;
}
.hero-h1 .word:nth-child(1) { animation-delay: .05s; }
.hero-h1 .word:nth-child(2) { animation-delay: .15s; }
.hero-h1 .word:nth-child(3) { animation-delay: .25s; }
.hero-h1 .word:nth-child(4) { animation-delay: .35s; }
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  color: var(--ink-2);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  margin-top: 26px;
  max-width: 560px;
}

.price-flag {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 22px;
  margin-top: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(212,175,55,.16), rgba(212,175,55,.06));
  border: 1px solid var(--glass-brd-2);
  font-family: var(--f-ar-display);
}
.price-flag .num {
  font-size: 30px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.01em;
}
.price-flag .ccy { color: var(--gold); font-weight: 700; font-size: 16px; }
.price-flag .per { color: var(--ink-3); font-size: 13.5px; font-weight: 500; }
.price-flag .strike { color: var(--ink-3); text-decoration: line-through; font-size: 14px; margin-inline-start: 6px; }

.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-brd);
}
.hero-stat .v {
  font-family: var(--f-ar-display);
  font-size: 30px;
  font-weight: 900;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1;
}
.hero-stat .v small {
  font-size: 16px;
  color: var(--gold);
  font-weight: 700;
}
.hero-stat .l {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 6px;
  font-weight: 500;
  letter-spacing: .2px;
}

/* Hero mockup card */
.hero-mockup {
  position: relative;
  perspective: 1600px;
}
.mockup {
  background: linear-gradient(160deg, var(--bg-3) 0%, var(--bg-2) 100%);
  border: 1px solid var(--glass-brd-2);
  border-radius: var(--r-xl);
  padding: 18px;
  position: relative;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,.6),
    0 0 0 1px rgba(212,175,55,.08) inset,
    0 0 80px var(--gold-fade);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.mockup:hover { transform: rotateY(-2deg) rotateX(1deg) translateY(-4px); }
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 14px;
  border-bottom: 1px solid var(--glass-brd);
  margin-bottom: 14px;
}
.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255,255,255,.18);
}
.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #febc2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }
.mockup-url {
  flex: 1;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  text-align: center;
  background: var(--glass-2);
  padding: 6px 12px;
  border-radius: 999px;
}
.mockup-url .lock { color: var(--gold); margin-inline-end: 6px; }

/* Mockup content — a tiny in-app preview of a "client site" */
.mp-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  background: linear-gradient(135deg, var(--bg-4), var(--bg-3));
  border-radius: var(--r);
  margin-bottom: 14px;
}
.mp-hero h4 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}
.mp-hero h4 .gold { color: var(--gold); }
.mp-hero .mp-cta {
  background: var(--gold);
  color: var(--bg);
  font-weight: 800;
  font-size: 11.5px;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.mp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}
.mp-tile {
  padding: 12px 10px;
  background: var(--glass-2);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-sm);
  font-size: 11px;
  color: var(--ink-3);
  text-align: center;
}
.mp-tile .ic { font-size: 18px; margin-bottom: 4px; }
.mp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mp-stat {
  padding: 10px;
  background: rgba(212,175,55,.07);
  border: 1px solid var(--glass-brd-2);
  border-radius: var(--r-sm);
  text-align: center;
}
.mp-stat .v {
  font-family: var(--f-ar-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--gold);
}
.mp-stat .l { font-size: 10px; color: var(--ink-3); margin-top: 2px; }

/* Floating WhatsApp toast on the mockup */
.toast-wa {
  position: absolute;
  inset-block-end: -22px;
  inset-inline-start: -22px;
  background: linear-gradient(135deg, var(--wa-hi), var(--wa));
  color: #053b1c;
  padding: 12px 16px;
  border-radius: var(--r-lg);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 18px 40px rgba(37,211,102,.4);
  animation: floatY 4s ease-in-out infinite alternate;
}
.toast-wa .av {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  display: grid; place-items: center;
}
.toast-wa .av svg { width: 18px; height: 18px; color: #053b1c; }
@keyframes floatY { 0%{transform:translateY(0)} 100%{transform:translateY(-8px)} }

.badge-24h {
  position: absolute;
  inset-block-start: -18px;
  inset-inline-end: -18px;
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo));
  color: var(--bg);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--f-ar-display);
  font-weight: 900;
  font-size: 11px;
  line-height: 1.2;
  box-shadow: 0 18px 40px var(--gold-glow);
  animation: spin 18s linear infinite;
}
.badge-24h span {
  display: block;
  animation: spin 18s linear infinite reverse;
}
.badge-24h .big {
  font-size: 20px;
  color: var(--bg);
  margin-bottom: 2px;
}
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ==============================================================
   TRUST STRIP
   ============================================================== */
.trust-strip {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.trust-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  transition: all .3s var(--ease);
}
.trust-card:hover {
  background: var(--glass-2);
  border-color: var(--glass-brd-2);
  transform: translateY(-2px);
}
.trust-card .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-fade), rgba(212,175,55,.04));
  border: 1px solid var(--glass-brd-2);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.trust-card .ic svg { width: 22px; height: 22px; color: var(--gold); }
.trust-card .t { font-weight: 800; font-size: 14.5px; color: var(--ink); }
.trust-card .s { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

/* ==============================================================
   INCLUDED PACKAGE — 6 cards
   ============================================================== */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pkg-card {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: all .35s var(--ease);
}
.pkg-card::before {
  content: "";
  position: absolute;
  top: 0; inset-inline-end: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle, var(--gold-fade), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.pkg-card:hover {
  background: var(--glass-2);
  border-color: var(--glass-brd-2);
  transform: translateY(-4px);
}
.pkg-card:hover::before { opacity: 1; }

.pkg-card .num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.pkg-card .ic {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lo));
  color: var(--bg);
  display: grid; place-items: center;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px var(--gold-glow);
}
.pkg-card .ic svg { width: 26px; height: 26px; }
.pkg-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 8px;
}
.pkg-card p {
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.65;
}
.pkg-card .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 211, 102, .12);
  color: var(--wa-hi);
  font-size: 11.5px;
  font-weight: 700;
}

/* ==============================================================
   HOW IT WORKS — 3 steps
   ============================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  inset-block-start: 60px;
  inset-inline-start: 12%;
  inset-inline-end: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-fade), var(--glass-brd-2), var(--gold-fade), transparent);
  z-index: 0;
}
.step {
  background: var(--bg-2);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-xl);
  padding: 36px 28px 30px;
  position: relative;
  z-index: 1;
  text-align: center;
  transition: all .35s var(--ease);
}
.step:hover { border-color: var(--glass-brd-2); transform: translateY(-4px); }
.step .num {
  width: 70px; height: 70px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo));
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--f-ar-display);
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 12px 30px var(--gold-glow), inset 0 1px 0 rgba(255,255,255,.4);
}
.step h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 12px;
}
.step p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}
.step .ic {
  width: 32px; height: 32px;
  margin: 18px auto 0;
  color: var(--gold);
}

/* ==============================================================
   COMPARISON
   ============================================================== */
.cmp {
  background: var(--bg-2);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
}
.cmp-row {
  display: contents;
}
.cmp-row > div {
  padding: 18px 22px;
  border-bottom: 1px solid var(--glass-brd);
  display: flex;
  align-items: center;
  font-size: 14.5px;
  color: var(--ink-2);
}
.cmp-row:last-child > div { border-bottom: 0; }
.cmp-row.head > div {
  font-family: var(--f-ar-display);
  font-weight: 800;
  font-size: 15.5px;
  padding-block: 24px;
  background: rgba(255,255,255,.02);
  color: var(--ink);
}
.cmp-row.head .cmp-athar {
  background: linear-gradient(135deg, var(--gold-fade), transparent);
  color: var(--gold);
  position: relative;
}
.cmp-row.head .cmp-athar::after {
  content: "الأفضل";
  position: absolute;
  inset-block-start: 8px;
  inset-inline-end: 14px;
  font-size: 9.5px;
  background: var(--gold);
  color: var(--bg);
  padding: 3px 7px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 1px;
}
html[lang="en"] .cmp-row.head .cmp-athar::after { content: "BEST"; }
.cmp-row .cmp-athar {
  background: rgba(212,175,55,.04);
  color: var(--ink);
  font-weight: 600;
}
.cmp-row .cmp-label {
  color: var(--ink);
  font-weight: 700;
  font-family: var(--f-ar-display);
}
.cmp-check, .cmp-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  margin-inline-end: 10px;
  flex-shrink: 0;
}
.cmp-check { background: rgba(37,211,102,.18); color: var(--wa-hi); }
.cmp-x { background: rgba(255,107,107,.16); color: var(--danger); }
.cmp-check svg, .cmp-x svg { width: 12px; height: 12px; }

/* ==============================================================
   INDUSTRIES
   ============================================================== */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ind {
  position: relative;
  padding: 28px 22px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all .35s var(--ease);
}
.ind:hover {
  background: var(--glass-2);
  border-color: var(--glass-brd-2);
  transform: translateY(-3px);
}
.ind .glyph {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 4px 8px var(--gold-fade));
}
.ind h4 { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.ind p { font-size: 13px; color: var(--ink-3); line-height: 1.55; }

/* ==============================================================
   PRICING
   ============================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price {
  background: var(--bg-2);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-2xl);
  padding: 36px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all .35s var(--ease);
}
.price:hover { transform: translateY(-4px); border-color: var(--glass-brd-2); }
.price.featured {
  background: linear-gradient(180deg, rgba(212,175,55,.10), var(--bg-2) 60%);
  border-color: var(--gold);
  transform: scale(1.03);
  box-shadow: 0 30px 60px -20px var(--gold-glow);
}
.price.featured:hover { transform: scale(1.03) translateY(-4px); }
.price .ribbon {
  position: absolute;
  inset-block-start: -14px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo));
  color: var(--bg);
  font-weight: 900;
  font-size: 11.5px;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 1.5px;
  box-shadow: 0 8px 20px var(--gold-glow);
}
[dir="rtl"] .price .ribbon { transform: translateX(50%); }
.price h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.price .tagline {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-bottom: 24px;
}
.price .amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 26px;
}
.price .amount .v {
  font-family: var(--f-ar-display);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
}
.price.featured .amount .v {
  background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price .amount .ccy { color: var(--ink-2); font-weight: 700; font-size: 18px; }
.price .amount .per { color: var(--ink-3); font-size: 14px; margin-inline-start: 4px; }
.price ul {
  list-style: none;
  padding: 0; margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.price li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.price li .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(37,211,102,.16);
  color: var(--wa-hi);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.price li .check svg { width: 10px; height: 10px; }
.price .cta { margin-top: auto; }

/* ==============================================================
   FAQ
   ============================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 920px;
  margin: 0 auto;
}
.faq {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.faq:hover { border-color: var(--glass-brd-2); }
.faq.open { background: var(--glass-2); border-color: var(--gold-fade); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--f-ar-display);
  font-size: 16.5px;
  font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .qmark {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-fade);
  color: var(--gold);
  display: grid; place-items: center;
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.faq[open] summary .qmark {
  background: var(--gold);
  color: var(--bg);
  transform: rotate(45deg);
}
.faq .body {
  padding: 0 26px 22px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.85;
}
.faq .body p + p { margin-top: 10px; }

/* ==============================================================
   FINAL CTA
   ============================================================== */
.final-cta {
  background:
    linear-gradient(135deg, rgba(212,175,55,.18), rgba(212,175,55,.04) 50%),
    linear-gradient(160deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--gold-fade);
  border-radius: var(--r-2xl);
  padding: 70px 50px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 400px at 50% 0%, var(--gold-glow), transparent 70%),
    radial-gradient(500px 300px at 10% 100%, var(--blue-glow), transparent 70%);
  pointer-events: none;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}
.final-cta p {
  color: var(--ink-2);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.final-cta .cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.final-cta .note {
  margin-top: 24px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ==============================================================
   FOOTER
   ============================================================== */
footer {
  padding: 70px 0 36px;
  border-top: 1px solid var(--glass-brd);
  margin-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--ink-3);
  font-size: 14px;
  margin-top: 18px;
  line-height: 1.75;
  max-width: 320px;
}
footer h5 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--ink);
  font-family: var(--f-ar-display);
}
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
footer a {
  color: var(--ink-3);
  font-size: 13.5px;
  transition: color .2s var(--ease);
}
footer a:hover { color: var(--gold); }
.footer-bot {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--glass-brd);
  color: var(--ink-3);
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 12px;
}
.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--glass-2);
  border: 1px solid var(--glass-brd);
  color: var(--ink-2);
  transition: all .25s var(--ease);
}
.social-row a:hover { color: var(--gold); border-color: var(--glass-brd-2); transform: translateY(-2px); }
.social-row a svg { width: 16px; height: 16px; }

/* ==============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================== */
.float-wa {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-start: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wa-hi), var(--wa));
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.5);
  z-index: 90;
  color: #053b1c;
  transition: transform .3s var(--ease-spring);
  animation: pulseWa 2.4s ease-in-out infinite;
}
.float-wa:hover { transform: scale(1.08); }
.float-wa svg { width: 28px; height: 28px; }
@keyframes pulseWa {
  0%, 100% { box-shadow: 0 12px 30px rgba(37,211,102,.5), 0 0 0 0 rgba(37,211,102,.4); }
  50%      { box-shadow: 0 12px 30px rgba(37,211,102,.5), 0 0 0 14px rgba(37,211,102,0); }
}

/* ==============================================================
   SCROLL REVEAL
   ============================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }
[data-reveal][data-delay="5"] { transition-delay: .4s; }

/* ==============================================================
   RTL adjustments
   ============================================================== */
[dir="rtl"] .nav-burger svg { transform: scaleX(-1); }
[dir="rtl"] .mockup { transform: rotateY(4deg) rotateX(2deg); }
[dir="rtl"] .mockup:hover { transform: rotateY(2deg) rotateX(1deg) translateY(-4px); }
[dir="ltr"] .price-flag .num { direction: ltr; }

/* ==============================================================
   RESPONSIVE
   ============================================================== */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero-mockup { max-width: 540px; margin: 0 auto; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price.featured { transform: none; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .cmp { grid-template-columns: 1.4fr 1fr 1fr 1fr; font-size: 13px; }
  .cmp-row > div { padding: 14px 12px; font-size: 12.5px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  section { padding: 80px 0; }
  .hero { padding: 130px 0 60px; }
  .nav { inset: 10px 10px auto 10px; padding: 8px 12px; }
  .nav-right .btn { display: none; }
  .nav-right .lang-toggle { order: 2; }
  .pkg-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 18px; }
  .hero-stat .v { font-size: 22px; }
  .cmp {
    grid-template-columns: 1fr;
    border-radius: var(--r-lg);
  }
  .cmp-row { display: block; padding: 14px 18px; border-bottom: 1px solid var(--glass-brd); }
  .cmp-row > div { padding: 6px 0; border-bottom: 0; }
  .cmp-row.head { display: none; }
  .cmp-row > div::before {
    content: attr(data-label);
    display: inline-block;
    min-width: 130px;
    color: var(--gold);
    font-weight: 700;
    font-size: 12px;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .final-cta { padding: 50px 24px; }
  .badge-24h { width: 76px; height: 76px; font-size: 10px; }
  .toast-wa { inset-inline-start: -10px; inset-block-end: -16px; padding: 10px 12px; font-size: 12px; }
}

/* ==============================================================
   REDUCED MOTION — respect user preference
   ============================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  .hero-aurora { animation: none; }
  .hero-h1 .word { opacity: 1; transform: none; animation: none; }
  .badge-24h, .badge-24h span { animation: none; }
  .toast-wa { animation: none; }
  .eyebrow .dot { animation: none; }
  .float-wa { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .mockup { transform: none; }
  [dir="rtl"] .mockup, [dir="ltr"] .mockup { transform: none; }
}

/* ==============================================================
   LEGAL / DOC PAGES (privacy, terms, cookies)
   ============================================================== */
.legal-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 140px 0 80px;
}
.legal-wrap h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 900;
  letter-spacing: -.015em;
  margin-bottom: 10px;
}
.legal-wrap .updated {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--gold);
  background: var(--gold-fade);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
  margin-bottom: 30px;
}
.legal-wrap h2 {
  font-size: 22px;
  font-weight: 800;
  margin-top: 38px;
  margin-bottom: 12px;
  color: var(--ink);
}
.legal-wrap p, .legal-wrap li {
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.85;
}
.legal-wrap ul {
  padding-inline-start: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0 0;
}
.legal-wrap a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal-wrap a:hover { color: var(--gold-hi); }

/* Disclaimer footnote */
.fine-print {
  margin-top: 18px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.65;
  max-width: 760px;
}
.fine-print sup { color: var(--gold); font-weight: 700; }
.claim-ref {
  font-size: .65em;
  vertical-align: super;
  color: var(--gold);
  margin-inline-start: 2px;
  font-weight: 700;
}

/* Footer legal links row */
.footer-legal-links {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  color: var(--ink-3);
  font-size: 12.5px;
}
.footer-legal-links a:hover { color: var(--gold); }

/* ==============================================================
   CONTACT FORM (Web3Forms)
   ============================================================== */
.contact-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid var(--glass-brd);
  border-radius: 24px;
  padding: 38px 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.contact-head { text-align: center; margin-bottom: 26px; }
.contact-head h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.contact-head p { color: var(--ink-2); font-size: 15px; line-height: 1.7; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: .2px;
}
.field label .req { color: var(--gold); margin-inline-start: 4px; }

.field input,
.field textarea,
.field select {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--ink-5);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-4); }
.field input:hover,
.field textarea:hover,
.field select:hover { border-color: var(--ink-4); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 4px var(--gold-fade);
}
.field input:invalid:not(:placeholder-shown),
.field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(255, 107, 107, .55);
}

/* Honeypot — hidden from real users */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-submit-row {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.form-submit-row .btn { min-width: 240px; justify-content: center; }
.form-note {
  font-size: 12.5px;
  color: var(--ink-3);
  text-align: center;
}
.form-note a { color: var(--gold); }

/* Status messages */
.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  text-align: center;
  display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success {
  background: rgba(46, 204, 113, .12);
  border: 1px solid rgba(46, 204, 113, .35);
  color: #6ee7a0;
}
.form-status.is-error {
  background: rgba(255, 107, 107, .12);
  border: 1px solid rgba(255, 107, 107, .35);
  color: #ff9a9a;
}
.form-status.is-loading {
  background: rgba(212, 175, 55, .10);
  border: 1px solid var(--gold-fade);
  color: var(--gold-hi);
}

/* Or-divider between WhatsApp and form */
.or-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 480px;
  margin: 30px auto 26px;
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
}
.or-divider::before,
.or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-5), transparent);
}
