﻿/* QAF Check v2 — royal dark, mobile-first */
:root {
  --qaf-bg: #07090f;
  --qaf-panel: #12080a;
  --qaf-burgundy: #3b0707;
  --qaf-burgundy-2: #5a1010;
  --qaf-gold: #d6b45a;
  --qaf-gold-soft: #f1d27a;
  --qaf-text: #fff7e6;
  --qaf-muted: #b9ac95;
  --qaf-border: rgba(214, 180, 90, 0.45);
  --qaf-glow: rgba(139, 30, 22, 0.45);
  --bg: #0a0c10;
  --surface: #12151c;
  --panel: #1a1f2e;
  --text: #f5f0e6;
  --muted: rgba(245, 240, 230, 0.55);
  --gold: #c9a227;
  --gold-hi: #e8c547;
  --teal: var(--qaf-gold-soft);
  --border: rgba(201, 162, 39, 0.14);
  --radius: 14px;
  --radius-lg: 18px;
  --tap: 52px;
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --safe-t: env(safe-area-inset-top, 0);
  --safe-b: env(safe-area-inset-bottom, 0);
  /* Segment accents — darker tints (same gem family) */
  --seg-government: var(--qaf-burgundy-2);
  --seg-enterprise: var(--qaf-burgundy-2);
  --seg-smb: var(--qaf-burgundy-2);
  --seg-stores: var(--qaf-burgundy-2);
  --seg-pros: var(--qaf-burgundy-2);
  --seg-existing_site: var(--qaf-burgundy-2);
  --seg-individuals: var(--qaf-burgundy-2);
  --seg-guide: var(--qaf-burgundy-2);
  --gem-gold-dk: #a88924;
  --gem-gold-md: #8f7420;
  --gem-teal-dk: var(--qaf-burgundy-2);
  --gem-teal-md: var(--qaf-burgundy);
  /* Gem frame — gold → cyan (reference checkout style) */
  --gem-r: 22px;
  --gem-r-sm: 16px;
  --gem-r-pill: 999px;
  --gem-grad: linear-gradient(135deg, #edd06a 0%, #d4af37 24%, #a8ddd6 58%, #6ec9e8 100%);
  --gem-grad-btn: linear-gradient(90deg, #e8c547 0%, #d9b84a 18%, #b8e0d4 52%, #6ec9e8 100%);
  --gem-ring: linear-gradient(135deg, #f0d878, #c9a227 35%, var(--qaf-gold-soft) 68%, var(--qaf-gold-soft));
  --gem-ring-outer: linear-gradient(135deg, rgba(42, 48, 32, 0.95), rgba(18, 21, 28, 0.98));
  --gem-inner: linear-gradient(165deg, #221f18 0%, #12151c 42%, #131c26 100%);
  --gem-inner-soft: linear-gradient(155deg, #2a261c 0%, #161922 50%, #152028 100%);
  --gem-shadow: 0 10px 32px rgba(94, 200, 200, 0.22), 0 4px 16px rgba(201, 162, 39, 0.14);
  --gem-inset: inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -2px 4px rgba(0, 0, 0, 0.12);
  --gem-text-dark: #0a0c10;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100dvh;
  padding-bottom: calc(120px + var(--safe-b));
}

[dir="rtl"] body { font-family: var(--font-ar); }

#app {
  min-height: 100dvh;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.06);
}

/* ── Brand wordmark ── */
.brand { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; line-height: 1.1; }
.brand--lg { font-size: 1.05rem; justify-content: center; margin-bottom: 14px; }
.brand--md { font-size: 1.1rem; }
.brand--sm { font-size: 0.95rem; justify-content: center; }
.brand__qaf {
  font-family: var(--serif);
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand__digital { font-family: var(--serif); font-weight: 700; color: var(--teal); }
.brand__ltd { font-size: 0.55em; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
[dir="rtl"] .brand__qaf, [dir="rtl"] .brand__digital { font-family: var(--font-ar); }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(12px + var(--safe-t)) 16px 12px;
  background:
    radial-gradient(circle at 50% 0%, rgba(135, 24, 38, 0.3), transparent 48%),
    linear-gradient(145deg, rgba(18, 10, 14, 0.96), rgba(7, 9, 13, 0.96));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(235, 202, 112, 0.38);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(135, 24, 38, 0.16),
    inset 0 1px 0 rgba(255, 236, 176, 0.12);
}

.site-header__brand { text-decoration: none; flex: 1; min-width: 0; }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(214, 180, 90, 0.35);
  background: rgba(214, 180, 90, 0.12);
  color: var(--qaf-gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.header-wa__icon {
  width: 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.884 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.435 9.884-9.884 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 360px) {
  .header-wa__label { display: none; }
  .header-wa { padding: 0 10px; }
}

/* ── Language ── */
.lang { position: relative; }
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  cursor: pointer;
  color: var(--text);
  background: linear-gradient(145deg, #1a1f2e, #12151c) padding-box,
    linear-gradient(135deg, var(--gold), var(--teal)) border-box;
}
.lang__code {
  min-width: 28px;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 800;
  color: #12151c;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
}
.lang__name { font-family: var(--serif); font-size: 0.78rem; font-weight: 600; max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang__chev {
  width: 8px; height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg) translateY(-2px);
}
.lang__btn[aria-expanded="true"] .lang__chev { transform: rotate(-135deg) translateY(2px); }
.lang__menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 196px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border-radius: 14px;
  background: linear-gradient(160deg, #1e2436, #12151c);
  border: 1px solid rgba(201, 162, 39, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}
.lang__menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: rgba(245, 240, 230, 0.85);
}
.lang-opt:hover { background: rgba(214, 180, 90, 0.08); }
.lang-opt.is-active { background: linear-gradient(135deg, rgba(201, 162, 39, 0.18), rgba(214, 180, 90, 0.1)); color: var(--teal); }
.lang-opt__code { min-width: 32px; font-size: 0.68rem; font-weight: 800; color: var(--gold); }
.lang-opt__name { flex: 1; font-size: 0.82rem; font-weight: 600; }
.lang-opt__check { color: var(--teal); font-weight: 800; }

/* ── Page layout ── */
.page {
  flex: 1;
  padding: 14px 16px calc(132px + var(--safe-b));
}
.page--sticky { padding-bottom: calc(142px + var(--safe-b)); }

.state-msg { padding: 2rem; text-align: center; color: var(--muted); }
.state-msg--err { color: #f87171; }

/* ── Gem frame (shared) ── */
.panel,
.seg,
.card,
.answer,
.pain-card,
.idea-card,
.ideas-panel,
.checkout-panel,
.checkout-summary,
.result-block,
.diag-block,
.quick-q,
.price-strip,
.pkg-body,
.pkg-hero,
.checkout-wallet,
.sovereign,
.chip,
.cur-chip,
.country-chip,
.q-opt {
  position: relative;
  border: 2px solid transparent;
  border-radius: var(--gem-r);
  background:
    var(--gem-inner) padding-box,
    var(--gem-ring) border-box;
  box-shadow: var(--gem-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-tap-highlight-color: transparent;
}

/* Bright gem fill — like reference CHECK OUT */
.gem-bright,
.answer--yes,
.q-opt.is-on,
.cur-chip.is-on,
.country-chip.is-on,
.chip.is-on,
.idea-card.is-on {
  border: 2px solid #c9a227;
  border-radius: var(--gem-r);
  background: var(--gem-grad-btn);
  box-shadow: var(--gem-shadow), var(--gem-inset);
  color: var(--gem-text-dark);
}

/* ── Panel ── */
.panel {
  padding: 20px 18px;
  margin-bottom: 14px;
}
.panel--hero {
  text-align: center;
  background:
    linear-gradient(155deg, rgba(201, 162, 39, 0.14) 0%, rgba(18, 21, 28, 0.94) 48%, rgba(214, 180, 90, 0.1) 100%) padding-box,
    var(--gem-ring) border-box;
}
.panel--compact { padding: 18px 16px; }

.hero__title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--text);
}
.hero__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  margin: 12px auto 0;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--gold), var(--teal));
}
[dir="rtl"] .hero__title { font-family: var(--font-ar); font-weight: 800; }
.hero__lead { font-size: 0.92rem; color: rgba(245, 240, 230, 0.88); margin: 0 0 8px; max-width: 34ch; margin-inline: auto; }
.hero__sub { font-size: 0.82rem; color: var(--muted); margin: 0; max-width: 36ch; margin-inline: auto; }

.kicker { margin: 0 0 8px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.heading { margin: 0; font-family: var(--serif); font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
.heading--q { font-size: 1.15rem; }
[dir="rtl"] .heading { font-family: var(--font-ar); }

/* ── Segment cards ── */
.seg-list, .card-list, .answers { display: flex; flex-direction: column; gap: 10px; }

.seg, .card, .answer {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: var(--tap);
  padding: 14px 16px;
  font: inherit;
  text-align: start;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.15s;
}
.seg:active, .card:active, .answer:active { transform: scale(0.985); }
.seg {
  --accent: var(--gem-teal-dk);
  --gem-ring: linear-gradient(135deg, var(--gem-gold-dk), var(--gem-gold-md) 32%, var(--gem-teal-dk) 68%, var(--gem-teal-md));
  --gem-inner: linear-gradient(165deg, rgba(168, 137, 36, 0.1) 0%, #12151c 46%, rgba(45, 106, 114, 0.12) 100%);
  --seg-badge-grad: var(--gem-grad-btn);
  position: relative;
  overflow: hidden;
}
.seg--government {
  --accent: var(--seg-government);
  --gem-ring: linear-gradient(135deg, #a88924, #6a5c18 30%, #3a8fb0 62%, #2a5a68);
  --gem-inner: linear-gradient(165deg, rgba(58, 143, 176, 0.16) 0%, #12151c 48%, rgba(42, 90, 104, 0.14) 100%);
  --seg-badge-grad: linear-gradient(135deg, #b89838 0%, #4a98b0 52%, #2d6878 100%);
}
.seg--enterprise {
  --accent: var(--seg-enterprise);
  --gem-ring: linear-gradient(135deg, #a08028, #5a5018 28%, #6a72b8 60%, #4a4e78);
  --gem-inner: linear-gradient(165deg, rgba(106, 114, 184, 0.14) 0%, #12151c 48%, rgba(60, 64, 100, 0.12) 100%);
  --seg-badge-grad: linear-gradient(135deg, #b09030 0%, #7a82b0 50%, #4a5080 100%);
}
.seg--smb {
  --accent: var(--seg-smb);
  --gem-ring: linear-gradient(135deg, #a88824, #5a5818 30%, #3a8aa8 62%, #2a5a66);
  --gem-inner: linear-gradient(165deg, rgba(58, 138, 168, 0.14) 0%, #12151c 48%, rgba(42, 88, 102, 0.12) 100%);
  --seg-badge-grad: linear-gradient(135deg, #b89836 0%, #5a98a8 52%, #2d6670 100%);
}
.seg--stores {
  --accent: var(--seg-stores);
  --gem-ring: linear-gradient(135deg, #a88824, #6a5018 28%, #b87838 58%, #8a5a28);
  --gem-inner: linear-gradient(165deg, rgba(184, 120, 56, 0.14) 0%, #12151c 48%, rgba(100, 70, 40, 0.1) 100%);
  --seg-badge-grad: linear-gradient(135deg, #c09838 0%, #b87838 48%, #8a6028 100%);
}
.seg--pros {
  --accent: var(--seg-pros);
  --gem-ring: linear-gradient(135deg, #a08028, #5a4818 28%, #8a62a8 60%, #5a4070);
  --gem-inner: linear-gradient(165deg, rgba(138, 98, 168, 0.14) 0%, #12151c 48%, rgba(70, 50, 90, 0.12) 100%);
  --seg-badge-grad: linear-gradient(135deg, #b09032 0%, #9a72b0 50%, #684880 100%);
}
.seg--existing_site {
  --accent: var(--seg-existing_site);
  --gem-ring: linear-gradient(135deg, #a08028, #5a3818 28%, #a85858 58%, #784040);
  --gem-inner: linear-gradient(165deg, rgba(168, 88, 88, 0.12) 0%, #12151c 48%, rgba(90, 50, 50, 0.1) 100%);
  --seg-badge-grad: linear-gradient(135deg, #b09030 0%, #a85858 50%, #784848 100%);
}
.seg--individuals {
  --accent: var(--seg-individuals);
  --gem-ring: linear-gradient(135deg, #a88824, #5a6018 28%, #2a9070 60%, #1a6050);
  --gem-inner: linear-gradient(165deg, rgba(42, 144, 112, 0.14) 0%, #12151c 48%, rgba(30, 80, 68, 0.12) 100%);
  --seg-badge-grad: linear-gradient(135deg, #b89834 0%, #4a9878 52%, #2a6858 100%);
}
.seg--guide {
  --accent: var(--seg-guide);
  --gem-ring: linear-gradient(135deg, #a08028, #5a4818 28%, #a85a80 58%, #784058);
  --gem-inner: linear-gradient(165deg, rgba(168, 90, 128, 0.12) 0%, #12151c 48%, rgba(90, 50, 70, 0.1) 100%);
  --seg-badge-grad: linear-gradient(135deg, #b09032 0%, #a85a80 50%, #784060 100%);
}

.seg__num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 2px solid var(--gem-gold-dk);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gem-text-dark);
  background: var(--seg-badge-grad);
  box-shadow: var(--gem-inset);
}
.seg__body { flex: 1; min-width: 0; }
.seg__body strong { display: block; font-family: var(--serif); font-size: 0.95rem; margin-bottom: 2px; }
.seg__body span { display: block; font-size: 0.76rem; color: var(--muted); }
.seg__arrow { color: var(--accent); font-weight: 700; }
[dir="rtl"] .seg__arrow { transform: scaleX(-1); }

.card > span:first-child { flex: 1; min-width: 0; }
.card span strong { display: block; font-family: var(--serif); font-size: 0.95rem; }
.card span span { display: block; font-size: 0.78rem; color: var(--muted); }
.card__arrow { color: var(--teal); margin-inline-start: auto; }
.card--primary {
  background:
    var(--gem-inner-soft) padding-box,
    linear-gradient(135deg, #f0d878, var(--qaf-gold-soft)) border-box;
}
[dir="rtl"] .card__arrow { transform: scaleX(-1); }

/* ── Chips & buttons ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; max-height: 220px; overflow-y: auto; }
.chip {
  padding: 10px 14px;
  border-radius: var(--gem-r-pill);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.chip.is-on { font-weight: 800; }

.btn-main {
  position: relative;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  min-height: 54px;
  margin-bottom: 12px;
  border: 2px solid #c9a227;
  border-radius: var(--gem-r-pill);
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gem-text-dark);
  cursor: pointer;
  background: var(--gem-grad-btn);
  box-shadow: var(--gem-shadow), var(--gem-inset);
  transition: transform 0.12s, filter 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
/* Shimmer — داخل حدود الزر، ذهاب وإياب بسلاسة */
.btn-main:not(.btn-main--checkout)::before,
.btn-main--checkout::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, 0.28) 46%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0.28) 54%,
    rgba(255, 255, 255, 0) 62%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 55% 100%;
  background-repeat: no-repeat;
  background-position: -60% 50%;
  animation: btn-gem-shimmer 5.8s ease-in-out infinite;
  will-change: background-position;
}
.btn-main--checkout::before {
  position: static;
  z-index: 1;
  inset: auto;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  animation: none;
  pointer-events: auto;
  will-change: auto;
}
@keyframes btn-gem-shimmer {
  0% { background-position: -60% 50%; }
  50% { background-position: 160% 50%; }
  100% { background-position: -60% 50%; }
}
[dir="rtl"] .btn-main:not(.btn-main--checkout)::before,
[dir="rtl"] .btn-main--checkout::after {
  animation-name: btn-gem-shimmer-rtl;
}
@keyframes btn-gem-shimmer-rtl {
  0% { background-position: 160% 50%; }
  50% { background-position: -60% 50%; }
  100% { background-position: 160% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-main::before,
  .btn-main::after { animation: none; opacity: 0; }
}
.btn-main:hover:not(:disabled) { filter: brightness(1.05); }
.btn-main:active:not(:disabled) { transform: scale(0.985); }
.btn-main:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.3);
}
.btn-main:disabled::before,
.btn-main:disabled::after {
  animation: none;
  opacity: 0;
}

.btn-main--service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-bottom: 0;
  padding: 0 18px;
  text-decoration: none;
  line-height: 1.15;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.38),
    0 0 26px rgba(201, 162, 39, 0.18),
    0 0 32px rgba(135, 24, 38, 0.18),
    var(--gem-inset);
}

.btn-text {
  margin-top: 12px;
  padding: 8px 0;
  border: none;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.btn-text:hover { color: var(--gold); }

.answer { justify-content: center; font-weight: 600; }
.answer--yes:hover, .answer--yes:focus-visible { outline: none; filter: brightness(1.06); }

/* ── Progress ── */
.progress { margin-bottom: 16px; }
.progress__meta { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.progress__bar { height: 4px; background: rgba(201, 162, 39, 0.12); border-radius: 99px; overflow: hidden; }
.progress__fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--teal)); border-radius: 99px; transition: width 0.3s; }

.tip {
  margin: 12px 0;
  padding: 12px 14px;
  border-inline-start: 3px solid var(--seg-stores);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(251, 146, 60, 0.08);
  font-size: 0.8rem;
}
[dir="rtl"] .tip { border-radius: var(--radius) 0 0 var(--radius); }

/* ── Result ── */
.badge {
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(214, 180, 90, 0.25);
  background: rgba(214, 180, 90, 0.08);
  padding: 6px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.result__title { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; margin: 0 0 16px; line-height: 1.25; }
[dir="rtl"] .result__title { font-family: var(--font-ar); }

.panel--result {
  margin-bottom: 20px;
  text-align: center;
}

.result-block {
  margin-bottom: 24px;
  padding: 20px 18px;
  text-align: center;
}
.result-block .includes-title,
.result-block .features { text-align: start; }
[dir="rtl"] .result-block .includes-title,
[dir="rtl"] .result-block .features { text-align: right; }

.result-price {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.result-price__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 4px;
}
.result-price__amt {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-hi), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[dir="rtl"] .result-price__amt { font-family: var(--font-ar); }
.result-price__per { font-size: 0.9rem; color: var(--muted); margin-inline-start: 4px; }

.waas-section {
  margin: 28px 0 16px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.waas-section__title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  color: var(--gold-hi);
}
[dir="rtl"] .waas-section__title { font-family: var(--font-ar); }
.waas-section__includes {
  margin: 0 0 6px;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.45;
}
.waas-section__pay-note {
  margin: 0 0 14px;
  font-size: 0.72rem;
  text-align: center;
  color: var(--teal);
  font-weight: 600;
}
.result__kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}
.result__name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--gold-hi), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[dir="rtl"] .result__name { font-family: var(--font-ar); }
.result__pitch {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
}
.includes-title {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.features__check { color: var(--teal); font-weight: 700; flex-shrink: 0; }
.price-strip {
  margin: 20px 0 12px;
  padding: 14px 16px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}
.price-strip p { margin: 0 0 6px; }
.price-strip p:last-child { margin-bottom: 0; }
.price-strip__label { color: var(--muted); margin-inline-end: 6px; }
.price-strip__amt { color: var(--gold-hi); font-size: 1.05rem; }
.price-strip__buyout { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--border); }
.price-strip strong { color: var(--gold-hi); }

.panel--waas-pitch {
  margin-top: 8px;
  margin-bottom: 14px;
  border-color: rgba(214, 180, 90, 0.28);
  text-align: center;
}
.waas-pitch__title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
[dir="rtl"] .waas-pitch__title { font-family: var(--font-ar); }
.waas-pitch__lead {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: var(--gold-hi);
  font-weight: 600;
}
.waas-pitch__includes {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.45;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.tier-grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 420px) {
  .tier-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* WaaS tier cards — border beam + soft mixed gradients */
@property --tier-beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes tier-border-beam {
  to { --tier-beam-angle: 360deg; }
}
@keyframes tier-border-beam-fallback {
  to { transform: rotate(360deg); }
}

.tier-card {
  --tier-gem-grad: var(--gem-grad-btn);
  --tier-beam-a: #f5e8b0;
  --tier-beam-b: #a8efe8;
  --tier-beam-track: rgba(168, 137, 36, 0.42);
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 118px;
  padding: 14px 10px;
  border: none;
  border-radius: var(--gem-r);
  cursor: pointer;
  font: inherit;
  text-align: center;
  color: var(--gem-text-dark);
  background: transparent;
  box-shadow: var(--gem-shadow);
  overflow: hidden;
  transition: transform 0.12s, filter 0.15s, box-shadow 0.15s;
}
.tier-card::before {
  content: '';
  position: absolute;
  inset: -45%;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  background: conic-gradient(
    from var(--tier-beam-angle, 0deg),
    var(--tier-beam-track) 0deg,
    rgba(168, 137, 36, 0.18) 55deg,
    transparent 68deg,
    transparent 78deg,
    var(--tier-beam-a) 86deg,
    var(--tier-beam-b) 92deg,
    #fff8e8 96deg,
    var(--tier-beam-a) 100deg,
    transparent 108deg,
    transparent 360deg
  );
  animation: tier-border-beam 3.6s linear infinite;
}
@supports not (background: conic-gradient(from var(--tier-beam-angle, 0deg), red, blue)) {
  .tier-card::before {
    animation: tier-border-beam-fallback 3.6s linear infinite;
  }
}
.tier-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  z-index: 0;
  border-radius: calc(var(--gem-r) - 2px);
  pointer-events: none;
  background: var(--tier-gem-grad);
  box-shadow: var(--gem-inset);
}
.tier-card > * {
  position: relative;
  z-index: 1;
}
.tier-card--basic {
  --tier-beam-a: #f8ecc0;
  --tier-beam-b: #b8f0e0;
  --tier-gem-grad: linear-gradient(135deg, #f4e090 0%, #ecd878 28%, #c0e8d8 58%, #b0dce8 100%);
}
.tier-card--business {
  --tier-beam-a: #f6e4a8;
  --tier-beam-b: #b8d8f8;
  --tier-gem-grad: linear-gradient(135deg, #f2dc88 0%, #e8c868 30%, #c0d8f0 62%, #a8cce8 100%);
}
.tier-card--store {
  --tier-beam-a: #f4e0b0;
  --tier-beam-b: #c8e8f8;
  --tier-gem-grad: linear-gradient(135deg, #f0d880 0%, #e8c0d8 34%, #b8d4e8 66%, #a8cce0 100%);
}
.tier-card--growth {
  --tier-beam-a: #f0ecc0;
  --tier-beam-b: #98f0e8;
  --tier-gem-grad: linear-gradient(135deg, #f0e088 0%, #c8ecd8 36%, #a8e8e0 68%, #98dce8 100%);
}
.tier-card:hover,
.tier-card:focus-visible {
  outline: none;
  filter: brightness(1.04);
  transform: translateY(-2px);
  box-shadow: var(--gem-shadow), 0 0 20px rgba(110, 201, 232, 0.2);
}
.tier-card--highlight {
  box-shadow: var(--gem-shadow), 0 0 0 2px rgba(232, 197, 71, 0.55), 0 0 24px rgba(201, 162, 39, 0.28);
}
.tier-card--highlight::before {
  animation-duration: 2.8s;
}
@media (prefers-reduced-motion: reduce) {
  .tier-card::before {
    animation: none;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--tier-beam-track), rgba(110, 201, 232, 0.35));
    opacity: 0.85;
  }
}
.tier-card__name {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(10, 12, 16, 0.75);
}
.tier-card__price {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gem-text-dark);
}
[dir="rtl"] .tier-card__price { font-family: var(--font-ar); }
.tier-card__per {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(10, 12, 16, 0.65);
  font-family: var(--font);
}
.tier-card__aud {
  font-size: 0.58rem;
  color: rgba(10, 12, 16, 0.55);
  line-height: 1.25;
  max-width: 100%;
}
.tier-card__more {
  margin-top: 4px;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--gem-text-dark);
  letter-spacing: 0.02em;
}
.btn-main--checkout::before {
  content: '🔒 ';
  margin-inline-end: 4px;
}

/* ── Package detail ── */
.pkg-hero {
  margin-bottom: 14px;
  padding: 22px 18px;
  text-align: center;
}
.pkg-hero--basic { box-shadow: var(--gem-shadow), inset 0 0 56px rgba(201, 162, 39, 0.14); }
.pkg-hero--business { box-shadow: var(--gem-shadow), inset 0 0 56px rgba(139, 30, 22, 0.12); }
.pkg-hero--store { box-shadow: var(--gem-shadow), inset 0 0 56px rgba(139, 30, 22, 0.12); }
.pkg-hero--growth { box-shadow: var(--gem-shadow), inset 0 0 56px rgba(214, 180, 90, 0.12); }
.pkg-hero__kicker { margin: 0 0 6px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; color: var(--teal); }
.pkg-hero__title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-hi), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[dir="rtl"] .pkg-hero__title { font-family: var(--font-ar); }
.pkg-hero__tagline { margin: 0 0 10px; font-size: 0.9rem; color: var(--muted); }
.pkg-hero__for { margin: 0 0 14px; font-size: 0.82rem; }
.pkg-hero__for span { color: var(--gold); font-weight: 700; }
.pkg-hero__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px; }
.pkg-hero__amt { font-size: 1.65rem; font-weight: 800; color: var(--text); }
.pkg-hero__per { font-size: 0.85rem; color: var(--muted); }
.pkg-hero__usdt { width: 100%; font-size: 0.75rem; color: var(--teal); font-weight: 600; }
.pkg-body {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.pkg-body--basic { box-shadow: var(--gem-shadow), inset 0 0 48px rgba(201, 162, 39, 0.1); }
.pkg-body--business { box-shadow: var(--gem-shadow), inset 0 0 48px rgba(139, 30, 22, 0.1); }
.pkg-body--store { box-shadow: var(--gem-shadow), inset 0 0 48px rgba(139, 30, 22, 0.1); }
.pkg-body--growth { box-shadow: var(--gem-shadow), inset 0 0 48px rgba(214, 180, 90, 0.1); }
.pkg-body__explain { margin: 0 0 14px; font-size: 0.88rem; line-height: 1.55; color: var(--muted); }
.pkg-waas-core {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.78rem;
  color: var(--teal);
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.1), rgba(214, 180, 90, 0.1));
  border: 1px dashed rgba(214, 180, 90, 0.25);
}

/* ── Checkout ── */
.page--checkout { padding-bottom: calc(142px + var(--safe-b)); }
.checkout-summary {
  margin-bottom: 14px;
  padding: 16px;
  text-align: center;
}
.checkout-summary--business { box-shadow: var(--gem-shadow), inset 0 0 40px rgba(139, 30, 22, 0.12); }
.checkout-summary--store { box-shadow: var(--gem-shadow), inset 0 0 40px rgba(139, 30, 22, 0.12); }
.checkout-summary--growth { box-shadow: var(--gem-shadow), inset 0 0 40px rgba(214, 180, 90, 0.1); }
.checkout-summary__kicker { margin: 0 0 4px; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; color: var(--gold); }
.checkout-summary h2 { margin: 0 0 6px; font-size: 1.2rem; }
.checkout-summary__core { margin: 0; font-size: 0.75rem; color: var(--muted); }
.checkout-panel {
  margin-bottom: 12px;
  padding: 16px;
}
.checkout-panel--currency {
  box-shadow: var(--gem-shadow), inset 0 0 48px rgba(28, 40, 52, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.checkout-panel--binance {
  box-shadow: var(--gem-shadow), inset 0 0 48px rgba(201, 162, 39, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.checkout-panel--reject {
  text-align: center;
  background: var(--gem-inner) padding-box, linear-gradient(135deg, #f87171, #c9a227) border-box;
}
.checkout-panel--pay {
  box-shadow: var(--gem-shadow), inset 0 0 48px rgba(214, 180, 90, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.checkout-panel__title { margin: 0 0 6px; font-size: 0.95rem; font-weight: 700; }
.checkout-panel__sub { margin: 0 0 12px; font-size: 0.78rem; color: var(--muted); line-height: 1.45; }
.cur-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 400px) {
  .cur-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.cur-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 6px;
  border-radius: var(--gem-r-sm);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text);
  cursor: pointer;
}
.cur-chip span { font-size: 0.58rem; font-weight: 600; color: var(--muted); }
.cur-chip.is-on span { color: rgba(10, 12, 16, 0.65); }
.checkout-binance-opts { display: flex; flex-direction: column; gap: 8px; }
.checkout-reject__icon { font-size: 2rem; margin: 0 0 8px; }
.checkout-steps { margin: 0 0 14px; padding-inline-start: 1.2rem; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }
.checkout-amount {
  margin-bottom: 12px;
  padding: 14px;
  border-radius: var(--gem-r-sm);
  text-align: center;
  border: 2px solid #c9a227;
  background: var(--gem-grad-btn);
  box-shadow: var(--gem-inset);
}
.checkout-amount__label { display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 4px; }
.checkout-amount__usdt { display: block; font-size: 1.75rem; font-weight: 800; color: var(--gem-text-dark); }
.checkout-amount__ref { display: block; margin-top: 6px; font-size: 0.68rem; color: var(--muted); }
.checkout-network {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 600;
}
.checkout-network__badge {
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 800;
  color: #12151c;
  background: linear-gradient(135deg, var(--teal), var(--qaf-gold));
}
.checkout-wallet {
  margin-bottom: 12px;
  padding: 12px;
  border-style: dashed;
  box-shadow: var(--gem-shadow), inset 0 0 24px rgba(0, 0, 0, 0.35);
}
.checkout-wallet__label { display: block; margin-bottom: 6px; font-size: 0.72rem; color: var(--muted); }
.checkout-wallet__addr {
  display: block;
  word-break: break-all;
  font-size: 0.7rem;
  color: var(--teal);
  margin-bottom: 8px;
}
.btn-copy { width: 100%; }
.checkout-warn {
  margin: 0 0 12px;
  font-size: 0.68rem;
  color: #f87171;
  line-height: 1.45;
  text-align: center;
}
.btn-wa--block {
  display: flex;
  width: 100%;
  justify-content: center;
  min-height: var(--tap);
  border-radius: var(--radius);
  background: var(--qaf-gold);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  align-items: center;
}

.pain-card { overflow: hidden; }
.pain-card > * { position: relative; z-index: 1; }

/* ── Sovereign manifesto + government beacon ── */
.sovereign {
  margin: 28px 0 20px;
  padding: 20px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 162, 39, 0.28);
  background: linear-gradient(165deg, rgba(24, 28, 42, 0.98), rgba(12, 14, 20, 1));
  position: relative;
  overflow: hidden;
}
.sovereign::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(214, 180, 90, 0.12), transparent 70%);
  pointer-events: none;
}
.sovereign--compact {
  margin: 0 0 14px;
  padding: 14px 12px;
}
.sovereign--compact .sovereign__arena { margin-bottom: 10px; }
.sovereign--compact .sovereign__title { font-size: 1rem; }
.sovereign--compact .sovereign__pillars { display: none; }
.sovereign__manifesto { position: relative; z-index: 1; text-align: center; margin-bottom: 16px; }
.sovereign__eyebrow {
  margin: 0 0 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.sovereign__title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  background: linear-gradient(135deg, var(--gold-hi), #f5f0e6 40%, var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[dir="rtl"] .sovereign__title { font-family: var(--font-ar); }
.sovereign__lead {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--muted);
}
.sovereign__arena {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: stretch;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.sovereign__lane {
  padding: 12px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  min-height: 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sovereign__lane--banks {
  background: linear-gradient(145deg, rgba(40, 32, 32, 0.6), rgba(18, 18, 22, 0.95));
  border-color: rgba(120, 100, 100, 0.35);
  opacity: 0.75;
}
.sovereign__lane--you {
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.18), rgba(214, 180, 90, 0.12) 50%, rgba(18, 21, 28, 0.95));
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow: 0 0 24px rgba(201, 162, 39, 0.12);
}
.sovereign__lane-label {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}
.sovereign__lane--you .sovereign__lane-label { color: var(--gold-hi); }
.sovereign__lane-text {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--text);
}
.sovereign__lane-text--fade { color: rgba(245, 240, 230, 0.35); text-decoration: line-through; text-decoration-color: rgba(248, 113, 113, 0.6); }
.sovereign__strike {
  position: absolute;
  inset: 50% 8px auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f87171, transparent);
  transform: rotate(-8deg);
}
.sovereign__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--teal);
  text-shadow: 0 0 12px rgba(214, 180, 90, 0.5);
}
.sovereign__pillars {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  display: grid;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.sovereign__pillars li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(245, 240, 230, 0.75);
  line-height: 1.4;
}
.sovereign__dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--teal));
}
.sovereign__fine {
  margin: 0 0 18px;
  font-size: 0.65rem;
  color: rgba(245, 240, 230, 0.35);
  text-align: center;
  line-height: 1.45;
  position: relative;
  z-index: 1;
}

.gov-beacon {
  position: relative;
  z-index: 1;
  margin-top: 4px;
  padding: 20px 16px 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(214, 180, 90, 0.35);
  background: linear-gradient(155deg, rgba(15, 48, 58, 0.85), rgba(201, 162, 39, 0.12) 45%, rgba(18, 21, 28, 0.98));
  text-align: center;
  overflow: hidden;
}
.gov-beacon__glow {
  position: absolute;
  inset: -50% auto auto 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse at center top, rgba(214, 180, 90, 0.25), transparent 55%);
  animation: gov-pulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes gov-pulse {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.05); }
}
.gov-beacon__crest {
  position: relative;
  font-size: 1.5rem;
  color: var(--gold-hi);
  text-shadow: 0 0 16px rgba(201, 162, 39, 0.6);
  margin-bottom: 4px;
}
.gov-beacon__eyebrow {
  position: relative;
  margin: 0 0 6px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}
.gov-beacon__title {
  position: relative;
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
  color: #f5f0e6;
}
[dir="rtl"] .gov-beacon__title { font-family: var(--font-ar); }
.gov-beacon__body {
  position: relative;
  margin: 0 0 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}
.gov-beacon__tags {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.gov-beacon__tags li {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  color: var(--teal);
  border: 1px solid rgba(214, 180, 90, 0.35);
  background: rgba(214, 180, 90, 0.08);
}
.gov-beacon__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: #12151c;
  background: linear-gradient(135deg, var(--teal), var(--qaf-gold-soft), var(--gold-hi));
  box-shadow: 0 4px 20px rgba(214, 180, 90, 0.25);
}
.gov-beacon__cta:hover { filter: brightness(1.08); }

.gov-beacon--inline {
  margin-bottom: 14px;
  padding: 16px 14px;
  border-radius: var(--gem-r);
  border: 2px solid transparent;
  background:
    linear-gradient(155deg, rgba(56, 189, 248, 0.12), rgba(18, 21, 28, 0.94) 50%, rgba(201, 162, 39, 0.08)) padding-box,
    var(--gem-inner) padding-box,
    var(--gem-ring) border-box;
  box-shadow: var(--gem-shadow);
}
.gov-beacon--inline .gov-beacon__title { font-size: 1.05rem; }
.gov-beacon--inline .gov-beacon__body { font-size: 0.78rem; }

/* ── Individuals idea router ── */
.page--ideas { padding-bottom: calc(142px + var(--safe-b)); }
.panel--ideas-head { margin-bottom: 14px; }
.ideas-panel {
  margin-bottom: 16px;
  padding: 16px;
}
.ideas-panel--country { box-shadow: var(--gem-shadow), inset 0 0 48px rgba(214, 180, 90, 0.1); }
.ideas-panel--questions { box-shadow: var(--gem-shadow), inset 0 0 48px rgba(201, 162, 39, 0.1); }
.ideas-panel--suggestions { box-shadow: var(--gem-shadow), inset 0 0 48px rgba(167, 139, 250, 0.12); }
.ideas-panel__title { margin: 0 0 6px; font-size: 0.95rem; font-weight: 700; }
.ideas-panel__sub { margin: 0 0 12px; font-size: 0.78rem; color: var(--muted); line-height: 1.45; }
.ideas-detect { margin: 0 0 12px; font-size: 0.82rem; color: var(--teal); }
.ideas-detect--load { color: var(--muted); animation: pulse-text 1.2s ease infinite; }
@keyframes pulse-text { 50% { opacity: 0.5; } }
.country-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 8px;
}
@media (min-width: 400px) {
  .country-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.country-chip {
  padding: 8px 6px;
  border-radius: var(--gem-r-sm);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.country-chip.is-on { font-weight: 800; }
.ideas-router-note {
  margin: 10px 0 0;
  font-size: 0.62rem;
  color: rgba(245, 240, 230, 0.35);
  text-align: center;
}
.idea-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}
.idea-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 14px;
  cursor: pointer;
  font: inherit;
  color: var(--text);
  text-align: start;
}
[dir="rtl"] .idea-card { text-align: right; }
.idea-card.is-on { color: var(--gem-text-dark); }
.idea-card.is-on .idea-card__desc,
.idea-card.is-on .idea-card__why { color: rgba(10, 12, 16, 0.72); }
.idea-card__badge {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--seg-individuals);
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(214, 180, 90, 0.12);
}
.idea-card__title { font-size: 0.95rem; font-weight: 700; }
.idea-card__desc { font-size: 0.8rem; color: var(--muted); line-height: 1.4; }
.idea-card__why {
  font-size: 0.72rem;
  color: var(--teal);
  line-height: 1.35;
  padding-top: 4px;
  border-top: 1px dashed rgba(214, 180, 90, 0.2);
  width: 100%;
}

.site-footer__sovereign {
  margin: 10px 0 0;
  font-size: 0.58rem;
  color: rgba(245, 240, 230, 0.3);
  line-height: 1.4;
}

@media (max-width: 380px) {
  .tier-card__price { font-size: 0.95rem; }
  .tier-card__aud { font-size: 0.6rem; }
}

.price {
  padding: 16px 18px;
  margin-bottom: 10px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(30, 36, 54, 0.95), rgba(18, 21, 28, 0.98));
}
.price--main { border-color: rgba(201, 162, 39, 0.35); }
.price--alt { border-style: dashed; border-color: rgba(214, 180, 90, 0.2); }
.price__label { margin: 0 0 4px; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); }
.price__row { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin: 0; }
.price__amt { font-family: var(--serif); font-size: 1.85rem; font-weight: 800; background: linear-gradient(135deg, var(--gold-hi), var(--teal)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.price__per { font-size: 0.95rem; color: var(--muted); }
.price__setup, .price__desc, .price__note { font-size: 0.85rem; color: var(--muted); margin: 8px 0 0; }
.price__setup strong { color: var(--gold-hi); }

.result-block--gov {
  border: 1px solid rgba(58, 143, 176, 0.35);
  background: linear-gradient(165deg, rgba(58, 143, 176, 0.1), rgba(18, 21, 28, 0.95));
}
.result__pitch--gov { font-size: 0.92rem; line-height: 1.55; max-width: 42em; }
.features--gov { margin-bottom: 1rem; }
.gov-pricing { margin: 0.5rem 0 1rem; }
.price--gov { border-color: rgba(58, 143, 176, 0.4); }
.price__amt--text {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  background: none;
  -webkit-text-fill-color: var(--gold-hi);
  color: var(--gold-hi);
}
.price__row--text { align-items: flex-start; }
.gov-payment {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 180, 90, 0.2);
  background: rgba(18, 21, 28, 0.5);
}
.gov-payment__title {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.gov-payment__methods { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--text-muted); }
.gov-payment__note {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}
.page--gov-result { padding-bottom: calc(142px + var(--safe-b)); }

.features { list-style: none; padding: 0; margin: 0 0 16px; }
.features li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.features li:last-child { border-bottom: none; }
.features span:not(.features__check) { color: inherit; }
.fine { font-size: 0.68rem; color: var(--muted); line-height: 1.45; margin: 0 0 12px; }

.sticky-bar { display: none; }
.service-cta-panel {
  display: grid;
  gap: 10px;
  margin: 14px 0 10px;
  padding: 14px;
  border: 1px solid rgba(235, 202, 112, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(135, 24, 38, 0.18), transparent 56%),
    linear-gradient(145deg, rgba(18, 10, 14, 0.92), rgba(12, 14, 19, 0.94));
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(135, 24, 38, 0.12),
    inset 0 1px 0 rgba(255, 236, 176, 0.1);
}
.service-cta-panel--gov {
  border-color: rgba(235, 202, 112, 0.36);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.36),
    0 0 30px rgba(201, 162, 39, 0.14),
    0 0 36px rgba(135, 24, 38, 0.16),
    inset 0 1px 0 rgba(255, 236, 176, 0.12);
}
.btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap);
  border: 1px solid rgba(235, 202, 112, 0.42);
  border-radius: var(--gem-r-pill);
  background:
    linear-gradient(145deg, rgba(135, 24, 38, 0.34), rgba(11, 13, 18, 0.86)),
    radial-gradient(circle at 50% 0%, rgba(255, 228, 156, 0.12), transparent 55%);
  color: #f8efd5;
  font-weight: 800;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.3),
    0 0 18px rgba(201, 162, 39, 0.12);
}
.btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: var(--radius);
  color: var(--gold-hi);
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  background: transparent;
  text-decoration: none;
}
.btn-ghost--contract {
  margin-bottom: 10px;
  font-size: 0.9rem;
  border-color: rgba(214, 180, 90, 0.35);
  color: var(--teal);
}
.btn-ghost--contract-sample {
  border-color: rgba(201, 162, 39, 0.45);
  color: var(--gold-hi);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), rgba(214, 180, 90, 0.06));
}

/* ── Footer ── */
.site-footer {
  margin-top: auto;
  padding: 20px 16px calc(24px + var(--safe-b));
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: rgba(12, 14, 18, 0.6);
  line-height: 1.55;
}
.site-footer__legal {
  margin: 0 0 12px;
  padding-top: 0;
  border-top: none;
}
.site-footer__since {
  margin: 0 0 16px;
  font-size: 0.62rem;
  color: rgba(245, 240, 230, 0.35);
  letter-spacing: 0.04em;
}
.site-footer__brand {
  margin-top: 4px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.site-footer__company {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gold-hi);
}
[dir="rtl"] .site-footer__company { font-family: var(--font-ar); font-weight: 800; }
.site-footer__tagline {
  margin: 0 0 6px;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(245, 240, 230, 0.52);
  letter-spacing: 0.02em;
}
.site-footer__region {
  margin: 0;
  font-family: var(--font);
  font-size: 0.65rem;
  color: rgba(245, 240, 230, 0.32);
}
.btn-ghost--service {
  min-height: 48px;
  border-color: rgba(235, 202, 112, 0.38);
  border-radius: var(--gem-r-pill);
  background:
    linear-gradient(145deg, rgba(135, 24, 38, 0.22), rgba(11, 13, 18, 0.78)),
    radial-gradient(circle at 50% 0%, rgba(255, 228, 156, 0.1), transparent 55%);
  color: #f8efd5;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}
.btn-ghost--service:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 231, 164, 0.68);
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 28px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(201, 162, 39, 0.18);
}
.site-footer__legal {
  position: relative;
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 16px;
  text-align: center;
}
.legal-dropdown__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(235, 202, 112, 0.55);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(135, 24, 38, 0.26), rgba(9, 11, 16, 0.94)),
    radial-gradient(circle at 50% 0%, rgba(255, 226, 150, 0.14), transparent 55%);
  color: var(--gold-hi);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(201, 162, 39, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}
