/* ====================================================================
   THOR APT Scanner — cPanel static theme
   Dark security palette (emerald/teal) — RTL Persian
   ==================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --radius: 0.75rem;
  --container: 80rem;

  /* surfaces */
  --bg: #060a12;
  --bg-soft: #0b1320;
  --surface: #0f1a2c;
  --surface-2: #15243c;
  --border-c: #1c2d49;
  --border-soft: #15243c;

  /* text */
  --fg: #e8eef7;
  --fg-dim: #aebdd4;      /* brightened for readability of small labels */
  --fg-muted: #8898b0;    /* brightened: was #5e6f87 — too dark for small text */

  /* brand */
  --primary: #10b981;
  --primary-bright: #34d399;
  --primary-foreground: #04130d;
  --accent: #2dd4bf;
  --accent-bright: #5eead4;
  --warn: #f59e0b;
  --danger: #f43f5e;

  --ring: rgba(16, 185, 129, 0.33);
  --input-bg: #0b1320;

  /* fonts */
  --font-sans: "Vazirmatn", ui-sans-serif, system-ui, sans-serif;
  /* mono: Latin uses JetBrains Mono; Persian/Cyrillic chars fall back to Vazirmatn
     (browser picks per-glyph) so labels like «مدولار» / «تحلیل Eventlog» stay readable. */
  --font-mono: "JetBrains Mono", "Vazirmatn", ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
*::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: var(--primary);
  color: var(--primary-foreground);
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font-family: inherit; color: inherit; }

/* ---------- Page layout (footer sticks to bottom) ---------- */
.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

/* ---------- Containers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.container-narrow { max-width: 64rem; }
.container-order { max-width: 72rem; }
.container-faq { max-width: 48rem; }

/* ---------- Typography helpers ---------- */
.mono {
  font-family: var(--font-mono);
  /* readability for small latin mono labels (VALHALLA, THREATS FOUND, ...) */
  font-size: 0.95em;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* اعداد فارسی/عربی باید با Vazirmatn رندر شوند، نه فونت mono لاتین */
.num {
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "ss01", "ss02", "tnum";
  letter-spacing: 0;
}
.tracking { letter-spacing: 0.15em; }
.text-primary { color: var(--primary); }
.text-primary-bright { color: var(--primary-bright); }
.text-accent-bright { color: var(--accent-bright); }
.text-fg-dim { color: var(--fg-dim); }
.text-fg-muted { color: var(--fg-muted); }
.text-danger { color: var(--danger); }
.text-warn { color: var(--warn); }
.hide-sm { display: inline; }
@media (max-width: 640px) { .hide-sm { display: none !important; } }

.gradient-text {
  background: linear-gradient(120deg, var(--primary-bright), var(--accent-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.125rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
}
.btn svg { flex-shrink: 0; }
.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.8rem; }
.btn-lg { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-bright);
  border-color: var(--primary-bright);
  transform: translateY(-1px);
}
.btn-accent {
  background: var(--accent);
  color: var(--primary-foreground);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--fg);
  border-color: var(--border-c);
}
.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--primary);
  color: var(--primary-bright);
}

.btn-outline {
  background: rgba(15, 26, 44, 0.4);
  color: var(--fg);
  border-color: var(--border-c);
}
.btn-outline:hover {
  background: var(--surface);
  border-color: var(--primary);
}

.glow-soft { box-shadow: 0 0 40px -8px var(--primary); }
.glow-primary { box-shadow: 0 0 0 1px var(--primary), 0 0 24px -4px var(--primary); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  border: 1px solid var(--border-c);
}
.badge-tag {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.06);
  color: var(--primary-bright);
}
.badge-tag .dot-primary {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}
.badge-live {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.06);
  color: var(--primary-bright);
}
.ping-wrap {
  position: relative;
  display: inline-flex;
  width: 8px; height: 8px;
}
.ping-anim {
  position: absolute; inset: 0;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}
.ping-dot {
  position: relative; display: inline-flex;
  width: 8px; height: 8px;
  background: var(--primary-bright);
  border-radius: 50%;
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

/* ---------- Cards (generic) ---------- */
.card {
  background: rgba(15, 26, 44, 0.4);
  border: 1px solid var(--border-c);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: all 0.3s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 10, 18, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border-c);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}
.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--primary-bright);
}
.brand-sub {
  font-size: 0.7rem;
  color: var(--fg-dim);
}
.pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 0.5rem;
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70%  { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav-desktop a {
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: var(--fg-dim);
  transition: color 0.2s, background 0.2s;
}
.nav-desktop a:hover {
  color: var(--fg);
  background: rgba(15, 26, 44, 0.6);
}
/* Scroll spy active link */
.nav-desktop a.nav-active {
  color: var(--primary-bright);
}
.nav-desktop a.nav-active:hover {
  background: rgba(15, 26, 44, 0.6);
}
.nav-desktop a.nav-active::after {
  content: "";
  position: absolute;
  inset-inline: 0.5rem;
  bottom: 0.125rem;
  height: 2px;
  background: var(--primary-bright);
  border-radius: 9999px;
}
@media (min-width: 1024px) { .nav-desktop { display: flex; } }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-cta { display: none; }
@media (min-width: 640px) { .header-cta { display: inline-flex; } }

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-c);
  background: rgba(15, 26, 44, 0.6);
  color: var(--fg);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* ---------- Theme panel (color palette switcher) ---------- */
.header-theme-wrap {
  position: relative;
  display: none;
}
@media (min-width: 640px) { .header-theme-wrap { display: block; } }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-c);
  background: rgba(15, 26, 44, 0.6);
  color: var(--fg-dim);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.theme-toggle:hover {
  color: var(--fg);
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}
.theme-toggle[aria-expanded="true"] {
  color: var(--primary-bright);
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}

.theme-backdrop {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: transparent;
}
.theme-backdrop[hidden] { display: none; }

.theme-panel {
  position: absolute;
  top: 3.5rem;
  left: 0.5rem;
  z-index: 66;
  width: 18rem;
  border: 1px solid var(--border-c);
  background: var(--surface);
  border-radius: 0.75rem;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55), 0 8px 16px -8px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.theme-panel[hidden] { display: none; }
