/* WEAVO site — same tokens as the app: indigo/violet/coral, tinted neutrals,
   spacing 4/8/12/16/24/32/48/64/96, radii 12/20/28. */
:root {
  --bg: #F7F6FC;
  --surface: #FFFFFF;
  --surface-2: #EDEBF7;
  --ink: #15142B;
  --muted: #5E5C75;
  --line: #DAD8EA;
  --indigo: #5B4BFF;
  --violet: #8B5CF6;
  --coral: #FF6B5B;
  --brand: linear-gradient(120deg, #5B4BFF 0%, #8B5CF6 55%, #FF6B5B 100%);
  --stage: linear-gradient(135deg, #1E1B4B 0%, #4C1D95 50%, #0F172A 100%);
  --shadow: 0 24px 60px -20px rgba(91, 75, 255, .35);
  --r-s: 12px; --r-m: 20px; --r-l: 28px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F0E1A; --surface: #1B1A2D; --surface-2: #242338;
    --ink: #ECEAF7; --muted: #B0AEC6; --line: #34324A; --indigo: #A79EFF;
    --shadow: 0 24px 60px -20px rgba(0, 0, 0, .6);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.65 "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
[dir="rtl"] body, body[dir="rtl"] { font-family: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif; }
img { max-width: 100%; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { font-weight: 900; letter-spacing: .14em; font-size: 22px; background: var(--brand);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 20px; margin-inline-start: auto; align-items: center; font-weight: 600; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; color: var(--ink); }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 24px;
  border-radius: 999px; font-weight: 700; font-size: 16px; border: 0; cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); background: var(--surface); }
.btn small { font-weight: 500; opacity: .85; font-size: 12px; display: block; line-height: 1; }
.btn .stack { display: flex; flex-direction: column; line-height: 1.15; text-align: start; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35; z-index: -1; }
.hero::before { width: 520px; height: 520px; background: #8B5CF6; top: -160px; inset-inline-end: -120px; }
.hero::after { width: 420px; height: 420px; background: #FF6B5B; bottom: -200px; inset-inline-start: -140px; opacity: .22; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero .wrap > *, .shots > * { min-width: 0; }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); } .hero { padding: 48px 0 64px; } }
@media (max-width: 560px) { .hero .phone { width: 240px; } }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--indigo); background: color-mix(in srgb, var(--indigo) 12%, transparent); padding: 6px 12px; border-radius: 999px; }
h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; letter-spacing: -.03em; margin: 16px 0; font-weight: 900; }
[dir="rtl"] h1 { letter-spacing: 0; line-height: 1.25; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--muted); max-width: 34ch; margin: 0 0 32px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* ---------- Phone ---------- */
.phone { width: 280px; border-radius: 44px; padding: 10px; background: #0B0A14;
  box-shadow: 0 40px 80px -30px rgba(76, 29, 149, .55), inset 0 0 0 2px #2A2840; margin: 0 auto; }
.phone img { border-radius: 34px; width: 100%; height: auto; aspect-ratio: 540 / 1023; object-fit: cover; background: var(--surface-2); }
.phone { max-width: 100%; }
.hero .phone { transform: rotate(-4deg); }
[dir="rtl"] .hero .phone { transform: rotate(4deg); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.15; letter-spacing: -.02em; margin: 8px 0 12px; font-weight: 800; }
[dir="rtl"] h2 { letter-spacing: 0; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; }
.card h3 { margin: 16px 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--indigo) 12%, transparent); color: var(--indigo); }
.icon svg { width: 22px; height: 22px; fill: currentColor; }

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
@media (max-width: 880px) { .shots { grid-template-columns: minmax(0, 1fr); } }
body { overflow-x: hidden; }
.shot figcaption { text-align: center; margin-top: 16px; font-weight: 600; }
.shot figcaption span { display: block; color: var(--muted); font-weight: 400; font-size: 14px; }
.shots .phone { width: 240px; }

/* ---------- Pro ---------- */
.pro { background: var(--brand); padding: 2px; border-radius: var(--r-l); }
.pro-inner { background: var(--surface); border-radius: calc(var(--r-l) - 2px); padding: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 880px) { .pro-inner { grid-template-columns: 1fr; padding: 28px; } }
.badge { display: inline-block; background: var(--brand); color: #fff; font-weight: 900; font-size: 12px;
  letter-spacing: .12em; padding: 4px 10px; border-radius: 999px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.5 14.5-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks b { display: block; }
.checks span { color: var(--muted); font-size: 15px; }

/* ---------- Privacy band ---------- */
.band { background: var(--stage); color: #fff; border-radius: var(--r-l); padding: 48px; display: flex; gap: 32px; align-items: center; }
.band p { color: rgba(255,255,255,.8); margin: 0; font-size: 17px; }
.band h2 { color: #fff; margin-top: 0; }
@media (max-width: 720px) { .band { flex-direction: column; align-items: flex-start; padding: 32px; } }
.band .shield { flex: 0 0 72px; height: 72px; border-radius: 22px; background: rgba(255,255,255,.12); display: grid; place-items: center; }
.band .shield svg { width: 36px; height: 36px; fill: #fff; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; margin-top: 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; margin-inline-start: auto; }
footer a { color: var(--muted); }

/* ---------- Document pages (privacy, terms, support) ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 40px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); }
.doc h2 { font-size: 22px; margin: 36px 0 8px; letter-spacing: 0; }
.doc p, .doc li { color: var(--ink); }
.doc .meta { color: var(--muted); font-size: 14px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: inline-end; color: var(--indigo); font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }
.contact { margin-top: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px; }
