/* ========================================================================
   OutWhatsApp — صفحة هبوط تسويقية (لايت مود، RTL)
   نظام تصميم مبني على توصيات ui-ux-pro-max: Social Proof + Plus Jakarta Sans
   ======================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
:root {
  --bg: #ffffff;
  --bg-soft: #f4f9f6;        /* أخضر فاتح جداً */
  --bg-mint: #ecfdf5;
  --surface: #ffffff;
  --border: #e4ebe7;
  --border-strong: #d3ddd7;
  --text: #0f1b16;
  --text-2: #51635b;
  --muted: #8a9a92;
  --accent: #16a34a;          /* أخضر واتساب أعمق (تباين أعلى على الأبيض) */
  --accent-2: #25d366;
  --accent-ink: #064e2b;
  --star: #f59e0b;
  --r: 14px; --r-lg: 20px; --r-xl: 28px; --r-full: 999px;
  --sh-sm: 0 1px 3px rgba(16,40,28,.06), 0 1px 2px rgba(16,40,28,.04);
  --sh: 0 8px 24px rgba(16,40,28,.08);
  --sh-lg: 0 24px 60px rgba(16,40,28,.14);
  --sh-green: 0 14px 34px rgba(22,163,74,.28);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--text);
  font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, Tahoma, sans-serif;
  line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }

/* أزرار */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
  padding: 12px 24px; border-radius: var(--r-full); border: 1.5px solid transparent;
  transition: transform .18s, box-shadow .18s, background .18s, border-color .18s; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: var(--sh-green); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(22,163,74,.4); }
.btn-ghost { background: #fff; border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.lg { padding: 15px 34px; font-size: 16px; }
.full { width: 100%; }

/* ===== الشريط العلوي ===== */
.nav {
  position: sticky; top: 0; z-index: 100; display: flex; align-items: center; gap: 28px;
  padding: 14px 6vw; transition: background .3s, box-shadow .3s; background: rgba(255,255,255,.7); backdrop-filter: blur(10px);
}
.nav.scrolled { background: rgba(255,255,255,.92); box-shadow: var(--sh-sm); }
.brand { display: flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 800; letter-spacing: -.4px; }
.brand b { color: var(--accent); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: var(--sh-sm); }
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; }
.nav-links a { color: var(--text-2); font-weight: 600; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: flex; gap: 10px; }
.nav-burger { display: none; background: none; border: 0; color: var(--text); font-size: 24px; cursor: pointer; margin-inline-start: auto; }

