/* ============================================================
   SA Commerce Pro — Landing Page Styles
   Architecture: /public/assets/css/landing.css
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --ink: #10241c;
  --muted: #5d6b63;
  --sand: #f4f1e8;
  --sand-2: #ece6d7;
  --paper: #fffdf8;
  --line: #e4dfcf;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 1px 2px rgba(16,36,28,.05), 0 22px 48px -24px rgba(16,36,28,.4);
  --shadow-soft: 0 1px 2px rgba(16,36,28,.04), 0 14px 34px -22px rgba(16,36,28,.32);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-ar: "Tajawal", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --maxw: 1180px;

  /* Saudi green palette */
  --emerald: #2b0f54;
  --emerald-2: #6d28d9;
  --green: #7c3aed;
  --green-soft: #f0e8fd;
  --gold: #e0b54a;
  --gold-soft: #f5ecd4;
  --glow1: rgba(139,92,246,.26);
  --glow2: rgba(224,181,74,.22);
  --primary-grad: linear-gradient(135deg, #8b5cf6, #4c1d95);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[dir="rtl"] body { font-family: var(--font-ar); }
html[dir="rtl"] .mono, html[dir="rtl"] .kicker { font-family: var(--font-ar); letter-spacing: .02em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.sec { padding: 96px 0; }
.sec-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.sec-head p { color: var(--muted); margin-top: 14px; font-size: 16.5px; }

/* ---------- Typography ---------- */
.grad-txt {
  background: var(--primary-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
h1 .grad-txt::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.1em;
  height: .085em;
  border-radius: 999px;
  background: var(--primary-grad);
  transform: scaleX(1);
  opacity: 1;
}
html[dir="rtl"] h1 .grad-txt::after { transform-origin: right; }
h1 { font-size: clamp(34px, 4.7vw, 58px); line-height: 1.04; letter-spacing: -.03em; font-weight: 800; margin: 20px 0 0; }
h2 { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.08; letter-spacing: -.025em; font-weight: 800; margin-top: 12px; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 11px 20px;
  font: inherit; font-weight: 600; font-size: 14.5px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s, background .2s, filter .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { color: var(--emerald-2); }
.btn-primary { background: var(--primary-grad); color: #fff; box-shadow: 0 12px 26px -12px var(--emerald); }
.btn-primary:hover { filter: brightness(1.07); box-shadow: 0 16px 34px -12px var(--emerald); }
.btn-outline { border-color: var(--line); background: var(--paper); color: var(--ink); }
.btn-outline:hover { border-color: var(--emerald-2); }
.btn-gold { background: var(--gold); color: #2a1d07; }
.btn-gold:hover { filter: brightness(1.05); }
.btn-lg { padding: 15px 26px; font-size: 15.5px; }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244,241,232,.82);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.logo {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--primary-grad);
  display: grid; place-items: center; color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  flex-shrink: 0;
}
.logo svg { width: 18px; height: 18px; }
nav.links { display: flex; gap: 26px; margin-inline-start: 18px; }
nav.links a { font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .15s; }
nav.links a:hover { color: var(--ink); }
.nav-right { margin-inline-start: auto; display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); }
.lang button { border: 0; background: transparent; padding: 7px 13px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--muted); transition: background .15s, color .15s; }
.lang button.on { background: var(--emerald); color: #fff; }
.menu-btn { display: none; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- Mobile Menu ---------- */
.mobile-menu { display: none; position: fixed; inset: 72px 0 0; z-index: 55; background: var(--sand); padding: 24px; flex-direction: column; gap: 6px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 14px 8px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 14px; justify-content: center; }

/* ---------- Hero ---------- */
.hero { padding: 78px 0 30px; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute;
  inset: -12% -8% auto -8%; height: 130%;
  z-index: 0; pointer-events: none;
  background: radial-gradient(38vw 40vh at 82% 14%, var(--glow1), transparent 68%),
              radial-gradient(32vw 32vh at 6% 2%, var(--glow2), transparent 70%);
  opacity: .85;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; position: relative; z-index: 1; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-soft); color: var(--emerald-2);
  border: 1px solid color-mix(in srgb, var(--green) 28%, transparent);
  padding: 6px 13px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .01em;
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: dotpulse 1.8s ease-in-out infinite;
}
@keyframes dotpulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--glow1); }
  50% { box-shadow: 0 0 0 7px transparent; }
}
.lede { font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); max-width: 42ch; margin-top: 18px; }
.cta-row { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.micro { display: flex; gap: 20px; margin-top: 22px; flex-wrap: wrap; }
.micro span { display: flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); }
.micro svg { width: 15px; height: 15px; color: var(--green); }
.hchips { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.hchip { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow-soft); }
.hchip b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; line-height: 1; }
.hchip small { font-size: 11.5px; color: var(--muted); display: block; margin-top: 2px; }
.hchip .hd { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); flex-shrink: 0; }