.legal-dropdown__btn:hover,
.legal-dropdown__btn[aria-expanded="true"] {
  transform: translateY(-1px);
  border-color: rgba(255, 231, 164, 0.78);
  filter: brightness(1.05);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.42),
    0 0 28px rgba(201, 162, 39, 0.2),
    0 0 34px rgba(135, 24, 38, 0.2);
}
.legal-dropdown__chev {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.legal-dropdown__btn[aria-expanded="true"] .legal-dropdown__chev {
  transform: rotate(225deg) translateY(-1px);
}
.legal-dropdown__menu {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 120;
  display: grid;
  min-width: 230px;
  max-height: 260px;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(235, 202, 112, 0.45);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 100%, rgba(135, 24, 38, 0.24), transparent 58%),
    linear-gradient(145deg, rgba(15, 17, 23, 0.98), rgba(7, 9, 13, 0.98));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.48),
    0 0 32px rgba(135, 24, 38, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px) scale(0.98);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.legal-dropdown__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0) scale(1);
}
.legal-dropdown__item {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(248, 239, 213, 0.84);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: start;
}
.legal-dropdown__item:hover {
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-hi);
}
.legal-dropdown__item--muted {
  color: rgba(245, 240, 230, 0.5);
}

.policy-page {
  padding-bottom: calc(132px + var(--safe-b));
}
.policy-main {
  padding: 18px 16px 34px;
}
.policy-card {
  padding: 22px 18px;
  border: 1px solid rgba(235, 202, 112, 0.24);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 0%, rgba(135, 24, 38, 0.18), transparent 48%),
    linear-gradient(145deg, rgba(18, 21, 28, 0.92), rgba(10, 12, 16, 0.96));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.policy-card__eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.policy-card__title {
  margin: 0 0 12px;
  font-family: var(--serif);
  color: var(--text);
  font-size: 1.55rem;
  line-height: 1.15;
}
.policy-card__lead,
.policy-card p,
.policy-card li {
  color: rgba(245, 240, 230, 0.78);
  font-size: 0.88rem;
  line-height: 1.65;
}
.policy-card__section-title {
  margin: 18px 0 8px;
  color: var(--gold-hi);
  font-size: 0.98rem;
}
.policy-card ul {
  margin: 0 0 14px;
  padding-inline-start: 1.2rem;
}
.policy-actions {
  margin-top: 20px;
}
.policy-actions .btn-ghost {
  min-height: 48px;
  border-color: rgba(235, 202, 112, 0.42);
  border-radius: var(--gem-r-pill);
  background:
    linear-gradient(145deg, rgba(135, 24, 38, 0.26), rgba(11, 13, 18, 0.82)),
    radial-gradient(circle at 50% 0%, rgba(255, 228, 156, 0.1), transparent 55%);
  color: #f8efd5;
  font-weight: 800;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.28);
}
.policy-footer {
  padding: 10px 16px 28px;
  text-align: center;
}
.policy-footer__since {
  margin: 0;
  color: rgba(245, 240, 230, 0.46);
  font-size: 0.72rem;
  font-weight: 700;
}

