:root {
  --bg: #0b1e4a;
  --bg-alt: #0f2760;
  --text: #e8edf7;
  --muted: #aab6d3;
  --line: rgba(255, 255, 255, 0.12);
  --green: #22c55e;
  --green-2: #16a34a;
  --btn-text: #04130a;
  --card: rgba(255, 255, 255, 0.05);
  --nav-bg: rgba(11, 30, 74, 0.86);
  --glow1: rgba(37, 99, 235, 0.55);
  --glow2: rgba(34, 197, 94, 0.16);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --font-en: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--font-en); line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.85; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
.wrap { width: min(1080px, 100% - 40px); margin-inline: auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--nav-bg); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, #102a57, var(--green-2)); color: #fff; font-size: 14px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.langs { direction: ltr; display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; }
.langs button {
  background: none; border: 0; color: var(--muted); font: inherit; font-weight: 600; font-size: 0.85rem;
  padding: 5px 12px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s;
}
.langs button:hover { color: var(--text); }
.langs button[aria-pressed="true"] { background: var(--green); color: var(--btn-text); }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: transform .15s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: var(--btn-text); }
.btn-primary:hover { background: var(--green-2); color: #fff; }
.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-sm { padding: 8px 16px; font-size: 0.9rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* Hero */
.hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(900px 420px at 85% -10%, var(--glow2), transparent 60%),
    radial-gradient(900px 520px at 0% 0%, var(--glow1), transparent 65%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 52px; align-items: center; }
.eyebrow { color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 14px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; text-transform: none; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
html[lang="ar"] h1 { letter-spacing: 0; line-height: 1.3; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.2; font-weight: 800; margin-bottom: 28px; }
h3 { font-size: 1.05rem; margin-bottom: 6px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 56ch; margin-bottom: 28px; }
.trial-note { margin-top: 12px; color: var(--muted); font-size: 0.92rem; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.badges li { display: flex; flex-direction: column; min-width: 110px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.badges strong { font-size: 1.25rem; color: var(--green); }
.badges span { font-size: 0.82rem; color: var(--muted); }
.hero-card { display: flex; justify-content: center; }
.photo {
  width: min(330px, 80vw); aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow), 0 0 0 8px var(--glow2);
}
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }

/* Sections */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--green); transform: translateY(-3px); }
.card p { color: var(--muted); font-size: 0.94rem; }
.ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px; background: var(--glow2); color: var(--green); font-size: 1.2rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--green); color: var(--btn-text); font-weight: 800; margin-bottom: 14px;
}
.steps p { color: var(--muted); font-size: 0.95rem; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.plan.featured { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.plan p { color: var(--muted); font-size: 0.95rem; flex: 1; margin-bottom: 18px; }
.plan .price { font-weight: 800; font-size: 1.15rem; margin-bottom: 14px; color: var(--green); }
.plan .price.ask { font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.pay-note { margin-top: 22px; padding: 14px 18px; border-radius: 12px; border: 1px dashed var(--line); color: var(--muted); }

#testimonials {
  background: radial-gradient(900px 420px at 50% 0%, rgba(34, 197, 94, 0.12), transparent 70%), #1a3a7a;
  border-block: 1px solid var(--line);
}
.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote {
  padding: 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line);
  border-inline-start: 3px solid var(--green);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.quote:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.10);
}
.quote p { margin-bottom: 14px; }
.quote .who { color: var(--muted); font-size: 0.9rem; font-weight: 600; }

.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: #0b1220; cursor: pointer;
}
.tile:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile:hover img { transform: scale(1.05); }
.tile .play {
  position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(0, 0, 0, 0.6); color: #fff; transition: background .2s, transform .2s;
}
.tile:hover .play { background: var(--green); transform: scale(1.08); }
.tile .cap { position: absolute; inset-inline: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-weight: 600; font-size: .92rem; background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.tile iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.about { max-width: 760px; }
.about p { color: var(--muted); font-size: 1.05rem; margin-bottom: 14px; }

.faq-wrap { max-width: 800px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 20px 18px; color: var(--muted); }

.final { padding: 80px 0; text-align: center; background: radial-gradient(800px 380px at 50% 0%, var(--glow2), transparent 70%), var(--bg-alt); border-top: 1px solid var(--line); }
.final p { color: var(--muted); font-size: 1.08rem; margin: -10px 0 26px; }
.socials { display: flex; justify-content: center; gap: 10px; margin-top: 32px; }
.soc-icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--muted); transition: color .2s, border-color .2s, transform .15s;
}
.soc-icon:hover { color: var(--green); border-color: var(--green); transform: translateY(-2px); }

.footer { border-top: 1px solid var(--line); padding: 24px 0; color: var(--muted); font-size: 0.92rem; }
.footer .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer a:hover { color: var(--green); }

@media (max-width: 900px) {
  .hero { padding: 48px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-card { order: -1; }
  .photo { width: min(220px, 55vw); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps, .testi, .videos { grid-template-columns: 1fr; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .brand-name { display: none; }
}
@media (max-width: 520px) {
  .cards, .plans { grid-template-columns: 1fr; }
  .nav-actions .btn-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