@keyframes theme-panel-in {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.theme-panel:not([hidden]) {
  animation: theme-panel-in 0.16s ease-out;
}

.theme-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-c);
  background: rgba(21, 36, 60, 0.6);
}
.theme-panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg);
}
.theme-panel-icon { color: var(--primary); flex-shrink: 0; }
.theme-panel-close {
  display: grid;
  place-items: center;
  width: 1.75rem; height: 1.75rem;
  border-radius: 0.375rem;
  border: 0;
  background: transparent;
  color: var(--fg-dim);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.theme-panel-close:hover {
  color: var(--fg);
  background: rgba(6, 10, 18, 0.6);
}

.theme-panel-body {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 20rem;
  overflow-y: auto;
}
.theme-panel-hint {
  font-size: 0.6875rem;
  color: var(--fg-muted);
  padding: 0 0.25rem 0.25rem;
}
.theme-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.theme-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.625rem;
  border: 1px solid var(--border-c);
  border-radius: 0.5rem;
  background: rgba(6, 10, 18, 0.4);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-family: inherit;
}
.theme-option:hover {
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
}
.theme-option.active {
  border-color: color-mix(in srgb, var(--primary) 50%, transparent);
  background: color-mix(in srgb, var(--primary) 5%, transparent);
}
.theme-option-info {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
}
.theme-swatch {
  display: flex;
  flex-shrink: 0;
}
.swatch {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 2px solid var(--bg);
  flex-shrink: 0;
}
.swatch-accent {
  margin-inline-start: -0.5rem;
}
.theme-option-name {
  font-size: 0.875rem;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.theme-option-check {
  flex-shrink: 0;
  color: var(--primary-bright);
  opacity: 0;
  transition: opacity 0.15s;
}
.theme-option.active .theme-option-check {
  opacity: 1;
}

.theme-panel-footer {
  padding: 0.625rem 1rem;
  border-top: 1px solid var(--border-c);
  background: rgba(6, 10, 18, 0.4);
}
.theme-panel-footer p {
  font-size: 0.625rem;
  line-height: 1.25rem;
  color: var(--fg-muted);
}

.mobile-menu {
  border-top: 1px solid var(--border-c);
  background: rgba(6, 10, 18, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1.5rem !important;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.75rem;
  border-radius: 0.5rem;
  color: var(--fg-dim);
  border: 1px solid transparent;
  font-size: 0.9rem;
}
.mobile-nav a:hover {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border-c);
}
.mobile-nav .btn { margin-top: 0.5rem; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Section base ---------- */
.section {
  padding: 5rem 0;
  position: relative;
}
@media (min-width: 640px) { .section { padding: 7rem 0; } }
.section-alt {
  background: rgba(11, 19, 32, 0.4);
  border-top: 1px solid var(--border-c);
  border-bottom: 1px solid var(--border-c);
}

.section-head {
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-top: 1rem;
  text-wrap: balance;
}
@media (min-width: 640px) {
  .section-title { font-size: 1.875rem; }
}
@media (min-width: 1024px) {
  .section-title { font-size: 2.25rem; }
}
.section-desc {
  margin-top: 1rem;
  color: var(--fg-dim);
  line-height: 2;
  text-wrap: pretty;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
}
@media (min-width: 640px) { .hero { padding: 6rem 0 7rem; } }
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--border-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-soft) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: 0.6;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero-glow-1 {
  top: -10rem;
  right: 50%;
  transform: translateX(50%);
  width: 42.5rem; height: 30rem;
  background: rgba(16, 185, 129, 0.15);
}
.hero-glow-2 {
  top: 5rem;
  left: -5rem;
  width: 18rem; height: 18rem;
  background: rgba(45, 212, 191, 0.1);
  filter: blur(100px);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.hero-copy {
  text-align: center;
}
@media (min-width: 1024px) { .hero-copy { text-align: right; } }

.hero-title {
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.15;
  text-wrap: balance;
  margin-top: 1.25rem;
}
@media (min-width: 640px) { .hero-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3rem; } }

.hero-lead {
  margin-top: 1.25rem;
  font-size: 1rem;
  color: var(--fg-dim);
  line-height: 2;
  max-width: 36rem;
  margin-inline: auto;
  text-wrap: pretty;
}
@media (min-width: 1024px) {
  .hero-lead { margin-inline: 0; font-size: 1.125rem; }
}
.hero-lead strong { color: var(--fg); font-weight: 600; }

.hero-cta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}
@media (min-width: 640px) {
  .hero-cta { flex-direction: row; }
}
@media (min-width: 1024px) { .hero-cta { justify-content: flex-start; } }

.hero-chips {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.25rem;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
@media (min-width: 1024px) { .hero-chips { justify-content: flex-start; } }
.hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}
.hero-chips svg { color: var(--primary); }

/* terminal */
.hero-terminal-wrap {
  position: relative;
}
.terminal-glow {
  position: absolute;
  inset: -0.75rem;
  background: linear-gradient(to top right, rgba(16, 185, 129, 0.2), rgba(45, 212, 191, 0.1), transparent);
  border-radius: 1rem;
  filter: blur(16px);
}
.terminal {
  position: relative;
  border: 1px solid var(--border-c);
  background: #070d18;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.1);
  /* Terminal content (commands, paths, logs) is LTR even on the RTL page */
  direction: ltr;
  text-align: left;
}
.terminal-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-c);
  padding: 0.625rem 1rem;
  background: rgba(15, 26, 44, 0.6);
}
.term-dot {
  width: 0.75rem; height: 0.75rem;
  border-radius: 50%;
  display: inline-block;
}
.dot-danger { background: rgba(244, 63, 94, 0.8); }
.dot-warn   { background: rgba(245, 158, 11, 0.8); }
.dot-primary{ background: rgba(16, 185, 129, 0.8); }
.term-title {
  margin-inline-start: 0.5rem;
  font-size: 0.825rem;
  color: var(--fg-dim);
}
.terminal-body {
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.7;
  min-height: 260px;
  position: relative;
}
@media (min-width: 640px) { .terminal-body { font-size: 0.825rem; } }
.scanline {
  background-image: repeating-linear-gradient(
    0deg,
    transparent, transparent 2px,
    rgba(16, 185, 129, 0.06) 2px,
    rgba(16, 185, 129, 0.06) 4px
  );
}
.term-line {
  word-break: break-all;
  white-space: pre-wrap;
}

.terminal-badge {
  position: absolute;
  bottom: -1rem;
  right: -0.75rem;
  border: 1px solid rgba(244, 63, 94, 0.4);
  background: rgba(6, 10, 18, 0.9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}
@media (min-width: 640px) {
  .terminal-badge { right: -1.25rem; }
}
.terminal-badge svg { color: var(--danger); }
.term-badge-label {
  font-size: 0.8rem;
  color: var(--fg-muted);
}
.term-badge-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--danger);
}

/* stats grid */
.stats-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
.stat-card {
  position: relative;
  border: 1px solid var(--border-c);
  background: rgba(15, 26, 44, 0.5);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
  overflow: hidden;
}
@media (min-width: 640px) { .stat-card { padding: 1.25rem; } }
.stat-line {
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(16, 185, 129, 0.5), transparent);
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-bright);
}
@media (min-width: 640px) { .stat-value { font-size: 1.875rem; } }
.stat-label {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--fg);
}
.stat-sub {
  font-size: 0.825rem;
  color: var(--fg-muted);
}

