:root {
  --bg: #f5f7ff;
  --bg2: #eef1fd;
  --ink: #0b1426;
  --muted: #5a6881;
  --line: #e3e9f7;
  --accent: #4f46e5;
  --accent2: #7c3aed;
  --fuchsia: #c026d3;
  --grad: linear-gradient(120deg, #4f46e5, #7c3aed, #db2777);
  --grad-soft: linear-gradient(120deg, rgba(79,70,229,.12), rgba(124,58,237,.12), rgba(219,39,119,.10));
  --radius: 20px;
  --shadow: 0 30px 70px -30px rgba(79, 70, 229, .45);
  --shadow-lg: 0 40px 90px -40px rgba(11, 20, 38, .5);
  --nav-h: 72px;
  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.ar { display: none; }
html[lang="ar"] .ar { display: initial; }
html[lang="en"] .en { display: initial; }
html[lang="en"] .ar, html[lang="ar"] .en { display: none !important; }
body.en { direction: ltr; font-family: "Cairo", "Segoe UI", Tahoma, sans-serif; }
/* hard fallback: never show both languages at once */
body:not(.ar):not(.en) .ar, body:not(.ar):not(.en) .en { display: none; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

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

/* ─────────── NAV ─────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 60;
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled { background: rgba(255,255,255,.78); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 var(--line), 0 12px 30px -24px rgba(11,20,38,.25); }
.nav-in { max-width: 1180px; margin: 0 auto; padding: 0 22px; height: var(--nav-h); display: flex; align-items: center; gap: 26px; }
.brand { display: flex; align-items: center; gap: 11px; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 13px; flex: none;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 24px -10px rgba(79,70,229,.65);
}
.logo-mark svg { width: 23px; height: 23px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.brand-txt { font-size: 19px; font-weight: 900; letter-spacing: -.01em; }
.brand-txt b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-txt small { font-size: 10.5px; color: var(--muted); font-weight: 800; display: block; line-height: 1.05; letter-spacing: .14em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; margin-inline-end: 14px; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 700; padding: 9px 14px; border-radius: 11px; transition: color .15s, background .15s; opacity: .75; }
.nav-links a:hover { color: var(--ink); background: rgba(79,70,229,.07); opacity: 1; }
.nav-links .cta-mini { background: var(--grad); color: #fff !important; opacity: 1; box-shadow: 0 10px 22px -10px rgba(79,70,229,.6); }
.nav-links .cta-mini:hover { filter: brightness(1.08); }

.lang-switch { display: flex; background: var(--bg2); border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.ls-btn { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 800; color: var(--muted); padding: 6px 13px; border-radius: 99px; cursor: pointer; transition: .18s; }
.ls-btn.active { background: #fff; color: var(--accent); box-shadow: 0 3px 10px -3px rgba(11,20,38,.25); }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 9px; width: 40px; height: 40px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { width: 17px; height: 2px; background: var(--ink); border-radius: 2px; }
.m-menu { display: none; background: rgba(255,255,255,.97); backdrop-filter: blur(16px); padding: 12px 0 20px; border-bottom: 1px solid var(--line); }
.m-menu.open { display: block; }
.m-menu a { display: block; padding: 13px 24px; font-weight: 700; color: var(--ink); }
.m-menu .l { color: var(--muted); font-size: 13px; text-align: center; display: flex; gap: 8px; justify-content: center; }

/* ─────────── HERO ─────────── */
.hero {
  position: relative; overflow: hidden; min-height: 100vh;
  background: radial-gradient(1100px 620px at 78% -10%, #1e1b4b 0%, #151230 42%, #0b1024 100%);
  color: #eef1ff; padding-top: calc(var(--nav-h) + 40px);
}
body.en .hero { background: radial-gradient(1100px 620px at 22% -10%, #1e1b4b 0%, #151230 42%, #0b1024 100%); }
.mesh { position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(900px 520px at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(900px 520px at 50% 20%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.o1 { width: 480px; height: 480px; background: rgba(124,58,237,.5); top: -180px; inset-inline-start: -140px; animation: float 11s ease-in-out infinite; }
.o2 { width: 380px; height: 380px; background: rgba(79,70,229,.45); top: -60px; inset-inline-end: -100px; animation: float 13s ease-in-out infinite reverse; }
.o3 { width: 300px; height: 300px; background: rgba(219,39,119,.32); bottom: -140px; inset-inline-start: 38%; animation: float 15s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-34px) scale(1.06); } }

.hero-in { position: relative; z-index: 3; max-width: 1180px; margin: 0 auto; padding: 0 22px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 800;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  padding: 8px 18px; border-radius: 99px; backdrop-filter: blur(8px);
  color: #d9dcff; margin-bottom: 26px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.hero-title { font-size: clamp(38px, 6.2vw, 68px); font-weight: 900; line-height: 1.22; letter-spacing: -.02em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 680px; margin: 24px auto 0; font-size: 17.5px; line-height: 2; color: #b6bfdd; }
.hero-sub b { color: #fff; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 15.5px; padding: 15px 28px; border-radius: 14px;
  cursor: pointer; transition: transform .18s, box-shadow .18s, filter .18s; border: 0; font-family: var(--font);
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(.99); }
.btn.primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn.primary:hover { filter: brightness(1.09); box-shadow: 0 34px 80px -28px rgba(124,58,237,.6); }
.btn.glass { background: rgba(255,255,255,.08); color: #eef1ff; border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(10px); }
.btn.glass:hover { background: rgba(255,255,255,.14); }
.btn.big { font-size: 17.5px; padding: 18px 34px; border-radius: 16px; }
.btn .sz { font-size: 12px; font-weight: 700; opacity: .8; border-inline-start: 1px solid currentColor; padding-inline-start: 9px; }
.meta-chips { margin-top: 26px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.meta-chips span { font-size: 12.5px; font-weight: 700; color: #b6bfdd; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: 6px 13px; border-radius: 99px; }

.hero-shot { position: relative; z-index: 3; max-width: 940px; margin: 46px auto 0; padding: 0 22px 140px; perspective: 1400px; }
.browser-frame { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 60px 130px -40px rgba(0,0,0,.65); }
.hero-frame { transform: rotateX(4deg); transition: transform .6s ease; }
.hero-frame:hover { transform: rotateX(0); }
.bf-bar { display: flex; align-items: center; gap: 7px; padding: 11px 15px; background: #fafbff; border-bottom: 1px solid #eef1f8; }
.bf-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.bf-bar i { margin-inline-start: auto; font-style: normal; font-size: 12px; color: #8a94ad; font-weight: 700; font-family: var(--mono); }
.bf-pill { font-size: 10.5px; font-weight: 900; letter-spacing: .08em; background: #10b981; color: #fff; padding: 3px 9px; border-radius: 99px; margin-inline-start: 8px; }
.browser-frame img { width: 100%; }
.floating-chip {
  position: absolute; display: inline-flex; gap: 8px; align-items: center; z-index: 5;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px); color: #fff; font-size: 13.5px; font-weight: 800;
  padding: 10px 16px; border-radius: 99px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6);
  animation: floatChip 5s ease-in-out infinite;
}
.floating-chip span:first-child { font-size: 16px; }
.c1 { top: 4%; inset-inline-start: -14px; }
.c2 { top: 30%; inset-inline-end: -10px; animation-delay: 1.2s; }
.c3 { bottom: 7%; inset-inline-start: 9%; animation-delay: 2.1s; }
@keyframes floatChip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.scroll-hint { position: absolute; bottom: 26px; inset-inline-start: 50%; transform: translateX(50%); z-index: 4; color: #7f8bb0; font-size: 13px; font-weight: 700; opacity: .8; }
body.en .scroll-hint { transform: translateX(-50%); }
.scroll-hint { animation: bob 2s infinite; }
@keyframes bob { 0%,100% { translate: 0 0; } 50% { translate: 0 7px; } }

/* ─────────── MARQUEE ─────────── */
.marquee { overflow: hidden; background: var(--grad); color: #fff; padding: 14px 0; transform: rotate(-.4deg) scale(1.02); position: relative; z-index: 5; margin-top: -8px; }
.marquee-track { display: inline-flex; gap: 26px; white-space: nowrap; font-weight: 800; font-size: 15px; animation: scrollx 22s linear infinite; padding-inline-end: 26px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(-50%); } }
body.en .marquee-track { animation-direction: reverse; }

/* ─────────── STATS ─────────── */
.stats { max-width: 1180px; margin: 0 auto; padding: 56px 22px 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 16px; box-shadow: 0 18px 44px -30px rgba(11,20,38,.25); transition: transform .2s; }
.stat:hover { transform: translateY(-5px); }
.stat b { font-size: 42px; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-weight: 700; font-size: 15px; }

/* ─────────── SECTIONS ─────────── */
.section { max-width: 1180px; margin: 0 auto; padding: 84px 22px; }
.section.band { max-width: none; padding-inline: 22px; background: linear-gradient(180deg, var(--bg), var(--bg2)); }
.section.band > * { max-width: 1180px; margin-inline: auto; }
.sec-head { text-align: center; margin-bottom: 48px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); background: rgba(79,70,229,.08); border: 1px solid rgba(79,70,229,.18); padding: 6px 15px; border-radius: 99px; margin-bottom: 16px; }
.sec-title { font-size: clamp(27px, 3.8vw, 42px); font-weight: 900; letter-spacing: -.01em; }
.sec-sub { color: var(--muted); font-size: 16px; margin-top: 10px; }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative; overflow: hidden; transition: transform .22s, box-shadow .22s, border-color .22s; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); opacity: 0; transition: opacity .22s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card .ic { font-size: 27px; width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px; }
.ic.g1 { background: linear-gradient(135deg, #eef0ff, #e7e8ff); }
.ic.g2 { background: linear-gradient(135deg, #ffeef6, #ffe4ef); }
.ic.g3 { background: linear-gradient(135deg, #eefaff, #e0f6ff); }
.card h3 { font-size: 18.5px; font-weight: 900; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 14.2px; line-height: 1.85; }

/* SHOWCASE */
.show-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.show-big { grid-column: 1 / -1; }
.show-grid figure { transition: transform .25s; }
.show-grid figure:hover { transform: translateY(-4px); }
.show-grid figcaption { text-align: center; color: var(--muted); font-size: 13.5px; font-weight: 700; margin-top: 13px; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 22px 50px -30px rgba(11,20,38,.35); }
.mock-head { display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; color: var(--muted); }
.mock-head.term { background: #0d1526; color: #8ba0c0; border-bottom-color: #1c2b45; }
.m-ax { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 900; color: #fff; }
.term-mock .m-ax { background: #1a2740; }
.chat-mock .m-ax { background: var(--grad); }
.mock-body.term { background: #0d1526; font-family: var(--mono); font-size: 12.8px; padding: 16px 16px 10px; min-height: 220px; }
.tl { color: #c3d1ea; padding: 3px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl .p { color: #7dd3fc; font-weight: 600; }
.tl.ok { color: #86efac; }
.tl.ok.fin { color: #4ade80; font-weight: 700; }
.tl i { font-style: normal; color: #93c5fd; }
.lines-static { direction: ltr; text-align: left; }
.mock-body.chat { padding: 18px 16px; display: flex; flex-direction: column; gap: 11px; min-height: 242px; }
.c-out { align-self: flex-end; background: var(--grad); color: #fff; border-radius: 15px 15px 3px 15px; padding: 10px 14px; font-size: 13.5px; max-width: 86%; font-weight: 600; }
.c-in { align-self: flex-start; background: var(--bg2); border: 1px solid var(--line); border-radius: 15px 15px 15px 3px; padding: 10px 14px; font-size: 13.5px; max-width: 92%; }
.c-in .muted { color: var(--muted); font-size: 11px; }
.c-in b { color: var(--ok, #16a34a); }
.mock-foot { padding: 11px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); text-align: center; font-weight: 700; background: #fbfcff; }

/* CAPABILITIES */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 13px; }
.cap { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px 17px; font-weight: 800; font-size: 14.5px; transition: transform .18s, box-shadow .18s, border-color .18s; }
.cap:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.cap span:first-child { font-size: 22px; background: var(--grad-soft); border-radius: 11px; width: 44px; height: 44px; display: grid; place-items: center; }

/* DEMO TERMINAL */
.demo-sec { }
.demo-wrap { max-width: 760px; margin: 0 auto; }
.terminal { background: #0a1122; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 90px -40px rgba(11,20,38,.7); border: 1px solid #1c2b45; }
.term-head { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #0d1526; border-bottom: 1px solid #1c2b45; }
.term-head i { margin-inline-start: auto; font-style: normal; font-family: var(--mono); font-size: 12px; color: #6d7fa3; }
.term-body { font-family: var(--mono); font-size: 13.5px; line-height: 1.9; padding: 20px 22px; min-height: 300px; color: #c3d1ea; direction: ltr; text-align: left; }
.term-body .ln { white-space: pre-wrap; }
.term-body .cmd { color: #7dd3fc; }
.term-body .out-ok { color: #86efac; }
.term-body .out-mut { color: #93c5fd; }
.term-body .prompt { color: #fbbf24; }
.caret { display: inline-block; width: 9px; height: 17px; background: #7dd3fc; vertical-align: text-bottom; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.demo-actions .btn.glass { color: var(--ink); border-color: var(--line); background: #fff; }

/* STEPS / HOW */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; position: relative; }
.step { text-align: center; padding: 34px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.num { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 16px; background: var(--grad); color: #fff; font-weight: 900; font-size: 22px; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(124,58,237,.55); }
.step h3 { font-size: 17.5px; font-weight: 900; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 14px; line-height: 1.85; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 13px; }
.faq-i { background: #fff; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; transition: box-shadow .2s; }
.faq-i[open] { box-shadow: var(--shadow); }
.faq-i summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 15.5px; padding: 18px 22px; display: flex; align-items: center; gap: 12px; }
.faq-i summary::-webkit-details-marker { display: none; }
.faq-i summary::after { content: "+"; margin-inline-start: auto; font-size: 22px; font-weight: 900; color: var(--accent); transition: transform .25s; }
.faq-i[open] summary::after { transform: rotate(45deg); }
.faq-i p { color: var(--muted); font-size: 14.5px; line-height: 1.9; padding: 0 22px 20px; }

/* DOWNLOAD */
.dl-card {
  position: relative; overflow: hidden; text-align: center;
  background: radial-gradient(900px 500px at 50% -20%, #1e1b4b 0%, #151230 55%, #0b1024 100%);
  color: #eef1ff; border-radius: 30px; padding: clamp(44px, 7vw, 76px) 30px;
  box-shadow: 0 50px 120px -40px rgba(11,20,38,.6);
}
.dl-card .mesh { opacity: .35; }
.dl-inner { position: relative; z-index: 2; }
.dl-logo { width: 82px; height: 82px; margin: 0 auto 20px; border-radius: 22px; background: var(--grad); color: #fff; display: grid; place-items: center; box-shadow: 0 24px 60px -16px rgba(124,58,237,.7); }
.dl-logo svg { width: 44px; height: 44px; }
.dl-card h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 900; }
.dl-sub { color: #aab5d5; font-size: 15px; margin: 10px 0 32px; font-weight: 600; }
.dl-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.dl-note { margin-top: 22px; font-size: 13.5px; color: #aab5d5; }
.dl-card .btn.glass { color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.07); }

/* FOOTER */
.footer { background: #0a1122; color: #c7d2e8; margin-top: 40px; }
.foot-grid { max-width: 1180px; margin: 0 auto; padding: 54px 22px 30px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; }
.foot-brand p { font-size: 14px; line-height: 1.9; color: #93a5c4; margin-top: 14px; max-width: 300px; }
.foot-badges { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.foot-badges span { font-size: 12px; font-weight: 700; background: #16223c; border: 1px solid #243352; color: #b9c6de; padding: 5px 12px; border-radius: 99px; }
.foot-col h4 { color: #fff; font-size: 14px; font-weight: 900; margin-bottom: 14px; letter-spacing: .03em; }
.foot-col a { display: block; color: #93a5c4; font-size: 13.5px; font-weight: 600; padding: 5px 0; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid #1c2b45; max-width: 1180px; margin: 0 auto; padding: 20px 22px 30px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.foot-bottom .tiny { color: #6d7fa3; font-size: 12.5px; }

/* TOAST */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); background: #0a1122; color: #fff; padding: 14px 24px; border-radius: 14px; font-size: 14px; font-weight: 800; z-index: 99; box-shadow: 0 20px 50px rgba(0,0,0,.4); opacity: 0; translate: 0 16px; pointer-events: none; transition: .3s; border: 1px solid #243352; }
.toast.show { opacity: 1; translate: 0 0; }

/* DOWNLOAD OVERLAY */
.dl-overlay { position: fixed; inset: 0; background: rgba(9,14,30,.62); backdrop-filter: blur(8px); display: grid; place-items: center; z-index: 100; opacity: 0; pointer-events: none; transition: opacity .25s; }
.dl-overlay.show { opacity: 1; }
.dl-box { background: #fff; border-radius: 18px; padding: 28px 30px; display: flex; gap: 18px; align-items: center; box-shadow: 0 40px 100px rgba(0,0,0,.4); min-width: 300px; }
.dl-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--bg2); border-top-color: var(--accent); animation: spin 0.9s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.dl-title { font-weight: 800; font-size: 15px; }
.dl-bar { height: 8px; background: var(--bg2); border-radius: 99px; margin-top: 9px; overflow: hidden; }
.dl-bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width .2s; }
.dl-pct { font-size: 12px; color: var(--muted); font-weight: 700; margin-top: 6px; }

/* REVEAL base hidden off */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 840px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .show-grid { grid-template-columns: 1fr; }
  .show-big { grid-column: auto; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .floating-chip.c1 { inset-inline-start: 0; }
  .floating-chip.c2 { inset-inline-end: 0; }
}
@media (max-width: 520px) {
  .hero { padding-top: calc(var(--nav-h) + 26px); }
  .hero-sub { font-size: 16px; }
  .lang-switch { display: none; }
  .foot-bottom { justify-content: center; text-align: center; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat b { font-size: 32px; }
}