:root {
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --bg-dark: #0b1220;
  --bg-dark-2: #111a2e;
  --ink: #0e1726;
  --ink-2: #2b3648;
  --muted: #5b6678;
  --line: #e5e9f0;
  --line-strong: #d4dae4;
  --brand: #d72631;        /* China red, used sparingly */
  --brand-2: #2a6df4;      /* trust blue for CTAs/links */
  --brand-2-ink: #1d4ed8;
  --accent: #00b894;       /* success */
  --warning: #f59e0b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.04), 0 2px 6px rgba(15,23,42,.04);
  --shadow-md: 0 4px 14px rgba(15,23,42,.06), 0 12px 28px rgba(15,23,42,.06);
  --shadow-lg: 0 12px 40px rgba(15,23,42,.10);
  --container: 1240px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC",
          "Hiragino Sans GB", "Microsoft Yahei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-2-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  background: transparent;
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
/* Footer brand mark sits on dark — slightly larger, with a soft glow so a
   dark logo edge stays legible if needed */
.site-footer .brand-mark {
  width: 36px; height: 36px;
}
.site-footer .brand-mark img {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.45));
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  padding: 8px 12px;
  color: var(--ink-2);
  font-weight: 500;
  border-radius: 8px;
}
.nav-links a:hover {
  background: var(--bg-alt);
  color: var(--ink);
  text-decoration: none;
}
.nav-cta {
  margin-left: 8px;
}

/* Language switcher */
.lang-switch {
  position: relative;
  margin-left: 4px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.lang-btn:hover { background: var(--bg-alt); border-color: var(--line-strong); color: var(--ink); }
.lang-btn svg { width: 14px; height: 14px; opacity: .7; }
.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  min-width: 168px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 6px;
  display: none;
  z-index: 60;
}
/* Transparent bridge fills the visual gap so the hover area stays continuous
   even though we now drive open/close via JS click, not :hover. */