/* ---------- Ticker ---------- */
.ticker-section {
  border-top: 1px solid var(--border-c);
  border-bottom: 1px solid var(--border-c);
  background: rgba(11, 19, 32, 0.6);
  padding: 1rem 0;
  overflow: hidden;
}
.ticker-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.ticker-label {
  flex-shrink: 0;
  font-size: 0.7rem;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
}
.ticker-viewport {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  animation: ticker 30s linear infinite;
}
.ticker-chip {
  flex-shrink: 0;
  border: 1px solid var(--border-c);
  background: rgba(15, 26, 44, 0.5);
  border-radius: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.85rem;
  color: var(--fg-dim);
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(50%); }  /* RTL: scroll left */
}

/* ---------- Overview cards ---------- */
.card-overview {
  height: 100%;
  background: rgba(15, 26, 44, 0.4);
  border: 1px solid var(--border-c);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  transition: all 0.3s ease;
}
.card-overview:hover {
  border-color: rgba(16, 185, 129, 0.4);
  background: var(--surface);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--primary-bright);
  transition: transform 0.3s ease;
}
.card-overview:hover .card-icon {
  transform: scale(1.1);
}
.card-overview h3 {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fg);
}
.card-overview p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 1.85;
}

/* ---------- Features ---------- */
.card-feature {
  height: 100%;
  background: rgba(15, 26, 44, 0.5);
  border: 1px solid var(--border-c);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: border-color 0.2s ease;
}
.card-feature:hover { border-color: rgba(16, 185, 129, 0.4); }
.feature-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 0.375rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-bright);
}
.feature-head h3 {
  font-size: 1rem;
  font-weight: 700;
}
.card-feature p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 1.85;
}

/* ---------- Detections ---------- */
.card-detection {
  height: 100%;
  background: rgba(15, 26, 44, 0.4);
  border: 1px solid var(--border-c);
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: border-color 0.2s ease;
}
.card-detection:hover { border-color: rgba(16, 185, 129, 0.3); }
.detection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.detection-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.detection-title h3 {
  font-size: 1rem;
  font-weight: 700;
}
.detection-name {
  margin-top: 0.25rem;
  font-size: 0.7rem;
  color: var(--fg-muted);
}
.card-detection p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 1.85;
}
.severity {
  border-radius: 0.375rem;
  padding: 0.125rem 0.5rem;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  border: 1px solid;
  white-space: nowrap;
}
.severity-critical { border-color: rgba(244, 63, 94, 0.4); color: var(--danger); background: rgba(244, 63, 94, 0.1); }
.severity-high     { border-color: rgba(245, 158, 11, 0.4); color: var(--warn);   background: rgba(245, 158, 11, 0.1); }
.severity-medium   { border-color: rgba(45, 212, 191, 0.4); color: var(--accent-bright); background: rgba(45, 212, 191, 0.1); }

/* ---------- Comparison ---------- */
.compare-table {
  border: 1px solid var(--border-c);
  background: rgba(15, 26, 44, 0.4);
  border-radius: 1rem;
  overflow: hidden;
}
.compare-header {
  display: grid;
  grid-template-columns: 7fr 2fr 3fr;
  background: rgba(21, 36, 60, 0.6);
  border-bottom: 1px solid var(--border-c);
}
.compare-header > div {
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg-dim);
  text-align: center;
}
.compare-header .compare-col-feature { text-align: right; }
.compare-header .compare-col-thor {
  color: var(--primary-bright);
  background: rgba(16, 185, 129, 0.05);
}
.compare-row {
  display: grid;
  grid-template-columns: 7fr 2fr 3fr;
  border-top: 1px solid var(--border-c);
  transition: background 0.15s;
}
.compare-row:hover { background: rgba(15, 26, 44, 0.5); }
.compare-row > div {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
}
@media (min-width: 640px) { .compare-row > div { padding: 1rem; } }
.compare-col-feature {
  color: var(--fg);
  gap: 0.5rem;
}
.compare-col-av {
  justify-content: center;
  color: var(--fg-dim);
  gap: 0.25rem;
  font-size: 0.75rem;
}
.compare-col-av svg { color: rgba(244, 63, 94, 0.7); }
.compare-col-thor {
  justify-content: center;
  color: var(--primary-bright);
  background: rgba(16, 185, 129, 0.05);
  gap: 0.25rem;
  font-size: 0.75rem;
}
@media (min-width: 640px) {
  .compare-col-av, .compare-col-thor { font-size: 0.875rem; }
}
.compare-footnote {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ---------- Comparison Radar chart ---------- */
.radar-card {
  margin-top: 2rem;
  border: 1px solid var(--border-c);
  background: rgba(15, 26, 44, 0.3);
  border-radius: 1rem;
  padding: 1.25rem;
}
@media (min-width: 640px) { .radar-card { padding: 1.5rem; } }
.radar-title {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg-dim);
  margin-bottom: 1.25rem;
}
.radar-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .radar-wrap { grid-template-columns: 1fr 1fr; }
}
.radar-chart-wrap {
  display: flex;
  justify-content: center;
}
.radar-svg {
  width: 100%;
  max-width: 24rem;
  height: auto;
  display: block;
}
.radar-axis-label {
  fill: var(--fg-dim);
}
.radar-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.radar-legend {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.radar-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-dim);
}
.radar-legend-item:first-child {
  color: var(--fg);
}
.radar-legend-sw {
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 0.125rem;
  flex-shrink: 0;
}
.radar-legend-thor {
  background: var(--primary-bright);
}
.radar-legend-av-sw {
  background: color-mix(in srgb, var(--danger) 20%, transparent);
  border: 1px solid var(--danger);
}
.radar-bars {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.radar-bar {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.radar-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.75rem;
}
.radar-bar-label {
  color: var(--fg-dim);
}
.radar-bar-value {
  font-weight: 700;
}
.radar-bar-value .text-fg-muted {
  font-weight: 400;
}
.radar-bar-track {
  position: relative;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--surface-2);
  overflow: hidden;
}
.radar-bar-fill-av,
.radar-bar-fill-thor {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  border-radius: 9999px;
}
.radar-bar-fill-av {
  background: color-mix(in srgb, var(--danger) 40%, transparent);
}
.radar-bar-fill-thor {
  background: var(--primary-bright);
  opacity: 0.85;
}
.radar-footnote {
  font-size: 0.6875rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ---------- License vs Crack (SEO) ---------- */
.lvc-section {
  position: relative;
  padding: 5rem 0;
  background: rgba(11, 19, 32, 0.4);
  border-top: 1px solid var(--border-c);
  border-bottom: 1px solid var(--border-c);
  overflow: hidden;
}
@media (min-width: 640px) { .lvc-section { padding: 7rem 0; } }
.lvc-glow {
  position: absolute;
  width: 18rem; height: 18rem;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.lvc-glow-danger {
  top: 25%;
  left: 0;
  background: rgba(244, 63, 94, 0.1);
}
.lvc-glow-primary {
  bottom: 25%;
  right: 0;
  background: rgba(16, 185, 129, 0.1);
}
.lvc-inner { position: relative; }

.lvc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .lvc-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

.lvc-card {
  height: 100%;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid;
}
@media (min-width: 640px) { .lvc-card { padding: 1.75rem; } }
.lvc-card-risks {
  border-color: rgba(244, 63, 94, 0.3);
  background: rgba(244, 63, 94, 0.05);
}
.lvc-card-benefits {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}
.lvc-card-head {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}
.lvc-card-headicon {
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid;
}
.lvc-card-headicon-danger {
  background: rgba(244, 63, 94, 0.15);
  border-color: rgba(244, 63, 94, 0.3);
  color: var(--danger);
}
.lvc-card-headicon-primary {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--primary-bright);
}
.lvc-card-head h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--fg);
}
.lvc-items { display: flex; flex-direction: column; gap: 1rem; }
.lvc-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.lvc-item-icon {
  display: grid;
  place-items: center;
  width: 2rem; height: 2rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  border-radius: 0.375rem;
}
.lvc-item-icon-danger {
  background: rgba(244, 63, 94, 0.1);
  color: var(--danger);
}
.lvc-item-icon-primary {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary-bright);
}
.lvc-item-title {
  font-weight: 700;
  color: var(--fg);
}
.lvc-item-desc {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 1.85;
}

