/* ===== Tokens ===== */
:root {
  --brand: #4f46e5;
  --brand-600: #4338ca;
  --brand-50: #eef0ff;
  --brand-100: #e0e7ff;
  --accent: #0d9488;
  --accent-ink: #ffffff;

  --bg: #ffffff;
  --bg-tint: #f3f5fb;
  --surface: #ffffff;
  --ink: #1c2433;
  --ink-2: #4b5563;
  --ink-3: #6b7280;
  --line: #e2e6ed;
  --danger: #dc2626;

  --dark-bg: #1e1b4b;
  --dark-ink: #eef0ff;
  --dark-ink-2: #c3c6ee;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(28, 36, 51, .06), 0 1px 3px rgba(28, 36, 51, .05);
  --shadow: 0 10px 30px -12px rgba(28, 36, 51, .18), 0 2px 6px rgba(28, 36, 51, .05);
  --shadow-lg: 0 30px 60px -20px rgba(30, 27, 75, .35);

  --font: "Almarai", "Segoe UI", Tahoma, system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #818cf8;
    --brand-600: #6366f1;
    --brand-50: #1f1d45;
    --brand-100: #2e2a6b;
    --accent: #14b8a6;
    --bg: #0f1020;
    --bg-tint: #14152a;
    --surface: #181a33;
    --ink: #e8eaf6;
    --ink-2: #b4b8d8;
    --ink-3: #8a8fb3;
    --line: #2a2c4a;
    --dark-bg: #12102e;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #818cf8; --brand-600: #6366f1; --brand-50: #1f1d45; --brand-100: #2e2a6b; --accent: #14b8a6;
  --bg: #0f1020; --bg-tint: #14152a; --surface: #181a33;
  --ink: #e8eaf6; --ink-2: #b4b8d8; --ink-3: #8a8fb3; --line: #2a2c4a;
  --dark-bg: #12102e; --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ===== Base ===== */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.75;
  color: var(--ink); background: var(--bg); overflow-x: hidden;
}
h1, h2, h3, h4 { line-height: 1.35; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ic-xl { width: 40px; height: 40px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.3em; border-radius: 12px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: transform .15s, background .15s, box-shadow .15s, border-color .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .45em 1em; font-size: .92rem; }
.btn-lg { padding: .85em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn-primary:hover { background: var(--brand-600); }
.btn-outline { border-color: var(--brand); color: var(--brand); background: transparent; }
.btn-outline:hover { background: var(--brand-50); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: #312e81; }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.08); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; color: var(--brand);
  background: var(--brand-50); padding: .25em .9em; border-radius: 99px; margin-bottom: 1rem;
}
.eyebrow-light { background: rgba(255,255,255,.1); color: #a5b4fc; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.2rem; direction: ltr; }
.brand-mark { width: 38px; height: 38px; }
.brand-name { font-weight: 400; letter-spacing: .2px; }
.brand-name b { color: var(--brand); }
.nav-links { display: flex; gap: 22px; margin-inline-start: auto; }
.nav-links a { color: var(--ink-2); font-weight: 400; font-size: .96rem; }
.nav-links a:hover { color: var(--brand); }
.nav-order { display: none; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px; direction: ltr; cursor: pointer;
  font: inherit; font-size: .75rem; font-weight: 700; letter-spacing: .3px;
  background: transparent; color: var(--ink-3); border: 1px solid var(--line); border-radius: 9px;
}
.lang-btn span { padding: .3em .55em; border-radius: 6px; line-height: 1; transition: background .15s, color .15s; }
.lang-btn span.on { background: var(--brand); color: #fff; }
.lang-btn:hover span:not(.on) { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 8px; cursor: pointer; }
.nav-toggle .ic { width: 26px; height: 26px; }

/* ===== Hero ===== */
.hero {
  position: relative; padding: 64px 0 80px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 15% 10%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 60%),
    radial-gradient(700px 400px at 90% 90%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.3px; }
:root[lang="fr"] .hero h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.hl {
  color: var(--brand);
  background: linear-gradient(100deg, var(--brand) 0%, var(--brand) 40%, #2dd4bf 50%, var(--brand) 60%, var(--brand) 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-actions.center { justify-content: center; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: .95rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .ic { color: var(--brand); }

/* Mockups */
.hero-visual { position: relative; min-height: 420px; isolation: isolate; }
.mock-desktop {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero-visual .mock-desktop { position: absolute; inset: 30px 0 auto 70px; }
.mock-shot img { width: 100%; display: block; }
.mock-titlebar {
  height: 32px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  background: var(--bg-tint); border-bottom: 1px solid var(--line); direction: ltr;
}
.mock-titlebar i { width: 10px; height: 10px; border-radius: 50%; background: #e5e7eb; }
.mock-titlebar i:nth-child(1) { background: #f87171; }
.mock-titlebar i:nth-child(2) { background: #fbbf24; }
.mock-titlebar i:nth-child(3) { background: #34d399; }
.mock-titlebar span { margin: 0 auto; font-size: .75rem; color: var(--ink-3); }
.mock-phone {
  position: absolute; left: 0; bottom: 0; width: 180px;
  background: #0f1020; border-radius: 30px; padding: 8px; box-shadow: var(--shadow-lg);
  border: 1px solid #2a2c4a;
}
.mock-phone img { width: 100%; border-radius: 23px; }

/* ===== Strip ===== */
.strip { border-block: 1px solid var(--line); background: var(--bg-tint); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 22px; }
.strip-grid div { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--ink-2); font-weight: 400; text-align: center; }
.strip-grid .ic { color: var(--brand); width: 24px; height: 24px; }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-tint { background: var(--bg-tint); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.section-head h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
.section-head p { color: var(--ink-2); font-size: 1.06rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.f-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 16px; }
.f-ic .ic { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; }
.feature p { color: var(--ink-2); font-size: .97rem; margin: 0; }

/* Mobile section (dark) */
.section-dark {
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(13,148,136,.28), transparent 60%),
    var(--dark-bg);
  color: var(--dark-ink);
}
.mobile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.section-dark h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: #fff; }
.lead-light { color: var(--dark-ink-2); font-size: 1.08rem; }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps b {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-size: 1.1rem;
}
.steps h4 { margin: 0; color: #fff; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--dark-ink-2); font-size: .95rem; }
.mobile-points { display: grid; gap: 16px; }
.point {
  display: flex; gap: 16px; padding: 22px; border-radius: var(--radius);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
}
.point > .ic { width: 28px; height: 28px; color: #5eead4; margin-top: 4px; }
.point h4 { color: #fff; margin-bottom: .25em; font-size: 1.07rem; }
.point p { margin: 0; color: var(--dark-ink-2); font-size: .96rem; }

.mob-dl { margin-top: 30px; }
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 72px auto 0; max-width: 1000px; }
.phones figure { margin: 0; text-align: center; }
.phone-frame { background: #0b0c1a; border: 1px solid rgba(255,255,255,.12); border-radius: 30px; padding: 8px; box-shadow: 0 24px 48px -20px rgba(0,0,0,.6); }
.phone-frame img { width: 100%; border-radius: 23px; }
.phones figcaption { margin-top: 14px; color: var(--dark-ink-2); font-weight: 700; }

/* Screens */
.tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab {
  font: inherit; font-weight: 400; padding: .5em 1.2em; border-radius: 99px; cursor: pointer;
  background: var(--bg-tint); color: var(--ink-2); border: 1px solid var(--line);
}
.tab.active { background: var(--brand); color: #fff; border-color: var(--brand); }
.shot { margin: 0 auto; max-width: 1100px; }
.shot figcaption { text-align: center; color: var(--ink-3); margin-top: 18px; }

/* Audience */
.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-align: center; }
.audience .ic { width: 36px; height: 36px; color: var(--brand); margin-bottom: 12px; }
.audience h4 { font-size: 1.08rem; }
.audience p { color: var(--ink-2); margin: 0; font-size: .95rem; }

/* Journey + download */
.journey { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: j; }
.journey li { position: relative; padding: 26px 22px; border-radius: var(--radius); background: var(--bg-tint); border: 1px solid var(--line); }
.journey .j-num {
  position: absolute; top: 16px; inset-inline-end: 18px; font-size: 2.2rem; font-weight: 700;
  color: var(--brand-100); line-height: 1;
}
.journey .ic { width: 30px; height: 30px; color: var(--brand); margin-bottom: 10px; }
.journey h4 { font-size: 1.06rem; margin-bottom: .2em; }
.journey p { margin: 0; color: var(--ink-2); font-size: .95rem; }

.download-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dl-card {
  display: flex; align-items: center; gap: 18px; padding: 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.dl-card > .ic { color: var(--brand); }
.dl-info { flex: 1; min-width: 0; }
.dl-info h3 { font-size: 1.12rem; margin-bottom: .1em; }
.dl-info p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.dl-meta { display: block; color: var(--ink-3); font-size: .82rem; margin-top: 2px; }
.btn.is-pending { opacity: .75; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 26px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan-badge {
  position: absolute; top: -13px; inset-inline-start: 24px; background: var(--accent); color: var(--accent-ink);
  font-size: .8rem; font-weight: 700; padding: .2em .9em; border-radius: 99px;
}
.plan h3 { font-size: 1.2rem; margin-bottom: .2em; }
.plan .plan-desc { color: var(--ink-2); font-size: .95rem; min-height: 3.2em; }
.plan .price { font-size: 2.1rem; font-weight: 700; line-height: 1.2; margin: 6px 0 4px; }
.plan .price small { font-size: .95rem; font-weight: 400; color: var(--ink-3); }
.plan .price.ask { font-size: 1.25rem; color: var(--ink-2); }
.plan .price { margin-bottom: 18px; }
.plan-actions { display: grid; gap: 10px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; flex: 1; align-content: start; }
.plan li { position: relative; padding-inline-start: 28px; color: var(--ink-2); font-size: .96rem; }
.plan li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Order form */
.order-top { padding: 72px 0; }
.order-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.order-copy h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.order-copy p { color: var(--ink-2); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.checks li::before { content: "✓"; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); font-weight: 700; }
.wa-link {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; background: #25d366;
  padding: .75em 1.4em; border-radius: 12px; box-shadow: 0 8px 20px -10px rgba(37, 211, 102, .8); transition: transform .15s;
}
.wa-link:hover { transform: translateY(-1px); }
.wa-link .ic { width: 22px; height: 22px; }

.order-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field .opt { font-weight: 400; color: var(--ink-3); font-size: .85rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .65em .9em; transition: border-color .15s, box-shadow .15s;
}
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 18%, transparent);
}
.field .err { display: none; color: var(--danger); font-size: .85rem; margin-top: 4px; }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.field.invalid .err { display: block; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.form-status { margin: 12px 0 0; text-align: center; font-weight: 400; min-height: 1.5em; }
.form-status.ok { color: var(--brand); }
.form-status.bad { color: var(--danger); }
.order-done { text-align: center; padding: 30px 10px; }
.order-done .ic { width: 56px; height: 56px; color: var(--brand); margin: 0 auto 12px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 700; font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }

/* Final CTA */
.final-cta {
  padding: 80px 0; text-align: center; color: #fff;
  background: radial-gradient(600px 300px at 50% 0%, rgba(94,234,212,.22), transparent 70%), linear-gradient(135deg, #1e1b4b, #4338ca);
}
.final-cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.final-cta p { color: #e0e7ff; font-size: 1.1rem; }

/* Footer */
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); background: var(--bg); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer nav a { color: var(--ink-2); }
.site-footer small { color: var(--ink-3); }

.wa-float {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 30px; height: 30px; }
.wa-float[hidden] { display: none; }

.more-link { text-align: center; margin-top: 36px; }
.nav-links a.active { color: var(--brand); font-weight: 700; }

/* ===== Features page ===== */
.fp-hero {
  padding: 64px 0 40px; text-align: center;
  background: radial-gradient(900px 400px at 50% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 65%);
}
.fp-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.fp-hero .lead { margin: 0 auto; }
.fp-switch {
  display: inline-flex; gap: 6px; margin-top: 30px; padding: 6px; border-radius: 16px;
  background: var(--bg-tint); border: 1px solid var(--line);
}
.fp-tab {
  display: inline-flex; align-items: center; gap: 8px; font: inherit; font-weight: 700; cursor: pointer;
  padding: .7em 1.3em; border-radius: 12px; border: 0; background: transparent; color: var(--ink-2);
}
.fp-tab.active { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -8px var(--brand); }
.fp-body { padding-top: 32px; }
.fp-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }
.fp-index { position: sticky; top: 88px; display: grid; gap: 2px; max-height: calc(100vh - 110px); overflow: auto; }
.fp-index a { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px; color: var(--ink-2); font-size: .95rem; }
.fp-index a:hover { background: var(--brand-50); color: var(--brand); }
.fp-modules { display: grid; gap: 22px; }
.fp-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 30px; box-shadow: var(--shadow-sm); scroll-margin-top: 90px;
}
.fp-card h2 { display: flex; align-items: center; gap: 12px; font-size: 1.35rem; color: var(--brand); margin-bottom: .4em; }
.fp-emoji { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); font-size: 1.35rem; flex-shrink: 0; }
.fp-desc { color: var(--ink-2); margin-bottom: .8em; }
.fp-card ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 36px; }
.fp-card li { position: relative; padding-inline-start: 22px; margin-bottom: 9px; break-inside: avoid; color: var(--ink); }
.fp-card li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }

/* Customer reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.review {
  margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm);
}
.review-stars { color: #f59e0b; font-size: 1.15rem; letter-spacing: 2px; }
.review-stars span { color: var(--line); }
.review blockquote { margin: 0; color: var(--ink); white-space: pre-line; flex: 1; }
.review figcaption b { display: block; }
.review figcaption span { color: var(--ink-3); font-size: .9rem; }
.reviews-empty { text-align: center; color: var(--ink-3); }
.reviews-cta { text-align: center; margin-top: 32px; }
.review-form {
  max-width: 640px; margin: 32px auto 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow);
}
.review-form .label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.star-input { display: flex; gap: 4px; }
.star-input button {
  font-size: 2rem; line-height: 1; padding: 2px; background: none; border: 0; cursor: pointer;
  color: var(--line); transition: transform .12s, color .12s;
}
.star-input button.on { color: #f59e0b; }
.star-input button:hover { transform: scale(1.15); }
.field.invalid .star-input + .err { display: block; }
.rv-note { text-align: center; color: var(--ink-3); font-size: .88rem; margin: 10px 0 0; }
.rv-thanks { text-align: center; font-weight: 700; color: var(--brand); margin: 0; padding: 20px 0; }

/* Desktop trial dialog */
.trial-dialog {
  border: 0; padding: 30px 28px 24px; width: min(520px, calc(100% - 24px)); max-height: calc(100vh - 24px); overflow: auto;
  border-radius: var(--radius-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg);
}
.trial-dialog::backdrop { background: rgba(15, 16, 32, .6); backdrop-filter: blur(3px); }
.trial-dialog[open] { animation: riseIn .35s cubic-bezier(.2,.8,.2,1); }
.dlg-close {
  position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border-radius: 10px;
  border: 0; background: var(--bg-tint); color: var(--ink-2); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.dlg-close:hover { color: var(--brand); }
.trial-head { text-align: center; margin-bottom: 18px; }
.trial-head h2 { font-size: 1.35rem; margin: 10px 0 6px; }
.trial-head p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.trial-ic { width: 56px; height: 56px; border-radius: 16px; display: inline-grid; place-items: center; background: var(--brand-50); color: var(--brand); }
.trial-ic .ic { width: 28px; height: 28px; }
.trial-ic.ok { background: color-mix(in srgb, #16a34a 15%, transparent); color: #16a34a; }
.trial-note { text-align: center; color: var(--ink-3); font-size: .85rem; margin: 10px 0 0; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; cursor: pointer;
  padding: 22px 14px; border-radius: 16px; font: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s;
}
.choice:hover { transform: translateY(-2px); }
.choice .ic { width: 30px; height: 30px; }
.choice b { font-size: 1.05rem; }
.choice span { font-size: .85rem; opacity: .85; }
.choice-trial { background: var(--brand); color: #fff; border: 0; box-shadow: 0 10px 24px -12px var(--brand); }
.choice-buy { background: var(--surface); color: var(--ink); border: 2px solid var(--brand); }
.choice-buy .ic { color: var(--brand); }
@media (max-width: 480px) {
  .choice-grid { grid-template-columns: 1fr; }
  .trial-dialog { padding: 26px 18px 20px; }
}

.trial-dialog[data-app="mobile"] [data-for="desktop"],
.trial-dialog:not([data-app="mobile"]) [data-for="mobile"] { display: none; }

/* Video tutorials */
.video-frame {
  position: relative; max-width: 900px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--radius-lg);
  overflow: hidden; background: #000; box-shadow: var(--shadow-lg);
}
.video-frame iframe, .video-facade { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-facade { padding: 0; cursor: pointer; background: #000; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.video-facade:hover img { opacity: 1; }
.play-btn { position: absolute; top: 50%; left: 50%; width: 76px; transform: translate(-50%, -50%); transition: transform .15s; }
.video-facade:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  background: #1c2433; color: #fff; padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow-lg);
  transition: opacity .25s, transform .25s; z-index: 100; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
/* ===== Hero entrance animation ===== */
@keyframes slideDown { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes deskIn {
  from { opacity: 0; transform: perspective(1400px) rotateY(16deg) rotateX(8deg) translateY(40px) scale(.92); }
  to   { opacity: 1; transform: perspective(1400px) rotateY(0) rotateX(0) translateY(0) scale(1); }
}
@keyframes phoneIn { from { opacity: 0; transform: translateY(90px) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes glowIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes shine { from { background-position: 100% 0; } to { background-position: 0 0; } }

.site-header { animation: slideDown .6s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > * { animation: riseIn .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > :nth-child(1) { animation-delay: .15s; }
.hero-copy > :nth-child(2) { animation-delay: .27s; }
.hero-copy > :nth-child(3) { animation-delay: .39s; }
.hero-copy > :nth-child(4) { animation-delay: .51s; }
.hero-copy > :nth-child(5) { animation-delay: .63s; }
.hero .hl { animation: shine 1.6s 1.1s ease-in-out both; }
.hero-visual::before {
  content: ""; position: absolute; inset: 0 10% 10% 15%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 35%, transparent), transparent);
  filter: blur(30px); animation: glowIn 1.4s .3s ease-out both;
}
.hero-visual .mock-desktop { transform-origin: 30% 60%; animation: deskIn 1.1s .35s cubic-bezier(.2,.8,.2,1) both; }
.hero-visual .mock-phone { z-index: 2; animation: phoneIn .9s .8s cubic-bezier(.2,.9,.25,1.15) both, floaty 6s 1.9s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .hero-copy > *, .hero .hl, .hero-visual::before, .hero-visual .mock-desktop, .hero-visual .mock-phone { animation: none; }
  .hero .hl { background-position: 0 0; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dot-live { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .audience, .journey { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 900px) {
  .nav-links {
    position: absolute; top: 68px; inset-inline: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
    display: none; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-order { display: block; color: var(--brand) !important; font-weight: 700 !important; }
  .nav-cta { margin-inline-start: auto; }
  .nav-toggle { display: inline-flex; }

  .hero { padding: 40px 0 56px; }
  .hero-grid, .mobile-grid, .order-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-grid > *, .mobile-grid > *, .order-grid > * { min-width: 0; }
  .hero-visual { min-height: 380px; max-width: 560px; width: 100%; margin: 0 auto; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .download-cards { grid-template-columns: 1fr; }
  .fp-layout { grid-template-columns: minmax(0, 1fr); }
  .fp-index { position: static; max-height: none; display: flex; flex-wrap: wrap; gap: 6px; }
  .fp-index a { background: var(--bg-tint); border: 1px solid var(--line); font-size: .88rem; padding: 6px 12px; }
  .fp-card ul { columns: 1; }
  .phones { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .features, .audience, .journey { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; white-space: normal; text-align: center; }
  .btn { white-space: normal; }
  .hero-visual { min-height: 260px; }
  .hero-visual .mock-desktop { inset: 0 0 auto 36px; }
  .mock-phone { width: 120px; border-radius: 22px; padding: 6px; }
  .mock-phone img { border-radius: 17px; }
  .phones { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .strip-grid div { flex-direction: column; gap: 4px; font-size: .9rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .order-form { padding: 22px 18px; }
  .fp-card { padding: 22px 18px; }
  .fp-switch { display: grid; width: 100%; }
  .fp-tab { justify-content: center; }
  .dl-card { flex-wrap: wrap; }
  .dl-card .btn { width: 100%; }
  .nav-cta .btn-sm { display: none; }
}