.lang-menu::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -10px; height: 10px;
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.lang-menu a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.lang-menu a[aria-current="true"] {
  color: var(--brand-2-ink);
  background: #ecf2ff;
}
.lang-menu a .check { opacity: 0; width: 14px; height: 14px; color: var(--brand-2-ink); }
.lang-menu a[aria-current="true"] .check { opacity: 1; }
@media (max-width: 620px) {
  .lang-switch { margin-left: auto; }
  .lang-btn { padding: 6px 10px; font-size: 13px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--ink);
  color: #fff;
}
.btn-primary:hover { background: #1c2740; }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover { background: var(--bg-alt); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-lg { padding: 14px 22px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(42,109,244,.18), transparent 60%),
              radial-gradient(900px 500px at -10% 30%, rgba(215,38,49,.16), transparent 60%),
              linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: #e9eef7;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 28px 0 24px;
  z-index: 1;
}
.hero-text { max-width: 620px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 13px;
  letter-spacing: .02em;
  color: #c9d4ea;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #19c37d;
  box-shadow: 0 0 0 3px rgba(25,195,125,.18);
}
.hero h1 {
  margin: 12px 0 10px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -.025em;
  color: #fff;
  text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #ff8a6a 0%, #ffd166 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 17px;
  line-height: 1.55;
  color: #c2cee5;
  max-width: 58ch;
  margin: 0 0 18px;
}
.hero .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .actions .btn-primary {
  background: #fff; color: var(--ink);
}
.hero .actions .btn-primary:hover { background: #f1f3f7; }

.hero-meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: #93a1bf;
  font-size: 13.5px;
}
.hero-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta strong { color: #fff; font-weight: 600; }
.hero-meta .sep { width: 1px; height: 18px; background: rgba(255,255,255,.12); display: inline-block; }

/* Hero visual: before/after card */
.compare {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.compare-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 16px;
  padding: 0 4px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #93a1bf;
}
.compare-title .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #6ee7b7;
}
.compare-title .live::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: #19c37d; box-shadow: 0 0 0 3px rgba(25,195,125,.18);
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.compare-card {
  background: linear-gradient(180deg, #11193080 0%, #0c142680 100%);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px;
  min-height: 230px;
  display: flex; flex-direction: column;
}
.compare-card h4 {
  margin: 0 0 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #93a1bf;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.compare-card .pill {
  display: inline-flex;
  padding: 3px 9px; border-radius: 999px;
  font-size: 11px; font-weight: 700;
  background: rgba(245,158,11,.16); color: #fcd34d;
  border: 1px solid rgba(245,158,11,.25);
}
.compare-card.after .pill {
  background: rgba(25,195,125,.16); color: #6ee7b7;
  border-color: rgba(25,195,125,.28);
}
.compare-headline {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.compare-headline small {
  display: inline-block;
  margin-left: 4px;
  font-size: 13px;
  color: #93a1bf;
  font-weight: 500;
}
.compare-headline-label {
  font-size: 12px;
  color: #93a1bf;
  margin: 4px 0 12px;
}
.bar {
  height: 6px; border-radius: 999px; background: rgba(255,255,255,.08);
  overflow: hidden; margin: 6px 0 14px;
}
.bar > span { display: block; height: 100%; border-radius: 999px; }
.bar.slow > span { width: 84%; background: linear-gradient(90deg,#f97316,#dc2626); }
.bar.fast > span { width: 22%; background: linear-gradient(90deg,#22d3ee,#16a34a); }
.compare-row {
  display: flex; justify-content: space-between; font-size: 13px;
  color: #c2cee5;
}
.compare-row + .compare-row { margin-top: 8px; }
.compare-row .v { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
.compare-foot {
  margin-top: 16px; padding: 12px 4px 0;
  border-top: 1px dashed rgba(255,255,255,.12);
  font-size: 12.5px; color: #93a1bf;
  text-align: center;
}

/* ---------- Section base ---------- */
section { padding: 88px 0; }
section.tight { padding: 64px 0; }
.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-2);
  font-weight: 700;
  margin-bottom: 10px;
}
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -.015em;
  line-height: 1.15;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Logos / trust strip ---------- */
.trust {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}
.trust-inner .label {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}
.trust-inner .pill {
  background: #fff;
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--ink-2);
}

/* ============================================================
   Unified Card System
   Used by: problem grid (.card), process (.step), pricing
   (.price-card), audience (.audience-card), how-it-works
   phases (.phase), contact info (.contact-card)
   ============================================================ */

.grid {
  display: grid;
  gap: 18px;
}
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Generic .card (problem grid + add-ons + features) ---------- */
.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 22px 20px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, #ff7a4d 50%, var(--brand-2) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px -16px rgba(15,23,42,.18), 0 4px 10px rgba(15,23,42,.05);
  border-color: #cfd6e3;
}
.card:hover::before { transform: scaleX(1); }

/* Card header: icon inline with title */
.card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

/* Icon — inline pill next to the title */
.card .icon-wrap {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eef3ff 0%, #ffeaee 100%);
  color: var(--brand-2-ink);
  border: 1px solid rgba(15,23,42,.04);
  box-shadow: inset 0 -1px 0 rgba(15,23,42,.03);
}
.card .icon-wrap svg {
  width: 18px; height: 18px;
  stroke-width: 1.8;
}

/* Color variants for icon backgrounds */
.card.c-red    .icon-wrap { background: linear-gradient(135deg,#fff1f1,#ffd9dc); color:#b91c1c; }
.card.c-orange .icon-wrap { background: linear-gradient(135deg,#fff5ec,#ffe0c2); color:#b4530c; }
.card.c-blue   .icon-wrap { background: linear-gradient(135deg,#ecf2ff,#d6e1ff); color:#1d4ed8; }
.card.c-violet .icon-wrap { background: linear-gradient(135deg,#f3eeff,#e1d2ff); color:#6d28d9; }
.card.c-green  .icon-wrap { background: linear-gradient(135deg,#e8faf1,#c5efd5); color:#047857; }
.card.c-slate  .icon-wrap { background: linear-gradient(135deg,#eef2f7,#dde4ee); color:#334155; }

.card .index {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #b6bfcd;
  font-variant-numeric: tabular-nums;
}

.card-head h3 {
  font-size: 16.5px;
  margin: 0;
  letter-spacing: -.005em;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.3;
  flex: 1 1 auto;
  min-width: 0;
}

/* Keep .card h3 working for any markup that hasn't been converted yet */
.card > h3 {
  font-size: 16.5px;
  margin: 0 0 6px;
  letter-spacing: -.005em;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.35;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Legacy .icon (emoji) fallback */
.card .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #eef3ff, #ffeaee);
  color: var(--brand-2-ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
}

/* ---------- Features (alternating) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature + .feature { margin-top: 72px; }
.feature.reverse > .feature-text { order: 2; }
.feature h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  margin: 8px 0 12px;
  letter-spacing: -.01em;
}
.feature p { color: var(--ink-2); font-size: 16.5px; }
.feature .feature-list {
  list-style: none;
  padding: 0; margin: 14px 0 0;
}
.feature .feature-list li {
  padding: 7px 0 7px 28px;
  position: relative;
  color: var(--ink-2);
}
.feature .feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  background-image: linear-gradient(135deg, #34d399, #059669);
  box-shadow: 0 0 0 3px rgba(5,150,105,.12);
}
.feature-visual {
  background: linear-gradient(180deg, var(--bg-alt), #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}

/* ---------- Process / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 20px 20px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex;
  flex-direction: column;
}
.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px -16px rgba(15,23,42,.18), 0 4px 10px rgba(15,23,42,.05);
  border-color: #cfd6e3;
}
.step .num {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, #1c2740 0%, #0e1730 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 10px rgba(14,23,48,.18);
}
.step h4 { margin: 0 0 6px; font-size: 16.5px; font-weight: 650; line-height: 1.35; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Highlighted CTA step (last item) */
.step.step-cta {
  background: linear-gradient(140deg, #0e1730 0%, #0b1220 100%);
  border-color: #0e1730;
  color: #e9eef7;
}
.step.step-cta h4 { color: #fff; }
.step.step-cta p { color: #a3b0cc; }
.step.step-cta .num {
  background: linear-gradient(135deg, var(--brand) 0%, #ff6a3d 100%);
  box-shadow: 0 6px 14px rgba(215,38,49,.35);
}
.step.step-cta .btn {
  margin-top: auto;
  background: #fff;
  color: var(--ink);
  border-color: transparent;
}
.step.step-cta .btn:hover { background: #f1f3f7; }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 30px 30px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
}
.price-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -22px rgba(15,23,42,.22), 0 6px 14px rgba(15,23,42,.05);
}
.price-card.feature-plan {
  border-color: transparent;
  background: linear-gradient(160deg, #0e1730 0%, #0b1220 100%);
  color: #e9eef7;
  box-shadow: 0 24px 60px -22px rgba(11,18,32,.55);
}
.price-card.feature-plan::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(215,38,49,.55), rgba(42,109,244,.45));
  -webkit-mask: linear-gradient(#000,#000) content-box, linear-gradient(#000,#000);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.price-card.feature-plan h3,
.price-card.feature-plan .price,
.price-card.feature-plan li { color: #fff; }

.price-card .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-2);
  background: #ecf2ff;
  padding: 5px 10px;
  border-radius: 999px;
}
.price-card.feature-plan .label {
  color: #ffb86b;
  background: rgba(255,184,107,.12);
}
.price-card h3 {
  margin: 14px 0 4px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.price-card .desc {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 18px;
}
.price-card.feature-plan .desc { color: #a3b0cc; }
.price-card .price {
  font-size: 44px;
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.price-card .price small {
  display: inline-block;
  margin-left: 6px;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}
.price-card.feature-plan .price small { color: #a3b0cc; }
.price-card ul {
  list-style: none;
  padding: 20px 0 0;
  margin: 22px 0 24px;
  border-top: 1px solid var(--line);
}
.price-card.feature-plan ul { border-top-color: rgba(255,255,255,.10); }
.price-card li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.price-card li::before {
  content: "";
  position: absolute; left: 0; top: 13px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(22,163,74,.12);
  background-image: radial-gradient(circle at 50% 50%, #16a34a 0 4px, transparent 4.5px);
}
.price-card.feature-plan li {
  color: #d3dbeb;
}
.price-card.feature-plan li::before {
  background: rgba(110,231,183,.18);
  background-image: radial-gradient(circle at 50% 50%, #6ee7b7 0 4px, transparent 4.5px);
}
.price-card .btn { width: 100%; margin-top: auto; }

.notes {
  margin-top: 22px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand-2);
  border-radius: 12px;
  padding: 18px 22px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.65;
}
.notes strong { color: var(--ink); }

/* ---------- Outcomes (value-based, per stakeholder) ---------- */
.outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.outcome {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 24px 22px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.outcome:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -20px rgba(15,23,42,.18), 0 4px 12px rgba(15,23,42,.05);
  border-color: #cfd6e3;
}
.outcome::before {
  content: "";
  position: absolute;
  left: 24px; right: 24px; top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-2) 100%);
  opacity: .85;
}
.outcome .role {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-2-ink);
}
.outcome .role .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-2);
}
.outcome h3 {
  font-size: 18px;
  margin: 0 0 8px;
  letter-spacing: -.01em;
  color: var(--ink);
  font-weight: 650;
  line-height: 1.3;
}
.outcome > p {
  margin: 0 0 16px;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
}
.outcome .metric {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}
.outcome .metric .num {
  flex: 0 0 auto;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1.15;
}
/* Auto-shrink the longest metric values so "2–4 weeks", "~0 hours",
   "$5,000 + $500/mo" stay on one line without forcing line breaks. */
.outcome .metric .num.compact { font-size: 18px; }
.outcome .metric .label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

/* Stack vertically on narrow cards (e.g. 2-up at small widths) */
@media (max-width: 760px) {
  .outcome .metric {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .outcome .metric .label { font-size: 13px; }
}

/* Per-role accent */
.outcome.role-sales::before     { background: linear-gradient(90deg,#f97316,#ef4444); }
.outcome.role-sales .role       { color: #b91c1c; }
.outcome.role-sales .role .dot  { background: #ef4444; }

.outcome.role-marketing::before { background: linear-gradient(90deg,#a855f7,#6366f1); }
.outcome.role-marketing .role   { color: #6d28d9; }
.outcome.role-marketing .role .dot { background: #8b5cf6; }

.outcome.role-leadership::before { background: linear-gradient(90deg,#0ea5e9,#1d4ed8); }
.outcome.role-leadership .role   { color: #1d4ed8; }
.outcome.role-leadership .role .dot { background: #2563eb; }

.outcome.role-it::before        { background: linear-gradient(90deg,#10b981,#059669); }
.outcome.role-it .role          { color: #047857; }
.outcome.role-it .role .dot     { background: #10b981; }

.outcome.role-legal::before     { background: linear-gradient(90deg,#f59e0b,#d97706); }
.outcome.role-legal .role       { color: #b45309; }
.outcome.role-legal .role .dot  { background: #f59e0b; }

.outcome.role-finance::before   { background: linear-gradient(90deg,#64748b,#334155); }
.outcome.role-finance .role     { color: #334155; }
.outcome.role-finance .role .dot { background: #475569; }

@media (max-width: 980px) {
  .outcomes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .outcomes { grid-template-columns: 1fr; }
}

/* ---------- Audience ---------- */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.audience-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 28px 26px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: transform .18s ease, box-shadow .18s ease;
}
.audience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px -16px rgba(15,23,42,.18);
}
.audience-card.good {
  background: linear-gradient(180deg, #f4fcf7 0%, #fff 60%);
  border-color: #c9eed8;
}
.audience-card.bad {
  background: linear-gradient(180deg, #fff5f5 0%, #fff 60%);
  border-color: #f3cfd2;
}
.audience-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 12px;
}
.audience-card.good .badge { background: #dcfce7; color: #047857; }
.audience-card.bad  .badge { background: #fee2e2; color: #b91c1c; }
.audience-card .badge svg { width: 14px; height: 14px; }
.audience-card h3 {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -.005em;
  color: var(--ink);
}
.audience-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--ink-2);
}
.audience-card li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.55;
  border-top: 1px solid rgba(15,23,42,.05);
}
.audience-card li:first-child { border-top: none; padding-top: 0; }
.audience-card.good li:first-child::before { top: 4px; }
.audience-card.bad  li:first-child::before { top: 4px; }
.audience-card.good li::before {
  content: "";
  position: absolute; left: 4px; top: 14px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #d1fae5;
  background-image: radial-gradient(circle at 50% 50%, #059669 0 3.5px, transparent 4px);
}
.audience-card.bad li::before {
  content: "";
  position: absolute; left: 4px; top: 16px;
  width: 12px; height: 2px; border-radius: 2px;
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12);
}

/* ---------- CTA section ---------- */
.cta {
  background: linear-gradient(135deg, #0b1220 0%, #14213d 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(500px 240px at 90% 0%, rgba(255,138,106,.25), transparent 60%);
}
.cta-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; }
.cta h2 { margin: 0 0 10px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.01em; line-height: 1.15; }
.cta p { margin: 0; color: #c2cee5; font-size: 17px; }
.cta .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.cta .btn-primary { background: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #0b1220 0%, #070d1a 100%);
  color: #c2cee5;
  padding: 64px 0 28px;
  margin-top: 80px;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(215,38,49,.4) 30%,
    rgba(42,109,244,.4) 70%,
    transparent 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 36px;
  align-items: start;
}
.footer-brand p {
  margin-top: 16px;
  max-width: 38ch;
  font-size: 14px;
  line-height: 1.65;
  color: #93a1bf;
}
.footer-grid h5 {
  color: #fff;
  font-size: 12px;
  margin: 0 0 16px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: .9;
}
.footer-grid .col a {
  color: #c2cee5;
  display: block;
  padding: 6px 0;
  font-size: 14.5px;
  transition: color .15s ease, transform .15s ease;
}
.footer-grid .col a:hover {
  color: #fff;
  text-decoration: none;
  transform: translateX(2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #8693ad;
}
.footer-bottom a { color: #8693ad; }
.footer-bottom a:hover { color: #c2cee5; text-decoration: none; }

/* Footer brand mark — sit directly on dark, no plate */
.site-footer .brand {
  color: #fff;
  font-size: 17px;
}

/* ---------- Page header (subpages) ---------- */
.page-header {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: 60px 0 36px;
}
.page-header h1 {
  margin: 6px 0 8px;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -.015em;
}
.page-header p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  max-width: 70ch;
}
.crumbs {
  font-size: 13px;
  color: var(--muted);
}
.crumbs a { color: var(--muted); }

/* ---------- Content prose ---------- */
.prose {
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
}
.prose h2 {
  margin: 48px 0 12px;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: -.01em;
}
.prose h3 {
  margin: 28px 0 10px;
  font-size: 19px;
  color: var(--ink);
}
.prose ul { padding-left: 20px; }
.prose li { padding: 4px 0; }
.prose .callout {
  background: var(--bg-alt);
  border-left: 4px solid var(--brand-2);
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
  color: var(--ink-2);
}

/* ---------- Phase blocks (how-it-works) ---------- */
.phase {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 30px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.phase:hover {
  box-shadow: 0 18px 38px -18px rgba(15,23,42,.16);
  border-color: #cfd6e3;
}
.phase + .phase { margin-top: 16px; }
.phase-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 12px;
}
.phase-num {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ink), #1f2c4a);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
  box-shadow: 0 6px 14px rgba(14,23,48,.18);
  font-variant-numeric: tabular-nums;
}
.phase h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.01em;
  font-weight: 650;
  color: var(--ink);
}
.phase .tag {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--brand-2);
  font-weight: 700;
  margin-bottom: 2px;
}
.phase ul {
  margin: 12px 0 0;
  padding-left: 0;
  list-style: none;
}
.phase ul li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.phase ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: 14px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-2);
  opacity: .65;
}
.phase h4 {
  margin: 18px 0 6px;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -.005em;
}
.deliverables {
  background: linear-gradient(180deg, #f8fafd 0%, #f3f6fb 100%);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}
.deliverables strong { color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: start;
}
.contact-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: box-shadow .18s ease, border-color .18s ease;
}
.contact-card:hover {
  box-shadow: 0 18px 38px -18px rgba(15,23,42,.16);
  border-color: #cfd6e3;
}
.contact-card h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -.005em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-card h3::before {
  content: "";
  width: 4px; height: 18px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-2) 100%);
}
.contact-card .row {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 14.5px;
}
.contact-card .row:first-of-type { border-top: none; padding-top: 4px; }
.contact-card .row .k {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 72px 0 56px; gap: 40px; }
  .hero-text { max-width: none; }
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature.reverse > .feature-text { order: initial; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; }
  .audience { grid-template-columns: 1fr; }
  .cta { padding: 36px; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  section { padding: 64px 0; }
  .grid.cols-3, .grid.cols-2, .grid.cols-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute; top: 64px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
  }
  .nav-links.open a { padding: 10px 12px; }
  .menu-btn { display: inline-flex; }
  .compare-grid { grid-template-columns: 1fr; }
}

/* Mobile menu button (hidden on desktop) */
.menu-btn {
  display: none;
  margin-left: auto;
  width: 40px; height: 40px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
}
@media (max-width: 620px) {
  .nav-cta { display: none; }
}


/* =============================================================
   RTL support (lang="ar")
   Applied via the dir="rtl" attribute on <html>, set by the
   build script for Arabic locale pages.
   ============================================================= */
html[dir="rtl"] body { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
html[dir="rtl"] .nav-links { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .nav-cta   { margin-left: 0; margin-right: 8px; }
html[dir="rtl"] .lang-switch { margin-left: 0; margin-right: 4px; }
html[dir="rtl"] .lang-menu { right: auto; left: 0; }
html[dir="rtl"] .feature.reverse > .feature-text { order: 2; }
html[dir="rtl"] .feature > .feature-text { order: 1; }
html[dir="rtl"] .feature-list li,
html[dir="rtl"] .price-card li,
html[dir="rtl"] .audience-card li { padding: 8px 28px 8px 0; }
html[dir="rtl"] .feature-list li::before,
html[dir="rtl"] .price-card li::before,
html[dir="rtl"] .audience-card li::before { left: auto; right: 4px; }
html[dir="rtl"] .phase ul li { padding: 6px 22px 6px 0; }
html[dir="rtl"] .phase ul li::before { left: auto; right: 4px; }
html[dir="rtl"] .card .index { right: auto; left: 20px; }
html[dir="rtl"] .crumbs { text-align: right; }
html[dir="rtl"] .actions,
html[dir="rtl"] .cta .actions { justify-content: flex-end; }
html[dir="rtl"] .footer-grid .col a:hover { transform: translateX(-2px); }
