:root {
  --bg: #0b1418;
  --bg-soft: #0e1a1f;
  --surface: #132228;
  --surface-2: #1a2d34;
  --line: #21363d;
  --text: #eef5f4;
  --muted: #9db4b0;
  --accent: #00e6b5;
  --accent-2: #00e6b5;
  --gradient: linear-gradient(90deg, #00e6b5 0%, #00c2ff 100%);
  --radius: 14px;
  --shadow: 0 20px 50px -24px rgba(0, 0, 0, 0.7);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; color-scheme: dark; -webkit-text-size-adjust: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #04201a; padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 24, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand svg { width: 26px; height: 26px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; }

/* Mobile nav (CSS only) */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-toggle-label { display: none; cursor: pointer; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 10px; }
.nav-toggle-label:hover { background: var(--surface-2); }
.nav-toggle-label .bar { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; transition: 0.2s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 12px; font-weight: 700; font-size: 0.98rem;
  border: 1px solid transparent; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease;
  color: #04201a; background: var(--gradient); text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 14px 34px -14px rgba(0, 230, 181, 0.65); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; border-radius: 10px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); box-shadow: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 84px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 560px;
  background:
    radial-gradient(600px 320px at 78% 20%, rgba(0, 230, 181, 0.14), transparent 70%),
    radial-gradient(520px 300px at 18% 30%, rgba(0, 230, 181, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
  border: 1px solid rgba(0, 230, 181, 0.35); background: rgba(0, 230, 181, 0.08);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); margin-bottom: 20px; }
.grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: var(--muted); font-size: 1.13rem; max-width: 560px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.88rem; margin-top: 18px; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); flex: none; }

/* Hero visual / app mockup */
.mockup .phone {
  margin: 0 auto; width: 300px; border-radius: 34px; background: var(--surface);
  border: 1px solid var(--line); padding: 18px; box-shadow: var(--shadow);
}
.mockup .screen { border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); padding: 20px; }
.mockup .screen .row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mockup .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--gradient); flex: none; }
.mockup .bar { flex: 1; height: 10px; border-radius: 6px; background: var(--surface-2); }
.mockup .bar.short { flex: 0 0 40%; }
.notif {
  margin-top: 16px; border-radius: 14px; padding: 14px 16px;
  background: rgba(0, 230, 181, 0.1); border: 1px solid rgba(0, 230, 181, 0.35);
}
.notif .title { font-weight: 800; color: var(--accent); font-size: 0.95rem; }
.notif .sub { color: var(--muted); font-size: 0.85rem; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.8rem; font-weight: 700;
  color: var(--text); background: var(--surface-2); border: 1px solid var(--line);
  padding: 6px 12px; border-radius: 999px; margin: 4px 4px 0 0;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.82rem; margin-bottom: 12px; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.stat .num { font-size: 2.1rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: var(--muted); font-size: 0.95rem; }

/* Feature grid */
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: rgba(0, 230, 181, 0.5); transform: translateY(-3px); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: rgba(0, 230, 181, 0.12); color: var(--accent); margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.96rem; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; margin-bottom: 34px; }
.step:last-child { margin-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient); color: #04201a; font-weight: 800; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* Store badges */
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px; border-radius: 12px;
  background: #000; border: 1px solid #2a2f33; color: #fff; text-decoration: none; transition: border-color 0.2s, transform 0.2s;
}
.store-badge:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-1px); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .store-small { display: block; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.05em; color: #b6bcc2; }
.store-badge .store-name { display: block; font-weight: 700; font-size: 1.02rem; line-height: 1.1; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 20px 22px; font-weight: 700; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); flex: none; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 22px 22px; color: var(--muted); }

/* CTA band */
.cta { text-align: center; }
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.cta p { color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; margin-top: 14px; max-width: 300px; }
.footer-col h3, .footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.94rem; margin-bottom: 10px; }
.footer-col a:hover { color: var(--text); text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 0.86rem; }

/* Legal pages */
.legal { padding: 72px 0 96px; }
.legal .prose { max-width: 820px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 40px; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.05rem; margin: 24px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose ul { color: var(--muted); margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }
.prose a { word-break: break-word; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 40px; }
.toc h2 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 14px; }
.toc ol { margin-left: 20px; color: var(--muted); }
.toc a { color: var(--muted); }
.toc a:hover { color: var(--accent); }

/* CCPA table */
.prose table.ccpa { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 0.92rem; }
.prose table.ccpa th, .prose table.ccpa td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; color: var(--muted); }
.prose table.ccpa th { background: var(--surface-2); color: var(--text); font-weight: 700; }
.prose table.ccpa td:last-child { text-align: center; white-space: nowrap; font-weight: 700; }
.prose table.ccpa tr:first-child td { color: var(--accent); }


