/* الوعد هناك — shared site styles (landing + privacy) */
:root {
  --bg: #f8f8fc;
  --bg-2: #f0eefb;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, .72);
  --ink: #272938;
  --ink-2: #474a5e;
  --muted: #7b7e90;
  --border: #eae9f1;
  --primary: #8278c7;
  --primary-dark: #574d91;
  --primary-soft: #f0eefb;
  --accent: #79ae9b;
  --accent-dark: #3c9674;
  --accent-soft: #eaf5f1;
  --warm: #d98a3a;
  --rose: #d95f67;
  --grad: linear-gradient(135deg, #8278c7 0%, #6f8fd0 50%, #79ae9b 100%);
  --grad-soft: linear-gradient(135deg, #f4f1ff 0%, #e8f5f1 100%);
  --shadow-sm: 0 2px 8px rgba(39, 41, 56, .06);
  --shadow: 0 18px 50px -18px rgba(87, 77, 145, .28);
  --shadow-lg: 0 40px 90px -30px rgba(87, 77, 145, .45);
  --radius: 22px;
  --radius-lg: 32px;
  --map-bg: #eef0f6;
  --map-road: #ffffff;
  --map-block: #e3e6ef;
  --map-park: #dcefe6;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12121a;
    --bg-2: #1a1926;
    --surface: #1d1c2a;
    --surface-glass: rgba(29, 28, 42, .72);
    --ink: #f1f0f8;
    --ink-2: #c9c8d8;
    --muted: #9a9cb0;
    --border: #2d2c3e;
    --primary: #9d94e0;
    --primary-dark: #c3bdf2;
    --primary-soft: #262342;
    --accent: #8cc5b0;
    --accent-dark: #8cc5b0;
    --accent-soft: #1b2e28;
    --grad-soft: linear-gradient(135deg, #221f38 0%, #172a25 100%);
    --shadow: 0 18px 50px -18px rgba(0, 0, 0, .6);
    --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .8);
    --map-bg: #1f2030;
    --map-road: #2c2d42;
    --map-block: #25263a;
    --map-park: #1c3029;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12121a;
  --bg-2: #1a1926;
  --surface: #1d1c2a;
  --surface-glass: rgba(29, 28, 42, .72);
  --ink: #f1f0f8;
  --ink-2: #c9c8d8;
  --muted: #9a9cb0;
  --border: #2d2c3e;
  --primary: #9d94e0;
  --primary-dark: #c3bdf2;
  --primary-soft: #262342;
  --accent: #8cc5b0;
  --accent-dark: #8cc5b0;
  --accent-soft: #1b2e28;
  --grad-soft: linear-gradient(135deg, #221f38 0%, #172a25 100%);
  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .6);
  --shadow-lg: 0 40px 90px -30px rgba(0, 0, 0, .8);
  --map-bg: #1f2030;
  --map-road: #2c2d42;
  --map-block: #25263a;
  --map-park: #1c3029;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html[dir="rtl"] { --flip: -1; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: "Plus Jakarta Sans", "Cairo", system-ui, sans-serif; line-height: 1.65; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--primary); color: #fff; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }

/* Language switching: elements carry data-l="ar" | data-l="en" */
html[lang="ar"] [data-l="en"], html[lang="en"] [data-l="ar"] { display: none !important; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ambient span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 22s ease-in-out infinite alternate; }
.ambient span:nth-child(1) { width: 520px; height: 520px; background: #cfc9f5; top: -160px; inset-inline-end: -120px; }
.ambient span:nth-child(2) { width: 460px; height: 460px; background: #cde9de; top: 40%; inset-inline-start: -180px; animation-delay: -6s; }
.ambient span:nth-child(3) { width: 380px; height: 380px; background: #f3dcc4; bottom: -160px; inset-inline-end: 20%; animation-delay: -12s; opacity: .35; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ambient span { opacity: .18; } }
:root[data-theme="dark"] .ambient span { opacity: .18; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.12); } }

/* ---------- Header ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--surface-glass); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); border-bottom-color: var(--border); }
.nav .container { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.brand .logo { width: 40px; height: 40px; flex: none; }
.nav-links { display: flex; gap: 6px; margin-inline-start: auto; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--primary-soft); color: var(--primary-dark); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-grid; place-items: center; height: 40px; min-width: 40px; padding: 0 12px;
  border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  cursor: pointer; font-weight: 700; font-size: .85rem; transition: transform .2s, border-color .2s;
}
.icon-btn:hover { border-color: var(--primary); transform: translateY(-1px); }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 880px) {
  .nav-links { display: none; position: absolute; top: 72px; inset-inline: 12px; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 10px; box-shadow: var(--shadow); }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .menu-btn { display: inline-grid; }
  .nav-actions { margin-inline-start: auto; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 16px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 30px -12px rgba(130, 120, 199, .8); background-size: 160% 160%; animation: shimmer 6s ease infinite; }
.btn-primary:hover { box-shadow: 0 20px 40px -14px rgba(130, 120, 199, .9); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--ink); }
.btn-ghost:hover { border-color: var(--primary); }
@keyframes shimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.store { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 18px; border-radius: 16px; background: var(--ink); color: var(--bg); min-width: 186px; transition: transform .25s, box-shadow .25s; }
.store:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.store svg { width: 28px; height: 28px; flex: none; }
.store small { display: block; font-size: .7rem; opacity: .75; line-height: 1.2; font-weight: 500; }
.store b { display: block; font-size: 1.05rem; line-height: 1.25; }
.store.soon { position: relative; }
.store .tag { position: absolute; top: -10px; inset-inline-end: -8px; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 90px; position: relative; }
.hero .container { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .88rem; font-weight: 700; color: var(--primary-dark); box-shadow: var(--shadow-sm); }
.eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.eyebrow .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(121, 174, 155, .7); } 100% { box-shadow: 0 0 0 10px rgba(121, 174, 155, 0); } }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); line-height: 1.18; margin: 22px 0 18px; font-weight: 900; letter-spacing: -.02em; }
html[lang="en"] h1 { line-height: 1.08; letter-spacing: -.035em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 200%; animation: shimmer 7s ease infinite; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-2); max-width: 560px; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: var(--muted); font-size: .92rem; font-weight: 600; }
.hero-note span { display: inline-flex; align-items: center; gap: 8px; }
.hero-note svg { width: 18px; height: 18px; color: var(--accent-dark); }

/* ---------- Phone mockup ---------- */
.stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.stage::before { content: ""; position: absolute; width: 440px; height: 440px; border-radius: 50%; background: var(--grad); opacity: .16; filter: blur(10px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .24; } }
.orbit { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--primary) 35%, transparent); animation: spin 60s linear infinite; }
.orbit::after { content: ""; position: absolute; top: 50%; inset-inline-start: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 25%, transparent); }
@keyframes spin { to { transform: rotate(360deg); } }

.phone {
  position: relative; width: 290px; height: 596px; border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #3a3b4f, #1b1c27); box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.08);
  transform: rotate(-4deg); animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-14px); } }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: var(--map-bg); }
