/* =====================================================================
   Mudiri landing. RTL-first, dark, no framework.
   Order: tokens, base, nav, hero, sections, explorer, packages, builder,
   steps/reviews/faq, form, dock, thanks, responsive, reduced motion.
   Admin-only styles live in admin.css.
   ===================================================================== */

:root {
  --bg: #070b12;
  --bg-2: #0b1019;
  --card: #111826;
  --card-2: #151e2e;
  --text: #eef2f7;
  --muted: #9aa6b8;
  --accent: #22c55e;
  --accent-2: #f5b942;
  --sky: #7dd3fc;
  --border: #243044;
  --danger: #f87171;
  --glow: rgba(34, 197, 94, .35);
  --r: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  font-family: "Cairo", system-ui, "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-2); }
img, svg { max-width: 100%; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }

h1 { font-size: clamp(32px, 5.6vw, 58px); line-height: 1.2; margin: 0 0 18px; font-weight: 900; letter-spacing: -.5px; }
h2 { font-size: clamp(25px, 3.6vw, 40px); margin: 0 0 12px; line-height: 1.3; font-weight: 900; }
h3 { margin: 6px 0 4px; font-size: 20px; }
h4 { margin: 0; font-size: 16px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 18px; position: relative; }
.narrow { max-width: 580px; }
.narrow-lg { max-width: 820px; }
.muted { color: var(--muted); }
.sr { position: absolute; opacity: 0; pointer-events: none; width: 1px; height: 1px; }
[hidden] { display: none !important; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--accent-2); color: #1a1100; padding: 10px 16px; border-radius: 10px; font-weight: 800; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- scroll progress ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 70; transform-origin: right; transform: scaleX(0);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* ---------- reveal (JS adds .js to <html>; without JS everything is visible) ---------- */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; translate: none; }

/* ---------- navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 11, 18, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border); }
.nav-in { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: .3px; }
.brand-dot { width: 14px; height: 14px; border-radius: 5px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 18px var(--glow); transform: rotate(12deg); }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-links a { color: var(--muted); text-decoration: none; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: #04120a; padding: 14px 26px; border-radius: 14px;
  font-weight: 800; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit;
  transition: transform .2s ease, box-shadow .25s ease, filter .2s, border-color .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-glow { box-shadow: 0 10px 34px -8px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .35); background: linear-gradient(135deg, #4ade80, #16a34a); }
.btn-glow:hover { box-shadow: 0 14px 44px -6px rgba(34, 197, 94, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn .arr { display: inline-block; transition: transform .2s; }
.btn:hover .arr { transform: translateX(-5px); }
.btn-block { display: flex; width: 100%; text-align: center; }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--text); border: 1px solid var(--border); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); background: rgba(34, 197, 94, .06); }
.btn-sm { padding: 9px 18px; font-size: 15px; border-radius: 12px; }

/* ---------- sections ---------- */
.section { padding: 88px 0; position: relative; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 38px; }
.sec-sub { color: var(--muted); font-size: 18px; margin: 6px 0 0; }
.eyebrow {
  display: inline-block; margin: 0 0 10px; padding: 3px 14px; font-size: 13px; font-weight: 800; color: var(--accent);
  border: 1px solid rgba(34, 197, 94, .35); border-radius: 999px; background: rgba(34, 197, 94, .08); letter-spacing: .5px;
}

/* ---------- cards + spotlight ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent), var(--card);
  border: 1px solid var(--border); border-radius: var(--r); padding: 22px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { border-color: #34476a; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 197, 94, .13), transparent 70%);
}
.spot:hover::before { opacity: 1; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 70px 0 56px; overflow: hidden; isolation: isolate; }
.grid-bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}
.aurora { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; }
.aurora.a1 { width: 420px; height: 420px; background: #16a34a; top: -120px; right: -60px; animation: drift 14s ease-in-out infinite alternate; }
.aurora.a2 { width: 360px; height: 360px; background: #b45309; bottom: -140px; left: -40px; opacity: .35; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.15); } }

.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; margin: 0 0 16px; border-radius: 999px;
  background: rgba(19, 26, 38, .8); border: 1px solid var(--border); color: var(--accent-2); font-size: 14px; font-weight: 700; backdrop-filter: blur(6px);
}
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--glow); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.grad {
  background: linear-gradient(100deg, #fff 0%, #bbf7d0 35%, var(--accent-2) 70%, #fff 100%); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: -220% center; } }
.hero .sub { color: var(--muted); font-size: 19px; max-width: 560px; margin: 0 0 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { list-style: none; display: flex; gap: 8px 18px; flex-wrap: wrap; padding: 0; margin: 26px 0 0; color: var(--muted); font-size: 14px; }
.trust li::before { content: "◆"; color: var(--accent); margin-inline-end: 6px; font-size: 10px; }

.hero-visual { position: relative; perspective: 1100px; }
.term {
  background: linear-gradient(160deg, #0d1522, #080d16); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 0 60px -10px var(--glow);
  transform: rotateY(-9deg) rotateX(4deg); transition: transform .6s ease; overflow: hidden;
}
.hero-visual:hover .term { transform: rotateY(0) rotateX(0); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.term-bar i:nth-child(2) { background: #f5b942; }
.term-bar i:nth-child(3) { background: #22c55e; }
.term-bar span { margin-inline-start: auto; font: 12px ui-monospace, Menlo, Consolas, monospace; color: var(--muted); }
.term-body { padding: 20px 18px 24px; font: 13.5px/2 ui-monospace, Menlo, Consolas, monospace; color: #cbd5e1; min-height: 270px; }
.l { display: block; overflow: hidden; white-space: nowrap; width: 0; animation: type .9s steps(34) forwards; animation-delay: calc(var(--i) * 1s + .4s); }
@keyframes type { to { width: 100%; } }
.l b { color: var(--accent-2); margin-inline-end: 8px; }
.l em { color: var(--accent); font-style: normal; margin-inline-end: 8px; }
.l.ok { color: var(--accent); font-weight: 700; }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--accent); vertical-align: middle; margin-inline-start: 4px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.chip {
  position: absolute; padding: 8px 14px; border-radius: 12px; font-size: 13px; font-weight: 800; background: rgba(17, 24, 38, .9);
  border: 1px solid var(--border); backdrop-filter: blur(8px); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .7); animation: float 5s ease-in-out infinite;
}
.chip.c1 { top: -14px; left: -10px; color: var(--accent); }
.chip.c2 { bottom: 40px; left: -28px; color: var(--accent-2); animation-delay: -1.6s; }
.chip.c3 { bottom: -16px; right: 24px; color: var(--sky); animation-delay: -3.2s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* numbers strip */
.facts {
  list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px;
}
.facts li {
  text-align: center; padding: 16px 12px; border-radius: 16px; border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)); backdrop-filter: blur(6px);
}
.facts strong { display: block; font-size: 34px; line-height: 1.15; font-weight: 900; background: linear-gradient(120deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.facts span { color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---------- why (pillars) ---------- */
.pillars { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -20px var(--glow); }
.pillar p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.ico {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: var(--accent);
  background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .3); margin-bottom: 12px;
}
.ico svg { width: 26px; height: 26px; }

/* ---------- stores ---------- */
.stores { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.store { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; color: var(--text); }
.store:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 40px -20px var(--glow); }
.stores img { width: 96px; height: 96px; object-fit: contain; background: #fff; border-radius: 16px; padding: 8px; }
.logo-fallback { width: 96px; height: 96px; border-radius: 16px; background: var(--border); display: grid; place-items: center; font-size: 36px; font-weight: 800; }
.store-name { font-weight: 800; }
.store-go { color: var(--accent); font-size: 13px; font-weight: 700; opacity: 0; transform: translateY(4px); transition: .25s; }
.store:hover .store-go, .store:focus-visible .store-go { opacity: 1; transform: none; }

/* ---------- module explorer ---------- */
.ex-search { position: relative; max-width: 600px; margin: 0 auto 24px; color: var(--muted); }
.ex-search svg { position: absolute; inset-inline-start: 16px; top: 50%; translate: 0 -50%; pointer-events: none; }
.ex-search input {
  width: 100%; padding: 15px 16px; padding-inline-start: 48px; border-radius: 14px; border: 1px solid var(--border);
  background: var(--card); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s;
}
.ex-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.ex-grid { display: grid; grid-template-columns: 310px 1fr; gap: 22px; align-items: start; }
.ex-nav {
  display: flex; flex-direction: column; gap: 4px; padding: 8px; max-height: 680px; overflow: auto;
  position: sticky; top: 84px; border: 1px solid var(--border); border-radius: var(--r); background: var(--card);
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.ex-tab {
  display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; text-align: start; width: 100%;
  padding: 9px 10px; border-radius: 12px; border: 1px solid transparent; background: transparent; color: var(--text);
  cursor: pointer; font-size: 15px; font-weight: 700; transition: background .2s, border-color .2s;
}
.ex-tab:hover { background: rgba(255, 255, 255, .04); }
.ex-tab.on { background: linear-gradient(135deg, rgba(34, 197, 94, .18), rgba(245, 185, 66, .08)); border-color: rgba(34, 197, 94, .4); }
.mod-ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: rgba(34, 197, 94, .1); color: var(--accent); flex: 0 0 auto; }
.mod-ico svg { width: 20px; height: 20px; }
.mod-ico.lg { width: 56px; height: 56px; border-radius: 16px; border: 1px solid rgba(34, 197, 94, .3); }
.mod-ico.lg svg { width: 28px; height: 28px; }
.ex-count { font-size: 12px; padding: 1px 9px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--muted); font-variant-numeric: tabular-nums; }
.ex-tab.on .ex-count { background: var(--accent); color: #04120a; }

.js .ex-panel { display: none; }
.js .ex-panel.on { display: block; animation: panelIn .4s var(--ease); }
html:not(.js) .ex-nav, html:not(.js) .ex-search { display: none; }
html:not(.js) .ex-grid { grid-template-columns: 1fr; }
html:not(.js) .ex-panel { margin-bottom: 36px; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ex-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; padding: 20px; border: 1px solid var(--border); border-radius: var(--r); background: linear-gradient(135deg, rgba(34, 197, 94, .07), transparent 60%), var(--card); }
.ex-title { flex: 1; min-width: 0; }
.ex-title h3 { margin: 0 0 4px; font-size: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ex-title p { margin: 0; color: var(--muted); }
.ex-total { color: var(--muted); font-size: 14px; white-space: nowrap; }
.ex-total b { font-size: 26px; color: var(--accent-2); display: block; line-height: 1.1; text-align: center; }

.feat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.feat { padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255, 255, 255, .02); transition: border-color .2s, transform .2s, background .2s; }
.feat:hover { border-color: rgba(34, 197, 94, .45); transform: translateY(-3px); background: rgba(34, 197, 94, .04); }
.feat h4 { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-weight: 800; }
.feat p { margin: 5px 0 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.tier { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 9px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); line-height: 1.7; }
.tier.core { color: var(--accent); border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .08); }
.tier.addon { color: var(--accent-2); border-color: rgba(245, 185, 66, .4); background: rgba(245, 185, 66, .08); }
.tier.price-chip { color: var(--sky); border-color: rgba(125, 211, 252, .4); background: rgba(125, 211, 252, .08); }
.ex-found { color: var(--muted); margin: 0 0 12px; font-weight: 700; }
.searching .ex-grid { grid-template-columns: 1fr; }
.searching .ex-nav, .searching .ex-panel { display: none !important; }

/* ---------- packages ---------- */
.packages { margin-top: 6px; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); align-items: stretch; }
.package { display: flex; flex-direction: column; cursor: pointer; overflow: hidden; }
.package:hover { transform: translateY(-6px); }
.package.sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset, 0 20px 50px -20px var(--glow); background: linear-gradient(180deg, rgba(34, 197, 94, .1), transparent), var(--card); }
.package:has(input:focus-visible) { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.tick {
  position: absolute; top: 14px; inset-inline-end: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #04120a; font-weight: 900; transform: scale(0); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.package.sel .tick { transform: scale(1); }
.package.highlight {
  border: 2px solid transparent;
  background: linear-gradient(var(--card), var(--card)) padding-box, conic-gradient(from var(--ang, 0deg), var(--accent-2), var(--accent), var(--sky), var(--accent-2)) border-box;
  animation: spin 6s linear infinite;
}
.package.highlight.sel { background: linear-gradient(rgba(21, 40, 31, 1), rgba(17, 24, 38, 1)) padding-box, conic-gradient(from var(--ang, 0deg), var(--accent-2), var(--accent), var(--sky), var(--accent-2)) border-box; box-shadow: 0 20px 50px -20px var(--glow); }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.package.custom { border-style: dashed; border-color: rgba(125, 211, 252, .5); background: linear-gradient(180deg, rgba(125, 211, 252, .06), transparent), var(--card); }
.ribbon { align-self: flex-start; font-size: 12px; font-weight: 800; padding: 2px 12px; border-radius: 999px; background: var(--accent-2); color: #1a1100; margin-bottom: 6px; }
.ribbon.alt { background: var(--sky); color: #04202e; }
.tagline { color: var(--muted); margin: 0 0 8px; font-size: 14px; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 4px 0 8px; }
.price { font-size: 32px; font-weight: 900; color: var(--accent-2); line-height: 1.2; font-variant-numeric: tabular-nums; }
.price small { font-size: 14px; color: var(--muted); font-weight: 700; }
.price.soon { font-size: 20px; color: var(--muted); }
.old { color: #6b7789; font-size: 18px; }
.pkg-stat { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.pkg-stat b { color: var(--text); font-size: 17px; }
.perks, .modules { list-style: none; padding: 0; margin: 8px 0 0; font-size: 15px; }
.perks li { color: var(--accent); padding: 2px 0; font-weight: 700; }
.perks li::before { content: "✦"; margin-inline-end: 8px; color: var(--accent-2); }
.mods { margin-top: 10px; border-top: 1px dashed var(--border); padding-top: 8px; }
.mods summary { cursor: pointer; color: var(--sky); font-weight: 700; font-size: 14px; padding: 4px 0; list-style: none; }
.mods summary::-webkit-details-marker { display: none; }
.mods summary::after { content: " ▾"; }
.mods[open] summary::after { content: " ▴"; }
.modules { max-height: 280px; overflow: auto; scrollbar-width: thin; }
.modules li { padding: 3px 0; font-size: 14px; }
.modules li em { color: var(--accent-2); font-style: normal; font-size: 12px; }
.modules .on::before { content: "✓ "; color: var(--accent); font-weight: 900; }
.modules .off { color: #5d6a7e; text-decoration: line-through; text-decoration-color: rgba(93, 106, 126, .5); }
.modules .off::before { content: "✕ "; }
.pkg-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; flex-wrap: wrap; }
.pkg-actions .btn { flex: 1 1 auto; padding: 12px 16px; font-size: 16px; }

.compare { margin-top: 28px; text-align: center; }
.compare summary { list-style: none; display: inline-flex; }
.compare summary::-webkit-details-marker { display: none; }
.table-scroll { overflow: auto; margin-top: 18px; border: 1px solid var(--border); border-radius: var(--r); background: var(--card); text-align: start; max-height: 70vh; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; min-width: 520px; }
.cmp th, .cmp td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: center; white-space: nowrap; }
.cmp thead th { position: sticky; top: 0; background: var(--card-2); z-index: 2; color: var(--text); font-weight: 800; }
.cmp thead th small { display: block; color: var(--accent-2); font-weight: 700; }
.cmp tbody th { text-align: start; position: sticky; inset-inline-start: 0; background: var(--card); font-weight: 600; z-index: 1; color: var(--text); }
.cmp thead th:first-child { inset-inline-start: 0; z-index: 3; text-align: start; }
.cmp .yes { color: var(--accent); font-weight: 900; }
.cmp .no { color: #4b586b; }

/* ---------- custom package builder ---------- */
.b-bar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; justify-content: center; margin-bottom: 22px; }
.chip-btn { padding: 7px 16px; border-radius: 999px; border: 1px solid rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .08); color: var(--text); cursor: pointer; font-weight: 700; font-size: 14px; transition: .2s; }
.chip-btn:hover { background: rgba(34, 197, 94, .2); transform: translateY(-1px); }
.chip-btn.ghost { border-color: var(--border); background: transparent; color: var(--muted); }
.b-layout { display: grid; grid-template-columns: 1fr 350px; gap: 22px; align-items: start; }
.b-list { display: grid; gap: 12px; }
.b-mod { border: 1px solid var(--border); border-radius: var(--r); background: var(--card); padding: 16px; transition: border-color .25s, box-shadow .25s, background .25s; }
.b-mod.on { border-color: var(--accent); background: linear-gradient(180deg, rgba(34, 197, 94, .09), transparent), var(--card); box-shadow: 0 12px 34px -18px var(--glow); }
.b-head { display: grid; grid-template-columns: 36px 1fr auto; gap: 14px; align-items: center; }
.b-info h4 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 17px; font-weight: 800; }
.b-info p { margin: 3px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.b-act { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.b-price { font-weight: 900; color: var(--accent-2); font-size: 18px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.b-price small { color: var(--muted); font-size: 12px; }
.b-price.ask { font-size: 13px; color: var(--muted); font-weight: 700; }
.b-price.free { color: var(--accent); }
.b-toggle { min-width: 84px; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--accent); background: transparent; color: var(--accent); font-weight: 800; cursor: pointer; transition: .2s; font-size: 15px; }
.b-toggle:hover { background: rgba(34, 197, 94, .12); }
.b-toggle[aria-pressed="true"] { background: var(--accent); color: #04120a; }
.b-more { margin-top: 10px; background: none; border: 0; color: var(--sky); cursor: pointer; font-weight: 700; font-size: 14px; padding: 4px 0; }
.b-more span { display: inline-block; transition: transform .2s; }
.b-more.open span { transform: rotate(180deg); }
.b-feats { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.b-feats li { display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 9px 12px; border-radius: 10px; background: rgba(255, 255, 255, .025); }
.b-fname b { display: block; font-size: 14px; }
.b-fname small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.55; margin-top: 1px; }
.b-feats .inc { color: var(--accent); font-size: 12px; font-weight: 700; white-space: nowrap; }
.b-extra { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-size: 13px; cursor: pointer; color: var(--text); }
.b-extra b { color: var(--accent-2); }
.b-extra input { accent-color: var(--accent); width: 18px; height: 18px; }
.b-extra input:disabled { opacity: .35; }
.b-summary { position: sticky; top: 84px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.b-summary h3 { margin-top: 0; }
.b-empty { color: var(--muted); margin: 0; }
.b-count { margin: 0 0 8px; color: var(--muted); }
.b-count b { color: var(--text); font-size: 22px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; padding: 0; }
.chips li { font-size: 12.5px; padding: 3px 11px; border-radius: 999px; border: 1px solid rgba(34, 197, 94, .35); background: rgba(34, 197, 94, .08); }
.chips li.plus { border-color: rgba(245, 185, 66, .4); background: rgba(245, 185, 66, .08); }
.chips li.more { border-style: dashed; color: var(--muted); background: transparent; border-color: var(--border); }
.b-lines { margin: 0 0 14px; }
.b-lines > div { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px dashed var(--border); }
.b-lines dt { color: var(--muted); }
.b-lines dd { margin: 0; font-weight: 800; }
.b-total { color: var(--accent-2); font-size: 26px; font-variant-numeric: tabular-nums; }
.b-note { color: var(--muted); font-size: 13px; margin: 0 0 12px; }

/* ---------- steps (timeline) ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 0; position: relative; max-width: 720px; }
.timeline::before { content: ""; position: absolute; inset-block: 18px; inset-inline-start: 21px; width: 2px; background: linear-gradient(var(--accent), transparent); }
.timeline li { display: flex; gap: 18px; align-items: flex-start; padding: 14px 0; position: relative; }
.timeline b {
  flex: 0 0 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent);
  color: var(--accent); font-size: 18px; box-shadow: 0 0 20px -4px var(--glow); z-index: 1;
}
.timeline h3 { margin: 4px 0 0; }
.timeline p { margin: 2px 0 0; color: var(--muted); }

/* ---------- reviews ---------- */
.review blockquote { margin: 8px 0; color: var(--muted); }
.review figcaption { font-weight: 800; font-size: 14px; }
.review .stars { color: var(--accent-2); letter-spacing: 2px; }

/* ---------- faq ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 0; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 800; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(34, 197, 94, .12); color: var(--accent); font-size: 20px; transition: transform .25s; }
.faq-item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq-item[open] { border-color: rgba(34, 197, 94, .4); }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ---------- form ---------- */
.form-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; align-items: start; max-width: 960px; margin: 0 auto; }
.form-card { padding: 28px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .8); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; border: 0; padding: 0; }
.field label, .field legend { font-weight: 700; }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), .filters input, .filters select {
  width: 100%; padding: 14px; border-radius: 12px; border: 1px solid var(--border); background: #0a101a; color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .filters input:focus, .filters select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(34, 197, 94, .15); }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0; cursor: pointer; }
.check input { margin-top: 6px; accent-color: var(--accent); }
.err { color: var(--danger); font-size: 14px; display: block; min-height: 1em; }
.general { font-size: 15px; }
.hp { position: absolute; inset-inline-start: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); opacity: 0; pointer-events: none; }
.pick-sum { position: sticky; top: 84px; }
.pick-sum h3 { margin-top: 0; }
.ps-empty { color: var(--muted); margin: 0; }
.ps-name { display: block; font-size: 22px; }
.ps-total { color: var(--accent-2); font-weight: 900; font-size: 18px; margin: 4px 0 0; }
.ps-change { font-size: 14px; }

/* ---------- misc ---------- */
.prose p, .prose li { color: var(--muted); }
.prose h2 { font-size: 20px; color: var(--text); margin-top: 24px; }
footer { padding: 36px 0 40px; color: var(--muted); text-align: center; border-top: 1px solid var(--border); }

/* ---------- mobile dock ---------- */
.dock { display: none; position: fixed; z-index: 55; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.dock-in {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 14px; border-radius: 18px;
  background: rgba(15, 22, 34, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border); box-shadow: 0 18px 50px -10px rgba(0, 0, 0, .85), 0 0 30px -12px var(--glow); animation: dockIn .35s var(--ease);
}
@keyframes dockIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.dock-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.dock-name { font-weight: 800; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dock-total { color: var(--accent-2); font-size: 13px; font-weight: 800; }
body { padding-bottom: 0; }

/* ---------- thanks page ---------- */
.thanks { text-align: center; }
.thanks-page .section { padding: 56px 0; }
.done { width: 84px; margin: 0 auto 10px; }
.done svg { width: 84px; height: 84px; fill: none; stroke-width: 3; }
.done circle { stroke: var(--accent); stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .8s .1s forwards; }
.done path { stroke: var(--accent); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: draw .5s .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.sum-list { text-align: start; margin: 18px 0 6px; }
.sum-list h2 { font-size: 16px; color: var(--muted); }
.sum-total { font-size: 18px; }
.sum-total strong { color: var(--accent-2); font-size: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .ex-grid { grid-template-columns: 1fr; }
  .ex-nav { flex-direction: row; overflow-x: auto; overflow-y: hidden; max-height: none; position: static; padding: 6px; scroll-snap-type: x proximity; }
  .ex-tab { width: auto; flex: 0 0 auto; grid-template-columns: 32px auto auto; scroll-snap-align: start; white-space: nowrap; }
  .b-layout { grid-template-columns: 1fr; }
  .b-summary { position: static; order: -1; }
  .form-grid { grid-template-columns: 1fr; }
  .pick-sum { position: static; order: -1; }
}

@media (max-width: 880px) {
  .hero { padding: 48px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero .sub { margin-inline: auto; }
  .hero-actions, .trust { justify-content: center; }
  .term { transform: none; }
  .chip.c2 { left: -6px; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-in .btn { margin-inline-start: auto; }
  .dock { display: block; }
  footer { padding-bottom: 96px; }
}

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .sec-head { margin-bottom: 26px; }
  .form-card { padding: 20px; }
  .b-head { grid-template-columns: 36px 1fr; }
  .b-act { grid-column: 1 / -1; justify-content: space-between; }
  .ex-head { flex-wrap: wrap; }
  .term-body { font-size: 12px; }
  .facts strong { font-size: 28px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .l { width: 100%; }
  .js .reveal { opacity: 1; translate: none; }
  .done circle, .done path { stroke-dashoffset: 0; }
}