/* ── Legal pages ── */
.page--legal { padding-bottom: calc(142px + var(--safe-b)); }
.legal-header__home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-hi);
  text-decoration: none;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(235, 202, 112, 0.46);
  background:
    linear-gradient(145deg, rgba(135, 24, 38, 0.26), rgba(11, 13, 18, 0.82)),
    radial-gradient(circle at 50% 0%, rgba(255, 228, 156, 0.1), transparent 55%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.26);
  white-space: nowrap;
  transition: transform 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
}
.legal-header__home:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 231, 164, 0.72);
  filter: brightness(1.05);
}
.legal-hero__title {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
}
[dir="rtl"] .legal-hero__title { font-family: var(--font-ar); }
.legal-hero__sub { margin: 0; font-size: 0.85rem; color: var(--muted); }
.legal__disclaimer {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: var(--gem-r-sm);
  font-size: 0.72rem;
  color: var(--muted);
  border: 1px dashed rgba(201, 162, 39, 0.3);
  background: rgba(201, 162, 39, 0.06);
}
.legal-hub-grid {
  display: grid;
  gap: 10px;
}
@media (min-width: 520px) {
  .legal-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.legal-card {
  display: block;
  padding: 16px;
  border-radius: var(--gem-r);
  border: 2px solid transparent;
  text-decoration: none;
  color: inherit;
  background:
    var(--gem-inner-soft) padding-box,
    var(--gem-ring) border-box;
  box-shadow: var(--gem-shadow);
  transition: transform 0.12s, filter 0.15s;
}
.legal-card:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}
.legal-card__title {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--gold-hi);
}
.legal-card__desc {
  margin: 0 0 8px;
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.45;
}
.legal-card__more {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--teal);
}
.legal-nav {
  margin-bottom: 12px;
}
.legal-nav__group { margin-bottom: 10px; }
.legal-nav__group:last-child { margin-bottom: 0; }
.legal-nav__group-title {
  margin: 0 0 6px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.legal-nav__link {
  display: block;
  padding: 8px 10px;
  margin-bottom: 4px;
  border-radius: var(--gem-r-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
}
.legal-nav__link:hover { color: var(--text); background: rgba(214, 180, 90, 0.08); }
.legal-nav__link.is-active {
  color: var(--gem-text-dark);
  background: var(--gem-grad-btn);
  border: 1px solid #c9a227;
}
.legal-doc__head { margin-bottom: 12px; }
.legal-doc__eyebrow {
  margin: 0 0 4px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--teal);
}
.legal-doc__title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}
[dir="rtl"] .legal-doc__title { font-family: var(--font-ar); }
.legal-doc__meta {
  margin: 0;
  font-size: 0.72rem;
  color: var(--muted);
}
.legal__intro {
  margin: 0 0 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(245, 240, 230, 0.88);
}
.legal-doc__body { font-size: 0.82rem; line-height: 1.6; color: rgba(245, 240, 230, 0.82); }
.legal__h2 {
  margin: 20px 0 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gold-hi);
}
.legal-doc__body p { margin: 0 0 10px; }
.legal__list {
  margin: 0 0 12px;
  padding-inline-start: 1.2rem;
}
.legal__list li { margin-bottom: 6px; }
.legal__table-wrap { overflow-x: auto; margin-bottom: 14px; }
.legal__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}
.legal__table th,
.legal__table td {
  padding: 8px 10px;
  border: 1px solid var(--border);
  text-align: start;
}
.legal__table th {
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold-hi);
  font-weight: 700;
}
.legal__fine {
  margin: 16px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.68rem;
  color: rgba(245, 240, 230, 0.4);
}
.legal__back {
  margin: 16px 0 0;
  text-align: center;
  font-size: 0.8rem;
}
.legal__back a { color: var(--teal); font-weight: 600; }

