/* Self-hosted variable fonts (cyrillic + latin only: the page never uses the other subsets).
   Replaces the render-blocking Google Fonts @import. */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('fonts/unbounded-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('fonts/unbounded-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/jetbrains-mono-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/jetbrains-mono-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --font-heading: 'Unbounded', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
  
  /* MLSAC deep space dark palette */
  --bg-page: #040407;
  --bg-card: rgba(255, 255, 255, 0.02);
  --bg-card-hover: rgba(255, 255, 255, 0.04);
  --bg-card-active: rgba(255, 255, 255, 0.06);
  --bg-modal: rgba(12, 13, 20, 0.96);
  
  --border-card: rgba(255, 255, 255, 0.06);
  --border-card-hover: rgba(255, 255, 255, 0.12);
  --border-pill: rgba(255, 255, 255, 0.08);
  
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #8b8b96; /* was #71717a: 4.1:1 on the dark panels, now >= 5.4:1 */
  
  /* Restrained Electric Blue Accent */
  --accent: #38bdf8;
  --accent-glow: rgba(56, 189, 248, 0.35);
  --accent-soft: rgba(56, 189, 248, 0.1);
  --accent-border: rgba(56, 189, 248, 0.25);
  
  --radius-card: 28px;
  --radius-pill: 9999px;
  --radius-btn: 16px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  color-scheme: dark;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Background atmospheric gradients matching MLSAC */
.bg-ambient {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: -10;
  background-image: 
    radial-gradient(70rem 45rem at 12% 1%, rgba(14, 165, 233, 0.14), transparent 62%),
    radial-gradient(55rem 38rem at 88% 8%, rgba(56, 189, 248, 0.10), transparent 60%),
    radial-gradient(64rem 42rem at 78% 54%, rgba(14, 165, 233, 0.08), transparent 62%),
    radial-gradient(50rem 36rem at 20% 94%, rgba(56, 189, 248, 0.06), transparent 62%);
}

.container {
  width: min(1080px, 100%);
  padding-inline: 20px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

/* Bilingual Helpers */
.lang-en, html[lang="ru"] .lang-en { display: none !important; }
.lang-ru, html[lang="en"] .lang-ru { display: none !important; }
html[lang="en"] .lang-en { display: inline !important; }
html[lang="ru"] .lang-ru { display: inline !important; }

/* ==========================================================================
   HEADER / NAVBAR: MLSAC Floating Capsule
   ========================================================================== */
.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 20px;
  pointer-events: none;
}

.nav-bar {
  pointer-events: auto;
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 8px;
  background: rgba(18, 18, 18, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-pill);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.02em;
  padding: 4px 8px;
}

.brand-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  overflow: hidden;
  display: block;
}

.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s ease;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: var(--font-sans);
}

.nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  padding: 5px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn-nav-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.btn-nav-action:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
}

.btn-nav-action svg {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   HERO: Exact MLSAC Composition with 3D Matte 'H' Blocks Behind Text
   ========================================================================== */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 30px;
  text-align: center;
  overflow: hidden;
}

/* 3D Background object (Large matte beveled H) */
.hero-3d-backdrop {
  pointer-events: none;
  position: absolute;
  top: 54%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(68vw, 560px);
  max-width: 560px;
  z-index: 1;
}

.hero-3d-glow {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(14, 165, 233, 0.38) 0%, rgba(56, 189, 248, 0.12) 45%, transparent 68%);
  filter: blur(65px);
  z-index: -1;
}

.hero-3d-img {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(-6deg);
  filter: brightness(2.0) contrast(1.1) drop-shadow(0 35px 70px rgba(0, 0, 0, 0.9));
  opacity: 0.92;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, 0.4) 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 48%, rgba(0, 0, 0, 0.4) 75%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 4.8vw, 56px);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 22px;
  text-shadow: 0 4px 24px rgba(4, 4, 7, 0.95);
  overflow-wrap: break-word;
}

.hero-title-shimmer {
  background: linear-gradient(135deg, #ffffff 20%, #e2e8f0 60%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(15px, 1.9vw, 17px);
  color: #f8fafc;
  max-width: 620px;
  margin: 0 auto 34px;
  line-height: 1.65;
  font-weight: 500;
  text-shadow: 0 2px 14px rgba(4, 4, 7, 0.98), 0 0 28px rgba(4, 4, 7, 0.95);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* MLSAC Solid Light Button */
.btn-mlsac-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: #040407;
  background: #d4d4d8;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid #e4e4e7;
}

.btn-mlsac-primary:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -14px rgba(56, 189, 248, 0.5);
}

.btn-mlsac-primary svg {
  width: 15px;
  height: 15px;
}

/* MLSAC Dark Translucent Button */
.btn-mlsac-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%) padding-box,
              linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 100%) border-box;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-mlsac-secondary:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.btn-mlsac-secondary svg {
  width: 15px;
  height: 15px;
}

