/* ===== tokens =====
   Structure follows SurveyMonkey's live system (warm off-white, bold tight type, pill buttons,
   big rounded dark panels, eyebrow labels). Colours, fonts and logo are our own. */
:root {
  --bg: #FEFDFB;              /* warm off-white page */
  --warm-1: #F7F5F3;          /* tinted panels */
  --warm-2: #EDEBE8;          /* lines on warm */
  --warm-3: #D7D3CC;          /* stronger lines */
  --white: #FFFFFF;
  --ink: #1E2124;             /* body text */
  --ink-2: #3E4450;           /* secondary text */
  --mute: #74736F;
  --deep: #17153B;            /* headings + dark panels (our deep indigo) */
  --deep-2: #24205A;
  --brand: #4338CA;           /* primary buttons */
  --brand-hover: #3730A3;
  --brand-bright: #6366F1;
  --lav: #ECEBFD;             /* light cards on dark panel */
  --lav-2: #CFCBFF;           /* nav call-to-action */
  --lav-3: #A5A3F5;
  --pro: #22C55E; --pas: #F5B83D; --det: #F2645A;
  --wa: #25D366;
  --r-panel: 32px; --r-card: 20px; --r-box: 12px; --r-row: 8px;
  --wrap: 1200px;
  --display: Figtree, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: Figtree, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  color-scheme: light;
}
html[lang="ar"] {
  --display: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body: "IBM Plex Sans Arabic", Figtree, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-size: 17px; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.center { text-align: center; margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); margin: 0; color: var(--deep); font-weight: 700; }
h1 { font-size: clamp(44px, 6.2vw, 76px); line-height: 1; letter-spacing: -0.02em; }
h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.05; letter-spacing: -0.02em; max-width: 900px; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.01em; }
html[lang="ar"] h1 { line-height: 1.25; letter-spacing: 0; }
html[lang="ar"] h2 { line-height: 1.35; letter-spacing: 0; font-weight: 600; }
html[lang="ar"] h3 { letter-spacing: 0; }
h1 .mute, h2 .mute { color: var(--brand); }
.dark-panel h2 .mute { color: var(--lav-3); }

.eyebrow { margin: 0 0 14px; font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.eyebrow.light { color: var(--lav-3); text-align: center; }
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 15px; }

/* ===== buttons: pills ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; border: 1px solid transparent;
  height: 50px; padding-inline: 32px; font: 700 15px/1 var(--body); white-space: nowrap; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s var(--ease); }
.btn.sm { height: 40px; padding-inline: 22px; }
.btn.xs { height: 34px; padding-inline: 16px; font-size: 13px; }
.btn.lg { height: 58px; padding-inline: 36px; font-size: 17px; }
.btn.block { width: 100%; }
.btn.primary { background: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-hover); }
.btn.accent { background: var(--lav-2); color: var(--deep); border-color: var(--lav-2); }
.btn.accent:hover { background: #BDB8FF; }
.btn.outline { background: transparent; color: var(--deep); border: 1.5px solid var(--deep); }
.btn.outline:hover { background: var(--deep); color: #fff; }
.btn.outline-dark { background: transparent; color: var(--deep); border: 1.5px solid var(--deep); }
.btn.outline-dark:hover { background: var(--deep); color: #fff; }
.btn.outline-light { background: transparent; color: #fff; border: 2px solid var(--lav-2); }
.btn.outline-light:hover { background: rgba(255,255,255,.08); }
.arr { display: inline-block; transition: transform .2s var(--ease); }
html[dir="rtl"] .arr { transform: scaleX(-1); }
.btn:hover .arr, .arrow-link:hover .arr { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .arr, html[dir="rtl"] .arrow-link:hover .arr { transform: scaleX(-1) translateX(3px); }

/* ===== nav ===== */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--warm-2); }
.nav-in { height: 68px; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font: 800 20px/1 var(--display); letter-spacing: -0.02em; color: var(--deep); }
.mark { width: 28px; height: 28px; border-radius: 9px; background: var(--brand); display: inline-flex; align-items: flex-end; justify-content: center; gap: 2.5px; padding-bottom: 6px; flex: none; }
.mark i { width: 4px; border-radius: 2px; background: #fff; }
.mark i:nth-child(1) { height: 6px; opacity: .7; } .mark i:nth-child(2) { height: 11px; opacity: .85; } .mark i:nth-child(3) { height: 15px; }
.mark.xs { width: 18px; height: 18px; border-radius: 5px; gap: 1.5px; padding-bottom: 4px; }
.mark.xs i { width: 2.5px; } .mark.xs i:nth-child(1) { height: 4px; } .mark.xs i:nth-child(2) { height: 7px; } .mark.xs i:nth-child(3) { height: 10px; }
.links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; color: var(--ink-2); margin-inline-start: 12px; }
.links a:hover { color: var(--deep); }
.nav-end { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 500; }
.lang { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-2); }
.lang svg, .lang-pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; }
html[lang="en"] .lang, html[lang="en"] .lang-pill { font-family: "IBM Plex Sans Arabic", sans-serif; }
.text-link { color: var(--ink-2); } .text-link:hover, .lang:hover { color: var(--deep); }

