:root {
  color-scheme: light;

  --bg: #ffffff;
  --bg-2: #f6f7f9;
  --surface: #ffffff;
  --ink: #0f1115;
  --ink-2: #2a2d33;
  --muted: #5f636b;
  --muted-2: #9aa0a8;
  --line: #e9ebee;
  --line-2: #dce0e4;

  --accent: #ef5a2a;
  --accent-2: #d4430f;
  --accent-soft: rgba(239, 90, 42, 0.08);

  --wa: #1faa57;
  --wa-2: #178a47;
  --wa-bubble: #d6f5dd;

  --shadow-sm: 0 1px 2px rgba(15, 17, 21, 0.05);
  --shadow-md: 0 14px 36px rgba(15, 17, 21, 0.07);
  --shadow-lg: 0 30px 70px rgba(15, 17, 21, 0.10);
  --shadow-xl: 0 50px 110px rgba(15, 17, 21, 0.16);

  --r: 12px;
  --r-2: 18px;
  --r-3: 26px;
  --r-4: 34px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: "Instrument Sans", "Noto Sans Arabic", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; }

.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.wrap-narrow { width: min(760px, calc(100% - 48px)); }
.ar { font-family: "Noto Sans Arabic", "Instrument Sans", sans-serif; }

.skip {
  position: absolute; top: 10px; left: 10px;
  padding: 10px 14px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  transform: translateY(-150%); transition: transform 0.2s ease; z-index: 100;
}
.skip:focus { transform: translateY(0); }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ================= Buttons ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  padding: 12px 18px; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn.sm { padding: 9px 15px; font-size: 14px; }
.btn.lg { padding: 15px 24px; font-size: 16px; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(239, 90, 42, 0.28); }
.btn.primary:hover { background: var(--accent-2); box-shadow: 0 12px 26px rgba(239, 90, 42, 0.34); }
.btn.wa { background: #fff; color: var(--ink); border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.btn.wa svg { color: var(--wa); }
.btn.wa:hover { border-color: var(--ink); }
.btn.ghost { background: rgba(255,255,255,0.6); color: var(--ink-2); border-color: var(--line-2); }
.btn.ghost:hover { background: #fff; border-color: var(--ink); }
.btn.ghost svg { color: var(--wa); }

/* ================= Topbar ================= */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid rgba(15, 17, 21, 0.07);
}
.topbar-inner { display: flex; align-items: center; gap: 16px; padding: 14px 0; justify-content: space-between; }
.mark { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: 1; gap: 2px; }
.mark-ar { font-size: 13px; color: var(--accent); font-weight: 700; }
.mark-word { font-size: 18px; letter-spacing: 0.22em; font-weight: 700; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; flex-wrap: wrap; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; transition: background 0.18s ease; }
.nav a:hover { background: rgba(15, 17, 21, 0.05); }
.nav a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.topbar-cta { display: inline-flex; gap: 8px; align-items: center; }

/* ================= Hero ================= */
.hero { position: relative; padding: 84px 0 0; overflow: hidden; }
.aurora { position: absolute; pointer-events: none; filter: blur(60px); opacity: 0.9; z-index: 0; }
.aurora-hero {
  top: -140px; left: 50%; transform: translateX(-50%);
  width: min(1100px, 120%); height: 720px;
  background:
    radial-gradient(40% 50% at 28% 30%, rgba(255, 150, 110, 0.55), transparent 70%),
    radial-gradient(38% 46% at 70% 26%, rgba(255, 196, 120, 0.5), transparent 70%),
    radial-gradient(40% 50% at 50% 56%, rgba(214, 200, 245, 0.5), transparent 72%),
    radial-gradient(34% 42% at 82% 60%, rgba(255, 180, 200, 0.42), transparent 72%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 880px; margin: 0 auto; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: center;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255,255,255,0.7); border: 1px solid var(--line-2);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero-kicker .kicker-sep { color: var(--muted-2); }

.hero-title {
  margin: 22px auto 0;
  font-size: clamp(40px, 7vw, 78px);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.035em;
  color: var(--ink);
}
.hero-lede {
  margin: 22px auto 0; max-width: 620px;
  font-size: clamp(16px, 2vw, 19px); color: var(--muted); line-height: 1.6;
}
.hero-cta { margin: 32px 0 0; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-trust {
  margin: 20px 0 0; font-size: 13.5px; color: var(--muted);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center;
}
.hero-trust-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(31,170,87,0.14); }

/* ================= Product frame (faithful app recreation) ================= */
.product-wrap { position: relative; z-index: 2; margin-top: 56px; padding-bottom: 90px; }
.product-frame { position: relative; }
.pf-glow {
  position: absolute; inset: -6% -2% -10%; z-index: -1; filter: blur(50px); opacity: 0.7;
  background:
    radial-gradient(45% 60% at 20% 20%, rgba(255,150,110,0.4), transparent 70%),
    radial-gradient(45% 60% at 85% 30%, rgba(214,200,245,0.45), transparent 70%),
    radial-gradient(50% 60% at 60% 90%, rgba(255,200,150,0.4), transparent 70%);
}

.app {
  display: grid;
  grid-template-columns: 190px 268px 1fr 232px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-4);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  height: 560px;
  font-size: 13px;
  text-align: left;
}

/* sidebar */
.app-side { background: #fafbfc; border-right: 1px solid var(--line); padding: 14px 12px; display: flex; flex-direction: column; gap: 18px; }
.side-brand { display: flex; align-items: center; gap: 9px; padding: 4px 6px 6px; }
.side-logo { width: 26px; height: 26px; border-radius: 8px; background: var(--wa); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.side-name { font-weight: 700; font-size: 14px; }
.side-group { display: flex; flex-direction: column; gap: 2px; }
.side-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); padding: 0 8px 4px; }
.side-link { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 9px; color: var(--ink-2); font-weight: 500; font-size: 13px; }
.side-link.active { background: rgba(31,170,87,0.10); color: var(--wa-2); }
.side-count { margin-left: auto; background: var(--wa); color: #fff; font-size: 10px; font-weight: 700; border-radius: 999px; padding: 1px 6px; }
.si { width: 15px; height: 15px; border-radius: 4px; background: currentColor; opacity: 0.5; flex: none;
  -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.side-link.active .si { opacity: 0.85; }
.si-inbox { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M22 12h-6l-2 3h-4l-2-3H2'/><path d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M22 12h-6l-2 3h-4l-2-3H2'/><path d='M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z'/></svg>"); }
.si-board { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='3' y='3' width='7' height='18' rx='1'/><rect x='14' y='3' width='7' height='11' rx='1'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><rect x='3' y='3' width='7' height='18' rx='1'/><rect x='14' y='3' width='7' height='11' rx='1'/></svg>"); }
.si-contacts { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='9' cy='7' r='4'/><path d='M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2'/><path d='M16 3.13a4 4 0 0 1 0 7.75'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='9' cy='7' r='4'/><path d='M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2'/><path d='M16 3.13a4 4 0 0 1 0 7.75'/></svg>"); }
.si-auto { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='m12 3 1.9 4.5L18.5 9l-3.6 3.1.9 5L12 14.8 8.2 17l.9-5L5.5 9l4.6-1.5L12 3z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='m12 3 1.9 4.5L18.5 9l-3.6 3.1.9 5L12 14.8 8.2 17l.9-5L5.5 9l4.6-1.5L12 3z'/></svg>"); }
.si-chart { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 3v18h18'/><path d='m7 14 3-3 3 3 5-6'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M3 3v18h18'/><path d='m7 14 3-3 3 3 5-6'/></svg>"); }
.si-book { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/><path d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><path d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/><path d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/></svg>"); }
.si-faq { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='10'/><path d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3'/><path d='M12 17h.01'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'><circle cx='12' cy='12' r='10'/><path d='M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3'/><path d='M12 17h.01'/></svg>"); }

/* conversation list */
.app-list { border-right: 1px solid var(--line); padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.al-head { display: flex; align-items: center; justify-content: space-between; }
.al-title { font-weight: 700; font-size: 15px; }
.al-filter { font-size: 11px; color: var(--wa-2); background: rgba(31,170,87,0.10); padding: 2px 8px; border-radius: 999px; font-weight: 600; }
.al-search { font-size: 12px; color: var(--muted-2); background: #f4f5f7; border: 1px solid var(--line); border-radius: 9px; padding: 8px 10px; }
.al-pills { display: flex; gap: 6px; }
.alp { font-size: 11px; color: var(--muted); padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); }
.alp b { color: var(--ink-2); }
.alp.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.alp.active b { color: #fff; }
.conv { display: flex; gap: 9px; padding: 9px; border-radius: 11px; }
.conv.active { background: rgba(31,170,87,0.07); }
.conv-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: #fff; flex: none; }
.conv-av[data-c="a"], .mi-av[data-c="a"], .ctx-av { background: linear-gradient(135deg,#ef8a5c,#e0531f); }
.conv-av[data-c="b"], .mi-av[data-c="b"] { background: linear-gradient(135deg,#6f9cf0,#3f6fd1); }
.conv-av[data-c="c"], .mi-av[data-c="c"] { background: linear-gradient(135deg,#5ec18e,#2f9d68); }
.mi-av[data-c="d"] { background: linear-gradient(135deg,#b98be0,#8a52c9); }
.conv-body { min-width: 0; flex: 1; }
.conv-top { display: flex; justify-content: space-between; gap: 6px; }
.conv-name { font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-time { font-size: 11px; color: var(--muted-2); flex: none; }
.conv-snip { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv-meta { display: flex; gap: 6px; margin-top: 5px; align-items: center; }
.conv-ch { font-size: 10px; color: var(--muted-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; }
.badge-new { font-size: 10px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 1px 7px; }
.badge-done { font-size: 10px; font-weight: 600; color: var(--wa-2); background: rgba(31,170,87,0.12); border-radius: 999px; padding: 1px 7px; }

/* thread */
.app-thread { display: flex; flex-direction: column; min-width: 0; background: #fcfcfd; }
.th-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.th-name { font-weight: 700; font-size: 14px; display: block; }
.th-sub { font-size: 11.5px; color: var(--muted-2); }
.th-tags { display: flex; gap: 6px; }
.th-tag { font-size: 10px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 2px 9px; }
.th-tag.amber { color: #b8791b; background: rgba(214,150,30,0.14); }
.th-body { flex: 1; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.th-day { align-self: center; font-size: 10.5px; color: var(--muted-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-bottom: 4px; }
.bubble { max-width: 78%; padding: 9px 13px; border-radius: 15px; font-size: 13px; line-height: 1.45; }
.bubble.in { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--ink-2); }
.bubble.out { align-self: flex-end; background: var(--wa-bubble); border-bottom-right-radius: 5px; color: #11402a; }
.th-from { align-self: flex-end; font-size: 10px; color: var(--wa-2); font-weight: 600; margin-bottom: -3px; }
.ai-note { align-self: center; margin-top: 6px; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--wa-2); background: rgba(31,170,87,0.08); border: 1px solid rgba(31,170,87,0.2); border-radius: 999px; padding: 5px 12px; }
.ai-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px rgba(31,170,87,0.18); flex: none; }
.th-composer { border-top: 1px solid var(--line); padding: 12px 18px 16px; background: #fff; }
.thc-tabs { display: flex; gap: 14px; margin-bottom: 9px; }
.thc-tab { font-size: 12px; color: var(--muted-2); font-weight: 500; padding-bottom: 5px; }
.thc-tab.active { color: var(--ink); border-bottom: 2px solid var(--accent); }
.thc-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f4f5f7; border: 1px solid var(--line); border-radius: 11px; padding: 10px 12px; }
.thc-ph { font-size: 12.5px; color: var(--muted-2); }
.thc-ai { font-size: 11.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }

/* context */
.app-ctx { border-left: 1px solid var(--line); padding: 16px 14px; display: flex; flex-direction: column; gap: 9px; background: #fafbfc; }
.ctx-id { display: flex; gap: 10px; align-items: center; padding-bottom: 6px; }
.ctx-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; }
.ctx-name { font-weight: 700; font-size: 13.5px; }
.ctx-phone { font-size: 11.5px; color: var(--muted-2); }
.ctx-label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }
.ctx-field { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); padding: 7px 0; border-bottom: 1px solid var(--line); }
.ctx-field b { color: var(--ink-2); font-weight: 600; }
.pill-status { color: var(--accent) !important; }
.pill-amber { color: #b8791b !important; }
.ctx-sla { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.sla-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); flex: none; }

/* ================= Band / stats ================= */
.band { padding: 24px 0 40px; }
.band-eyebrow { text-align: center; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; }
.stats { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 14px; }
.stat-v { font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.stat-v .u { color: var(--accent); }
.stat-k { margin-top: 10px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }

/* ================= Sections ================= */
/* One continuous white canvas — depth comes from soft aurora glows, not blocks. */
.section { position: relative; padding: 120px 0; }
.section > .wrap { position: relative; z-index: 1; }
.section-glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(1200px, 130%); height: 900px; z-index: 0; pointer-events: none;
  filter: blur(80px); opacity: 0.5;
  background:
    radial-gradient(34% 40% at 22% 30%, rgba(255, 160, 120, 0.42), transparent 70%),
    radial-gradient(34% 40% at 80% 64%, rgba(214, 200, 245, 0.4), transparent 72%);
}
.section-head { max-width: 720px; margin: 0 0 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-block; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.section-head h2 { font-size: clamp(30px, 4.8vw, 50px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; color: var(--ink); }
.section-head p { margin: 18px 0 0; font-size: 18px; color: var(--muted); line-height: 1.6; max-width: 560px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ===== Feature rows ===== */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-bottom: 120px; }
.feat:last-of-type { margin-bottom: 0; }
.feat.reverse .feat-copy { order: 2; }
.feat-eyebrow { display: inline-block; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.feat-eyebrow.light { color: rgba(255,255,255,0.85); }
.feat-copy h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.feat-copy > p { margin: 14px 0 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.ticks { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.ticks li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12'/></svg>");
}
.ticks li::after {
  content: ""; position: absolute; left: 4px; top: 6px; width: 10px; height: 7px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.ticks.light li { color: rgba(255,255,255,0.92); }
.ticks.light li::before { background: rgba(255,255,255,0.18); }
.ticks.light li::after { border-color: #fff; }

.feat-visual { position: relative; display: flex; justify-content: center; }
.feat-visual::before {
  content: ""; position: absolute; inset: -16% -8%; z-index: 0; filter: blur(60px); opacity: 0.55; pointer-events: none;
  background:
    radial-gradient(50% 60% at 30% 25%, rgba(255,160,120,0.55), transparent 70%),
    radial-gradient(50% 60% at 78% 70%, rgba(214,200,245,0.5), transparent 70%);
}
.feat-visual > * { position: relative; z-index: 1; }

/* mini inbox card */
.mini { width: 100%; max-width: 440px; background: rgba(255,255,255,0.85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.7); border-radius: var(--r-3); box-shadow: var(--shadow-xl); padding: 18px; }
.mini-inbox { display: flex; flex-direction: column; gap: 6px; }
.mi-row { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: 13px; }
.mi-row.resolved { opacity: 0.62; }
.mi-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 13px; flex: none; }
.mi-l { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mi-l b { font-size: 14px; }
.mi-l span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mi-badge { font-size: 10.5px; font-weight: 600; border-radius: 999px; padding: 2px 9px; flex: none; }
.mi-badge.wa { color: var(--wa-2); background: rgba(31,170,87,0.12); }
.mi-badge.vo { color: #7a5bc7; background: rgba(122,91,199,0.13); }
.mi-badge.done { color: var(--muted); background: #eceef1; }
.mi-ai { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--wa-2); background: rgba(31,170,87,0.08); border: 1px solid rgba(31,170,87,0.2); border-radius: 12px; padding: 9px 12px; }

/* mini analytics card */
.mini-analytics { display: flex; flex-direction: column; gap: 14px; }
.ma-head { display: flex; align-items: center; justify-content: space-between; }
.ma-head > span:first-child { font-weight: 700; font-size: 15px; }
.ma-chip { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.ma-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ma-stat { background: #fafbfc; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.ma-stat span { display: block; font-size: 11px; color: var(--muted-2); margin-bottom: 6px; }
.ma-stat b { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.ma-stat b i { font-style: normal; font-size: 13px; color: var(--accent); }
.ma-chart { padding: 0 2px; }
.ma-x { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--muted-2); padding: 0 2px; }

/* ===== Aurora feature cards ===== */
.feat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fcard { position: relative; border-radius: var(--r-3); overflow: hidden; background: #1a1714; color: #fff; min-height: 320px; box-shadow: var(--shadow-lg); }
.fcard-aurora { position: absolute; inset: 0; opacity: 0.9;
  background:
    radial-gradient(60% 70% at 18% 12%, rgba(255,150,110,0.9), transparent 60%),
    radial-gradient(60% 70% at 90% 30%, rgba(214,200,245,0.7), transparent 60%),
    radial-gradient(70% 80% at 60% 110%, rgba(255,120,90,0.85), transparent 65%);
}
.fcard-aurora.alt {
  background:
    radial-gradient(60% 70% at 85% 12%, rgba(120,160,255,0.8), transparent 60%),
    radial-gradient(60% 70% at 12% 30%, rgba(255,170,120,0.7), transparent 60%),
    radial-gradient(70% 80% at 50% 110%, rgba(180,140,255,0.8), transparent 65%);
}
.fcard-body { position: relative; z-index: 1; padding: 30px; }
.fcard-body h3 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.fcard-body > p { margin: 13px 0 0; font-size: 15px; color: rgba(255,255,255,0.88); line-height: 1.55; }
.chat-demo { margin-top: 20px; display: flex; flex-direction: column; gap: 9px; }
.cd { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; line-height: 1.45; }
.cd.in { align-self: flex-start; background: rgba(255,255,255,0.92); color: #1a1714; border-bottom-left-radius: 5px; }
.cd.out { align-self: flex-end; background: rgba(31,170,87,0.95); color: #fff; border-bottom-right-radius: 5px; }
.fcard .ticks { margin-top: 22px; }

/* ===== Steps — airy timeline, no boxes ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--line-2); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--accent); }
.step-n { display: block; font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 18px; }
.step h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; }
.step p { margin: 12px 0 0; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ===== Region — editorial, no boxes, no icons ===== */
.region { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.region-lead h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.06; }
.region-lead p { margin: 20px 0 0; font-size: 17px; color: var(--muted); line-height: 1.65; }
.region-list { display: flex; flex-direction: column; }
.region-item { padding: 24px 0; border-bottom: 1px solid var(--line); }
.region-item:first-child { padding-top: 0; }
.region-item:last-child { border-bottom: none; }
.region-item h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.region-item p { margin: 8px 0 0; font-size: 15px; color: var(--muted); line-height: 1.6; }

/* ===== FAQ ===== */
.faq { border-top: 1px solid var(--line-2); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 17px; color: var(--ink);
  padding: 22px 40px 22px 0; position: relative; border-bottom: 1px solid var(--line-2);
}
.faq-q::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--accent); transition: transform 0.2s ease; }
.faq-q[aria-expanded="true"]::after { content: "−"; }
.faq-a { padding: 0 40px 22px 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; border-bottom: 1px solid var(--line-2); }

/* ===== Final CTA ===== */
.cta { position: relative; border-radius: var(--r-4); overflow: hidden; background: #161310; color: #fff; padding: clamp(40px, 6vw, 76px); text-align: center; box-shadow: var(--shadow-xl); }
.cta-aurora { position: absolute; inset: 0; opacity: 0.85;
  background:
    radial-gradient(40% 60% at 15% 10%, rgba(255,140,100,0.85), transparent 60%),
    radial-gradient(40% 60% at 88% 20%, rgba(200,170,255,0.6), transparent 60%),
    radial-gradient(50% 70% at 60% 115%, rgba(255,120,80,0.8), transparent 60%);
}
.cta-body { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-body h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; }
.cta-body > p { margin: 18px auto 0; max-width: 560px; font-size: 17px; color: rgba(255,255,255,0.88); line-height: 1.6; }
.cta-actions { margin: 30px 0 0; display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.cta .btn.wa { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.22); }
.cta .btn.wa svg { color: #5ee08f; }
.cta .btn.wa:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.5); }
.cta-email { margin: 22px 0 0; font-size: 14px; color: rgba(255,255,255,0.7); }
.cta-email a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ===== Footer ===== */
.foot { background: var(--surface); border-top: 1px solid var(--line); padding: 72px 0 28px; }
.foot-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-brand .mark { margin-bottom: 14px; }
.foot-sub { font-size: 14px; color: var(--muted); max-width: 280px; line-height: 1.55; }
.foot-nav { display: flex; flex-direction: column; gap: 10px; }
.foot-nav-k { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; margin-bottom: 2px; }
.foot-nav a, .foot-contact a { font-size: 14px; color: var(--ink-2); }
.foot-nav a:hover, .foot-contact a:hover { color: var(--accent); }
.foot-contact { display: flex; flex-direction: column; gap: 10px; }
.foot-loc { font-size: 13px; color: var(--muted); margin-top: 4px; }
.foot-base { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted-2); }

/* ================= Responsive ================= */
@media (max-width: 1080px) {
  .app { grid-template-columns: 60px 240px 1fr; height: 520px; }
  .app-side { padding: 14px 8px; }
  .side-name, .side-label, .side-link span:not(.si):not(.side-count), .side-link { font-size: 0; }
  .side-link { justify-content: center; padding: 9px 0; }
  .side-link .si { font-size: initial; }
  .side-count, .side-brand .side-name { display: none; }
  .app-ctx { display: none; }
}
@media (max-width: 900px) {
  .feat { grid-template-columns: 1fr; gap: 30px; }
  .feat.reverse .feat-copy { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .feat-cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .region { grid-template-columns: 1fr; gap: 36px; }
  .foot-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .hero { padding-top: 56px; }
  .br-lg { display: none; }
  .product-wrap { margin-top: 40px; padding-bottom: 60px; }
  .app { grid-template-columns: 1fr; height: auto; }
  .app-side, .app-list { display: none; }
  .app-thread { min-height: 460px; }
  .section { padding: 60px 0; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .foot-inner { grid-template-columns: 1fr; }
  .hero-cta .btn, .cta-actions .btn { width: 100%; }
  .foot-base { flex-direction: column; gap: 8px; }
}

/* ================= Language toggle ================= */
.lang-toggle {
  font-family: inherit; font-weight: 600; font-size: 13.5px; line-height: 1;
  background: transparent; border: 1px solid var(--line-2); color: var(--ink-2);
  border-radius: 999px; padding: 9px 13px; cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.lang-toggle:hover { background: rgba(15, 17, 21, 0.05); border-color: var(--ink); }
.lang-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ================= RTL / Arabic ================= */
html[lang="ar"] body {
  font-family: "Noto Sans Arabic", "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}
/* Keep the product mockups in their native Latin UI font. */
html[lang="ar"] .app,
html[lang="ar"] .mini {
  font-family: "Instrument Sans", "Noto Sans Arabic", ui-sans-serif, system-ui, sans-serif;
}
/* Arabic doesn't take tight Latin tracking; relax it and give headings room. */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .stat-v,
html[lang="ar"] .hero-title { letter-spacing: normal; }
html[lang="ar"] .hero-title { line-height: 1.18; }
html[lang="ar"] .section-head h2,
html[lang="ar"] .region-lead h2,
html[lang="ar"] .cta-body h2 { line-height: 1.22; }

/* Mirror directional layout bits for RTL. */
html[dir="rtl"] .ticks li { padding-left: 0; padding-right: 28px; }
html[dir="rtl"] .ticks li::before { left: auto; right: 0; }
html[dir="rtl"] .ticks li::after { left: auto; right: 4px; }
html[dir="rtl"] .step::before { left: auto; right: 0; }
html[dir="rtl"] .faq-q { padding-right: 0; padding-left: 40px; }
html[dir="rtl"] .faq-q::after { right: auto; left: 4px; }
html[dir="rtl"] .faq-a { padding-right: 0; padding-left: 40px; }
html[dir="rtl"] .ico-arrow { transform: scaleX(-1); }
