:root {
  --bg-top: #121833;
  --bg-bottom: #05070f;
  --surface: rgba(18, 25, 52, 0.84);
  --surface-strong: #151e3f;
  --surface-elev: #1b2752;
  --line: rgba(122, 162, 255, 0.20);
  --line-strong: rgba(122, 162, 255, 0.42);
  --text: #eef3ff;
  --muted: #a6b6dc;
  --faint: #788bb8;
  --accent: #5b8cff;
  --accent-pink: #ff5bc8;
  --accent-cyan: #26d9d9;
  --accent-gold: #ffd156;
  --accent-green: #2bd98a;
  --danger: #ff5b77;
  --radius: 16px;
  --maxw: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  background: radial-gradient(1100px 540px at 18% -6%, rgba(91,140,255,0.22), transparent 60%),
              radial-gradient(900px 480px at 88% 4%, rgba(255,91,200,0.16), transparent 58%),
              linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 460px, #05070f 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  min-height: 100vh;
}
html[dir="rtl"] body { direction: rtl; text-align: right; }
a { color: #8ab4ff; text-decoration: none; }
a:hover { color: #bfd6ff; text-decoration: underline; }
img, svg { max-width: 100%; height: auto; }
code, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: rgba(10, 15, 34, 0.78);
  border: 1px solid rgba(122, 162, 255, 0.18);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.9em;
  color: #cfe0ff;
}
.wrap { width: min(100% - 32px, var(--maxw)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(7, 10, 22, 0.86);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 18px rgba(91, 140, 255, 0.35);
}
.brand-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover, .main-nav a.active {
  background: rgba(91, 140, 255, 0.16);
  color: #fff;
}
.btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ffd156 0%, #ff8a3d 100%);
  color: #120c05 !important;
  font-weight: 800;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 6px 22px rgba(255, 168, 68, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.14s ease, filter 0.14s ease;
  white-space: nowrap;
}
.btn-store:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-store--sm { padding: 7px 14px; font-size: 13px; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(91, 140, 255, 0.14);
  color: #eaf1ff !important;
  border: 1px solid var(--line-strong);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none !important;
}
.btn-secondary:hover { background: rgba(91, 140, 255, 0.26); }
.crumbs {
  padding: 14px 0 4px;
  font-size: 13px;
  color: var(--faint);
}
.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.crumbs li + li::before { content: "/"; margin-inline-end: 6px; color: #4c5f8f; }
.hero {
  padding: 26px 0 28px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  background: rgba(38, 217, 217, 0.11);
  border: 1px solid rgba(38, 217, 217, 0.32);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.95rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: #ffffff;
}
h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.82rem);
  line-height: 1.24;
  margin: 36px 0 14px;
  color: #f6f9ff;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.14rem;
  line-height: 1.32;
  margin: 20px 0 8px;
  color: #ffffff;
}
.lede {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 78ch;
  margin: 0 0 20px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 18px 0 10px;
}
.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.pill {
  font-size: 12.5px;
  font-weight: 600;
  color: #d6e3ff;
  background: rgba(21, 30, 63, 0.86);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
}
.pill strong { color: var(--accent-gold); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.card h3 { margin-top: 0; }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; }
.card-link {
  display: block;
  text-decoration: none !important;
  transition: border-color 0.16s, transform 0.16s;
}
.card-link:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}
.verdict-box {
  background: linear-gradient(145deg, rgba(22, 38, 76, 0.92), rgba(14, 21, 46, 0.96));
  border: 1px solid rgba(43, 217, 138, 0.42);
  border-inline-start: 4px solid var(--accent-green);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 22px 0;
}
.verdict-box strong.kicker {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-green);
  margin-bottom: 6px;
}
.cta-banner {
  background: linear-gradient(135deg, rgba(31, 45, 96, 0.95) 0%, rgba(44, 21, 74, 0.92) 100%);
  border: 1px solid rgba(255, 91, 200, 0.36);
  border-radius: 18px;
  padding: 24px 26px;
  margin: 34px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.cta-banner h2, .cta-banner h3 { margin: 0 0 6px; color: #fff; }
.cta-banner p { margin: 0; color: #d5e2ff; max-width: 64ch; font-size: 15px; }
.table-wrap {
  overflow-x: auto;
  margin: 16px 0 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 16, 35, 0.86);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
th, td {
  padding: 11px 14px;
  text-align: start;
  border-bottom: 1px solid rgba(122, 162, 255, 0.14);
  vertical-align: top;
}
th {
  background: rgba(27, 39, 82, 0.85);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
tr:last-child td { border-bottom: 0; }
tr:hover td { background: rgba(91, 140, 255, 0.06); }
.badge-yes { color: var(--accent-green); font-weight: 700; }
.badge-warn { color: var(--accent-gold); font-weight: 700; }
.badge-no { color: var(--danger); font-weight: 700; }
.lab-diagram-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 1.15fr) minmax(260px, 0.85fr);
  gap: 22px;
  align-items: start;
  margin: 22px 0;
}
@media (max-width: 820px) {
  .lab-diagram-wrap { grid-template-columns: 1fr; }
}
.lab-svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
}
.shots-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
  margin: 22px 0;
}
@media (max-width: 760px) {
  .shots-strip { grid-template-columns: repeat(2, 1fr); }
}
.shot-card {
  background: rgba(14, 20, 44, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  text-align: center;
}
.shot-card img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}
.shot-card figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--muted);
}
.faq-list { display: grid; gap: 12px; margin: 18px 0; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: #ffffff;
  font-size: 15.5px;
}
.faq-item p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14.8px;
}
.locale-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 9px;
  margin: 18px 0;
}
.locale-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(18, 25, 52, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 13px;
  color: var(--text) !important;
  text-decoration: none !important;
}
.locale-chip:hover { border-color: var(--accent-cyan); background: rgba(38, 217, 217, 0.1); }
.locale-chip small { color: var(--faint); font-family: ui-monospace, monospace; font-size: 11px; }
.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  background: rgba(4, 6, 14, 0.92);
  padding: 38px 0 96px;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.footer-grid h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: #fff; }
.tool-stage {
  background: rgba(9, 14, 31, 0.95);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 20px;
  margin: 18px 0 28px;
  box-shadow: 0 18px 46px rgba(0,0,0,0.45);
}
.tool-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.tool-btn {
  background: rgba(91, 140, 255, 0.18);
  color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}
.tool-btn:hover { background: rgba(91, 140, 255, 0.34); }
.tool-btn--gold {
  background: linear-gradient(135deg, #ffd156, #ff8a3d);
  color: #140d04;
  border-color: rgba(255,255,255,0.4);
}
select.tool-select, input.tool-input {
  background: #121b3a;
  color: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14px;
}
