:root {
  --bg: #07090c;
  --bg-2: #0b0e13;
  --surface: #0f1319;
  --card: #121720;
  --card-2: #171d27;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef1f5;
  --muted: #9aa4b2;
  --faint: #6b7584;
  --teal: #2dd4bf;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --rose: #fb7185;
  --ink: #031a17;
  --grad: linear-gradient(120deg, var(--teal) 0%, var(--cyan) 45%, var(--blue) 100%);
  --radius: 18px;
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  color-scheme: dark;
}
[lang="ar"] { --font: var(--font-ar); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
code { font: 0.92em ui-monospace, "Cascadia Code", Consolas, monospace; background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 6px; direction: ltr; unicode-bidi: isolate; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(780px, 100% - 40px); }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 750; }
h2 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.025em; }
h3 { font-size: 18px; letter-spacing: -0.01em; }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--faint); }
.spark { color: var(--teal); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; }
.skip:focus { top: 12px; }

.eyebrow { margin: 0 0 14px; color: var(--teal); font-size: 14px; font-weight: 650; letter-spacing: 0.02em; text-transform: uppercase; }
[lang="ar"] .eyebrow { text-transform: none; letter-spacing: 0; }
.eyebrow.center { text-align: center; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  font: 650 15px var(--font);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn.primary {
  position: relative;
  overflow: hidden;
  border: 0;
  color: var(--ink);
  background: var(--grad);
  box-shadow: 0 10px 30px -8px rgba(34, 211, 238, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn.primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(34, 211, 238, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn.primary:hover::after { transform: translateX(120%); }
.btn.ghost { background: rgba(255, 255, 255, 0.03); color: var(--text); }
.btn.ghost:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn.lg { height: 56px; padding: 0 28px; font-size: 17px; border-radius: 14px; }
.btn .win { width: 18px; height: 18px; fill: currentColor; }
.link-btn { background: none; border: 0; padding: 0; color: var(--teal); font: 600 14px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background 0.25s, border-color 0.25s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 9, 12, 0.78); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 750 19px "Inter", "Segoe UI", sans-serif; letter-spacing: -0.01em; }
.brand img { border-radius: 8px; }
.nav-links { display: flex; gap: 28px; margin-inline-start: auto; font-size: 15px; color: var(--muted); }
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font: 500 14px var(--font-ar);
  cursor: pointer;
}
.lang[lang="en"] { font-family: "Inter", sans-serif; }
.lang:hover { border-color: rgba(255, 255, 255, 0.3); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: 72px 0 56px; overflow: hidden; }
.bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 20%, #000 20%, transparent 75%);
  pointer-events: none;
}
.bg-glow {
  position: absolute;
  inset: -240px -10% auto;
  height: 900px;
  background:
    radial-gradient(520px 320px at 32% 32%, rgba(45, 212, 191, 0.22), transparent 70%),
    radial-gradient(560px 340px at 70% 26%, rgba(59, 130, 246, 0.2), transparent 70%);
  filter: blur(8px);
  pointer-events: none;
}
.hero-inner { position: relative; }
.hero-copy { text-align: center; max-width: 860px; margin-inline: auto; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background: rgba(45, 212, 191, 0.08);
  font-size: 14px;
  font-weight: 600;
  color: #c9fbf4;
  transition: border-color 0.2s, background 0.2s;
}
.pill:hover { border-color: rgba(45, 212, 191, 0.6); background: rgba(45, 212, 191, 0.14); }
.pill-arrow { transition: transform 0.2s; }
.pill:hover .pill-arrow { transform: translateX(3px); }
[dir="rtl"] .pill-arrow { transform: scaleX(-1); }
[dir="rtl"] .pill:hover .pill-arrow { transform: scaleX(-1) translateX(3px); }
h1 { font-size: clamp(42px, 7.2vw, 86px); letter-spacing: -0.04em; font-weight: 800; }
.lead { max-width: 700px; margin: 24px auto 0; color: var(--muted); font-size: clamp(17px, 1.9vw, 20px); }
.cta-row { display: flex; justify-content: center; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.cta-meta { margin: 14px 0 0; color: var(--faint); font-size: 14px; }
.os-note { margin: 10px auto 0; max-width: 520px; padding: 10px 14px; border-radius: 12px; background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3); font-size: 14px; color: #cfe0ff; }
.assure { display: flex; justify-content: center; gap: 22px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.assure li { display: inline-flex; align-items: center; gap: 7px; }
.assure svg { width: 16px; height: 16px; fill: none; stroke: var(--teal); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- live demo */
.demo-wrap { position: relative; max-width: 1040px; margin: 64px auto 0; }
.demo-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 6% -6%;
  background: var(--grad);
  filter: blur(80px);
  opacity: 0.22;
  z-index: -1;
}
.demo {
  border-radius: 16px;
  overflow: hidden;
  background: #0f1115;
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.03);
  font-family: "Segoe UI", "Inter", system-ui, sans-serif;
  font-size: 13px;
  text-align: start;
}
[lang="ar"] .demo { font-family: "Segoe UI", var(--font-ar); }
.win-bar { display: flex; align-items: center; justify-content: space-between; height: 34px; padding: 0 12px; background: #0b0d10; border-bottom: 1px solid #1e232b; color: #9aa4b2; font-size: 12px; }
.win-title { display: inline-flex; align-items: center; gap: 8px; }
.win-title img { border-radius: 3px; }
.win-ctl { display: inline-flex; gap: 18px; direction: ltr; }
.win-ctl i { width: 10px; height: 10px; border: 1.5px solid #5b6472; border-radius: 1px; }
.win-ctl i:first-child { height: 0; border-width: 0 0 1.5px; align-self: center; }
.win-ctl i:last-child { border: 0; position: relative; }
.win-ctl i:last-child::before, .win-ctl i:last-child::after { content: ""; position: absolute; left: 4px; top: -1px; width: 1.5px; height: 12px; background: #5b6472; transform: rotate(45deg); }
.win-ctl i:last-child::after { transform: rotate(-45deg); }
.demo-body { display: grid; grid-template-columns: 190px 1fr; min-height: 318px; }
.demo-side { padding: 12px 8px; background: #14171c; border-inline-end: 1px solid #22272f; color: #e7e9ee; }
.ds-item { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 10px; border-radius: 7px; }
.ds-item b { font-weight: 400; color: #6b7584; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ds-item.on { background: rgba(45, 212, 191, 0.18); }
.ds-item.sub { color: #c8ced6; padding-inline-start: 22px; }
.ds-head { margin: 12px 10px 4px; color: #6b7584; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
[lang="ar"] .ds-head { text-transform: none; letter-spacing: 0; }
.demo-main { padding: 14px 16px 10px; min-width: 0; }
.demo-search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px 0 12px; border-radius: 9px; background: #1a1d23; border: 1px solid #2dd4bf; box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.12); color: #e7e9ee; font-size: 14px; }
.demo-search > svg { width: 16px; height: 16px; flex: none; fill: none; stroke: #6b7584; stroke-width: 2; stroke-linecap: round; }
.typed { white-space: nowrap; overflow: hidden; unicode-bidi: plaintext; }
.caret { width: 1.5px; height: 18px; background: var(--teal); animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.demo-smart { margin-inline-start: auto; flex: none; padding: 2px 10px; border-radius: 12px; border: 1px solid #2dd4bf; background: rgba(45, 212, 191, 0.13); color: #2dd4bf; font-size: 11.5px; }
.demo-meta { margin: 12px 2px 6px; color: #6b7584; font-size: 12px; font-variant-numeric: tabular-nums; min-height: 18px; }
.demo-rows { list-style: none; margin: 0; padding: 0; }
.demo-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 62px 96px;
  align-items: center;
  gap: 12px;
  height: 50px;
  padding: 0 10px;
  border-bottom: 1px solid #1c2026;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.demo-row.in { opacity: 1; transform: none; }
.demo-row.sel { background: rgba(45, 212, 191, 0.12); box-shadow: inset 3px 0 0 #2dd4bf; }
[dir="rtl"] .demo-row.sel { box-shadow: inset -3px 0 0 #2dd4bf; }
.demo-row .st { color: #4b5563; font-size: 14px; }
.dr-name { font-weight: 600; color: #e7e9ee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; unicode-bidi: plaintext; }
.demo-row.sel .dr-name { color: #2dd4bf; }
.dr-name .sem { color: #2dd4bf; margin-inline-end: 6px; font-weight: 400; }
.dr-desc { color: #9aa3b0; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; unicode-bidi: plaintext; text-align: left; }
[dir="rtl"] .dr-desc { text-align: right; }
.dr-dur { color: #9aa3b0; font-variant-numeric: tabular-nums; direction: ltr; }
.dr-fmt b { display: block; font-size: 12px; color: #e7e9ee; }
.dr-fmt span { color: #6b7584; font-size: 11px; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.demo-player { display: grid; grid-template-columns: 32px 190px 1fr; align-items: center; gap: 14px; height: 64px; padding: 0 16px; background: #14171c; border-top: 1px solid #22272f; }
.dp-play { width: 32px; height: 32px; border-radius: 50%; background: #2dd4bf; display: flex; align-items: center; justify-content: center; }
.dp-play svg { width: 14px; height: 14px; fill: #04201c; }
.dp-name { color: #e7e9ee; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; unicode-bidi: plaintext; }
.dp-wave { width: 100%; height: 40px; direction: ltr; }
.dp-wave .base { fill: #4b5563; }
.dp-wave .played { fill: #2dd4bf; }
.callout {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 12px;
  background: rgba(18, 23, 32, 0.92);
  border: 1px solid var(--line-2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.callout svg { width: 16px; height: 16px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Callouts sit in the margin beside the window, pointing at the meaning matches and the player. */
.callout.c1 { top: 52%; inset-inline-end: -168px; }
.callout.c2 { bottom: 9%; inset-inline-start: -160px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------------------------------------------------------------- stats */
.stats { border-block: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent); }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 20px; text-align: center; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(28px, 3.2vw, 38px); font-weight: 800; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; unicode-bidi: isolate; }
.stat span { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- problem */
.problem { padding: 120px 0 40px; text-align: center; }
.problem .eyebrow { color: var(--rose); }
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; text-align: start; }
.pain { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.pain-ico { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(251, 113, 133, 0.1); color: var(--rose); margin-bottom: 18px; }
.pain-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pain h3 { margin-bottom: 8px; }
.pain p { margin: 0; color: var(--muted); font-size: 15.5px; }
.bridge { margin: 48px 0 0; font-size: clamp(22px, 2.6vw, 30px); font-weight: 750; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------------- features */
.features { padding: 80px 0 40px; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; padding: 56px 0; }
.feature.flip .f-copy { order: 2; }
.feature h2 { font-size: clamp(28px, 3.3vw, 42px); }
.f-lead { margin: 18px 0 0; color: var(--muted); font-size: 17px; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-inline-start: 30px; font-size: 15.5px; }
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(45, 212, 191, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line-2); font-size: 14px; color: #d8dde5; }
.frame { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8); background: #0f1115; }
.frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); pointer-events: none; }

/* ---------------------------------------------------------------- more */
.more { padding: 90px 0; text-align: center; }
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; text-align: start; }
.mini { padding: 24px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: border-color 0.2s, transform 0.2s; }
.mini:hover { border-color: rgba(45, 212, 191, 0.35); transform: translateY(-2px); }
.mini svg { width: 24px; height: 24px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }
.mini h3 { font-size: 16.5px; margin-bottom: 6px; }
.mini p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------------------------------------------------------------- privacy */
.privacy { padding: 20px 0 90px; }
.privacy-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 40px;
  border-radius: 22px;
  background: linear-gradient(var(--card), var(--card)) padding-box, linear-gradient(120deg, rgba(45, 212, 191, 0.6), rgba(59, 130, 246, 0.5)) border-box;
  border: 1px solid transparent;
}
.shield { flex: none; width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: rgba(45, 212, 191, 0.1); }
.shield svg { width: 36px; height: 36px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.privacy h2 { font-size: clamp(22px, 2.6vw, 30px); }
.privacy p { margin: 8px 0 0; color: var(--muted); font-size: 16.5px; }

/* ---------------------------------------------------------------- how */
.how { padding: 90px 0; text-align: center; }
.how-steps { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.how-steps::before { content: ""; position: absolute; top: 27px; inset-inline: 16%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.how-steps li { position: relative; padding: 0 12px; }
.num { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 16px; background: var(--grad); color: var(--ink); font-size: 22px; font-weight: 800; box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.6); }
.how-steps h3 { margin: 20px 0 8px; }
.how-steps p { margin: 0 auto; max-width: 300px; color: var(--muted); font-size: 15.5px; }

/* ---------------------------------------------------------------- faq */
.faq { padding: 60px 0 100px; }
.faq h2 { text-align: center; margin-bottom: 36px; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 4px; cursor: pointer; list-style: none; font-weight: 600; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--card-2); color: var(--teal); font-size: 20px; font-weight: 400; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 20px; padding: 0 4px; color: var(--muted); }

/* ---------------------------------------------------------------- final */
.final { padding: 0 0 100px; }
.final-inner {
  position: relative;
  overflow: hidden;
  padding: 72px 32px;
  border-radius: 28px;
  text-align: center;
  background: radial-gradient(600px 260px at 50% 0%, rgba(45, 212, 191, 0.22), transparent 70%), radial-gradient(600px 260px at 50% 100%, rgba(59, 130, 246, 0.18), transparent 70%), var(--card);
  border: 1px solid var(--line-2);
}
.final h2 { margin-bottom: 30px; }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.f-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.f-links { display: flex; gap: 22px; color: var(--muted); font-size: 14.5px; }
.f-links a:hover { color: var(--text); }
.footer .muted { font-size: 14px; }

/* ---------------------------------------------------------------- mobile CTA + modal */
.mobile-cta { display: none; }
.modal {
  width: min(460px, calc(100vw - 32px));
  padding: 32px 30px 28px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: var(--card);
  color: var(--text);
  text-align: center;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}
.modal::backdrop { background: rgba(3, 5, 8, 0.7); backdrop-filter: blur(4px); }
.modal-ico { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--grad); }
.modal-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.modal h2 { font-size: 24px; letter-spacing: -0.01em; }
.modal .muted { margin: 6px 0 18px; }
.ns-steps { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: s; text-align: start; display: grid; gap: 10px; }
.ns-steps li { counter-increment: s; position: relative; padding: 12px 14px 12px 50px; border-radius: 12px; background: var(--card-2); font-size: 15px; }
[dir="rtl"] .ns-steps li { padding: 12px 50px 12px 14px; }
.ns-steps li::before { content: counter(s); position: absolute; inset-inline-start: 14px; top: 11px; width: 24px; height: 24px; border-radius: 8px; background: rgba(45, 212, 191, 0.15); color: var(--teal); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.modal .btn { width: 100%; }

/* ---------------------------------------------------------------- reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .callout, .caret { animation: none; }
  .btn, .btn.primary::after, .mini { transition: none; }
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1400px) {
  .callout { display: none; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-actions { margin-inline-start: auto; }
  .feature { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
  .feature.flip .f-copy { order: 0; }
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .hero { padding-top: 44px; }
  .demo-body { grid-template-columns: 1fr; }
  .demo-side { display: none; }
  .demo-row { grid-template-columns: 18px minmax(0, 1fr) 54px; }
  .dr-fmt { display: none; }
  .demo-player { grid-template-columns: 32px 1fr; }
  .dp-wave { display: none; }
  .callout { display: none; }
  .pains, .how-steps { grid-template-columns: 1fr; }
  .how-steps::before { display: none; }
  .privacy-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .btn.lg { width: 100%; }
  .nav .btn.sm { display: none; }
  .mobile-cta {
    display: block;
    position: fixed;
    inset: auto 0 0;
    z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(7, 9, 12, 0.9);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 0.3s ease;
  }
  .mobile-cta.show { transform: none; }
  .mobile-cta .btn { width: 100%; }
  .footer { padding-bottom: 96px; }
}
@media (max-width: 520px) {
  .more-grid, .stats-inner { grid-template-columns: 1fr; }
  .stat + .stat { border-inline-start: 0; border-top: 1px solid var(--line); }
  .assure { gap: 14px; }
}
