:root {
  --indigo: #4338ca; --indigo-700: #3730a3; --indigo-50: #f3f2fd; --band: #1b1845; --band-2: #241f5c;
  --mint: #2fd6a7; --mint-700: #0b7a5b; --mint-50: #e6faf4;
  --ink: #111827; --body: #374151; --muted: #5b6474; --line: #e5e7ef; --soft: #f7f8fb; --paper: #fff;
  --r: 14px; --r-lg: 22px; --shadow: 0 24px 60px -24px rgba(27, 24, 69, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
body.ar { --font: "IBM Plex Sans Arabic", "Inter", system-ui, "Segoe UI", Tahoma, sans-serif; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--body); background: var(--paper); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.ar { line-height: 1.75; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
body.ar h1, body.ar h2, body.ar h3 { letter-spacing: 0; line-height: 1.35; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--indigo); }
body.ar .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow.mint { color: var(--mint); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; border-radius: 12px; padding: 12px 20px; font-size: 15px;
       transition: background-color .18s, color .18s, border-color .18s, transform .18s; border: 1.5px solid transparent; white-space: nowrap; }
.btn.sm { padding: 9px 15px; font-size: 14px; border-radius: 10px; }
.btn.lg { padding: 15px 26px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.primary { background: var(--indigo); color: #fff; }
.btn.primary:hover { background: var(--indigo-700); }
.btn.mint { background: var(--mint); color: var(--band); }
.btn.mint:hover { background: #22c194; }
.btn.ghost { color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { border-color: var(--indigo); color: var(--indigo); }
.btn.outline-light { color: #fff; border-color: rgba(255,255,255,.28); }
.btn.outline-light:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn:active { transform: translateY(1px); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(27, 24, 69, .0); transition: background-color .25s, box-shadow .25s; }
.nav.scrolled { background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .04em; font-size: 20px; color: #fff; }
.nav.scrolled .brand { color: var(--band); }
.links { display: flex; gap: 26px; margin-inline-start: 12px; }
.links a { color: rgba(255,255,255,.78); font-weight: 500; font-size: 15px; }
.links a:hover { color: #fff; }
.nav.scrolled .links a { color: var(--muted); }
.nav.scrolled .links a:hover { color: var(--indigo); }
.nav-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { color: rgba(255,255,255,.85); font-weight: 600; font-size: 14px; padding: 8px 10px; border-radius: 8px; }
.lang:hover { background: rgba(255,255,255,.08); }
.nav.scrolled .lang { color: var(--ink); }
.nav.scrolled .lang:hover { background: var(--soft); }
.nav:not(.scrolled) .btn.ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.nav:not(.scrolled) .btn.ghost:hover { border-color: #fff; }

/* hero */
.hero { background: radial-gradient(1200px 520px at 15% -10%, #2a2470 0%, transparent 60%), var(--band); color: #d6d8f7; position: relative; overflow: hidden;
        margin-top: -72px; padding-top: 72px; }
.hero-orbit { position: absolute; width: 760px; height: 760px; inset-inline-end: -220px; top: -260px; pointer-events: none; }
body.ar .hero-orbit { transform: scaleX(-1); }
.hero-in { padding-top: 72px; position: relative; }
.hero-copy { max-width: 760px; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; margin-top: 16px; }
body.ar .hero h1 { font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); margin-top: 20px; max-width: 640px; color: #cfd1f3; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 14.5px; color: #c3c6f0; }
.hero-facts li { display: flex; align-items: center; gap: 9px; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; }
.hero-shot { position: relative; margin-top: 56px; padding-bottom: 0; }
.frame { border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; background: #fff; box-shadow: 0 -10px 80px -20px rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12); border-bottom: 0; }
.frame-bar { height: 38px; background: #f1f2f7; display: flex; align-items: center; gap: 7px; padding-inline: 16px; border-bottom: 1px solid var(--line); direction: ltr; }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d6d8e2; }
.frame-bar span { margin-inline: auto; font-size: 12.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 16px; transform: translateX(-20px); }
.hero-phone { position: absolute; width: 180px; inset-inline-end: -28px; bottom: -60px; }
.phone { border-radius: 30px; overflow: hidden; background: #0d0b24; padding: 8px; box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,.08); }
.phone img { border-radius: 23px; }

/* pillars */
.pillars { padding: 92px 0 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.pillar .pi { width: 48px; height: 48px; border-radius: 14px; background: var(--indigo-50); display: grid; place-items: center; }
.pillar .pi svg { width: 24px; height: 24px; stroke: var(--indigo); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 18px; margin-top: 16px; }
.pillar p { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* section heads */
.sec-head { max-width: 720px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin-top: 10px; }
body.ar .sec-head h2 { font-weight: 700; }
.sec-head .sub { margin-top: 14px; font-size: 18px; color: var(--muted); }

/* modules */
.modules { padding: 72px 0 96px; }
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; margin-top: 88px; }
.feature.rev .f-copy { order: 2; }
.f-tag { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--indigo); font-size: 15px; }
.f-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--indigo-50); display: grid; place-items: center; }
.f-ico svg { width: 20px; height: 20px; stroke: var(--indigo); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 14px; font-weight: 800; }
body.ar .feature h3 { font-weight: 700; }
.feature p { margin-top: 12px; font-size: 17px; }
.ticks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 30px; }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 19px; height: 19px; border-radius: 50%; background: var(--mint-50); }
.ticks li::after { content: ""; position: absolute; inset-inline-start: 6px; top: calc(.3em + 5px); width: 7px; height: 4px; border-left: 2px solid var(--mint-700); border-bottom: 2px solid var(--mint-700); transform: rotate(-45deg); }
.ticks.light li { color: #e3e4fb; }
.ticks.light li::before { background: rgba(47,214,167,.18); }
.ticks.light li::after { border-color: var(--mint); }
.f-price { margin-top: 22px; font-size: 15px; color: var(--muted); }
.f-price b { color: var(--ink); font-size: 17px; }
.f-shot { border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mini-mods { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 96px; }
.mini { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; background: linear-gradient(180deg, var(--soft), #fff 60%); }
.mini h3 { font-size: 22px; margin-top: 14px; }
.mini p { margin-top: 10px; }

/* mobile */
.mobile { background: var(--band); color: #d6d8f7; padding: 104px 0; overflow: hidden; }
.mobile-in { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.mobile h2 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin-top: 10px; }
body.ar .mobile h2 { font-weight: 700; }
.mobile .lead { margin-top: 14px; font-size: 18px; color: #cfd1f3; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: center; }
.phones .phone.up { transform: translateY(-28px); }

/* pricing */
.pricing { padding: 104px 0; background: linear-gradient(180deg, #fff, var(--soft)); }
.billing { display: inline-flex; gap: 4px; padding: 5px; border-radius: 14px; background: #fff; border: 1px solid var(--line); margin-top: 28px; }
.billing button { font: inherit; font-weight: 600; font-size: 15px; border: 0; background: transparent; color: var(--muted); padding: 9px 18px; border-radius: 10px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.billing button.on { background: var(--band); color: #fff; }
.billing .pill { font-size: 12px; font-weight: 700; color: var(--band); background: var(--mint); border-radius: 999px; padding: 2px 8px; }
.bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; align-items: stretch; }
.bundle { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px 28px; display: flex; flex-direction: column; position: relative; }
.bundle h3 { font-size: 22px; }
.bundle .for { color: var(--muted); font-size: 15px; margin-top: 6px; }
.bundle .ticks { margin: 20px 0 24px; }
.price-box { margin-top: auto; border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: 20px; }
.price-box .from { font-size: 13.5px; color: var(--muted); }
.price-box .amt { margin-top: 4px; }
.price-box .amt .n { font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.price-box .amt .u { font-size: 15px; color: var(--muted); font-weight: 600; }
.price-box .save { margin-top: 6px; display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--mint-700); background: var(--mint-50); border-radius: 8px; padding: 3px 10px; }
.bundle.featured { background: var(--band); border-color: var(--band); color: #d6d8f7; box-shadow: var(--shadow); transform: translateY(-10px); }
.bundle.featured h3, .bundle.featured .price-box .amt .n { color: #fff; }
.bundle.featured .for, .bundle.featured .price-box .from, .bundle.featured .price-box .amt .u { color: #b9bcec; }
.bundle.featured .price-box { border-top-color: rgba(255,255,255,.14); }
.bundle.featured .save { background: rgba(47,214,167,.16); color: var(--mint); }
.ribbon { position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--mint); color: var(--band); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
body.ar .ribbon { transform: translateX(50%); letter-spacing: 0; }
.tier-card { margin-top: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tc-head { padding: 22px 28px; border-bottom: 1px solid var(--line); background: var(--soft); }
.tc-head h3 { font-size: 19px; }
.tc-head p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; font-variant-numeric: tabular-nums; }
th, td { padding: 15px 28px; text-align: start; border-bottom: 1px solid var(--line); white-space: nowrap; }
thead th { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
body.ar thead th { letter-spacing: 0; font-size: 13.5px; }
tbody tr:last-child td { border-bottom: 0; }
td.users { font-weight: 700; color: var(--indigo); }
td.hl, th.hl { background: var(--indigo-50); }
td.hl { font-weight: 700; color: var(--band); }
.single { margin-top: 40px; }
.single h3 { font-size: 19px; }
.single-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.s-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.s-item span { font-weight: 500; color: var(--ink); }
.s-item b { color: var(--indigo); font-variant-numeric: tabular-nums; white-space: nowrap; }
.s-item b small { font-size: 12px; color: var(--muted); font-weight: 600; }
.tc-head p b { color: var(--indigo); font-weight: 600; }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* faq */
.faq { padding: 104px 0; overflow-x: clip; }
.faq-in > *, .mobile-in > *, .feature > *, .cta-card > * { min-width: 0; }
.faq-in { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.qa details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.qa details:first-child { border-top: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--indigo); flex: none; transition: transform .2s; }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 640px; }

/* contact */
.contact { padding: 0 0 104px; }
.cta-card { position: relative; overflow: hidden; background: var(--band); color: #d6d8f7; border-radius: 28px; padding: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.cta-orbit { position: absolute; width: 380px; height: 380px; inset-inline-end: -90px; top: -140px; pointer-events: none; }
.cta-copy, .ct-list { position: relative; }
.cta-card h2 { color: #fff; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; }
body.ar .cta-card h2 { font-weight: 700; }
.cta-card h2 em { font-style: normal; color: var(--mint); }
.cta-card p { margin-top: 12px; font-size: 18px; color: #cfd1f3; }
.ct-list { display: grid; gap: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 26px 28px; }
.ct-list dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #9fa2dc; }
body.ar .ct-list dt { letter-spacing: 0; font-size: 13px; }
.ct-list dd { color: #fff; font-weight: 600; font-size: 17px; margin-top: 2px; }
.ct-list a:hover { color: var(--mint); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 32px 0; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.brand.small { color: var(--band); font-size: 16px; gap: 8px; }
.brand.small em { font-style: normal; font-weight: 500; letter-spacing: 0; color: var(--muted); font-size: 14px; margin-inline-start: 6px; }

/* responsive */
@media (max-width: 1020px) {
  .links { display: none; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 28px; margin-top: 72px; }
  .feature.rev .f-copy { order: 0; }
  .mobile-in, .faq-in, .cta-card { grid-template-columns: 1fr; }
  .bundles { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .bundle.featured { transform: none; }
  .single-grid { grid-template-columns: 1fr 1fr; }
  .hero-phone { width: 150px; bottom: -24px; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .hide-sm { display: none; }
  .nav-in { gap: 12px; }
  .hero-in { padding-top: 48px; }
  .grid-4, .mini-mods, .single-grid { grid-template-columns: 1fr; }
  .hero-phone { width: 104px; inset-inline-end: 10px; bottom: -14px; border-radius: 18px; padding: 5px; }
  .hero-phone img { border-radius: 14px; }
  .frame-bar span { display: none; }
  .cta-card { padding: 36px 24px; border-radius: 22px; }
  .mini { padding: 24px; }
  th, td { padding: 13px 16px; }
  .tc-head { padding: 18px 16px; }
  .phones { gap: 10px; }
  .phone { border-radius: 20px; padding: 5px; }
  .phone img { border-radius: 15px; }
  .billing button { padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