/* ── Quick diagnosis (5 questions) ── */
.page--quick { padding-bottom: calc(142px + var(--safe-b)); }

.panel--quick-head { text-align: center; padding: 20px 18px; margin-bottom: 12px; }
.quick-diag__title {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}
[dir="rtl"] .quick-diag__title { font-family: var(--font-ar); }
.quick-diag__sub { margin: 0; font-size: 0.88rem; color: var(--muted); }

.quick-diag { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }

.quick-q {
  padding: 14px 14px 12px;
}

.quick-q__n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  border-radius: 8px;
  border: 2px solid #c9a227;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gem-text-dark);
  background: var(--gem-grad);
  box-shadow: var(--gem-inset);
}

.quick-q__label {
  margin: 0 0 10px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.quick-q__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.q-opt {
  flex: 1 1 calc(50% - 8px);
  min-width: min(100%, 120px);
  min-height: 42px;
  padding: 10px 12px;
  border-radius: var(--gem-r-sm);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: transform 0.1s, filter 0.15s;
}
.q-opt.is-on { font-weight: 800; }

@media (max-width: 400px) {
  .lang__name { display: none; }
  .brand--md { font-size: 1rem; }
  .hero__title { font-size: 1.55rem; }
}

/* ── Pain cards ── */
.pain-screen__sub {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}
.pain-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}
.pain-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  width: 100%;
  padding: 14px 16px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: start;
  transition: transform 0.12s, filter 0.15s;
}
[dir="rtl"] .pain-card { text-align: right; }
.pain-card:hover,
.pain-card:focus-visible {
  outline: none;
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.pain-card__q {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}
.pain-card__fix {
  font-size: 0.78rem;
  color: var(--teal);
  line-height: 1.4;
}

/* ── AI hub (royal dropdown) ── */
.ai-hub {
  margin: 28px 0 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.ai-hub__box {
  padding: 20px 16px 18px;
  text-align: center;
  background:
    linear-gradient(155deg, rgba(201, 162, 39, 0.14) 0%, rgba(18, 21, 28, 0.92) 42%, rgba(214, 180, 90, 0.1) 100%) padding-box,
    var(--gem-inner) padding-box,
    var(--gem-ring) border-box;
}
.ai-hub__title {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold-hi), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[dir="rtl"] .ai-hub__title { font-family: var(--font-ar); }
.ai-hub__sub {
  margin: 0 0 16px;
  font-size: 0.78rem;
  color: var(--muted);
}

.ai-select {
  position: relative;
  margin-bottom: 12px;
  text-align: start;
}
[dir="rtl"] .ai-select { text-align: right; }
.ai-select__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.ai-select__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 2px solid #c9a227;
  border-radius: var(--gem-r-pill);
  font: inherit;
  cursor: pointer;
  color: var(--gem-text-dark);
  background: var(--gem-grad-btn);
  box-shadow: var(--gem-shadow), var(--gem-inset);
  transition: filter 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.ai-select__trigger:hover,
.ai-select__trigger:focus-visible {
  outline: none;
  filter: brightness(1.05);
}
.ai-select__trigger[aria-expanded="true"] {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  box-shadow: var(--gem-shadow), var(--gem-inset), 0 8px 24px rgba(94, 200, 200, 0.2);
}
.ai-select__icon,
.ai-select__opt-icon {
  flex-shrink: 0;
  font-size: 1.35rem;
  line-height: 1;
}
.ai-select__text,
.ai-select__opt-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
  text-align: start;
}
[dir="rtl"] .ai-select__text,
[dir="rtl"] .ai-select__opt-body { text-align: right; }
.ai-select__title,
.ai-select__opt-body strong {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
}
.ai-select__desc,
.ai-select__opt-body span {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(10, 12, 16, 0.68);
  line-height: 1.3;
}
.ai-select__chev {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(10, 12, 16, 0.7);
  border-bottom: 2px solid rgba(10, 12, 16, 0.7);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s;
}
.ai-select__trigger[aria-expanded="true"] .ai-select__chev {
  transform: rotate(-135deg) translateY(2px);
}
.ai-select__menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline: 0;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: var(--gem-r);
  border: 2px solid transparent;
  background:
    linear-gradient(165deg, #1e2436 0%, #12151c 55%, #152028 100%) padding-box,
    var(--gem-ring) border-box;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 32px rgba(214, 180, 90, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 120;
  max-height: min(320px, 55vh);
  overflow-y: auto;
}
.ai-select__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.ai-select__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 4px;
  border: 1px solid transparent;
  border-radius: var(--gem-r-sm);
  font: inherit;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  text-align: start;
  transition: background 0.15s, border-color 0.15s;
}
.ai-select__opt:last-child { margin-bottom: 0; }
[dir="rtl"] .ai-select__opt { text-align: right; }
.ai-select__opt:hover:not(:disabled),
.ai-select__opt:focus-visible:not(:disabled) {
  outline: none;
  border-color: rgba(201, 162, 39, 0.35);
  background: linear-gradient(90deg, rgba(232, 197, 71, 0.14), rgba(214, 180, 90, 0.1));
}
.ai-select__opt--active:not(:disabled) {
  border-color: rgba(201, 162, 39, 0.45);
  background: linear-gradient(90deg, rgba(201, 162, 39, 0.2), rgba(214, 180, 90, 0.12));
}
.ai-select__opt--soon {
  opacity: 0.5;
  cursor: not-allowed;
}
.ai-select__opt-body span { color: var(--muted); }
.ai-select__soon {
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  padding: 3px 8px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 99px;
  background: rgba(201, 162, 39, 0.1);
}
.btn-main--ai-hub {
  margin-bottom: 0;
  font-size: 0.92rem;
}

/* ── Diagnosis result ── */
.panel--ai { border-color: rgba(214, 180, 90, 0.25); }
.quick-diag__badge {
  margin: 0 0 6px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}
.quick-diag__pain {
  margin: 10px 0 0;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--gold-hi);
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.2);
}
.diag-block {
  margin-bottom: 18px;
  padding: 16px;
  box-shadow: var(--gem-shadow), inset 0 0 48px rgba(214, 180, 90, 0.08);
}
.diag__kicker {
  margin: 0 0 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
}
.diag__pain {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}
.diag__fix {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: var(--teal);
}
.diag__problem {
  margin: 0 0 10px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--muted);
}
.diag__problem strong { color: var(--gold-hi); }
.diag__pct {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-hi);
}
.features--diag { margin-bottom: 0; }
.chips--auto { margin-bottom: 14px; }
.chip--auto.is-on { font-weight: 800; }