/* ===== hero ===== */
.hero { padding: 72px 0 0; }
.hero-in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 1000px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 720px; margin: 26px 0 0; }
.ctas { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.note { font-size: 14px; color: var(--mute); margin: 16px 0 0; }

.stage { margin: 56px auto 0; max-width: 1100px; background: var(--white); border: 1px solid var(--warm-2); border-radius: 24px; overflow: hidden;
  box-shadow: 0 2px 4px rgba(23,21,59,.03), 0 40px 80px -40px rgba(23,21,59,.25); }
.stage-bar { height: 42px; display: flex; align-items: center; gap: 7px; padding-inline: 18px; border-bottom: 1px solid var(--warm-2); background: var(--warm-1); }
.stage-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--warm-3); }
.stage-bar span { margin-inline: auto; font-size: 12px; color: var(--mute); background: var(--white); padding: 3px 14px; border-radius: 999px; direction: ltr; }
.stage-body { display: grid; grid-template-columns: 1.35fr 1fr; min-height: 440px; }
.demo-survey { background: var(--warm-1); display: flex; flex-direction: column; }
.demo-label { margin: 18px 0 0; align-self: center; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--lav); padding: 5px 14px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(67,56,202,.45); } 100% { box-shadow: 0 0 0 9px rgba(67,56,202,0); } }
#demo-frame { flex: 1; width: 100%; min-height: 390px; border: 0; background: transparent; }
.demo-results { border-inline-start: 1px solid var(--warm-2); padding: 22px 26px; display: flex; flex-direction: column; gap: 18px; text-align: start; }
.dr-head { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; color: var(--deep); }
.dr-count { font-weight: 500; color: var(--mute); font-size: 13px; }
.dr-count b { color: var(--deep); font-variant-numeric: tabular-nums; }
.dr-nps { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.gauge { position: relative; width: 200px; }
.gauge svg { width: 100%; }
.g-bg, .g-fg { fill: none; stroke-width: 11; stroke-linecap: round; }
.g-bg { stroke: var(--warm-1); }
.g-fg { stroke: var(--pro); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v) * 100); transition: stroke-dashoffset .8s var(--ease), stroke .3s; }
.g-val { position: absolute; inset: auto 0 2px; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.g-val small { font-size: 11px; color: var(--mute); font-weight: 700; letter-spacing: .06em; margin-bottom: 4px; }
.g-val b { font: 800 34px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--deep); }
.dr-split { width: 100%; }
.split-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: var(--warm-1); gap: 2px; }
.split-bar i { display: block; height: 100%; transition: width .6s var(--ease); }
.det { background: var(--det); } .pas { background: var(--pas); } .pro { background: var(--pro); }
.dr-sub { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--mute); text-transform: uppercase; letter-spacing: .08em; }
html[lang="ar"] .dr-sub { text-transform: none; letter-spacing: 0; font-size: 13px; }
#dr-fix-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
#dr-fix-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 14px; }
#dr-fix-list li .bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--warm-1); overflow: hidden; }
#dr-fix-list li .bar i { display: block; height: 100%; background: var(--brand); border-radius: 3px; transition: width .6s var(--ease); }
#dr-fix-list li.mine .bar i { background: var(--pro); }
#dr-fix-list li b { font-weight: 500; color: var(--mute); font-variant-numeric: tabular-nums; font-size: 13px; }
.dr-you { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #15803D; background: #EAFBF0; border-radius: var(--r-row); padding: 8px 12px; animation: pop .4s var(--ease); }
.dr-you[hidden] { display: none; }
.you-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pro); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.dr-note { margin: auto 0 0; font-size: 12px; color: var(--mute); line-height: 1.5; }