.notch { position: absolute; top: 10px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 20px; background: #0d0d14; z-index: 5; }
.map { position: absolute; inset: 0; }
.map svg { width: 100%; height: 100%; }
.app-top { position: absolute; top: 46px; inset-inline: 12px; z-index: 4; display: flex; gap: 8px; }
.search { flex: 1; height: 40px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 8px; padding: 0 12px; font-size: .74rem; color: var(--muted); font-weight: 600; }
.search svg { width: 15px; height: 15px; }
.app-chips { position: absolute; top: 94px; inset-inline: 12px; z-index: 4; display: flex; gap: 6px; }
.app-chips span { font-size: .66rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-sm); }
.app-chips span.on { background: var(--primary); color: #fff; }

.venue { position: absolute; z-index: 2; width: 18px; height: 18px; translate: -50% -50%; }
.venue i { position: absolute; inset: 0; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 3px 8px rgba(0,0,0,.2); }
.venue::before, .venue::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; background: var(--c); opacity: .35; animation: halo 2.8s ease-out infinite; }
.venue::after { animation-delay: 1.4s; }
@keyframes halo { 0% { transform: scale(.4); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }

.friend { position: absolute; z-index: 3; translate: -50% -100%; display: grid; justify-items: center; animation: walk var(--d, 9s) ease-in-out infinite alternate; }
.friend b { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: .8rem; font-weight: 800; background: var(--c); border: 3px solid #fff; box-shadow: 0 6px 14px rgba(0,0,0,.22); }
.friend::after { content: ""; width: 10px; height: 10px; background: var(--c); border: 3px solid #fff; border-top: 0; border-inline-start: 0; rotate: 45deg; margin-top: -8px; }
@keyframes walk { to { transform: translate(var(--x, 20px), var(--y, -16px)); } }

.sheet { position: absolute; bottom: 10px; inset-inline: 10px; z-index: 4; background: var(--surface); border-radius: 22px; padding: 14px; box-shadow: 0 -10px 30px rgba(0,0,0,.08); }
.sheet .grip { width: 36px; height: 4px; border-radius: 4px; background: var(--border); margin: -4px auto 10px; }
.sheet-row { display: flex; align-items: center; gap: 10px; }
.sheet-ic { width: 40px; height: 40px; border-radius: 13px; background: var(--grad-soft); display: grid; place-items: center; color: var(--primary-dark); }
.sheet-ic svg { width: 22px; height: 22px; }
.sheet h4 { margin: 0; font-size: .86rem; line-height: 1.3; }
.sheet p { margin: 0; font-size: .7rem; color: var(--muted); }
.sheet-row > div:nth-child(2) { min-width: 0; flex: 1; }
.avatars { display: flex; flex: none; }
.avatars span + span { margin-inline-start: -8px; }
.avatars span { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--surface); display: grid; place-items: center; font-size: .6rem; color: #fff; font-weight: 800; }
.sheet .btn-mini { margin-top: 12px; display: flex; justify-content: center; gap: 6px; padding: 9px; border-radius: 12px; background: var(--grad); color: #fff; font-size: .76rem; font-weight: 800; }

.float-card {
  position: absolute; z-index: 6; display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: var(--surface-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); font-size: .82rem; font-weight: 700;
  animation: bob 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-weight: 600; font-size: .72rem; }
.float-card .ic { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.float-card .ic svg { width: 18px; height: 18px; }
.fc-1 { top: 150px; inset-inline-start: -40px; }
.fc-2 { bottom: 130px; inset-inline-end: -40px; animation-delay: -2s; }
.fc-3 { top: 70px; inset-inline-end: -30px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 30px; }
  .lead { margin-inline: auto; }
  .hero-cta, .hero-note { justify-content: center; }
  .stage { min-height: 560px; }
}
main, footer { overflow-x: clip; }
.sheet h4, .sheet p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store b { white-space: nowrap; }
@media (max-width: 980px) {
  .fc-1 { inset-inline-start: 0; }
  .fc-2 { inset-inline-end: 0; }
  .fc-3 { inset-inline-end: 0; }
}
@media (max-width: 480px) {
  .hero { padding-top: 28px; }
  .stage { min-height: 520px; transform: scale(.88); margin: -30px 0; }
  .stage::before { width: 320px; height: 320px; }
  .orbit { width: 340px; height: 340px; }
  .fc-3 { display: none; }
  .hero-cta .store, .cta .store { min-width: 0; flex: 1 1 150px; padding: 10px 14px; gap: 10px; }
  .store b { font-size: .95rem; }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--border); background: var(--surface); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll-x 34s linear infinite; }
html[dir="rtl"] .marquee-track { animation-name: scroll-x-rtl; }
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.05rem; color: var(--ink-2); white-space: nowrap; }
.marquee-track span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@keyframes scroll-x-rtl { to { transform: translateX(50%); } }

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.kicker { display: inline-block; font-size: .85rem; font-weight: 800; color: var(--primary); background: var(--primary-soft); padding: 4px 14px; border-radius: 999px; margin-bottom: 14px; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); line-height: 1.25; margin: 0 0 14px; font-weight: 900; letter-spacing: -.02em; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-color .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 30%, var(--border)); }
.card h3 { font-size: 1.3rem; margin: 18px 0 8px; font-weight: 800; line-height: 1.4; }
.card p { margin: 0; color: var(--ink-2); }
.card .ic { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--ic-bg, var(--primary-soft)); color: var(--ic, var(--primary-dark)); }
.card .ic svg { width: 26px; height: 26px; }
.c-span-3 { grid-column: span 3; }
.c-span-2 { grid-column: span 2; }
.c-span-4 { grid-column: span 4; }
.card.feature-xl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; background: var(--grad-soft); }
.card .spot { position: absolute; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 22%, transparent), transparent 70%); top: -80px; inset-inline-end: -80px; pointer-events: none; transition: transform .6s; }
.card:hover .spot { transform: scale(1.3); }