.lvc-alternatives {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) { .lvc-alternatives { grid-template-columns: 1fr 1fr; } }
.lvc-alt-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border-c);
  background: rgba(15, 26, 44, 0.4);
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.lvc-alt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.lvc-alt-head h4 {
  font-weight: 700;
  color: var(--fg);
}
.lvc-alt-badge {
  font-size: 0.75rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
  color: var(--primary-bright);
  border-radius: 0.375rem;
  padding: 0.125rem 0.5rem;
  white-space: nowrap;
}
.lvc-alt-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 1.85;
  flex: 1;
}
.lvc-alt-cta { margin-top: 1rem; }

.lvc-keyword-cloud {
  margin-top: 2.5rem;
  border: 1px solid var(--border-c);
  background: rgba(15, 26, 44, 0.3);
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.lvc-keyword-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  margin-bottom: 0.75rem;
}
.lvc-keyword-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.lvc-pill {
  border: 1px solid var(--border-c);
  background: rgba(6, 10, 18, 0.4);
  color: var(--fg-dim);
  font-size: 0.75rem;
  border-radius: 0.375rem;
  padding: 0.25rem 0.625rem;
  transition: all 0.2s;
}
.lvc-pill:hover {
  color: var(--primary-bright);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}

/* --- Original vs Our Crack: accent (crack) card --- */
.lvc-card-crack {
  border-color: rgba(45, 212, 191, 0.3);
  background: rgba(45, 212, 191, 0.05);
}
.lvc-card-headicon-accent {
  background: rgba(45, 212, 191, 0.15);
  border-color: rgba(45, 212, 191, 0.3);
  color: var(--accent-bright);
}
.lvc-item-icon-accent {
  background: rgba(45, 212, 191, 0.1);
  color: var(--accent-bright);
}

/* --- Original vs Our Crack: comparison table --- */
.lvc-cmp-table {
  margin-top: 2.5rem;
  border: 1px solid var(--border-c);
  background: rgba(15, 26, 44, 0.4);
  border-radius: 1rem;
  overflow: hidden;
}
.lvc-cmp-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  background: rgba(21, 36, 60, 0.6);
  border-bottom: 1px solid var(--border-c);
}
.lvc-cmp-header > div {
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg-dim);
  text-align: center;
}
.lvc-cmp-header .lvc-cmp-col-feature { text-align: right; }
.lvc-cmp-header .lvc-cmp-col-original {
  color: var(--primary-bright);
  background: rgba(16, 185, 129, 0.06);
}
.lvc-cmp-header .lvc-cmp-col-crack {
  color: var(--accent-bright);
  background: rgba(45, 212, 191, 0.06);
}
.lvc-cmp-rows { display: flex; flex-direction: column; }
.lvc-cmp-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-top: 1px solid var(--border-c);
  transition: background 0.15s;
}
.lvc-cmp-row:hover { background: rgba(15, 26, 44, 0.5); }
.lvc-cmp-row > div {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.lvc-cmp-col-feature {
  color: var(--fg);
}
.lvc-cmp-col-original {
  justify-content: center;
  color: var(--primary-bright);
  background: rgba(16, 185, 129, 0.04);
}
.lvc-cmp-col-crack {
  justify-content: center;
  color: var(--accent-bright);
  background: rgba(45, 212, 191, 0.04);
}
.lvc-cmp-row .lvc-cmp-warn { color: var(--warn); }
.lvc-cmp-row .lvc-cmp-no { color: rgba(244, 63, 94, 0.8); }

/* --- Original vs Our Crack: warning card --- */
.lvc-warn-card {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 1px solid rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.06);
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.lvc-warn-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--warn);
}
.lvc-warn-title {
  font-weight: 700;
  color: var(--warn);
  margin-bottom: 0.25rem;
}
.lvc-warn-desc {
  font-size: 0.9rem;
  color: var(--fg-dim);
  line-height: 1.85;
}
.lvc-footnote {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* ---------- Pricing ---------- */
.pricing-section { position: relative; }
.pricing-glow {
  position: absolute;
  top: 33%;
  right: 0;
  width: 18rem; height: 18rem;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  filter: blur(120px);
  pointer-events: none;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (min-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}
.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-c);
  background: rgba(15, 26, 44, 0.4);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}
.pricing-card:hover { border-color: rgba(16, 185, 129, 0.3); }
.pricing-card-popular {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(15, 26, 44, 0.7);
  box-shadow: 0 0 40px -8px var(--primary);
}
@media (min-width: 1024px) {
  .pricing-card-popular { transform: translateY(-0.5rem); }
}
.popular-badge {
  position: absolute;
  top: -0.75rem;
  right: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border-radius: 0.5rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.pricing-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pricing-top h3 {
  font-size: 1.25rem;
  font-weight: 900;
}
.pricing-discount {
  border: 1px solid var(--border-c);
  background: rgba(6, 10, 18, 0.6);
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.7rem;
  color: var(--fg-dim);
}
.pricing-range {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--fg-dim);
}
.pricing-price {
  margin-top: 1.25rem;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
}
.pricing-amount {
  font-size: 2.25rem;
  font-weight: 900;
}
.pricing-period {
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.pricing-note {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.pricing-divider {
  margin: 1.25rem 0;
  height: 1px;
  background: var(--border-c);
}
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-dim);
}
.pricing-features svg {
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: var(--primary);
}
.pricing-cta { margin-top: 1.5rem; }
.pricing-footnote {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--fg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ---------------- Pricing group headings (crack vs original) ---------------- */
.pricing-group-head {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}
.pricing-group-head:first-of-type { margin-top: 1rem; }
.pricing-group-head-second { margin-top: 4rem; }
.pricing-group-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid;
}
.pricing-group-badge-accent {
  background: rgba(45, 212, 191, 0.1);
  border-color: rgba(45, 212, 191, 0.3);
  color: var(--accent-bright);
}
.pricing-group-badge-primary {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: var(--primary-bright);
}
.pricing-group-title {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--fg);
}
.pricing-group-sub {
  margin-top: 0.5rem;
  max-width: 42rem;
  margin-inline: auto;
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 1.8;
}