/* ── Optional mobile contact dock (legacy styles, not mounted) ── */
.qaf-mobile-dock { display: none; }

@media (max-width: 640px) {
  body { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); }
  .qaf-mobile-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 250;
    display: grid;
    min-height: calc(64px + env(safe-area-inset-bottom, 0px));
    padding: 6px 18px calc(6px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-top: 1px solid rgba(201, 162, 39, 0.22);
    background: rgba(12, 15, 21, 0.96);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(16px);
  }
  .qaf-mobile-dock__item {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(201, 162, 39, 0.32);
    border-radius: 50%;
    color: var(--gold-hi);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 800;
  }
  .qaf-mobile-dock__item--wa { position: absolute; right: 18px; }
  .qaf-mobile-dock__item--mail { position: absolute; left: 18px; }
  .qaf-mobile-dock__brand {
    grid-column: 1 / -1;
    display: flex;
    min-width: 108px;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    color: var(--text);
    text-decoration: none;
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 800;
  }
}

/* ── Premium Wax Seal Brand Header & Hero Layout ── */

.brand {
  display: inline-flex;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
}

.brand__logo-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  padding: 2px;
  background: rgba(8, 9, 12, 0.7);
  border: 1px solid rgba(235, 202, 112, 0.62);
  box-shadow:
    0 0 0 2px rgba(201, 162, 39, 0.14),
    0 0 14px rgba(201, 162, 39, 0.44),
    0 8px 18px rgba(0, 0, 0, 0.35);
  display: inline-block;
}