.halo-demo { position: relative; height: 210px; display: grid; place-items: center; }
.halo-demo .ring { position: absolute; border-radius: 50%; border: 2px solid var(--c); opacity: 0; animation: ripple 3.6s ease-out infinite; }
.halo-demo .ring:nth-child(2) { animation-delay: 1.2s; }
.halo-demo .ring:nth-child(3) { animation-delay: 2.4s; }
@keyframes ripple { 0% { width: 40px; height: 40px; opacity: .9; } 100% { width: 220px; height: 220px; opacity: 0; } }
.halo-demo .core { position: relative; width: 74px; height: 74px; border-radius: 24px; background: var(--surface); display: grid; place-items: center; box-shadow: var(--shadow); color: var(--primary-dark); }
.halo-demo .core svg { width: 36px; height: 36px; }
.halo-swatches { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.halo-swatches button { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--surface); background: var(--c); cursor: pointer; box-shadow: 0 0 0 1px var(--border); transition: transform .2s; }
.halo-swatches button[aria-pressed="true"], .halo-swatches button:hover { transform: scale(1.18); box-shadow: 0 0 0 2px var(--c); }

.chat-demo { display: grid; gap: 10px; margin-top: 22px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: .92rem; font-weight: 600; opacity: 0; transform: translateY(10px); }
.bubble.in { background: var(--bg-2); justify-self: start; border-end-start-radius: 6px; }
.bubble.out { background: var(--primary); color: #fff; justify-self: end; border-end-end-radius: 6px; }
.reveal.visible .bubble { animation: pop .5s cubic-bezier(.2,.9,.3,1.3) forwards; }
.reveal.visible .bubble:nth-child(2) { animation-delay: .5s; }
.reveal.visible .bubble:nth-child(3) { animation-delay: 1s; }
.typing { display: inline-flex; gap: 4px; justify-self: start; padding: 12px 14px; border-radius: 18px; background: var(--bg-2); opacity: 0; }
.reveal.visible .typing { animation: pop .4s 1.5s forwards; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: .25; transform: translateY(-3px); } }