/* Platform pills ticker (Paper / Spigot / Folia style from MLSAC) */
.ticker-wrap {
  margin-top: 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.ticker-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ticker-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.ticker-pill:hover {
  background: var(--bg-card-hover);
  color: #ffffff;
  border-color: var(--border-card-hover);
}

.ticker-line {
  width: min(540px, 90%);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 25%, rgba(255, 255, 255, 0.08) 75%, transparent 100%);
}

/* ==========================================================================
   SECTIONS: Shared Titles & Spacing
   ========================================================================== */
.section {
  padding: 55px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 42px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.8vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 12px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.6;
}

/* ==========================================================================
   ALL FEATURES: Interactive Client Widget (MLSAC Window Style + Live HUD)
   ========================================================================== */
.device-wrap {
  max-width: 960px;
  margin: 0 auto;
}

.client-window {
  background: rgba(14, 15, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
}

.window-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 18px;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; opacity: 0.8; }
.dot.yellow { background: #f59e0b; opacity: 0.8; }
.dot.blue { background: #0ea5e9; opacity: 0.9; }

.window-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

/* 2-Column Split: Controls + Live HUD Radar */
.client-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.client-controls {
  display: flex;
  flex-direction: column;
}

/* Sliding Pill Tabs */
.client-tabs {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-bottom: 14px;
}

.tab-indicator-pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  pointer-events: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.tab-btn {
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 7px 12px;
  border-radius: 8px;
  background: transparent;
  border: 0;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tab-btn.active {
  color: #ffffff;
}

.setting-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 15px;
  margin-bottom: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.setting-row:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-1px);
}

.setting-row[hidden] {
  display: none !important;
}

.setting-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.setting-icon svg {
  width: 17px;
  height: 17px;
}

.setting-details {
  flex: 1;
  min-width: 0;
}

.setting-details b {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.setting-details small {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
}

.switch-control {
  width: 44px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.switch-control i {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.switch-control.on {
  background: var(--accent);
  border-color: var(--accent);
}

.switch-control.on i {
  transform: translateX(20px);
}

/* Slider Box */
.slider-box {
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  margin-top: 4px;
}

.slider-box[hidden] {
  display: none !important;
}

.slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.slider-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
}

.slider-bar {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--accent) var(--range-progress, calc(8px + (100% - 16px) * 0.714)), rgba(255, 255, 255, 0.1) var(--range-progress, calc(8px + (100% - 16px) * 0.714)));
  outline: none;
  cursor: pointer;
}

.slider-bar::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.slider-bar::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.8);
}

.slider-bar::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.slider-bar::-moz-range-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.8);
}

/* ==========================================================================
   LIVE TACTICAL RADAR HUD
   ========================================================================== */
.client-hud-radar {
  background: rgba(6, 7, 12, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.radar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.radar-live-status {
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.8s infinite;
}

.live-text {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.radar-mode-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--accent-border);
}

.radar-screen {
  position: relative;
  width: 100%;
  height: 230px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.08) 0%, rgba(6, 7, 12, 0.95) 75%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}

.radar-fov-cone {
  position: absolute;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.14) 0%, transparent 70%);
  border: 1px dashed rgba(56, 189, 248, 0.35);
  transition: transform 0.25s ease, width 0.25s ease, height 0.25s ease;
  pointer-events: none;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.radar-ring.ring-1 { width: 70px; height: 70px; }
.radar-ring.ring-2 { width: 140px; height: 140px; }
.radar-ring.ring-3 { width: 210px; height: 210px; }

.radar-laser-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.radar-laser-layer.laser-off {
  opacity: 0;
}

.radar-player {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}

.player-chevron {
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
  filter: drop-shadow(0 0 6px var(--accent));
  display: inline-block;
  transform-origin: center center;
  transition: transform 0.2s ease;
}

.player-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  margin-top: 1px;
}

.player-ping-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0.6;
  animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: translate(-50%, -50%) scale(2.4);
    opacity: 0;
  }
}

/* Radar Targets */
.radar-target {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.target-marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.red-dot { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.cyan-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.target-esp-box {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(239, 68, 68, 0.7);
  padding: 2px 5px;
  border-radius: 4px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 8px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.target-esp-box.is-off {
  opacity: 0;
  transform: translateX(-50%) scale(0.8);
  pointer-events: none;
}

.target-super {
  color: #facc15;
  font-size: 7px;
  font-weight: 700;
}

#target-colt {
  left: 26%;
  top: 28%;
}

#target-shelly {
  left: 70%;
  top: 24%;
}

.aimbot-lock {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px dashed var(--accent);
  animation: spin 5s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.lock-label {
  position: absolute;
  bottom: -13px;
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.aimbot-lock.is-off {
  opacity: 0;
  pointer-events: none;
}

#target-dodge {
  left: 64%;
  top: 66%;
}

.bullet-trail {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 6px #f97316;
}

.dodge-arc {
  position: absolute;
  bottom: 8px;
  left: -14px;
  border: 1px solid var(--accent);
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(14, 165, 233, 0.15);
  font-family: var(--font-mono);
  font-size: 7px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.dodge-arc.is-off {
  opacity: 0;
}

.radar-footer {
  display: flex;
  justify-content: space-around;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 8px;
}

.radar-stat {
  text-align: center;
  font-family: var(--font-mono);
}

.radar-stat small {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.radar-stat b {
  font-size: 11px;
  color: var(--accent);
}

.window-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   PRICING SECTION: MLSAC Card Style
   ========================================================================== */
.pricing-card-wrap {
  max-width: 500px;
  margin: 0 auto;
}

.pricing-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 38px 32px;
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
}

.pricing-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-2px);
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}

.pricing-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 6px;
}

