/* محسّن المنتجات — landing site. Identity: deep teal, mint, violet accents, Cairo. */
@font-face { font-family: "Cairo"; src: url("../fonts/Cairo.woff") format("woff"); font-weight: 200 1000; font-display: swap; }

:root {
  --ink: #0b2e33; --muted: #5d7377; --line: #e2ecea; --bg: #f5faf9; --card: #fff;
  --teal: #0e6467; --teal-2: #0b4a52; --deep: #08313b; --mint: #5ee7c8; --mint-soft: #e3faf3; --violet: #a78bfa; --violet-soft: #efe9ff;
  --radius: 22px; --shadow: 0 18px 50px rgba(8, 49, 59, .12); --shadow-lg: 0 40px 90px rgba(2, 24, 28, .35);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Cairo", system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.75; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; display: block; }
a { color: var(--teal); }
h1, h2, h3 { line-height: 1.3; margin: 0; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--teal); color: #fff; padding: 10px 18px; border-radius: 12px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }
em.grad { font-style: normal; background: linear-gradient(90deg, var(--mint), #b8fff0 55%, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 16px; font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--mint); color: #06323a; box-shadow: 0 12px 30px rgba(94, 231, 200, .35); }
.btn-primary:hover { box-shadow: 0 16px 38px rgba(94, 231, 200, .5); }
.btn-dark { background: var(--teal); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-outline { background: #fff; color: var(--teal); border-color: #cfe3df; }
.btn svg { flex: none; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 49, 59, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 900; font-size: 20px; }
.brand img { width: 42px; height: 42px; border-radius: 12px; }
.brand small { display: block; font-size: 11px; font-weight: 600; color: #8fd9c8; letter-spacing: .08em; direction: ltr; text-align: right; line-height: 1; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { color: #d7f6ef; text-decoration: none; font-weight: 700; font-size: 15px; padding: 8px 14px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, .1); color: #fff; }
.site-header .btn { padding: 10px 18px; font-size: 15px; }
.menu-btn { display: none; margin-inline-start: auto; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 72px; inset-inline: 0; flex-direction: column; padding: 12px 20px 20px; background: var(--deep); border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.open { display: flex; }
  .menu-btn { display: block; }
  .site-header .btn { display: none; }
}

/* ---------- dark sections ---------- */
.dark { position: relative; color: #fff; background: linear-gradient(135deg, #0b4a52 0%, #0d5f63 48%, #08313b 100%); overflow: hidden; isolation: isolate; }
.dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 70% 40%, #000 30%, transparent 80%); }
.dark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 80% 25%, rgba(124, 243, 214, .28), transparent 70%), radial-gradient(40% 55% at 10% 90%, rgba(167, 139, 250, .22), transparent 70%); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; background: rgba(94, 231, 200, .16); border: 1.5px solid rgba(94, 231, 200, .45); color: #9ff3df; font-weight: 800; font-size: 14px; }
.eyebrow.light { background: var(--mint-soft); border-color: #a8eedc; color: var(--teal); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-weight: 900; font-size: clamp(38px, 5.4vw, 64px); margin: 18px 0 18px; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: #cfeee7; max-width: 600px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: #cfeee7; font-weight: 600; font-size: 15px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.hero-visual { position: relative; display: flex; justify-content: center; min-height: 560px; }
.phone { width: 290px; border-radius: 46px; padding: 12px; background: #0a1d21; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b4a50; }
.phone .screen { position: relative; border-radius: 36px; overflow: hidden; aspect-ratio: 390 / 844; background: #f7f9f9; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .notch { position: absolute; top: 8px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 14px; background: #0a1d21; z-index: 2; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px rgba(2, 24, 28, .3); animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-weight: 800; font-size: 15px; line-height: 1.4; }
.float small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.4; }
.float .ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--mint-soft); color: var(--teal); flex: none; }
.float .ic.v { background: var(--violet-soft); color: #6d4fe0; }
.float .ring { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 5px solid var(--mint); font-weight: 900; font-size: 14px; color: var(--teal); flex: none; }
.f-a { top: 40px; inset-inline-end: 0; } .f-b { top: 260px; inset-inline-start: -10px; animation-delay: -2s; } .f-c { bottom: 40px; inset-inline-end: 10px; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; padding-top: 10px; }
  .f-a { inset-inline-end: 0; } .f-b { inset-inline-start: 0; }
}
@media (max-width: 520px) { .float { display: none; } .hero .ctas .btn { flex: 1 1 100%; } }

/* ---------- before/after strip ---------- */
.ba { margin-top: -48px; position: relative; z-index: 2; }
.ba .wrap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; background: var(--card); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.ba .side { display: grid; gap: 4px; }
.ba label { font-size: 13px; font-weight: 800; color: var(--muted); }
.ba .before { color: #8aa0a0; text-decoration: line-through; font-weight: 700; font-size: 19px; }
.ba .after { font-weight: 900; font-size: 20px; }
.ba .arrow { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--mint); color: #06323a; }
@media (max-width: 700px) { .ba .wrap { grid-template-columns: 1fr; text-align: center; } .ba .arrow { margin-inline: auto; transform: rotate(-90deg); } }

/* ---------- sections ---------- */
section.block { padding: 96px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 52px; display: grid; gap: 14px; justify-items: center; }
.head h2 { font-weight: 900; font-size: clamp(30px, 4vw, 44px); }
.head p { color: var(--muted); font-size: 18px; }
.dark .head p { color: #cfeee7; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 12px; align-content: start; transition: transform .25s, box-shadow .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature img { width: 96px; height: 96px; }
.feature h3 { font-weight: 900; font-size: 22px; }
.feature p { color: var(--muted); }
.feature ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; font-weight: 600; font-size: 15.5px; }
.feature li { display: flex; gap: 8px; align-items: baseline; }
.feature li::before { content: "✓"; color: var(--teal); font-weight: 900; }
.more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 22px; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: grid; gap: 8px; align-content: start; }
.mini .ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--mint-soft); color: var(--teal); }
.mini h3 { font-weight: 800; font-size: 18px; }
.mini p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.badge { justify-self: start; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; background: var(--violet-soft); color: #5b3fd6; }
@media (max-width: 980px) { .features { grid-template-columns: 1fr; } .more { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .more { grid-template-columns: 1fr; } }

/* ---------- screens ---------- */
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.screens figure { margin: 0; display: grid; gap: 16px; justify-items: center; text-align: center; }
.screens .phone { width: 100%; max-width: 250px; border-radius: 38px; padding: 10px; }
.screens .phone .screen { border-radius: 30px; }
.screens figcaption b { display: block; font-weight: 800; font-size: 18px; }
.screens figcaption span { color: #cfeee7; font-size: 15px; }
@media (max-width: 980px) { .screens { grid-template-columns: repeat(2, 1fr); } }

/* ---------- video ---------- */
.video { max-width: 960px; margin: 0 auto; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); background: #000; aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px 28px; display: grid; gap: 10px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -20px; inset-inline-start: 26px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font-weight: 900; font-size: 20px; }
.step h3 { font-weight: 900; font-size: 21px; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; }
.plan.featured { border: 2px solid var(--mint); box-shadow: var(--shadow); position: relative; }
.plan.featured .tag { position: absolute; top: -14px; inset-inline-start: 24px; background: var(--teal); color: #fff; font-weight: 800; font-size: 13px; padding: 4px 14px; border-radius: 999px; }
.plan h3 { font-weight: 900; font-size: 24px; }
.plan .for { color: var(--muted); font-size: 15px; margin-top: -10px; }
.limits { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.limits div { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; }
.limits b { font-weight: 900; color: var(--teal); }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; align-content: start; font-size: 15.5px; font-weight: 600; flex: 1; }
.plan li { display: flex; gap: 10px; align-items: baseline; }
.plan li.yes::before { content: "✓"; color: var(--teal); font-weight: 900; }
.plan li.no { color: #9aaeae; }
.plan li.no::before { content: "—"; }
.plan .btn { width: 100%; }
.note { text-align: center; color: var(--muted); margin-top: 22px; font-size: 15px; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 800; font-size: 18px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--mint-soft); color: var(--teal); font-size: 22px; font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 20px; color: var(--muted); display: grid; gap: 10px; }
.faq h2.group { font-size: 22px; font-weight: 900; margin: 30px 0 4px; }
.center-cta { text-align: center; margin-top: 32px; }

/* ---------- cta band ---------- */
.band { padding: 80px 0; text-align: center; }
.band .wrap { display: grid; gap: 22px; justify-items: center; }
.band img { width: 96px; height: 96px; border-radius: 26px; box-shadow: var(--shadow-lg); }
.band h2 { font-weight: 900; font-size: clamp(30px, 4.4vw, 48px); }
.band p { color: #cfeee7; font-size: 19px; max-width: 620px; }
.band .ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- legal / article pages ---------- */
.page-hero { padding: 64px 0 56px; text-align: center; }
.page-hero h1 { font-weight: 900; font-size: clamp(32px, 4.6vw, 48px); margin-top: 14px; }
.page-hero p { color: #cfeee7; margin-top: 10px; font-size: 18px; }
.article { max-width: 860px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 48px); }
.article h2 { font-weight: 900; font-size: 23px; margin: 34px 0 10px; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { color: #304b4f; }
.article ul { padding-inline-start: 22px; display: grid; gap: 6px; }
.article .meta { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.article table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 15.5px; }
.article th, .article td { text-align: start; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.article th { background: var(--bg); font-weight: 800; }
.table-scroll { overflow-x: auto; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: #b8d9d2; padding: 56px 0 110px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.site-footer a { color: #d7f6ef; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; font-size: 14px; color: #8fb5ad; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* ---------- floating contact + mobile install bar ---------- */
.wa-float { position: fixed; z-index: 60; bottom: 22px; left: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: #1f9d55; color: #fff; text-decoration: none; font-weight: 800; box-shadow: 0 14px 34px rgba(0, 0, 0, .28); }
.wa-float:hover { background: #1a8a4a; }
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta { display: flex; position: fixed; z-index: 55; inset-inline: 0; inset-block-end: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(8, 49, 59, .94); backdrop-filter: blur(10px); gap: 10px; }
  .mobile-cta .btn { flex: 1; padding: 13px 16px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .wa-float { bottom: 88px; padding: 12px; }
  .wa-float span { display: none; }
}

/* reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn:hover { transform: none; } }