.radar { position: relative; aspect-ratio: 1; max-width: 300px; width: 100%; margin-inline: auto; }
.radar .c { position: absolute; inset: var(--i); border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--primary) 25%, transparent); }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, color-mix(in srgb, var(--primary) 28%, transparent), transparent 25%); animation: spin 5s linear infinite; }
.radar .me { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 60px; height: 60px; border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--primary-dark); }
.radar .me svg { width: 30px; height: 30px; }
.radar .p { position: absolute; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; background: var(--c); border: 3px solid var(--surface); box-shadow: 0 8px 18px rgba(0,0,0,.18); animation: bob 5s ease-in-out infinite; animation-delay: var(--dl, 0s); }
.radar .p::after { content: ""; position: absolute; bottom: -2px; inset-inline-end: -2px; width: 12px; height: 12px; border-radius: 50%; background: #3c9674; border: 2px solid var(--surface); }
.vis-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.vis-list span { font-size: .82rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--border); }
.vis-list span.on { background: var(--accent-soft); color: var(--accent-dark); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }

@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .c-span-3, .c-span-2, .c-span-4 { grid-column: span 1; }
  .card.feature-xl { grid-column: span 2; grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .card.feature-xl { grid-column: span 1; }
  .section { padding: 80px 0; }
  .card { padding: 24px; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 38px; inset-inline: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--primary) 0 8px, transparent 8px 16px); opacity: .4; }