.price-row strong {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.price-row span {
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-primary);
}

.check-mark {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.btn-purchase {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 22px;
  background: #d4d4d8;
  color: #040407;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid #e4e4e7;
}

.btn-purchase:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -14px rgba(56, 189, 248, 0.5);
}

.btn-purchase svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.pricing-helper-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-btn);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pricing-helper-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

/* Pricing Trust & Methods */
.pricing-trust {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.delivery-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #10b981;
}

.delivery-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.payment-methods {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.pay-tag {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
}

.pricing-note {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.pricing-note a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   MODAL WINDOW: Purchase Instruction Window
   ========================================================================== */
.modal-overlay {
  display: flex;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 7, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  /* visible at once when opening so focus() can move into the dialog; the hide still waits for the fade-out (base rule) */
  transition: opacity 0.25s ease, visibility 0s;
}

.modal-window {
  background: var(--bg-modal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  width: min(540px, 100%);
  padding: 32px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: scale(0.96) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-window {
  transform: scale(1) translateY(0);
}

/* the dialog box takes focus programmatically when it opens; it is not a control, so no ring on it */
.modal-window:focus {
  outline: none;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.modal-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 26px;
}

.guide-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--accent-border);
  padding: 3px 8px;
  border-radius: 8px;
  flex-shrink: 0;
  margin-top: 2px;
}

.guide-text b {
  display: block;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}

.guide-text p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   FAQ: MLSAC Rounded Cards
   ========================================================================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 18px 24px;
  transition: all 0.2s ease;
}

.faq-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
}

.faq-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  list-style: none;
}

.faq-toggle::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.25s ease;
}

.faq-card[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FOOTER: MLSAC Style
   ========================================================================== */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0 32px;
  background: transparent;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* ==========================================================================
   LEGAL / TERMS PAGE
   ========================================================================== */
.legal-wrap {
  padding: 120px 0 60px;
  max-width: 780px;
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 32px;
}

.legal-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.8vw, 38px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}

.legal-header p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
}

.legal-meta {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 26px 30px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
}

.legal-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
}

.legal-card h2 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.legal-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 12px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card strong {
  color: #fff;
}

.legal-card ul {
  margin: 10px 0 14px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

.legal-card li {
  margin-bottom: 6px;
}

.legal-card a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.legal-back-btn:hover {
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 860px) {
  .client-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .radar-screen {
    height: 210px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-title { font-size: clamp(26px, 6vw, 36px); }
  .hero-3d-backdrop { width: 85vw; top: 48%; }
  .client-window { padding: 18px; }
  .pricing-box { padding: 28px 20px; }
  .legal-wrap { padding: 100px 0 40px; }
  .legal-card { padding: 20px; }
}

@media (max-width: 480px) {
  .header-fixed { padding: 10px 12px; }
  .nav-bar { gap: 8px; padding: 4px 10px 4px 6px; }
  .btn-nav-action { padding: 5px 10px; font-size: 12px; }
  .hero { padding: 100px 16px 24px; min-height: auto; }
  .hero-3d-backdrop { width: 92vw; top: 50%; }
  .hero-title { font-size: clamp(18px, 5.4vw, 24px); line-height: 1.25; overflow-wrap: break-word; }
  .hero-desc { font-size: 13.5px; margin-bottom: 24px; color: #f8fafc; }
  .hero-buttons { flex-direction: column; width: 100%; gap: 10px; }
  .btn-mlsac-primary, .btn-mlsac-secondary { width: 100%; justify-content: center; }
  .ticker-pills { gap: 6px; }
  .ticker-pill { font-size: 11px; padding: 4px 10px; }
  .client-window { padding: 14px; }
  .client-tabs { gap: 2px; padding: 3px; }
  .tab-btn { font-size: 10px; padding: 6px 8px; }
  .setting-row { padding: 9px 12px; gap: 10px; }
  .setting-icon { width: 32px; height: 32px; }
  .setting-details b { font-size: 12px; }
  .setting-details small { font-size: 11px; }
  .client-hud-radar { padding: 12px; }
  .radar-screen { height: 190px; }
  .radar-footer { gap: 4px; }
  .pricing-box { padding: 24px 16px; }
  .pricing-box h3 { font-size: 19px; }
  .pricing-price .price-val { font-size: 40px; }
  .pay-tag { font-size: 9px; padding: 3px 7px; }
}

/* Keyboard focus: the page had no visible focus ring anywhere (and the range slider removed it). */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.slider-bar:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

/* Visitors who ask the OS for less motion: no looping pulses/spins, no smooth scrolling, near-instant transitions. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