/* ===== trust row ===== */
.trust { padding: 72px 0 24px; }
.trust-in { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: center; }
.trust h3 { font-size: 20px; line-height: 1.3; max-width: 300px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--warm-3); padding-top: 22px; }
.stats div { display: grid; gap: 4px; justify-items: center; text-align: center; padding-inline: 8px; }
.stats b { font: 800 30px/1 var(--display); color: var(--brand); letter-spacing: -0.02em; }
.stats span { font-size: 13px; font-weight: 600; color: var(--ink-2); line-height: 1.35; }

/* ===== big rounded panels ===== */
.panel-wrap { padding: 48px 24px; }
.panel-wrap.narrow { padding-inline: max(24px, calc((100% - 1100px) / 2)); }
.dark-panel { background: var(--deep); color: #fff; border-radius: var(--r-panel); padding: 72px clamp(24px, 4vw, 56px) 56px; max-width: 1360px; margin-inline: auto; position: relative; overflow: hidden; }
.dark-panel h2 { color: #fff; }
.dark-panel::before { content: ""; position: absolute; width: 760px; height: 760px; inset-inline-end: -260px; top: -320px; background: radial-gradient(circle, rgba(99,102,241,.35), rgba(99,102,241,0) 62%); pointer-events: none; }
.dark-panel > * { position: relative; }
.warm-panel { background: var(--warm-1); border-radius: var(--r-panel); padding: 72px clamp(24px, 4vw, 64px); max-width: 1360px; margin-inline: auto; }

/* tabs */
.tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 32px auto 0; }
.tabs button { font: 700 14px/1 var(--body); height: 38px; padding-inline: 18px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.tabs button:hover { border-color: #fff; }
.tabs button[aria-selected="true"] { background: var(--brand-bright); border-color: var(--brand-bright); }
.tab-panels { margin-top: 44px; }
.tab-panel { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.tab-panel[hidden] { display: none; }
.tab-panel.on { animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.tp-copy h3 { color: #fff; font-size: 30px; }
.tp-copy p { color: #C9C7F0; font-size: 18px; margin: 14px 0 22px; max-width: 460px; }
.arrow-link { color: var(--lav-2); font-weight: 700; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; }
.tag { font-style: normal; font: 700 11px/1 var(--body); padding: 5px 8px; border-radius: 999px; vertical-align: 5px; margin-inline-start: 8px; letter-spacing: .04em; text-transform: uppercase; }
html[lang="ar"] .tag { text-transform: none; letter-spacing: 0; }
.tag.live { background: #DCFCE7; color: #15803D; }
.tag.soon { background: var(--lav-2); color: var(--deep); }
.tag.later { background: var(--warm-2); color: var(--mute); }
.tp-art { height: 300px; border-radius: var(--r-card); background: var(--deep-2); position: relative; overflow: hidden; display: grid; place-items: center; }

.mini-pop { position: absolute; inset-inline-end: 28px; bottom: 26px; width: 220px; background: #fff; border-radius: 14px; padding: 16px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); }
.mini-pop i { display: block; height: 8px; width: 80%; border-radius: 4px; background: var(--deep); }
.mini-pop span { display: block; height: 6px; width: 55%; border-radius: 4px; background: var(--warm-3); margin-top: 8px; }
.mini-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 14px; }
.mini-scale b { height: 24px; border-radius: 6px; border: 1px solid var(--warm-2); }
.mini-scale b.on { background: var(--brand); border-color: var(--brand); }
.art-web::before { content: ""; position: absolute; inset: 28px 28px 0; border-radius: 12px 12px 0 0; background: repeating-linear-gradient(180deg, transparent 0 20px, #EDEBE8 20px 28px) 24px 34px / 58% 100% no-repeat, #FEFDFB; }
.qr { width: 124px; height: 124px; background: #fff; border-radius: 14px; position: relative; background-image: radial-gradient(var(--deep) 1.8px, transparent 2px); background-size: 9px 9px; background-position: 5px 5px; transform: rotate(-4deg); box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); }
.qr i { position: absolute; width: 30px; height: 30px; border: 6px solid var(--deep); border-radius: 7px; background: #fff; }
.qr i:nth-child(1) { top: 10px; left: 10px; } .qr i:nth-child(2) { top: 10px; right: 10px; } .qr i:nth-child(3) { bottom: 10px; left: 10px; }
.qr span { position: absolute; inset: 48px; background: var(--brand); border-radius: 6px; box-shadow: 0 0 0 4px #fff; }
.receipt { position: absolute; inset-inline-end: 22%; bottom: -14px; width: 110px; height: 150px; background: #fff; border-radius: 8px; padding: 16px 14px; display: grid; align-content: start; gap: 8px; transform: rotate(7deg); }
.receipt span { height: 6px; border-radius: 3px; background: var(--warm-2); } .receipt span:nth-child(2) { width: 70%; } .receipt span:nth-child(3) { width: 50%; }
.art-wa { background: #0B141A; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 18%; }
.bubble { height: 32px; border-radius: 12px; background: #1F2C34; }
.bubble.in { width: 72%; } .bubble.out { width: 55%; align-self: flex-end; background: #005C4B; }
.bubble.btns { width: 72%; background: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; height: 26px; }
.bubble.btns b { background: #1F2C34; border-radius: 9px; }
.mini-phone { width: 150px; height: 260px; border-radius: 28px; background: #0B0A1F; padding: 8px; position: relative; top: 40px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); }
.mini-phone > i { display: block; height: 100%; border-radius: 22px; background: var(--warm-1); }
.mini-pop.sm { width: 130px; inset-inline-end: 18px; bottom: 60px; padding: 12px; }
.mail { width: 280px; background: #fff; border-radius: 14px; padding: 20px; display: grid; gap: 9px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); }
.mail > i { display: block; height: 10px; width: 50%; border-radius: 5px; background: var(--deep); }
.mail > span { height: 7px; border-radius: 4px; background: var(--warm-2); } .mail > span:nth-of-type(2) { width: 75%; }

/* use-case cards on the dark panel */
.uc-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.uc { background: var(--lav); color: var(--deep); border-radius: var(--r-card); padding: 22px; display: flex; flex-direction: column; align-items: flex-start; }
.uc-eye { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 700 11px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--deep); }
html[lang="ar"] .uc-eye { letter-spacing: 0; text-transform: none; font-size: 13px; }
.uc h3 { font-size: 19px; }
.uc p { font-size: 15px; color: var(--ink-2); margin: 10px 0 20px; flex: 1; }

/* ===== WhatsApp ===== */
.wa-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.body-l { font-size: 19px; color: var(--ink-2); max-width: 520px; margin: 22px 0 0; }
.ticks { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--deep); }
.ticks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--lav); color: var(--brand); margin-top: 1px; }
.wa-visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.phone { width: 300px; height: 560px; border-radius: 44px; background: #0B141A; padding: 10px; box-shadow: 0 40px 80px -30px rgba(23,21,59,.55); }
.ph-top { height: 64px; display: flex; align-items: center; gap: 10px; padding: 18px 16px 0; color: #fff; background: #1F2C34; border-radius: 34px 34px 0 0; font-size: 15px; }
.ph-avatar { width: 32px; height: 32px; border-radius: 50%; background: #F1E6D6; display: grid; place-items: center; font-size: 16px; }
.ph-check { width: 16px; height: 16px; border-radius: 50%; background: var(--wa); color: #0B141A; font-size: 10px; display: grid; place-items: center; font-weight: 700; }
.ph-chat { height: calc(100% - 64px); border-radius: 0 0 34px 34px; padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; background: #0B141A radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 14px 14px; }
.msg { max-width: 82%; padding: 8px 10px 18px; border-radius: 10px; font-size: 14px; line-height: 1.45; position: relative; color: #E9EDEF; }
.msg.in { background: #1F2C34; align-self: flex-start; border-start-start-radius: 2px; }
.msg.out { background: #005C4B; align-self: flex-end; border-start-end-radius: 2px; }
.msg .time { position: absolute; inset-inline-end: 8px; bottom: 4px; font-size: 10px; color: rgba(233,237,239,.6); }
.replies { display: grid; gap: 4px; align-self: flex-start; width: 82%; }
.replies span { background: #1F2C34; color: #53BDEB; text-align: center; font-size: 14px; padding: 8px; border-radius: 8px; transition: background .3s; }
.replies span.chosen.tapped { background: #2A3942; }
.toast { position: absolute; inset-inline-start: 0; bottom: 90px; display: flex; gap: 12px; align-items: center; background: #fff; color: var(--ink); padding: 12px 18px 12px 12px; border-radius: 16px; box-shadow: 0 20px 40px -14px rgba(23,21,59,.4); }
.t-emo { width: 38px; height: 38px; border-radius: 10px; background: #EAFBF0; display: grid; place-items: center; font-size: 20px; }
.toast b { display: block; font-size: 14px; color: var(--deep); } .toast small { color: var(--mute); font-size: 12px; }
.wa-visual .s1, .wa-visual .s2, .wa-visual .s3, .wa-visual .s4, .wa-visual .s5, .wa-visual .s6 { opacity: 0; transform: translateY(10px) scale(.98); }
.wa-visual.play .s1, .wa-visual.play .s2, .wa-visual.play .s3, .wa-visual.play .s4, .wa-visual.play .s5, .wa-visual.play .s6 { animation: msg .45s var(--ease) forwards; }
.wa-visual.play .s1 { animation-delay: .2s; } .wa-visual.play .s2 { animation-delay: .7s; } .wa-visual.play .s3 { animation-delay: 1.9s; }
.wa-visual.play .s4 { animation-delay: 2.7s; } .wa-visual.play .s5 { animation-delay: 4s; } .wa-visual.play .s6 { animation-delay: 4.8s; }
@keyframes msg { to { opacity: 1; transform: none; } }

/* ===== sections ===== */
.sec { padding: 112px 0; }
.sec.tight { padding: 72px 0; }
.sec-lead { font-size: 19px; color: var(--ink-2); max-width: 680px; margin: 20px auto 0; }

/* AI */
.ai { margin-top: 48px; display: grid; grid-template-columns: 1.25fr 1fr; background: var(--white); border: 1px solid var(--warm-2); border-radius: var(--r-card); overflow: hidden; }
.comments { list-style: none; margin: 0; padding: 12px; display: grid; gap: 4px; border-inline-end: 1px solid var(--warm-2); }
.comments li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: var(--r-box); transition: background .2s; }
.comments li:hover { background: var(--warm-1); }
.comments p { margin: 0; font-size: 16px; flex: 1; }
.comments p[lang="ar"] { font-family: "IBM Plex Sans Arabic", sans-serif; }
.chip { flex: none; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.pos { background: #EAFBF0; color: #15803D; } .chip.neg { background: #FEECEB; color: #C2410C; } .chip.mid { background: #FEF6E4; color: #B45309; }
.themes { padding: 28px; display: grid; align-content: start; gap: 16px; background: var(--warm-1); }
.theme { display: grid; grid-template-columns: 90px 1fr 44px; align-items: center; gap: 12px; font-size: 15px; font-weight: 600; color: var(--deep); }
.theme b { font-weight: 500; color: var(--mute); text-align: end; font-variant-numeric: tabular-nums; }
.tb { height: 10px; background: var(--white); border-radius: 5px; overflow: hidden; }
.tb i { display: block; height: 100%; width: 0; border-radius: 5px; transition: width 1s var(--ease); }
.tb i.pos { background: var(--pro); } .tb i.neg { background: var(--det); } .tb i.mid { background: var(--pas); }
.ai.in .tb i { width: var(--w); }

/* results */
.res-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.panel { background: var(--white); border: 1px solid var(--warm-2); border-radius: var(--r-card); padding: 26px; box-shadow: 0 30px 60px -36px rgba(23,21,59,.3); }
.p-head { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--deep); }
.p-num { width: 24px; height: 24px; border-radius: 7px; background: var(--lav); color: var(--brand); display: grid; place-items: center; font-size: 12px; }
.p-meta { margin-inline-start: auto; color: var(--mute); font-weight: 500; font-size: 13px; }
.p-nps { display: flex; align-items: center; gap: 20px; margin: 22px 0; }
.p-nps b { font: 800 46px/1 var(--display); color: #16A34A; letter-spacing: -0.03em; }
.p-nps .split-bar { flex: 1; height: 12px; border-radius: 6px; }
.cols { display: grid; grid-template-columns: repeat(11, 1fr); gap: 6px; height: 150px; align-items: end; }
.cols i { display: block; height: var(--h); border-radius: 6px 6px 2px 2px; }

/* pricing */
.cur-row { display: flex; justify-content: center; margin-top: 30px; }
.cur { display: inline-flex; padding: 4px; gap: 2px; background: var(--warm-1); border: 1px solid var(--warm-2); border-radius: 999px; }
.cur button { font: 700 14px/1 var(--body); border: 0; background: none; color: var(--mute); height: 34px; padding-inline: 18px; border-radius: 999px; cursor: pointer; }
.cur button.on { background: var(--deep); color: #fff; }
.plans { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { position: relative; background: var(--white); border: 1px solid var(--warm-2); border-radius: var(--r-card); padding: 30px; display: flex; flex-direction: column; }
.plan.best { background: var(--deep); border-color: var(--deep); color: #fff; }
.plan.best h3 { color: #fff; } .plan.best .pd, .plan.best .price small { color: #B9B6EA; } .plan.best .price .c { color: #DAD8FA; } .plan.best ul { color: #DAD8FA; } .plan.best li::before { color: var(--lav-2); }
.plan.best .btn.primary { background: var(--lav-2); color: var(--deep); } .plan.best .btn.primary:hover { background: #BDB8FF; }
.best-tag { position: absolute; top: -13px; inset-inline-start: 26px; background: var(--lav-2); color: var(--deep); font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.pd { margin: 6px 0 0; color: var(--mute); font-size: 15px; }
.price { margin: 24px 0; display: flex; align-items: baseline; gap: 6px; }
.price b { font: 800 48px/1 var(--display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price .c { font-weight: 700; font-size: 15px; color: var(--ink-2); }
.price small { color: var(--mute); font-size: 14px; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 11px; font-size: 15px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; } .plan li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.pr-more { margin: 26px auto 0; color: var(--mute); font-size: 15px; max-width: 720px; }
.pr-more a { color: var(--brand); font-weight: 700; }

/* faq */
.faq-in { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.faq { border-top: 1.5px solid var(--deep); }
details { border-bottom: 1px solid var(--warm-3); }
summary { list-style: none; cursor: pointer; padding: 24px 0; font: 700 19px/1.4 var(--display); color: var(--deep); display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--deep); display: grid; place-items: center; font-weight: 500; font-size: 18px; line-height: 1; transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: -8px 0 24px; color: var(--ink-2); max-width: 660px; }

/* end panel */
.end-in { text-align: center; padding: 88px 32px; }
.end-in h2 { margin-inline: auto; font-size: clamp(34px, 4.6vw, 58px); }
.end-in > p { color: #C9C7F0; font-size: 20px; margin: 18px 0 0; }

/* footer */
.foot { padding: 40px 0 36px; }
.foot-rule { display: flex; align-items: center; gap: 24px; margin-bottom: 44px; }
.foot-rule::before, .foot-rule::after { content: ""; flex: 1; height: 1px; background: var(--warm-3); }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1.4fr; gap: 32px; }
.foot nav { display: grid; gap: 12px; align-content: start; font-size: 15px; color: var(--ink-2); }
.foot nav b { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--deep); margin-bottom: 4px; }
html[lang="ar"] .foot nav b { letter-spacing: 0; text-transform: none; font-size: 14px; }
.foot nav a:hover { color: var(--deep); }
.foot-brand p { color: var(--mute); font-size: 15px; margin: 12px 0 18px; }
.lang-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding-inline: 16px; border: 1px solid var(--warm-3); border-radius: 10px; font-size: 14px; font-weight: 500; }
.lang-pill:hover { border-color: var(--deep); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--warm-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--mute); }
.foot-bottom p { margin: 0; } .foot-bottom a:hover { color: var(--deep); }

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

/* responsive */
@media (max-width: 1080px) {
  .links { display: none; }
  .uc-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .stage-body, .wa-in, .res-in, .ai, .faq-in, .tab-panel, .trust-in { grid-template-columns: 1fr; }
  .demo-results { border-inline-start: 0; border-top: 1px solid var(--warm-2); }
  .comments { border-inline-end: 0; border-bottom: 1px solid var(--warm-2); }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .trust h3 { max-width: none; text-align: center; }
  .foot-cols { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; order: -1; }
  .faq-in { gap: 24px; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav-end .text-link { display: none; }
  .nav-end { gap: 12px; }
  .hero { padding-top: 48px; }
  .btn { height: 48px; padding-inline: 24px; }
  .ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .sec { padding: 72px 0; }
  .panel-wrap { padding: 32px 12px; }
  .dark-panel, .warm-panel { border-radius: 24px; padding: 48px 18px 28px; }
  .uc-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .stage { border-radius: 16px; margin-top: 40px; }
  #demo-frame { min-height: 410px; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -18px; padding-inline: 18px; scrollbar-width: none; }
  .tabs button { flex: none; }
  .tp-art { height: 240px; }
  .phone { transform: scale(.9); }
  .toast { bottom: 40px; }
  .theme { grid-template-columns: 70px 1fr 40px; }
  .end-in { padding: 56px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .wa-visual .s1, .wa-visual .s2, .wa-visual .s3, .wa-visual .s4, .wa-visual .s5, .wa-visual .s6 { opacity: 1; transform: none; animation: none !important; }
  .pulse, .tab-panel.on { animation: none; }
}

/* ===== legal pages ===== */
.legal { padding: 64px 0 40px; }
.legal-in { max-width: 760px; }
.legal h1 { font-size: clamp(38px, 5vw, 56px); }
.legal-date { color: var(--mute); font-size: 14px; margin: 12px 0 0; }
.legal .lead { margin: 20px 0 0; font-size: 19px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 8px; padding: 18px; background: var(--warm-1); border-radius: var(--r-box); }
.legal-toc a { font-size: 14px; font-weight: 600; color: var(--deep); padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--warm-2); }
.legal-toc a:hover { border-color: var(--deep); }
.legal section { padding-top: 36px; }
.legal section h2 { font-size: 24px; margin-bottom: 12px; }
.legal section p, .legal section li { color: var(--ink-2); font-size: 17px; }
.legal section ul { padding-inline-start: 22px; }
.legal section li { margin: 6px 0; }
.legal a:not(.btn):not(.logo):not(.text-link) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.legal-toc a { text-decoration: none !important; }