/* Success / 404 */
.centered { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.centered .inner { max-width: 480px; }
.centered .mark { width: 72px; height: 72px; margin: 0 auto 24px; }
.centered h1 { font-size: 2rem; margin-bottom: 14px; }
.centered p { color: var(--muted); margin-bottom: 24px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-toggle-label { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    gap: 0; background: rgba(11, 20, 24, 0.98); border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; display: none;
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-cta { margin-top: 12px; }
  .nav-cta .btn { width: 100%; }
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .section, .hero { padding: 56px 0; }
  .store-badges { flex-direction: column; align-items: stretch; }
  .store-badge { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Nav actions & language switch ---------- */
.nav-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { color: var(--muted); font-size: 0.78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; line-height: 1; }
.lang-switch a:hover { color: var(--text); text-decoration: none; }
.lang-switch a.active { background: var(--gradient); color: #04201a; }
@media (max-width: 640px) { .lang-switch a { padding: 4px 7px; font-size: 0.72rem; } }
.status-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(0, 230, 181, 0.08); border: 1px solid rgba(0, 230, 181, 0.3); border-radius: 999px; padding: 8px 16px; margin-bottom: 20px; max-width: 100%; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; box-shadow: 0 0 0 0 rgba(0, 230, 181, 0.5); animation: status-pulse 2s infinite; }
.status-text { color: var(--text); font-size: 0.88rem; }
.status-text strong { color: var(--accent); font-weight: 700; }
@keyframes status-pulse { 0% { box-shadow: 0 0 0 0 rgba(0, 230, 181, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(0, 230, 181, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 230, 181, 0); } }

/* ---------- Screenshots ---------- */
.screens-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.shot { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot img { width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.shot figcaption { padding: 14px 18px; color: var(--muted); font-size: 0.92rem; font-weight: 600; }

/* ---------- Placeholder note ---------- */
.placeholder-note { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; color: var(--muted); font-size: 0.86rem; margin-top: 22px; }
.placeholder-note code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface-2); border: 1px solid var(--line); padding: 2px 7px; border-radius: 6px; color: var(--text); font-size: 0.8rem; }
.ph-tag { display: inline-flex; align-items: center; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); border: 1px dashed rgba(0, 230, 181, 0.5); padding: 3px 9px; border-radius: 999px; }

/* ---------- Demo video ---------- */
.video-frame { max-width: 880px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: var(--shadow); }
.video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }

/* ---------- Compare ---------- */
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 34px; }
.trust-item { display: flex; flex-direction: column; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.trust-item .t-icon { font-size: 1.5rem; }
.trust-item strong { font-size: 1.02rem; }
.trust-item span { color: var(--muted); font-size: 0.9rem; }
.compare-wrap { max-width: 860px; margin: 0 auto; overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.compare thead th { background: var(--surface-2); padding: 16px 18px; text-align: left; font-size: 1rem; color: var(--text); }
.compare thead th.c-flextra { color: var(--accent); }
.compare tbody th, .compare tbody td { padding: 14px 18px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; font-size: 0.94rem; }
.compare tbody th { color: var(--text); font-weight: 600; }
.compare td.yes { color: var(--accent); font-weight: 700; white-space: nowrap; }
.compare td.yes span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(0, 230, 181, 0.15); margin-right: 8px; font-size: 0.8rem; }
.compare td.no { color: var(--muted); }
.compare-note { max-width: 760px; margin: 18px auto 0; text-align: center; color: var(--muted); font-size: 0.82rem; }

/* ---------- Regions ---------- */
.regions-featured { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.region-pill { display: inline-flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 0.98rem; }
.region-pill .flag { font-size: 1.15rem; }
.regions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.region-group { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.region-group h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 14px; }
.region-group ul { list-style: none; }
.region-group li { display: flex; align-items: center; gap: 9px; color: var(--text); font-size: 0.94rem; padding: 6px 0; border-bottom: 1px solid rgba(33, 54, 61, 0.5); }
.region-group li:last-child { border-bottom: 0; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.review .stars { color: var(--accent); letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote { color: var(--text); font-size: 0.97rem; font-style: italic; line-height: 1.55; margin: 0; flex: 1; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.r-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.reviewer strong { display: block; font-size: 0.94rem; }
.reviewer .src { color: var(--muted); font-size: 0.8rem; }

/* ---------- RTL (Arabic) ---------- */
[dir="rtl"] { direction: rtl; }
[dir="rtl"] .step { padding-left: 0; padding-right: 64px; }
[dir="rtl"] .step::before { left: auto; right: 0; }
[dir="rtl"] .compare thead th, [dir="rtl"] .compare tbody th, [dir="rtl"] .compare tbody td { text-align: right; }
[dir="rtl"] .compare td.yes span { margin-right: 0; margin-left: 8px; }

/* ---------- New components responsive ---------- */
@media (max-width: 900px) {
  .screens-grid { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: 1fr; }
  .regions-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .regions-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .nav-actions { gap: 12px; }
}