.brand__text-container {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__title-container {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.brand__sub-text {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 1px;
}

[dir="rtl"] .brand__sub-text {
  font-family: var(--font-ar);
  font-size: 0.56rem;
  letter-spacing: 0;
  font-weight: 500;
}

.hero-grid {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.hero-left {
  width: 100%;
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 168px;
}

.hero-seal-wrapper {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: clamp(148px, 38vw, 190px);
  height: clamp(148px, 38vw, 190px);
  padding: 12px;
  border: 2px solid transparent;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 239, 186, 0.22), rgba(201, 162, 39, 0.08) 42%, rgba(8, 9, 12, 0.82) 72%) padding-box,
    linear-gradient(145deg, rgba(255, 238, 176, 0.88), rgba(201, 162, 39, 0.45), rgba(117, 74, 24, 0.45)) border-box;
  box-shadow:
    0 0 28px rgba(255, 222, 142, 0.26),
    0 0 62px rgba(201, 162, 39, 0.28),
    0 24px 52px rgba(0, 0, 0, 0.48),
    inset 0 0 28px rgba(255, 228, 156, 0.12);
  transition: transform 0.3s ease;
}

.hero-seal-wrapper:hover {
  transform: scale(1.05);
}

.hero-seal-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
  box-shadow:
    0 0 22px rgba(255, 226, 150, 0.24),
    0 0 38px rgba(201, 162, 39, 0.3);
  border: 1px solid rgba(235, 202, 112, 0.3);
}