/* ---------- Mock UI Cards ---------- */
.mock { position: relative; }
.mock-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.mock-top { display: flex; align-items: center; gap: 8px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mock-top .d { width: 9px; height: 9px; border-radius: 50%; background: #d9d2c0; }
.mock-top .lbl { margin-inline-start: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.mock-body { padding: 18px; }
.inv { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); margin-bottom: 11px; }
.inv:last-child { margin-bottom: 0; }
.inv .l { display: flex; align-items: center; gap: 12px; }
.qr { width: 42px; height: 42px; border-radius: 9px; background: conic-gradient(from 0deg, #10241c 0 25%, transparent 0 50%, #10241c 0 75%, transparent 0), #fff; background-size: 14px 14px; border: 1px solid var(--line); }
.inv .name { font-weight: 600; font-size: 14px; }
.inv .sub { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.tag { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.tag.ok { background: var(--green-soft); color: var(--emerald-2); }
.tag.gold { background: var(--gold-soft); color: #9a6b12; }
.zrow { display: flex; justify-content: space-between; padding: 10px 4px; font-size: 14px; color: var(--muted); border-top: 1px dashed var(--line); }
.zrow b { color: var(--ink); font-weight: 700; }
.zrow.ztot { font-size: 16px; color: var(--ink); font-weight: 700; border-top: 1px solid var(--line); margin-top: 2px; }
.zrow.ztot b { color: var(--green); }
.addr-grid { height: 118px; border-radius: 12px; margin-bottom: 13px; border: 1px solid var(--line); overflow: hidden; position: relative; background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 26px 26px, var(--paper); }
.addr-grid::after { content: ""; position: absolute; left: 46%; top: 34%; width: 16px; height: 16px; border-radius: 50% 50% 50% 0; background: var(--green); transform: rotate(-45deg); box-shadow: 0 0 0 6px var(--green-soft); }
.addr-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.addr-row .name { font-weight: 600; font-size: 14px; }
.addr-row .sub { font-size: 12px; color: var(--muted); font-family: var(--mono); }
.otp-card .mock-body, .otp-card { padding: 24px; }
.otp-num { font-family: var(--mono); font-size: 15px; color: var(--ink); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
html[dir="rtl"] .otp-num { direction: ltr; justify-content: flex-end; }
.otp-boxes { display: flex; gap: 10px; margin-bottom: 16px; }
.otp-boxes span { width: 50px; height: 58px; border: 1.5px solid var(--line); border-radius: 13px; display: grid; place-items: center; font-size: 23px; font-weight: 700; background: var(--paper); }
.otp-boxes span.on { border-color: var(--green); background: var(--green-soft); color: var(--emerald-2); }
.otp-verify { display: flex; align-items: center; gap: 8px; color: var(--emerald-2); font-weight: 600; font-size: 14.5px; }
.dash-row { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); }
.dash-row:first-child { border-top: 0; }
.dash-row .dl { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; }
.dot-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--green-soft); color: var(--emerald-2); }
.dot-ic svg { width: 16px; height: 16px; }
.dbar { height: 7px; border-radius: 6px; background: var(--green-soft); overflow: hidden; width: 120px; }
.dbar i { display: block; height: 100%; background: var(--primary-grad); border-radius: 6px; }
.float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; align-items: center; gap: 11px; }
.float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--green-soft); color: var(--emerald-2); }
.float .ic svg { width: 18px; height: 18px; }
.float .big { font-weight: 800; font-size: 17px; line-height: 1.1; white-space: nowrap; }
.float .cap { font-size: 11px; color: var(--muted); white-space: nowrap; }
.float.a { top: -22px; inset-inline-end: -14px; }
.float.b { bottom: -24px; inset-inline-start: -20px; }

/* ---------- Gov Bar ---------- */
.gov { border-bottom: 1px solid var(--line); background: var(--paper); }
.gov-inner { display: flex; align-items: center; justify-content: center; gap: 14px 30px; flex-wrap: wrap; padding: 20px 24px; }
.gov-lbl { font-size: 11.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; }
.gov-badge { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; color: var(--ink); }
.gov-badge .gck { width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); color: var(--emerald-2); display: grid; place-items: center; flex-shrink: 0; }
.gov-badge .gck svg { width: 12px; height: 12px; }
.gov-badge small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.gov-sep { width: 1px; height: 26px; background: var(--line); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--paper); overflow: hidden; margin-top: 42px; }
.mq-inner { display: flex; align-items: center; gap: 18px; padding: 22px 0; }
.mq-lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 700; white-space: nowrap; padding-inline: 24px; flex-shrink: 0; }
.mq-track { display: flex; gap: 54px; align-items: center; animation: mq 26s linear infinite; white-space: nowrap; flex-shrink: 0; }
html[dir="rtl"] .mq-track { animation-direction: reverse; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-track .lg { font-weight: 800; font-size: 17px; color: var(--ink); letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; opacity: .62; }
.mq-track .lg .sq { width: 18px; height: 18px; border-radius: 5px; background: var(--emerald); }

/* ---------- Feature Tabs ---------- */
.ftabs { display: grid; grid-template-columns: .82fr 1.18fr; gap: 42px; align-items: start; }
.ftab-list { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 96px; }
.ftab { display: flex; gap: 15px; align-items: flex-start; text-align: start; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); cursor: pointer; transition: border-color .2s, box-shadow .25s, transform .15s; font: inherit; }
.ftab:hover { transform: translateY(-2px); }
.ftab.on { border-color: color-mix(in srgb, var(--green) 55%, transparent); box-shadow: var(--shadow-soft); background: #fff; }
.ftab .fi { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--green-soft); color: var(--emerald-2); transition: background .2s, color .2s; }
.ftab.on .fi { background: var(--primary-grad); color: #fff; }
.ftab .fi svg { width: 21px; height: 21px; }
.ftab .ft-h { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.ftab .ft-k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; display: block; }
html[dir="rtl"] .ftab .ft-k { font-family: var(--font-ar); }
.ftab .ft-p { font-size: 13.4px; color: var(--muted); margin-top: 5px; display: none; }
.ftab.on .ft-p { display: block; }
.ftab .ft-prog { height: 3px; border-radius: 3px; background: var(--green-soft); margin-top: 13px; overflow: hidden; display: none; }
.ftab.on .ft-prog { display: block; }
.ftab .ft-prog i { display: block; height: 100%; width: 0; background: var(--primary-grad); }
.ftab-pane { display: none; animation: fade .45s ease; }
.ftab-pane.on { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pane-copy { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pane-copy .dlist { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.pane-copy .dlist li { display: flex; align-items: center; gap: 9px; font-size: 13.6px; font-weight: 600; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.pane-copy .dlist li::before { content: "\2713"; color: var(--emerald-2); font-weight: 800; }

/* ---------- Stats Band ---------- */
.stats { background: var(--emerald); color: #fff; border-radius: var(--radius-lg); padding: 48px 40px; position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; inset: 0; background: radial-gradient(40vw 60vh at 88% 0%, var(--glow1), transparent 60%), radial-gradient(30vw 40vh at 4% 100%, var(--glow2), transparent 60%); opacity: .6; pointer-events: none; }
.stats-head { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 14px; position: relative; z-index: 1; margin-bottom: 26px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); animation: livepulse 1.6s infinite; }
@keyframes livepulse { 0% { box-shadow: 0 0 0 0 var(--glow2); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 1; }
.st .n { font-size: 42px; font-weight: 800; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.st .l { font-size: 13.5px; color: color-mix(in srgb, #fff 72%, var(--emerald)); margin-top: 8px; }

/* ---------- How It Works Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; position: relative; }
.step { position: relative; padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.step .sn { counter-increment: s; width: 40px; height: 40px; border-radius: 12px; background: var(--primary-grad); color: #fff; font-weight: 800; font-size: 16px; display: grid; place-items: center; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.step .sn::before { content: counter(s, decimal-leading-zero); }
.step h3 { font-size: 19px; margin-bottom: 8px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 14.6px; }

/* ---------- Integrations ---------- */
.igrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.icard { display: flex; align-items: center; gap: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 18px 20px; transition: transform .18s, border-color .2s; }
.icard:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--green) 40%, transparent); }
.ilogo { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--emerald); color: #fff; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.ilogo.mono { font-family: var(--mono); font-size: 18px; }
.iname { font-weight: 700; font-size: 15.5px; }
.itag { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Pricing ---------- */
.toggle { display: inline-flex; align-items: center; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 5px; margin: 0 auto; }
.toggle button { border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 14px; padding: 9px 20px; border-radius: 999px; cursor: pointer; color: var(--muted); transition: background .2s, color .2s; }
.toggle button.on { background: var(--emerald); color: #fff; }
.toggle .save { font-size: 11px; color: var(--green); font-weight: 700; margin-inline-start: 6px; }
.toggle button.on .save { color: #c6f1d4; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; align-items: start; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 30px; position: relative; }
.plan.pop { border: 2px solid var(--green); box-shadow: 0 24px 50px -28px var(--glow1); background: #fff; }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 11.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 17px; color: var(--muted); font-weight: 700; }
.plan.pop h3 { color: var(--green); }
.price { display: flex; align-items: baseline; gap: 7px; margin: 14px 0 4px; }
.price .amt { font-size: 46px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price .cur { font-size: 15px; font-weight: 600; color: var(--muted); }
.price .per { font-size: 14px; color: var(--muted); }
.plan .desc { color: var(--muted); font-size: 14px; min-height: 40px; }
.plan .btn { width: 100%; justify-content: center; margin: 18px 0 22px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; align-items: center; gap: 10px; font-size: 14.3px; }
.plan li svg { width: 18px; height: 18px; flex-shrink: 0; }
.plan li.yes svg { color: var(--green); }
.plan li.no { color: #a39b86; }
.plan li.no svg { color: #cbc3ae; }

/* ---------- Testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard { background: var(--paper); border: 1px solid var(--line); border-radius: 17px; padding: 26px; display: flex; flex-direction: column; gap: 15px; margin: 0; }
.stars { color: var(--gold); font-size: 14px; letter-spacing: 3px; }
.tquote { font-size: 15.5px; line-height: 1.6; color: var(--ink); font-weight: 500; }
.tauthor { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tav { width: 42px; height: 42px; border-radius: 50%; background: var(--emerald); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.tname { font-weight: 700; font-size: 14.2px; display: block; }
.trole { font-size: 12.5px; color: var(--muted); display: block; }

/* ---------- FAQ ---------- */
.hc { max-width: 920px; margin: 0 auto; }
.hc-search { position: relative; max-width: 560px; margin: 0 auto 20px; }
.hc-search > svg { position: absolute; inset-inline-start: 18px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.hc-search input { width: 100%; font: inherit; font-size: 15.5px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 15px 22px 15px 48px; outline: none; transition: border-color .2s, box-shadow .2s; }
html[dir="rtl"] .hc-search input { padding: 15px 48px 15px 22px; }
.hc-search input::placeholder { color: var(--muted); }
.hc-search input:focus { border-color: var(--emerald-2); box-shadow: 0 0 0 4px var(--green-soft); }
.hc-cats { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 28px; }
.hc-chip { font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
.hc-chip:hover { border-color: var(--emerald-2); color: var(--ink); }
.hc-chip.on { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.hc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.q { border: 1px solid var(--line); border-radius: 14px; background: var(--paper); margin-bottom: 0; overflow: hidden; transition: border-color .2s, box-shadow .25s; }
.q[open] { border-color: color-mix(in srgb, var(--green) 45%, transparent); box-shadow: var(--shadow-soft); }
.q.hide { display: none; }
.q summary { list-style: none; cursor: pointer; padding: 19px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 16px; }
.q summary::-webkit-details-marker { display: none; }
.q summary .chev { width: 20px; height: 20px; color: var(--muted); transition: transform .2s; flex-shrink: 0; }
.q[open] summary .chev { transform: rotate(180deg); }
.q .a { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }
.hc-empty { display: none; text-align: center; color: var(--muted); font-size: 15.5px; padding: 36px 0; grid-column: 1 / -1; }
.hc-empty.show { display: block; }
.hc-foot { text-align: center; margin-top: 30px; color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: center; }
.hc-foot a { color: var(--emerald-2); font-weight: 700; }

/* ---------- CTA Band ---------- */
.band { background: linear-gradient(135deg, var(--emerald), var(--emerald-2)); color: #fff; border-radius: 26px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, var(--glow2), transparent 45%), radial-gradient(circle at 0% 100%, var(--glow1), transparent 50%); }
.band > * { position: relative; z-index: 1; }
.band h2 { font-size: clamp(26px, 3vw, 38px); }
.band p { color: color-mix(in srgb, #fff 78%, var(--emerald)); margin: 14px auto 26px; max-width: 46ch; }
.band-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.band-btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }

/* ---------- Footer ---------- */
.sadu {
  height: 12px; width: 100%;
  background:
    linear-gradient(135deg, var(--gold) 0 25%, transparent 25% 50%, var(--gold) 50% 75%, transparent 75%),
    linear-gradient(45deg, var(--emerald) 0 25%, transparent 25% 50%, var(--emerald) 50% 75%, transparent 75%);
  background-size: 24px 24px;
  background-position: 0 0, 12px 0;
  opacity: .5; margin-top: 96px;
}
footer { background: var(--paper); border-top: 1px solid var(--line); padding: 60px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { color: var(--muted); font-size: 14px; margin: 16px 0; max-width: 30ch; }
.foot-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--ink); font-size: 14.3px; margin-bottom: 11px; opacity: .85; }
.foot-col a:hover { opacity: 1; color: var(--emerald-2); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); margin-top: 46px; padding-top: 24px; color: var(--muted); font-size: 13px; flex-wrap: wrap; gap: 12px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; display: grid; place-items: center; color: var(--muted); }
.socials a:hover { color: var(--emerald-2); border-color: var(--emerald-2); }
.socials svg { width: 16px; height: 16px; }

/* ---------- Sticky Bar ---------- */
.stickybar {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(140%);
  bottom: 18px; z-index: 70;
  display: flex; align-items: center; gap: 16px;
  background: var(--emerald); color: #fff;
  border-radius: 999px; padding: 10px 12px 10px 22px;
  box-shadow: 0 18px 40px -16px rgba(16,36,28,.6);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  max-width: calc(100vw - 32px);
}
.stickybar.show { transform: translateX(-50%) translateY(0); }
.stickybar .sb-txt { font-size: 14px; font-weight: 600; white-space: nowrap; }
.stickybar .sb-txt b { color: var(--gold); }
.stickybar .btn { padding: 9px 18px; }
.stickybar .sb-x { background: transparent; border: 0; color: color-mix(in srgb, #fff 70%, var(--emerald)); cursor: pointer; font-size: 18px; line-height: 1; padding: 4px; }

/* ---------- Reveal Animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  nav.links, .nav-right .btn-ghost, .nav-right .btn-primary { display: none; }
  .menu-btn { display: flex; }
  .lang { margin-inline-start: auto; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .ftabs { grid-template-columns: 1fr; gap: 26px; }
  .ftab-list { position: static; }
  .steps { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .plan.pop { order: -1; }
  .tgrid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
}
@media (max-width: 760px) {
  .igrid { grid-template-columns: 1fr 1fr; }
  .hc-grid { grid-template-columns: 1fr; }
  .gov-sep { display: none; }
  .gov-inner { gap: 14px 22px; }
  .st .n { font-size: 34px; }
}
@media (max-width: 560px) {
  .stickybar .sb-txt { display: none; }
  .stickybar { padding: 8px; }
  .band { padding: 38px 22px; }
  .igrid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .mq-track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