/* crack cards get an accent tint */
.pricing-grid-crack .pricing-card { border-color: rgba(45, 212, 191, 0.2); }
.pricing-grid-crack .pricing-card:hover { border-color: rgba(45, 212, 191, 0.4); }
.pricing-grid-crack .pricing-card-popular {
  border-color: rgba(45, 212, 191, 0.5);
  box-shadow: 0 0 40px -8px var(--accent);
}
.pricing-grid-crack .pricing-features svg { color: var(--accent); }

/* ASGARD add-on note */
.pricing-addon-note {
  margin-top: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: 0.625rem;
  border: 1px solid rgba(45, 212, 191, 0.25);
  background: rgba(45, 212, 191, 0.05);
  font-size: 0.8rem;
  color: var(--fg-dim);
  line-height: 1.75;
}
.pricing-addon-note svg {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 0.125rem;
}

/* Original license quote card */
.pricing-quote-card {
  margin-top: 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.04);
  border-radius: 1rem;
  padding: 1.75rem;
}
@media (min-width: 640px) { .pricing-quote-card { padding: 2rem; } }
.pricing-quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .pricing-quote-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
.pricing-quote-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.pricing-quote-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 0.625rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--primary-bright);
}
.pricing-quote-label {
  font-weight: 700;
  color: var(--fg);
}
.pricing-quote-desc {
  margin-top: 0.25rem;
  font-size: 0.825rem;
  color: var(--fg-dim);
  line-height: 1.75;
}
.pricing-quote-cta {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.pricing-quote-price {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.pricing-quote-amount {
  font-size: 1.5rem;
  font-weight: 800;
}
.pricing-quote-hint {
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ---------- Order form ---------- */
.order-section { position: relative; }
.order-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 37.5rem; height: 18rem;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  filter: blur(120px);
  pointer-events: none;
}
.order-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .order-form { grid-template-columns: 3fr 2fr; }
}
.order-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(15, 26, 44, 0.4);
  border: 1px solid var(--border-c);
  border-radius: 1rem;
  padding: 1.5rem;
}
.card-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--fg-dim);
}
.field { display: flex; flex-direction: column; }
.field-label {
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
}
.grid-span-2 { grid-column: 1 / -1; }

/* selectable radio cards (request type) */
.radio-cards { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .radio-cards { grid-template-columns: 1fr 1fr; } }
.radio-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--border-c);
  background: rgba(6, 10, 18, 0.4);
  border-radius: 0.5rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}
.radio-card:hover { border-color: rgba(16, 185, 129, 0.3); }
.radio-card input {
  margin-top: 0.125rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.radio-card:has(input:checked) {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.05);
}
.radio-card-title {
  font-size: 0.875rem;
  font-weight: 600;
}
.radio-card-desc {
  font-size: 0.75rem;
  color: var(--fg-muted);
}
/* Disabled radio card (e.g. ASGARD option below 50 licenses) */
.radio-card.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.6);
}
.radio-card.is-disabled:hover { border-color: var(--border-c); }
.radio-card.is-disabled input { cursor: not-allowed; }

/* Field hint (small note under a field) */
.field-hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--warn);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.field-hint::before {
  content: "";
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--warn);
  flex-shrink: 0;
}

/* select / input / textarea */
.select, .input, .textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border-c);
  border-radius: 0.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 0.875rem;
  color: var(--fg);
  transition: all 0.15s;
  outline: none;
}
.select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238fa0ba' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.75rem center;
  padding-left: 2rem;
  /* Ensure option text isn't clipped by native indicator in RTL dropdowns */
  text-overflow: ellipsis;
}
.select option {
  padding: 0.25rem 0.5rem;
  color: #1a1a1a;
  background: #fff;
}
.select:focus, .input:focus, .textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--ring);
}
.input-ltr { text-align: left; direction: ltr; }
.textarea { min-height: 90px; resize: vertical; }

/* duration radio cards */
.duration-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.duration-card {
  border: 1px solid var(--border-c);
  background: rgba(6, 10, 18, 0.4);
  border-radius: 0.5rem;
  padding: 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.duration-card:hover { border-color: rgba(16, 185, 129, 0.3); }
.duration-card input { position: absolute; opacity: 0; pointer-events: none; }
.duration-card:has(input:checked) {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.05);
}
.duration-title {
  font-size: 0.875rem;
  font-weight: 600;
}
.duration-discount {
  margin-top: 0.125rem;
  font-size: 0.7rem;
  color: var(--primary-bright);
}

/* platform checkboxes */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.platform-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--border-c);
  background: rgba(6, 10, 18, 0.4);
  border-radius: 0.5rem;
  padding: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.platform-card:hover { border-color: rgba(16, 185, 129, 0.3); }
.platform-card input { position: absolute; opacity: 0; pointer-events: none; }
.platform-check {
  display: grid;
  place-items: center;
  width: 1rem; height: 1rem;
  border: 1px solid var(--border-c);
  border-radius: 0.25rem;
  color: transparent;
  transition: all 0.15s;
}
.platform-card:has(input:checked) {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.05);
  color: var(--primary-bright);
}
.platform-card:has(input:checked) .platform-check {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

/* divider */
.divider { height: 1px; background: var(--border-c); margin: 0; }

/* honeypot (visually hidden but reachable) */
.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.honeypot input { width: 1px; height: 1px; }

/* consent */
.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--border-c);
  background: rgba(6, 10, 18, 0.4);
  border-radius: 0.5rem;
  padding: 0.75rem;
  cursor: pointer;
}
.consent-row input { position: absolute; opacity: 0; pointer-events: none; }
.consent-box {
  display: grid;
  place-items: center;
  width: 1.125rem; height: 1.125rem;
  border: 1px solid var(--border-c);
  border-radius: 0.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: transparent;
  transition: all 0.15s;
}
.consent-row:has(input:checked) .consent-box {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}
.consent-text {
  font-size: 0.75rem;
  color: var(--fg-dim);
  line-height: 1.75;
}

.field-error {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--danger);
  min-height: 0;
}
.field-error:empty { display: none; }