/* ===== البطل ===== */
.hero { position: relative; padding: 60px 6vw 88px; background:
  radial-gradient(1000px 520px at 88% -10%, var(--bg-mint), transparent 60%),
  radial-gradient(760px 480px at 4% 110%, #eefaf3, transparent 55%); overflow: hidden; }
/* كرات ضوئية ناعمة للعمق */
.hero-orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.o1 { width: 320px; height: 320px; background: #a7f3d0; top: -80px; right: 6%; animation: drift 14s ease-in-out infinite; }
.o2 { width: 260px; height: 260px; background: #bbf7d0; bottom: -60px; right: 38%; animation: drift 18s ease-in-out infinite reverse; }
.o3 { width: 220px; height: 220px; background: #d1fae5; top: 30%; left: -40px; animation: drift 16s ease-in-out infinite; }
@keyframes drift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-24px, 24px); } }
.hero-inner { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.play { width: 16px; height: 16px; fill: currentColor; }
/* صف الثقة */
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.trust-avs { display: flex; }
.trust-avs span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent)); border: 2px solid #fff; margin-inline-start: -10px; box-shadow: var(--sh-sm); }
.trust-avs span:first-child { margin-inline-start: 0; }
.trust-txt .stars-sm { color: var(--star); font-size: 14px; letter-spacing: 1px; }
.trust-txt span { color: var(--text-2); font-size: 13.5px; font-weight: 600; }
.pill {
  display: inline-flex; align-items: center; gap: 9px; background: var(--bg-mint); color: var(--accent);
  border: 1px solid #c9efd9; padding: 8px 18px; border-radius: var(--r-full); font-size: 14px; font-weight: 700; margin-bottom: 22px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(37,211,102,.6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 8px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.hero-copy h1 { font-size: 52px; line-height: 1.14; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 20px; }
.grad { background: linear-gradient(110deg, var(--accent) 20%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--text-2); max-width: 560px; margin-bottom: 30px; }
.lead b { color: var(--text); font-weight: 700; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.ticks { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; }
.ticks li { display: flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 14px; font-weight: 600; }
.tick { width: 18px; height: 18px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* موك الهاتف */
.hero-phone { position: relative; display: flex; justify-content: center; }
.phone { width: 340px; max-width: 88vw; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 30px; overflow: hidden; box-shadow: var(--sh-lg); animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.phone-top { display: flex; align-items: center; gap: 11px; padding: 16px 18px; background: linear-gradient(135deg, var(--accent), #0c8a3e); color: #fff; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.pname { font-weight: 700; font-size: 15px; }
.pstat { font-size: 12px; opacity: .9; display: flex; align-items: center; gap: 5px; }
.online { width: 7px; height: 7px; border-radius: 50%; background: #b9f6ca; }
.phone-body { padding: 18px; display: flex; flex-direction: column; gap: 11px; min-height: 320px; background-image: radial-gradient(rgba(16,40,28,.03) 1px, transparent 1px); background-size: 18px 18px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.6; opacity: 0; animation: pop .5s ease-out forwards; box-shadow: var(--sh-sm); }
.msg.in { background: #fff; color: var(--text); align-self: flex-start; border-bottom-right-radius: 5px; }
.msg.out { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; align-self: flex-end; border-bottom-left-radius: 5px; font-weight: 500; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
.float-badge { position: absolute; background: #fff; border: 1px solid var(--border); padding: 10px 15px; border-radius: var(--r-full); font-weight: 700; font-size: 13px; box-shadow: var(--sh); display: flex; align-items: center; gap: 7px; animation: floaty 4s ease-in-out infinite; }
.float-badge .fbi { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.8; }
.fb1 { top: 16%; right: -5%; color: var(--accent); animation-delay: .5s; }
.fb2 { bottom: 14%; left: -4%; color: var(--accent); animation-delay: 1.5s; }

/* ===== إحصائيات ===== */
.stats { max-width: 1100px; margin: -40px auto 0; padding: 0 6vw 70px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; z-index: 2; }
.stat { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 16px; box-shadow: var(--sh-sm); }
.s-num { font-size: 34px; font-weight: 800; color: var(--accent); letter-spacing: -1px; }
.s-lbl { color: var(--text-2); font-size: 14px; margin-top: 6px; font-weight: 500; }

/* ===== عناوين الأقسام ===== */
.eyebrow { text-align: center; color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: .5px; margin-bottom: 10px; }
.sec-title { text-align: center; font-size: 38px; font-weight: 800; letter-spacing: -1px; margin-bottom: 10px; color: var(--text); }
.sec-sub { text-align: center; color: var(--text-2); font-size: 17px; margin-bottom: 44px; max-width: 600px; margin-inline: auto; }

/* ===== القطاعات ===== */
.sectors { padding: 84px 6vw; }
.sector-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 980px; margin: 0 auto; }
.sec-chip { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-full); padding: 12px 22px; font-weight: 600; font-size: 15px; color: var(--text); box-shadow: var(--sh-sm); transition: transform .18s, border-color .18s, box-shadow .18s; }
.sec-chip:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--sh); }
.sec-emo { font-size: 18px; }

/* ===== المميزات ===== */
.features { padding: 84px 6vw; max-width: 1240px; margin: 0 auto; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 22px; box-shadow: var(--sh-sm); transition: transform .22s, border-color .22s, box-shadow .22s; }
.feat:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: var(--sh); }
.feat-ic { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px; display: grid; place-items: center; color: var(--accent); background: var(--bg-mint); }
.feat-ic svg { width: 26px; height: 26px; }
.feat h3 { font-size: 17.5px; margin-bottom: 8px; }
.feat p { color: var(--text-2); font-size: 14.5px; }

/* ===== كيف يعمل ===== */
.how { padding: 84px 6vw; background: var(--bg-soft); }
.steps { display: flex; align-items: flex-start; justify-content: center; max-width: 1000px; margin: 0 auto; }
.step { flex: 1; text-align: center; padding: 0 20px; max-width: 300px; }
.step-n { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-size: 26px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-shadow: var(--sh-green); }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--text-2); }
.step-line { flex: 0 0 60px; height: 2px; background: linear-gradient(90deg, var(--accent), transparent); margin-top: 32px; }

/* ===== آراء العملاء ===== */
.testimonials { padding: 84px 6vw; max-width: 1200px; margin: 0 auto; }
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tst { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-sm); transition: transform .22s, box-shadow .22s; }
.tst:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.tst .stars { color: var(--star); font-size: 17px; letter-spacing: 2px; margin-bottom: 12px; }
.tst blockquote { font-size: 15.5px; line-height: 1.8; color: var(--text); margin-bottom: 18px; }
.tst figcaption { display: flex; align-items: center; gap: 12px; }
.tst-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.tst figcaption b { display: block; font-size: 15px; }
.tst figcaption span { color: var(--muted); font-size: 13px; }

/* ===== الأسعار ===== */
.pricing { padding: 84px 6vw; max-width: 1100px; margin: 0 auto; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px 28px; display: flex; flex-direction: column; position: relative; box-shadow: var(--sh-sm); transition: transform .22s, box-shadow .22s; }
.price:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.price.feat { border: 2px solid var(--accent); box-shadow: var(--sh-green); transform: scale(1.04); }
.price.feat:hover { transform: scale(1.04) translateY(-5px); }
.ribbon { position: absolute; top: -14px; right: 26px; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 16px; border-radius: var(--r-full); box-shadow: var(--sh-sm); }
.price h3 { font-size: 19px; margin-bottom: 8px; }
.amount { font-size: 38px; font-weight: 800; color: var(--accent); letter-spacing: -1px; }
.amount span { font-size: 14px; color: var(--muted); font-weight: 600; }
.per { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 12px; flex: 1; margin-bottom: 26px; }
.price li { color: var(--text-2); font-size: 14.5px; padding-inline-start: 26px; position: relative; }
.price li::before { content: ''; position: absolute; right: 0; top: 7px; width: 16px; height: 16px; background: var(--bg-mint); border-radius: 50%; }
.price li::after { content: '✓'; position: absolute; right: 4px; top: 2px; color: var(--accent); font-size: 11px; font-weight: 800; }

/* ===== نداء أخير ===== */
.cta-final { padding: 84px 6vw; }
.cta-card { max-width: 940px; margin: 0 auto; text-align: center; border-radius: var(--r-xl); padding: 64px 40px; background: linear-gradient(135deg, var(--accent), #0c8a3e); color: #fff; box-shadow: var(--sh-green); }
.cta-card h2 { font-size: 34px; font-weight: 800; letter-spacing: -.8px; margin-bottom: 14px; color: #fff; }
.cta-card p { color: rgba(255,255,255,.92); font-size: 18px; margin-bottom: 28px; }
.cta-card .btn-primary { background: #fff; color: var(--accent); box-shadow: 0 14px 34px rgba(0,0,0,.18); }
.cta-card .btn-primary:hover { background: #f0fdf4; }
.cta-fine { font-size: 13px !important; margin: 16px 0 0 !important; opacity: .85; }

/* ===== التذييل ===== */
.footer { text-align: center; padding: 44px 6vw; border-top: 1px solid var(--border); color: var(--muted); }
.footer .brand { justify-content: center; margin-bottom: 12px; font-size: 18px; }
.footer p { font-size: 13px; }

/* ===== ظهور تدريجي ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ===== استجابة ===== */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-copy h1 { font-size: 40px; } .lead { margin-inline: auto; } .hero-actions, .ticks { justify-content: center; }
  .hero-phone { order: -1; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .tst-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { flex-direction: column; align-items: center; gap: 28px; } .step-line { display: none; }
  .price-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } .price.feat { transform: none; } .price.feat:hover { transform: translateY(-5px); }
  .sec-title { font-size: 30px; }
  .nav-links, .nav-cta { display: none; } .nav-burger { display: block; }
  .nav.open { flex-wrap: wrap; } .nav.open .nav-links { display: flex; flex-direction: column; gap: 12px; width: 100%; order: 3; padding-top: 14px; }
  .nav.open .nav-cta { display: flex; width: 100%; order: 4; } .nav.open .nav-cta a { flex: 1; }
}
@media (max-width: 520px) {
  .feat-grid { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); }
  .hero-copy h1 { font-size: 32px; } .sec-title { font-size: 25px; } .float-badge { display: none; }
  .cta-card h2 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .phone, .float-badge, .msg, .pulse { animation: none; opacity: 1; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