body {
  padding-bottom: calc(120px + var(--safe-b));
}

.qaf-bottom-action-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  position: fixed;
  bottom: 0;
  left: 50%;
  z-index: 9999;
  width: 100%;
  max-width: 520px;
  transform: translateX(-50%);
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(235, 202, 112, 0.44);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(135, 24, 38, 0.32), transparent 48%),
    linear-gradient(145deg, rgba(18, 10, 14, 0.96), rgba(7, 9, 13, 0.96));
  backdrop-filter: blur(18px);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.62),
    0 0 34px rgba(201, 162, 39, 0.16),
    0 0 58px rgba(135, 24, 38, 0.22),
    inset 0 1px 0 rgba(255, 236, 176, 0.16);
}

.qaf-bottom-action-bar::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 27px 27px 0 0;
  pointer-events: none;
  border: 1px solid rgba(135, 24, 38, 0.28);
}

.qaf-bottom-action-btn,
.qaf-bottom-action-logo {
  position: relative;
  z-index: 1;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

.qaf-bottom-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
  border-radius: 14px;
  border: 1px solid rgba(235, 202, 112, 0.34);
  background:
    linear-gradient(145deg, rgba(135, 24, 38, 0.34), rgba(11, 13, 18, 0.86)),
    radial-gradient(circle at 50% 0%, rgba(255, 228, 156, 0.12), transparent 55%);
  color: #f8efd5;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 10px 22px rgba(0, 0, 0, 0.32);
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.qaf-bottom-action-btn--whatsapp {
  grid-column: 1;
}

.qaf-bottom-action-btn--chat {
  grid-column: 3;
  border-color: rgba(201, 162, 39, 0.52);
}

.qaf-bottom-action-logo {
  grid-column: 2;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  padding: 6px;
  border-radius: 50%;
  transform: translateY(-13px);
  border: 2px solid rgba(255, 230, 158, 0.72);
  background:
    radial-gradient(circle, rgba(255, 241, 194, 0.26), rgba(135, 24, 38, 0.18) 45%, rgba(8, 9, 12, 0.92) 78%),
    linear-gradient(145deg, rgba(255, 238, 176, 0.94), rgba(201, 162, 39, 0.46), rgba(135, 24, 38, 0.48));
  box-shadow:
    0 0 0 4px rgba(201, 162, 39, 0.1),
    0 0 28px rgba(255, 226, 150, 0.34),
    0 0 56px rgba(135, 24, 38, 0.34),
    0 18px 36px rgba(0, 0, 0, 0.48),
    inset 0 0 18px rgba(255, 232, 164, 0.14);
}

.qaf-bottom-action-logo__img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 12px rgba(255, 226, 150, 0.24));
}