/* summary column */
.order-summary-wrap { }
.order-summary {
  background: rgba(15, 26, 44, 0.6);
  border: 1px solid var(--border-c);
  border-radius: 1rem;
  padding: 1.5rem;
  position: sticky;
  top: 5rem;
}
.summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}
.summary-list > div {
  display: flex;
  justify-content: space-between;
}
.summary-list dt { color: var(--fg-dim); }
.summary-list dd { font-weight: 500; }
.summary-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.summary-total > span:first-child { font-size: 0.875rem; color: var(--fg-dim); }
.summary-total-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-bright);
}
.summary-per-license {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.summary-submit {
  margin-top: 1.25rem;
  position: relative;
}
.summary-submit[disabled] {
  opacity: 0.7;
  cursor: wait;
}
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(4, 19, 13, 0.3);
  border-top-color: var(--primary-foreground);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.summary-secure {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.7rem;
  color: var(--fg-muted);
}

/* success panel */
.order-success {
  max-width: 42rem;
  margin: 0 auto;
  border: 1px solid rgba(16, 185, 129, 0.4);
  background: rgba(15, 26, 44, 0.6);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}
.success-icon {
  width: 4rem; height: 4rem;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--primary-bright);
}
.order-success h3 {
  margin-top: 1.25rem;
  font-size: 1.5rem;
  font-weight: 900;
}
.success-lead {
  margin-top: 0.5rem;
  color: var(--fg-dim);
}
.success-box {
  margin-top: 1.25rem;
  border: 1px solid var(--border-c);
  background: rgba(6, 10, 18, 0.6);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: right;
}
.success-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}
.success-row > span:first-child { color: var(--fg-dim); }
.success-total {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-bright);
}
.success-note {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.order-success .btn { margin-top: 1.5rem; }

/* toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-2);
  border: 1px solid var(--border-c);
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.4);
  z-index: 100;
  max-width: 32rem;
  text-align: center;
}
.toast.toast-error { border-color: rgba(244, 63, 94, 0.5); color: var(--danger); }
.toast.toast-success { border-color: rgba(16, 185, 129, 0.5); color: var(--primary-bright); }

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  border: 1px solid var(--border-c);
  background: rgba(15, 26, 44, 0.4);
  border-radius: 0.75rem;
  overflow: hidden;
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem;
  text-align: right;
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  transition: background 0.15s;
}
.faq-trigger:hover { background: rgba(15, 26, 44, 0.6); }
.faq-chevron {
  flex-shrink: 0;
  color: var(--fg-dim);
  transition: transform 0.25s ease;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-content-inner {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 2;
}

/* ---------- CTA band ---------- */
.cta-band-section { padding: 4rem 0; }
.cta-band {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 185, 129, 0.3);
  background: linear-gradient(to left, rgba(16, 185, 129, 0.1), var(--surface), var(--surface));
  border-radius: 1rem;
  padding: 2rem 2.5rem;
  text-align: center;
}
@media (min-width: 640px) { .cta-band { padding: 2.5rem; } }
.cta-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--border-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-soft) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 30%, transparent 75%);
  opacity: 0.3;
  pointer-events: none;
}
.cta-content { position: relative; }
.cta-content h2 {
  font-size: 1.5rem;
  font-weight: 900;
  text-wrap: balance;
}
@media (min-width: 640px) { .cta-content h2 { font-size: 1.875rem; } }
.cta-content p {
  margin-top: 0.75rem;
  color: var(--fg-dim);
  max-width: 36rem;
  margin-inline: auto;
}
.cta-content .btn { margin-top: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--border-c);
  background: rgba(11, 19, 32, 0.6);
}
.footer-inner {
  padding: 2.5rem 1rem 1.5rem;
}
@media (min-width: 640px) { .footer-inner { padding: 2.5rem 1.5rem 1.5rem; } }
@media (min-width: 1024px) { .footer-inner { padding: 2.5rem 2rem 1.5rem; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-brand .brand { margin-bottom: 1rem; }
.footer-desc {
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 1.85;
  max-width: 28rem;
}
.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; }
.footer-col a {
  color: var(--fg-dim);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--primary-bright); }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-c);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; text-align: right; }
  .footer-bottom p:last-child { text-align: left; }
}

/* ---------- Reveal-on-scroll animation ---------- */
.reveal { opacity: 0; }
.reveal.in {
  animation: fade-up 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; animation: none !important; }
  .ticker-track, .ping-anim, .pulse-ring, .blink, .spinner { animation: none !important; }
}

/* ---------- blink ---------- */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.2; }
}
.blink { animation: blink 1.4s ease-in-out infinite; }

/* ---------- Custom scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb {
  background: var(--surface-2);
  border-radius: 8px;
  border: 2px solid var(--bg-soft);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ---------- number input: hide spinners ---------- */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] { -moz-appearance: textfield; }

/* ---------- :has() fallback for older browsers ---------- */
@supports not (selector(:has(*))) {
  .radio-card input:checked ~ .radio-card-body { color: var(--primary-bright); }
}

/* ====================================================================
   v2 additions — mirror Next.js preview improvements
   ==================================================================== */

/* ---------------- Scroll progress bar ---------------- */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  z-index: 60;
  background: linear-gradient(90deg, var(--primary), var(--accent-bright));
  box-shadow: 0 0 12px -2px var(--primary);
  transition: width 0.1s ease-out;
  pointer-events: none;
  width: 0%;
}

/* ---------------- Back to top ---------------- */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  border: 1px solid var(--primary);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--primary-bright);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.6), 0 0 0 1px var(--primary) inset;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* ---------------- Pricing hover gradient border ---------------- */
/* .pricing-card already has position: relative from existing rules */
.pricing-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--primary), transparent 40%, transparent 60%, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.pricing-card:hover::before {
  opacity: 1;
}

/* ---------------- Currency toggle ---------------- */
.currency-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  border-radius: 0.625rem;
  border: 1px solid var(--border-c);
  background: var(--surface);
}
.currency-toggle button {
  padding: 0.375rem 0.875rem;
  border-radius: 0.4rem;
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--fg-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.currency-toggle button.active {
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 0 0 1px var(--primary);
}
.currency-toggle button:not(.active):hover {
  color: var(--fg);
  background: var(--surface-2);
}

/* ---------------- Savings badge ---------------- */
.savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.4rem;
  font-size: 0.6875rem;
  font-weight: 700;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  color: var(--primary-bright);
}

/* ---------------- Tier badge (active tier indicator) ---------------- */
.tier-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  color: var(--primary-bright);
}

/* ---------------- Count-up stat card hover ---------------- */
.stat-card {
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 40%, var(--border-c));
}

/* ---------------- Tier slider layout helpers ---------------- */
.tier-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.tier-row-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.tier-qty-input {
  width: 6rem;
}
.tier-range-helper {
  font-size: 0.75rem;
  color: var(--fg-muted);
}
@media (max-width: 480px) {
  .tier-qty-input { width: 5rem; }
  .tier-range-helper { font-size: 0.7rem; }
}

/* ---------------- Currency toggle wrapper ---------------- */
.currency-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

/* ---------------- Pricing savings badge container ---------------- */
.pricing-savings {
  margin-top: 0.75rem;
}
.pricing-savings[hidden] { display: none; }

/* IRT price uses smaller font since it's longer */
.pricing-amount.num {
  font-size: 1.875rem;
  line-height: 1.25;
}