.step { text-align: center; padding: 0 12px; position: relative; }
.step .num { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 26px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: 1.6rem; font-weight: 900; color: var(--primary-dark); position: relative; }
.step .num::after { content: ""; position: absolute; inset: -6px; border-radius: 30px; border: 2px solid var(--primary); opacity: 0; transition: opacity .4s, inset .4s; }
.step:hover .num::after { opacity: .5; inset: -10px; }
.step h3 { margin: 0 0 6px; font-size: 1.2rem; font-weight: 800; }
.step p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 40px; } .steps::before { display: none; } }

/* Privacy band */
.privacy-band { position: relative; border-radius: 40px; overflow: hidden; padding: 64px; background: linear-gradient(135deg, #2f2a55 0%, #3c3577 50%, #2e5a4c 100%); color: #fff; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.privacy-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx, 70%) var(--my, 30%), rgba(255,255,255,.12), transparent 50%); pointer-events: none; }
.privacy-band h2 { color: #fff; }
.privacy-band p { color: rgba(255,255,255,.82); font-size: 1.08rem; }
.privacy-band .kicker { background: rgba(255,255,255,.12); color: #fff; }
.checks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: #a6e3cd; }
.shield { position: relative; display: grid; place-items: center; height: 320px; }
.shield svg { width: 210px; height: 210px; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); animation: float2 6s ease-in-out infinite; }
.shield .ring { position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.shield .ring.r2 { width: 220px; height: 220px; border-style: dashed; animation: spin 40s linear infinite; }
@keyframes float2 { 50% { transform: translateY(-12px) rotate(2deg); } }
.btn-light { background: #fff; color: #2f2a55; }
@media (max-width: 900px) { .privacy-band { grid-template-columns: 1fr; padding: 40px 26px; border-radius: 30px; } .shield { height: 240px; order: -1; } .shield svg { width: 160px; height: 160px; } .shield .ring { width: 230px; height: 230px; } .shield .ring.r2 { width: 170px; height: 170px; } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 0 24px; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; margin-inline-start: auto; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23574d91' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .35s; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .ans { padding: 0 0 22px; color: var(--ink-2); }
.faq .ans p { margin: 0; }

/* CTA */
.cta { text-align: center; position: relative; border-radius: 40px; padding: 80px 24px; background: var(--grad-soft); border: 1px solid var(--border); overflow: hidden; }
.cta .stores { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cta .bean { position: absolute; width: 90px; height: 90px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--primary-dark); animation: bob 7s ease-in-out infinite; }
.cta .bean svg { width: 40px; height: 40px; }
.cta .b1 { top: 40px; inset-inline-start: 6%; rotate: -12deg; }
.cta .b2 { bottom: 40px; inset-inline-end: 7%; rotate: 10deg; animation-delay: -3s; color: var(--accent-dark); }
@media (max-width: 760px) { .cta .bean { display: none; } .cta { padding: 56px 20px; border-radius: 30px; } }

/* Footer */
footer { padding: 60px 0 40px; margin-top: 90px; border-top: 1px solid var(--border); background: var(--surface); }
.foot { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
.foot h4 { margin: 0 0 12px; font-size: .95rem; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { color: var(--ink-2); font-weight: 600; transition: color .2s; }
.foot a:hover { color: var(--primary); }
.foot p { color: var(--muted); margin: 12px 0 0; max-width: 340px; }
.copy { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .9rem; }
/* Floating contact buttons (always bottom-right) */
.fab-stack { position: fixed; bottom: 24px; right: 24px; z-index: 45; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fab {
  position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255,255,255,.18);
  transition: transform .3s cubic-bezier(.2,.9,.3,1.3), box-shadow .3s;
  animation: fab-in .6s cubic-bezier(.2,.9,.3,1.3) both; animation-delay: var(--in, .6s);
}
.fab svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.fab:hover { transform: translateY(-4px) scale(1.06); }
.fab.wa { background: linear-gradient(145deg, #2fe37a, #1ebe5a); }
.fab.call { background: var(--grad); width: 50px; height: 50px; --in: .8s; }
.fab.call svg { width: 22px; height: 22px; }
.fab.wa::before, .fab.wa::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: 0; animation: fab-pulse 2.4s ease-out infinite; }
.fab.wa::after { animation-delay: 1.2s; }
@keyframes fab-pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes fab-in { from { opacity: 0; transform: translateY(24px) scale(.6); } to { opacity: 1; transform: none; } }
.fab .tip {
  position: absolute; right: calc(100% + 14px); top: 50%; translate: 0 -50%; white-space: nowrap;
  background: var(--ink); color: var(--bg); padding: 7px 14px; border-radius: 12px; font-size: .85rem; font-weight: 700;
  opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none; box-shadow: var(--shadow);
}
.fab .tip::after { content: ""; position: absolute; left: 100%; top: 50%; translate: 0 -50%; border: 6px solid transparent; border-left-color: var(--ink); }
.fab:hover .tip, .fab:focus-visible .tip { opacity: 1; transform: none; }
.to-top { inset-inline-end: auto; left: 24px; }
@media (max-width: 640px) {
  .fab-stack { bottom: 16px; right: 16px; gap: 12px; }
  .fab { width: 54px; height: 54px; }
  .fab.call { width: 46px; height: 46px; }
  .fab .tip { display: none; }
  .to-top { left: 16px; bottom: 16px; }
}
@media print { .fab-stack { display: none !important; } }

/* Footer contact icons */
.contact-icons { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.contact-icons a {
  width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; color: var(--ic, var(--primary-dark));
  background: var(--ic-bg, var(--primary-soft)); border: 1px solid var(--border); transition: transform .25s, background .25s, color .25s, box-shadow .25s;
}
.contact-icons a svg { width: 22px; height: 22px; }
.contact-icons a:hover { transform: translateY(-3px); background: var(--ic-h, var(--primary)); color: #fff; box-shadow: var(--shadow); }
.contact-icons a.wa { --ic: #1ea952; --ic-bg: rgba(37, 211, 102, .13); --ic-h: #25d366; }
.contact-icons a.mail { --ic: #c27a2e; --ic-bg: rgba(217, 138, 58, .14); --ic-h: #d98a3a; }
.foot .mail-line { color: var(--muted); font-weight: 600; font-size: .92rem; }
.dev-link { color: var(--primary-dark); font-weight: 800; transition: color .2s; }
.dev-link:hover { color: var(--accent-dark); }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; gap: 28px; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--delay, 0s); }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Legal page ---------- */
.legal-hero { padding-block: 60px 40px; text-align: center; }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 18px 0 12px; }
.legal-hero p { color: var(--ink-2); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }
.meta-pills { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.meta-pills > span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .88rem; font-weight: 700; color: var(--ink-2); }
.meta-pills svg { width: 16px; height: 16px; color: var(--primary); }

.legal { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; padding-bottom: 40px; }
.toc { position: sticky; top: 96px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 18px; max-height: calc(100vh - 120px); overflow: auto; }
.toc h4 { margin: 4px 8px 10px; font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.toc li a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 12px; color: var(--ink-2); font-size: .92rem; font-weight: 600; line-height: 1.5; transition: background .2s, color .2s; }
.toc li a::before { counter-increment: t; content: counter(t); flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--bg-2); display: grid; place-items: center; font-size: .72rem; font-weight: 800; margin-top: 1px; }
.toc li a:hover, .toc li a.active { background: var(--primary-soft); color: var(--primary-dark); }
.toc li a.active::before { background: var(--primary); color: #fff; }
.progress { position: fixed; top: 0; inset-inline-start: 0; height: 3px; width: 0; background: var(--grad); z-index: 60; transition: width .1s linear; }

.doc { min-width: 0; }
.summary-card { background: var(--grad-soft); border: 1px solid var(--border); border-radius: 28px; padding: 28px; margin-bottom: 28px; }
.summary-card h2 { font-size: 1.35rem; margin: 0 0 16px; }
.summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.summary-grid div { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border-radius: 18px; padding: 14px 16px; font-weight: 600; font-size: .95rem; line-height: 1.6; border: 1px solid var(--border); }
.summary-grid svg { width: 22px; height: 22px; flex: none; color: var(--accent-dark); margin-top: 2px; }
@media (max-width: 640px) { .summary-grid { grid-template-columns: 1fr; } }

.doc section { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 34px; margin-bottom: 18px; }
.doc section h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 14px; margin: 0 0 16px; }
.doc section h2 .n { flex: none; width: 40px; height: 40px; border-radius: 14px; background: var(--primary-soft); color: var(--primary-dark); display: grid; place-items: center; font-size: 1rem; font-weight: 900; }
.doc h3 { font-size: 1.1rem; margin: 22px 0 8px; font-weight: 800; color: var(--primary-dark); }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-inline-start: 22px; margin: 8px 0; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--primary); }
.doc strong { color: var(--ink); }
.doc a.link { color: var(--primary); font-weight: 700; border-bottom: 1px solid color-mix(in srgb, var(--primary) 40%, transparent); }
.table-wrap { overflow-x: auto; margin: 14px 0; border: 1px solid var(--border); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
th, td { text-align: start; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--bg-2); font-weight: 800; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
td { color: var(--ink-2); }
.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: 18px; background: var(--accent-soft); color: var(--ink); margin: 16px 0; font-weight: 600; }
.note svg { width: 22px; height: 22px; flex: none; color: var(--accent-dark); margin-top: 2px; }
.contact-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 14px; }
.contact-card a, .contact-card div { display: flex; gap: 12px; align-items: center; padding: 16px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--border); font-weight: 700; word-break: break-word; }
.contact-card svg { width: 22px; height: 22px; color: var(--primary); flex: none; }
.contact-card small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }
.to-top { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40; width: 48px; height: 48px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; opacity: 0; translate: 0 20px; transition: opacity .3s, translate .3s; }
.to-top.show { opacity: 1; translate: 0 0; }
.to-top svg { width: 20px; height: 20px; }
.brand { white-space: nowrap; }
@media (max-width: 980px) {
  .legal { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: sticky; top: 72px; z-index: 30; max-height: none; padding: 10px; border-radius: 18px; background: var(--surface-glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
  .toc h4 { display: none; }
  .toc ol { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
  .toc ol::-webkit-scrollbar { display: none; }
  .toc li a { white-space: nowrap; padding: 6px 12px; background: var(--bg-2); }
}
@media (max-width: 980px) { .doc section { scroll-margin-top: 150px; } }
@media (max-width: 640px) {
  table { min-width: 0; font-size: .86rem; }
  th, td { padding: 10px 12px; }
}
@media (max-width: 420px) { .print-btn { display: none !important; } .brand { font-size: 1.05rem; } }
@media (max-width: 640px) { .doc section { padding: 24px 20px; border-radius: 22px; } .doc section h2 { font-size: 1.25rem; } }

@media print {
  .nav, .ambient, .toc, .to-top, .progress, footer, .lang-hide-print { display: none !important; }
  .legal { display: block; }
  .doc section { border: 0; padding: 0 0 16px; break-inside: avoid-page; }
  body { background: #fff; color: #000; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .bubble, .typing { opacity: 1; transform: none; }
}