.qaf-bottom-action-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 231, 164, 0.74);
  filter: brightness(1.05);
}

.qaf-bottom-action-logo:hover {
  transform: translateY(-16px);
  border-color: rgba(255, 231, 164, 0.86);
  filter: brightness(1.05);
}

.qaf-bottom-action-btn:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 28px rgba(0, 0, 0, 0.38),
    0 0 18px rgba(201, 162, 39, 0.22);
}

.qaf-bottom-action-logo:hover {
  box-shadow:
    0 0 0 4px rgba(201, 162, 39, 0.14),
    0 0 34px rgba(255, 226, 150, 0.46),
    0 0 68px rgba(135, 24, 38, 0.38),
    0 20px 40px rgba(0, 0, 0, 0.52),
    inset 0 0 18px rgba(255, 232, 164, 0.18);
}

@media (max-width: 380px) {
  .qaf-bottom-action-bar {
    gap: 7px;
    padding: 8px;
  }
  .qaf-bottom-action-btn {
    min-height: 40px;
    padding: 0 7px;
    font-size: 0.64rem;
  }
  .qaf-bottom-action-logo {
    width: 60px;
    height: 60px;
    padding: 5px;
  }
}

@media (min-width: 400px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    text-align: start;
    align-items: center;
  }
  .hero-grid .hero__title::after {
    margin: 12px 0 0 0;
  }
  [dir="rtl"] .hero-grid .hero__title::after {
    margin: 12px 0 0 auto;
  }
  .hero-right {
    min-height: 190px;
  }
}

/* ── QAF Royal System final consistency layer ── */
html,
body {
  background:
    radial-gradient(circle at 50% 0%, rgba(90, 16, 16, 0.32), transparent 44%),
    linear-gradient(180deg, var(--qaf-bg), #05060a);
  color: var(--qaf-text);
}

#app,
.policy-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(90, 16, 16, 0.22), transparent 42%),
    linear-gradient(180deg, #0a0b10, #07090f 42%, #090506);
}

.brand__digital,
.card__arrow,
.features__check,
.pkg-hero__kicker,
.pkg-hero__usdt,
.checkout-wallet__addr,
.sovereign__eyebrow,
.sovereign__seal,
.gov-beacon__eyebrow,
.gov-beacon__tags li,
.ideas-detect,
.quick-diag__badge,
.diag__kicker,
.diag__fix,
.legal-doc__updated,
.legal-nav__link,
.legal__back a,
.ai-select__desc,
.ai-select__opt-body span {
  color: var(--qaf-gold-soft);
}

.hero__title,
.result-price__amt,
.result__name,
.pkg-hero__title,
.sovereign__title,
.quick-diag__title,
.price__amt,
.ai-select__title,
.legal-doc__title {
  background: linear-gradient(135deg, var(--qaf-gold-soft), #fff7e6 42%, var(--qaf-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-header,
.qaf-bottom-action-bar {
  background:
    radial-gradient(circle at 50% 0%, rgba(139, 30, 22, 0.34), transparent 48%),
    linear-gradient(145deg, rgba(59, 7, 7, 0.98), rgba(7, 9, 15, 0.98));
  border-color: var(--qaf-border);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.5),
    0 0 34px rgba(139, 30, 22, 0.22),
    inset 0 1px 0 rgba(241, 210, 122, 0.16);
}

.panel,
.seg,
.card,
.answer,
.pain-card,
.idea-card,
.ideas-panel,
.checkout-panel,
.checkout-summary,
.result-block,
.diag-block,
.quick-q,
.price-strip,
.price,
.pkg-hero,
.pkg-body,
.waas-section,
.tier-card,
.sovereign,
.gov-beacon,
.service-cta-panel,
.policy-card,
.legal-doc {
  border-color: var(--qaf-border);
  background:
    radial-gradient(circle at 50% 0%, rgba(90, 16, 16, 0.22), transparent 58%) padding-box,
    linear-gradient(155deg, rgba(18, 8, 10, 0.96), rgba(9, 10, 15, 0.96)) padding-box,
    linear-gradient(135deg, rgba(214, 180, 90, 0.58), rgba(90, 16, 16, 0.7), rgba(214, 180, 90, 0.34)) border-box;
  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.36),
    0 0 30px rgba(139, 30, 22, 0.14),
    inset 0 1px 0 rgba(241, 210, 122, 0.08);
}

.seg,
.seg--government,
.seg--enterprise,
.seg--smb,
.seg--stores,
.seg--pros,
.seg--existing_site,
.seg--individuals,
.seg--guide {
  --accent: var(--qaf-gold);
  --gem-ring: linear-gradient(135deg, var(--qaf-gold), var(--qaf-burgundy-2) 56%, var(--qaf-gold-soft));
  --gem-inner: linear-gradient(165deg, rgba(90, 16, 16, 0.22), rgba(18, 8, 10, 0.96) 52%, rgba(214, 180, 90, 0.08));
  --seg-badge-grad: linear-gradient(135deg, var(--qaf-gold-soft), var(--qaf-gold));
}

.btn-main,
.btn-wa,
.btn-ghost,
.btn-text,
.lang__btn,
.legal-dropdown__btn,
.legal-header__home,
.gov-beacon__cta,
.qaf-bottom-action-btn,
.ai-select__btn,
.ai-select__opt,
.q-opt,
.chip,
.cur-chip,
.policy-actions .btn-ghost {
  border-color: var(--qaf-border);
  background:
    radial-gradient(circle at 50% 0%, rgba(241, 210, 122, 0.12), transparent 58%),
    linear-gradient(145deg, rgba(90, 16, 16, 0.86), rgba(12, 8, 10, 0.92));
  color: var(--qaf-text);
  box-shadow:
    inset 0 1px 0 rgba(241, 210, 122, 0.12),
    0 12px 26px rgba(0, 0, 0, 0.32),
    0 0 20px rgba(139, 30, 22, 0.16);
}

.btn-main,
.gov-beacon__cta,
.q-opt.is-on,
.chip.is-on,
.cur-chip.is-on,
.lang__code,
.seg__num,
.legal-nav__link.is-active,
.ai-select__opt--active:not(:disabled) {
  color: #16090a;
  background: linear-gradient(135deg, var(--qaf-gold-soft), var(--qaf-gold));
  border-color: rgba(241, 210, 122, 0.76);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--qaf-border);
  border-radius: var(--gem-r-pill);
  font-weight: 800;
  text-decoration: none;
}

.lang__menu,
.legal-dropdown__menu,
.ai-select__menu {
  background:
    radial-gradient(circle at 50% 0%, rgba(90, 16, 16, 0.24), transparent 54%),
    linear-gradient(160deg, #16090a, #08090f);
  border-color: var(--qaf-border);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.54),
    0 0 28px rgba(139, 30, 22, 0.2);
}

.lang-opt:hover,
.lang-opt.is-active,
.legal-dropdown__item:hover,
.legal-nav__link:hover,
.answer:hover,
.card:hover,
.pain-card:hover,
.q-opt:hover,
.chip:hover,
.ai-select__opt:hover:not(:disabled) {
  background: rgba(214, 180, 90, 0.12);
  color: var(--qaf-gold-soft);
  border-color: rgba(241, 210, 122, 0.62);
}

.progress__fill,
.sovereign__dot,
.checkout-network__badge {
  background: linear-gradient(135deg, var(--qaf-gold-soft), var(--qaf-gold));
  color: #16090a;
}

.tip,
.pkg-waas-core,
.gov-payment,
.sovereign__lane--you,
.result-price,
.checkout-panel--pay {
  border-color: var(--qaf-border);
  background: rgba(90, 16, 16, 0.18);
  color: var(--qaf-text);
}

.qaf-bottom-action-logo {
  border-color: rgba(241, 210, 122, 0.8);
  background:
    radial-gradient(circle, rgba(241, 210, 122, 0.28), rgba(90, 16, 16, 0.28) 48%, rgba(7, 9, 15, 0.96) 80%),
    linear-gradient(145deg, rgba(241, 210, 122, 0.94), rgba(214, 180, 90, 0.48), rgba(90, 16, 16, 0.52));
}

.site-footer,
.policy-footer {
  border-top-color: var(--qaf-border);
  background: transparent;
}