/* ---------------- Summary savings + IRT rows ---------------- */
.summary-savings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
}
.summary-savings-row[hidden] { display: none; }
.summary-savings-row > span:first-child {
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.summary-irt-row {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.summary-irt-row .num { color: var(--fg-dim); }

/* ---------------- Live price breakdown (brackets + discounts + ASGARD) ---------------- */
.summary-breakdown {
  margin-top: 0.85rem;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  background: rgba(127, 127, 160, 0.07);
  border: 1px solid rgba(127, 127, 160, 0.16);
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}
.summary-breakdown[hidden] { display: none; }
.summary-breakdown .bd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.72rem;
  line-height: 1.5;
}
.summary-breakdown .bd-label {
  color: var(--fg-muted);
  text-align: start;
}
.summary-breakdown .bd-value {
  color: var(--fg-dim);
  white-space: nowrap;
}
/* sub-totals (base / multi-year / asgard) */
.summary-breakdown .bd-row.bd-sub .bd-value { color: var(--fg-dim); }
.summary-breakdown .bd-row.bd-sub { padding-top: 0.1rem; }
/* bracket rows get a subtle separator after them only on the first one */
.summary-breakdown .bd-total {
  margin-top: 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(127, 127, 160, 0.28);
  font-size: 0.82rem;
  font-weight: 700;
}
.summary-breakdown .bd-total .bd-label { color: var(--fg); }
.summary-breakdown .bd-total .bd-value { color: var(--accent, #4ade80); }

/* ---------------- Quote notice (original license needs vendor quote) ---------------- */
.summary-quote-notice,
.confirm-quote-notice,
.success-quote-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(45, 212, 191, 0.25);
  background: rgba(45, 212, 191, 0.06);
  font-size: 0.75rem;
  color: var(--accent-bright);
  line-height: 1.7;
}
.summary-quote-notice svg,
.success-quote-notice svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--accent);
}

/* ---------------- Success savings + IRT rows ---------------- */
.success-savings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
.success-savings-row[hidden] { display: none; }
.success-savings-row > span:first-child {
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.success-irt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}
.success-irt-row > span:first-child { color: var(--fg-dim); }
.success-irt-row .num { color: var(--fg-dim); }

/* ====================================================================
   v3 additions: Setup timeline, focus-visible, reduced-motion, modal
   ==================================================================== */

/* ---------------- Setup timeline ---------------- */
.setup-section { position: relative; }

.setup-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  max-width: 90vw;
  height: 18rem;
  border-radius: 9999px;
  background: rgba(45, 212, 191, 0.08);
  filter: blur(120px);
  pointer-events: none;
}

.setup-timeline-wrap { position: relative; }

.setup-line { display: none; }
@media (min-width: 1024px) {
  .setup-line { display: block; }
}

.setup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .setup-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.timeline-cell { position: relative; }

.timeline-card {
  position: relative;
  height: 100%;
  border-radius: 1rem;
  border: 1px solid var(--border-c);
  background: rgba(15, 26, 44, 0.4);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.timeline-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border-c));
  box-shadow: 0 12px 32px -12px color-mix(in srgb, var(--primary) 30%, transparent);
}

.timeline-icon-badge {
  position: relative;
  margin: 0 auto 1rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--bg);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  display: grid;
  place-items: center;
}
.timeline-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary-bright);
}
/* pulse ring on first card — circular, not the default 0.5rem radius */
.timeline-icon-badge .pulse-ring {
  border-radius: 9999px;
}

.timeline-step {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 9999px;
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  font-weight: 700;
}

.timeline-title {
  font-size: 1.125rem;
  font-weight: 900;
}

.timeline-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
  font-size: 0.6875rem;
  color: var(--primary-bright);
  font-family: var(--font-mono);
}
.timeline-clock {
  width: 0.75rem;
  height: 0.75rem;
}

.timeline-desc {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 1.75;
}

.timeline-arrow {
  display: none;
}
@media (min-width: 1024px) {
  .timeline-arrow { display: grid; }
}

/* ---------------- Accessibility: focus-visible ---------------- */
*:focus-visible {
  outline: 2px solid var(--primary-bright);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary-bright);
  outline-offset: 2px;
}
.back-to-top:focus-visible {
  outline-offset: 3px;
}
.currency-toggle button:focus-visible {
  outline-offset: 2px;
}

/* ---------------- Accessibility: reduced motion (mirror of globals.css) ---------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .pulse-ring,
  .blink,
  .animate-ticker {
    animation: none !important;
  }
}

/* ---------------- Modal animation ---------------- */
@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.modal-in {
  animation: modal-in 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------------- Order confirmation modal ---------------- */
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.confirm-modal[style*="display:none"],
.confirm-modal[hidden] {
  display: none !important;
}
.confirm-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 18, 0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.confirm-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 32rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  background: var(--surface);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
              0 0 50px -10px color-mix(in srgb, var(--primary) 20%, transparent);
  overflow: hidden;
}
.confirm-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-c);
  background: rgba(21, 36, 60, 0.6);
}
.confirm-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}
.confirm-modal-title-wrap h3 {
  font-size: 1.125rem;
  font-weight: 900;
}
.confirm-modal-icon {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--primary) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  color: var(--primary-bright);
}
.confirm-modal-icon svg { width: 1.25rem; height: 1.25rem; }
.confirm-modal-close {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  color: var(--fg-dim);
  transition: color 0.2s, background 0.2s;
}
.confirm-modal-close:hover {
  color: var(--fg);
  background: var(--surface);
}
.confirm-modal-close svg { width: 1.25rem; height: 1.25rem; }
.confirm-modal-body {
  padding: 1.25rem 1.5rem;
}
.confirm-modal-intro {
  font-size: 0.875rem;
  color: var(--fg-dim);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.confirm-modal-rows {
  border-radius: 0.75rem;
  border: 1px solid var(--border-c);
  background: rgba(6, 10, 18, 0.6);
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border-c);
}
.confirm-row:last-child {
  border-bottom: 0;
}
.confirm-row > span:first-child {
  color: var(--fg-dim);
  flex-shrink: 0;
}
.confirm-row > span:last-child {
  font-weight: 600;
  text-align: left;
  direction: ltr;
}
.confirm-row > span:last-child.rtl {
  direction: rtl;
  text-align: right;
}
.confirm-modal-total {
  margin-top: 1rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  background: color-mix(in srgb, var(--primary) 5%, transparent);
  padding: 1rem;
}
.confirm-total-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.confirm-total-row > span:first-child {
  font-size: 0.875rem;
  color: var(--fg-dim);
}
#cf-total {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary-bright);
}
.confirm-savings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.75rem;
}
.confirm-savings-row[hidden] { display: none; }
.confirm-savings-row > span:first-child {
  color: var(--fg-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.confirm-savings-row > span:first-child svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--primary);
}
.confirm-irt-row {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
  text-align: left;
  direction: rtl;
}
.confirm-modal-actions {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-c);
  background: rgba(21, 36, 60, 0.4);
}
.confirm-modal-actions .btn {
  flex: 1 1 0;
}

/* ---------------- Quick Stats Bar ---------------- */
.quick-stats-section {
  margin-top: -1.5rem;
  position: relative;
  z-index: 10;
  padding: 0 1rem;
}
.quick-stats-inner {
  max-width: 72rem;
  margin: 0 auto;
}
.quick-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .quick-stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.quick-stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-c);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 0.875rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.quick-stat:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}
.quick-stat-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 20%, transparent);
  color: var(--primary-bright);
  transition: transform 0.3s ease;
}
.quick-stat:hover .quick-stat-icon {
  transform: scale(1.1);
}
.quick-stat-text {
  min-width: 0;
  line-height: 1.2;
}
.quick-stat-value {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--fg);
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums lining-nums;
  font-feature-settings: "ss01", "ss02", "tnum";
  letter-spacing: 0;
}
.quick-stat-label {
  font-size: 0.6875rem;
  color: var(--fg-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------------- Terminal LIVE indicator ---------------- */
.term-live {
  margin-inline-start: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.05em;
  color: var(--primary-bright);
}
.term-live-dot {
  display: inline-block;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: var(--primary-bright);
  box-shadow: 0 0 6px 0 var(--primary-bright);
}

/* ---------------- Print button (success panel) ---------------- */
#print-order {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
#print-order svg { flex-shrink: 0; }

/* ====================================================================
   Trust Indicators strip
   ==================================================================== */
.trust-strip {
  position: relative;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-c);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 1024px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border-c);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  padding: 0.75rem 1rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.trust-item:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
}
.trust-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary-bright);
}
.trust-text {
  min-width: 0;
  line-height: 1.2;
}
.trust-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.trust-desc {
  font-size: 0.6875rem;
  color: var(--fg-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ====================================================================
   Detection Modules Grid
   ==================================================================== */
.modules-section {
  position: relative;
  overflow: hidden;
}
.modules-glow {
  position: absolute;
  top: 25%;
  right: 0;
  width: 18rem;
  height: 18rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.modules-section .container { position: relative; z-index: 1; }

.modules-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.module-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  border: 1px solid var(--border-c);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  color: var(--fg-dim);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.module-tab:hover {
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
  color: var(--fg);
}
.module-tab.active {
  border-color: color-mix(in srgb, var(--primary) 50%, transparent);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--primary-bright);
}
.module-tab-count {
  opacity: 0.6;
  font-size: 0.6875rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(4, 1fr); }
}
.module-card {
  position: relative;
  height: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border-c);
  background: color-mix(in srgb, var(--surface) 40%, transparent);
  padding: 1rem;
  cursor: default;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.module-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
  box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--primary) 25%, transparent);
}
.module-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.module-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 0.375rem;
  border: 1px solid;
  padding: 0.125rem 0.375rem;
  font-size: 0.625rem;
  font-family: var(--font-mono);
}
.module-cat-tag.cat-primary {
  color: var(--primary-bright);
  border-color: color-mix(in srgb, var(--primary) 30%, transparent);
  background: color-mix(in srgb, var(--primary) 5%, transparent);
}
.module-cat-tag.cat-accent {
  color: var(--accent-bright);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--accent) 5%, transparent);
}
.module-cat-tag.cat-warn {
  color: var(--warn);
  border-color: color-mix(in srgb, var(--warn) 30%, transparent);
  background: color-mix(in srgb, var(--warn) 5%, transparent);
}
.module-cat-tag.cat-danger {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 30%, transparent);
  background: color-mix(in srgb, var(--danger) 5%, transparent);
}
.module-num {
  font-size: 0.625rem;
  font-family: var(--font-mono);
  color: var(--fg-muted);
}
.module-name {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--fg);
  transition: color 0.25s ease;
}
.module-card:hover .module-name {
  color: var(--primary-bright);
}
.module-fa {
  font-size: 0.75rem;
  color: var(--fg-dim);
  margin-top: 0.125rem;
}
.module-desc {
  margin-top: 0.5rem;
  font-size: 0.6875rem;
  color: var(--fg-muted);
  line-height: 1.4;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}
.module-card:hover .module-desc {
  max-height: 6rem;
  opacity: 1;
}
.modules-footer {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

/* ====================================================================
   Keyboard hint button + modal
   ==================================================================== */
kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.5rem;
  border-radius: 0.375rem;
  border: 1px solid var(--border-c);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg);
  box-shadow: 0 1px 0 var(--border-c);
}
kbd.kbd-sm {
  min-width: 1.5rem;
  height: 1.25rem;
  font-size: 0.625rem;
  padding: 0 0.25rem;
}

.kbd-hint-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-c);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--fg-muted);
  font-family: var(--font-mono);
  font-size: 0.875rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.kbd-hint-btn:hover {
  color: var(--fg);
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}

.kbd-hint-modal {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.kbd-hint-modal[hidden] { display: none; }
.kbd-hint-modal:not([hidden]) {
  animation: modal-in 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.kbd-hint-card {
  position: relative;
  width: 100%;
  max-width: 28rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
  background: var(--surface);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.kbd-hint-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-c);
  background: color-mix(in srgb, var(--surface-2) 60%, transparent);
}
.kbd-hint-header h3 {
  font-size: 1rem;
  font-weight: 900;
  color: var(--fg);
}
.kbd-hint-close {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.375rem;
  color: var(--fg-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.kbd-hint-close:hover {
  color: var(--fg);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}
.kbd-hint-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.kbd-hint-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-c);
}
.kbd-hint-row:last-child {
  border-bottom: none;
}
.kbd-hint-desc {
  font-size: 0.875rem;
  color: var(--fg-dim);
}
.kbd-hint-keys {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.kbd-hint-sep {
  font-size: 0.75rem;
  color: var(--fg-muted);
  align-self: center;
}
.kbd-hint-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-c);
  background: color-mix(in srgb, var(--bg) 40%, transparent);
  text-align: center;
}
.kbd-hint-footer span {
  font-size: 0.6875rem;
  color: var(--fg-muted);
}

/* ---------------- Print styles ---------------- */
@media print {
  /* white background for print */
  body {
    background: #fff !important;
    color: #000 !important;
  }
  /* hide non-essential elements */
  header,
  .scroll-progress,
  .back-to-top,
  nav,
  .mobile-menu,
  #setup,
  #modules,
  #faq,
  .cta-band,
  footer,
  .ticker-section,
  .quick-stats-section,
  .trust-strip,
  .radar-card,
  .theme-panel,
  .theme-backdrop,
  .kbd-hint-btn,
  .kbd-hint-modal,
  button[aria-label="میانبرهای کیبورد"],
  .print-hide {
    display: none !important;
  }
  /* full-width main */
  main {
    padding: 2rem 1rem !important;
  }
  /* success panel: white card with black border/text */
  .print-card {
    border: 2px solid #000 !important;
    background: #fff !important;
    color: #000 !important;
    box-shadow: none !important;
  }
  .print-card * {
    color: #000 !important;
  }
  .print-card .text-primary-bright,
  .print-card .num {
    color: #047857 !important;
  }
  /* disable effects */
  * {
    animation: none !important;
    transition: none !important;
    box-shadow: none !important;
  }
  /* A4 page margin */
  @page {
    margin: 1.5cm;
  }
}
