/* ============================================================
   SirenUA.online — Dashboard Design System Refactor (Mockup 1:1)
   Dark Slate-Blue Cyber-Glass Aesthetic
   ============================================================ */

/* ── Custom Theme Palette Overrides ── */
:root {
  --dash-bg: #0b1118;
  --dash-bg-card: rgba(18, 27, 40, 0.72);
  --dash-bg-card-hover: rgba(24, 36, 54, 0.85);
  --dash-bg-card-solid: #111a26;
  --dash-border: rgba(78, 122, 166, 0.22);
  --dash-border-hover: rgba(56, 189, 248, 0.45);
  --dash-border-light: rgba(255, 255, 255, 0.08);
  --dash-cyan: #38bdf8;
  --dash-cyan-glow: rgba(56, 189, 248, 0.35);
  --dash-blue-cta: #4a84ac;
  --dash-blue-cta-hover: #5697c4;
  --dash-blue-cta-gradient: linear-gradient(135deg, #5390ba 0%, #3e78a6 100%);
  --dash-text-primary: #f8fafc;
  --dash-text-secondary: #94a3b8;
  --dash-text-muted: #62758d;
  --dash-gold: #fbbf24;
  --dash-green: #34d399;
  --dash-glass-blur: blur(20px);

  /* ── Legacy Token Harmonization across All Subpages ── */
  --bg-primary: #0b1118;
  --bg-secondary: #0f1724;
  --bg-card: rgba(18, 27, 40, 0.72);
  --bg-card-hover: rgba(24, 36, 54, 0.85);
  --border-glass: rgba(78, 122, 166, 0.22);
  --border-glass-hover: rgba(56, 189, 248, 0.45);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #62758d;
  --cyan: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.35);
  --gradient-hero: transparent;
  --gradient-accent: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
  --gradient-card: linear-gradient(145deg, rgba(18, 27, 40, 0.75), rgba(12, 19, 30, 0.85));
}

/* ── Global Background Atmosphere ── */
body {
  background-color: var(--dash-bg) !important;
  background-image: 
    radial-gradient(circle at 75% 18%, rgba(35, 85, 135, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 20% 40%, rgba(20, 55, 95, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 85%, rgba(15, 45, 80, 0.15) 0%, transparent 60%) !important;
  background-attachment: fixed !important;
  color: var(--dash-text-primary) !important;
  font-family: var(--font-sans);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* ── Header / Navigation Bar ── */
.navbar,
.navbar.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px !important;
  background: rgba(11, 17, 24, 0.88) !important;
  backdrop-filter: var(--dash-glass-blur) !important;
  -webkit-backdrop-filter: var(--dash-glass-blur) !important;
  border-bottom: 1px solid var(--dash-border) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
  z-index: 10000;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  padding: 0 28px;
}

/* Brand Logo */
.nav-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand-signal {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--dash-cyan);
  font-size: 1.25rem;
  filter: drop-shadow(0 0 8px var(--dash-cyan-glow));
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
}

.nav-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  line-height: 1.1;
}

.nav-brand-sub {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--dash-text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* Center Menu Links */
.nav-menu-list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.nav-menu-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-menu-list > .nav-menu-item.admin-only-nav {
  display: none !important;
}

.nav-menu-list > .nav-menu-item.admin-only-nav.admin-nav-visible {
  display: flex !important;
}

.nav-menu-link,
.nav-menu-list > .nav-menu-item > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent !important;
  border: none !important;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--dash-text-secondary);
  text-decoration: none;
  padding: 8px 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease;
  position: relative;
  height: 100%;
}

.nav-menu-link:hover,
.nav-menu-list > .nav-menu-item:hover > a,
.nav-menu-list > .nav-menu-item:hover > .nav-menu-link {
  color: #ffffff;
}

.nav-menu-item.active > a,
.nav-menu-item.active > .nav-menu-link {
  color: #ffffff;
  font-weight: 600;
}

.nav-menu-item.active > a::after,
.nav-menu-item.active > .nav-menu-link::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 6px;
  right: 6px;
  height: 2px;
  background: var(--dash-cyan);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--dash-cyan);
}

/* Dropdown Chevrons */
.dropdown-chevron {
  width: 12px;
  height: 12px;
  transition: transform 0.22s ease;
  color: var(--dash-text-muted);
}

.nav-menu-item:hover .dropdown-chevron,
.nav-menu-item:focus-within .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--dash-cyan);
}

/* Dropdown Card */
.nav-sub-dropdown {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 295px;
  background: rgba(11, 17, 24, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--dash-border);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65), 0 0 20px rgba(56, 189, 248, 0.12);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 10005;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

/* Right-aligned dropdown for last items to prevent overflow */
.nav-menu-item:last-child .nav-sub-dropdown {
  left: auto;
  right: -20px;
  transform: translateY(4px);
}

/* Invisible hover bridge between nav link and dropdown card */
.nav-sub-dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 18px;
  background: transparent;
}

.nav-menu-item:hover .nav-sub-dropdown,
.nav-menu-item:focus-within .nav-sub-dropdown {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-menu-item:last-child:hover .nav-sub-dropdown,
.nav-menu-item:last-child:focus-within .nav-sub-dropdown {
  transform: translateY(0);
}

.nav-sub-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.18s ease;
  background: transparent;
  position: relative;
}

.nav-sub-item:hover {
  background: rgba(56, 189, 248, 0.1);
  transform: translateX(4px);
}

.nav-sub-item.active {
  background: rgba(56, 189, 248, 0.14) !important;
  border-left: 2px solid var(--dash-cyan) !important;
}

.nav-sub-item.active .sub-item-icon {
  border-color: var(--dash-cyan) !important;
  box-shadow: 0 0 10px var(--dash-cyan-glow) !important;
  background: rgba(56, 189, 248, 0.18) !important;
}

.nav-sub-item.active .sub-item-title {
  color: var(--dash-cyan) !important;
  font-weight: 700 !important;
}

/* Prevent underline leaks from main.css on sub-items */
.nav-sub-dropdown a::after,
.nav-sub-item::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
}

.sub-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(22, 33, 49, 0.8);
  border: 1px solid rgba(78, 122, 166, 0.25);
  font-size: 1rem;
  flex-shrink: 0;
}

.nav-sub-item:hover .sub-item-icon {
  border-color: var(--dash-cyan);
  box-shadow: 0 0 10px var(--dash-cyan-glow);
}

.sub-item-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.sub-item-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
}

.sub-item-desc {
  font-size: 0.72rem;
  color: var(--dash-text-muted);
  margin-top: 2px;
  line-height: 1.2;
}

.nav-sub-item:hover .sub-item-desc {
  color: var(--dash-text-secondary);
}

/* ── Unified Atmosphere for Inner Pages ── */
.page-header {
  padding: 130px 0 50px !important;
  text-align: center;
  background: transparent !important;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 250px;
  background: radial-gradient(ellipse at 50% 30%, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 3rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 14px !important;
}

.page-header p {
  max-width: 680px !important;
  margin: 0 auto !important;
  font-size: 1.08rem !important;
  color: var(--dash-text-secondary) !important;
  line-height: 1.6 !important;
}

.section-subtitle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  background: rgba(56, 189, 248, 0.1) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: var(--dash-cyan) !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 5px 14px !important;
  border-radius: 999px !important;
  margin-bottom: 18px !important;
}

/* Unify Card Styles */
.card, .metric-card, .guide-card, .faq-card, .contact-card, .about-card, .ref-card, .faq-item {
  background: var(--dash-bg-card) !important;
  border: 1px solid var(--dash-border) !important;
  border-radius: 18px !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  transition: all 0.25s ease !important;
}

.card:hover, .metric-card:hover, .guide-card:hover, .faq-card:hover, .contact-card:hover, .about-card:hover {
  border-color: var(--dash-border-hover) !important;
  background: var(--dash-bg-card-hover) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.12) !important;
}

/* Sections */
section {
  position: relative;
  z-index: 2;
}

/* ── Universal Button Harmonization ── */
.btn-primary,
.dash-btn-primary {
  background: var(--dash-blue-cta-gradient) !important;
  border: 1px solid rgba(56, 189, 248, 0.35) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35), 0 0 12px rgba(56, 189, 248, 0.2) !important;
  transition: all 0.22s ease !important;
}

.btn-primary:hover,
.dash-btn-primary:hover {
  background: linear-gradient(135deg, #60a5fa 0%, #0284c7 100%) !important;
  border-color: var(--dash-cyan) !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45), 0 0 18px rgba(56, 189, 248, 0.35) !important;
  transform: translateY(-2px) !important;
}

.btn-secondary,
.dash-btn-glass {
  background: rgba(22, 33, 49, 0.65) !important;
  border: 1px solid var(--dash-border) !important;
  color: #ffffff !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  transition: all 0.22s ease !important;
}

.btn-secondary:hover,
.dash-btn-glass:hover {
  background: rgba(28, 43, 64, 0.85) !important;
  border-color: var(--dash-border-hover) !important;
  transform: translateY(-2px) !important;
}

/* ── Eliminate Jarring Section Backgrounds & Dividers ── */
.section-divider {
  border: none !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, var(--dash-border), transparent) !important;
  margin: 0 !important;
  opacity: 0.6 !important;
}

section[style*="background: var(--bg-secondary)"],
section[style*="background:var(--bg-secondary)"],
section[style*="background: #0a0e1a"] {
  background: transparent !important;
}

/* ── FAQ & Support Elements Harmonization ── */
.faq-category-btn {
  background: rgba(18, 27, 40, 0.72) !important;
  border: 1px solid var(--dash-border) !important;
  color: var(--dash-text-secondary) !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
  font-size: 0.86rem !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}

.faq-category-btn:hover {
  color: #ffffff !important;
  border-color: var(--dash-cyan) !important;
  background: rgba(24, 36, 54, 0.85) !important;
}

.faq-category-btn.active {
  background: var(--dash-blue-cta-gradient) !important;
  border-color: rgba(56, 189, 248, 0.4) !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.22) !important;
}

.accordion-item {
  background: var(--dash-bg-card) !important;
  border: 1px solid var(--dash-border) !important;
  border-radius: 14px !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  margin-bottom: 10px !important;
  transition: all 0.25s ease !important;
}

.accordion-item:hover,
.accordion-item.active {
  border-color: var(--dash-border-hover) !important;
}

.accordion-trigger {
  color: var(--dash-text-primary) !important;
}

.accordion-trigger:hover {
  color: var(--dash-cyan) !important;
}

.accordion-item.active .accordion-trigger-icon {
  color: var(--dash-cyan) !important;
}

/* Right Navigation Utilities */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Search Input */
.nav-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 33, 49, 0.65);
  border: 1px solid var(--dash-border);
  border-radius: 999px;
  padding: 6px 14px;
  min-width: 150px;
  transition: all 0.2s ease;
}

.nav-search-box:focus-within {
  border-color: var(--dash-cyan);
  background: rgba(26, 40, 60, 0.9);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.nav-search-box svg {
  width: 15px;
  height: 15px;
  color: var(--dash-text-muted);
}

.nav-search-box input {
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.82rem;
  color: #ffffff;
  width: 100%;
}

.nav-search-box input::placeholder {
  color: var(--dash-text-muted);
}

/* Icon Buttons (Theme & Bell) */
.nav-icon-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(22, 33, 49, 0.6);
  border: 1px solid var(--dash-border);
  color: var(--dash-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-icon-action:hover {
  color: #ffffff;
  border-color: var(--dash-cyan);
  background: rgba(28, 43, 64, 0.8);
}

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

.nav-icon-action .notif-alert-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dash-cyan);
  box-shadow: 0 0 6px var(--dash-cyan);
}

/* Language Dropdown Selector */
.nav-lang-picker {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(22, 33, 49, 0.6);
  border: 1px solid var(--dash-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dash-text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-lang-picker:hover {
  color: #ffffff;
  border-color: var(--dash-cyan);
}

.nav-lang-picker svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.nav-lang-picker:hover svg {
  transform: rotate(180deg);
}

.nav-lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(11, 17, 24, 0.96);
  border: 1px solid var(--dash-border);
  border-radius: 12px;
  padding: 6px;
  min-width: 144px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 10001;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
}

.nav-lang-picker:hover .nav-lang-dropdown,
.nav-lang-picker:focus-within .nav-lang-dropdown,
.nav-lang-picker.active .nav-lang-dropdown {
  display: flex;
}

.nav-lang-item {
  padding: 7px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dash-text-secondary);
  text-decoration: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.nav-lang-item:hover,
.nav-lang-item.active {
  background: rgba(0, 229, 255, 0.12);
  color: #ffffff;
}

.nav-lang-item.active {
  color: var(--dash-cyan);
  font-weight: 600;
}

/* User Profile Capsule */
.nav-user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 5px;
  background: rgba(22, 33, 49, 0.75);
  border: 1px solid var(--dash-border);
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-user-pill:hover {
  border-color: var(--dash-cyan);
  background: rgba(28, 43, 64, 0.95);
  transform: translateY(-1px);
}

.nav-user-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--dash-cyan);
}

.nav-user-icon-box {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dash-cyan);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.nav-user-pill:hover .nav-user-icon-box {
  background: rgba(0, 212, 255, 0.25);
  border-color: var(--dash-cyan);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.35);
}

.nav-user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-user-fullname {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
}

.nav-user-tier {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--dash-gold);
  display: flex;
  align-items: center;
  gap: 3px;
}

/* ── Hero Section ── */
.dash-hero-section {
  padding-top: 108px;
  padding-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.dash-hero-section .container {
  max-width: 1400px;
  padding: 0 28px;
}

.dash-hero-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr;
  gap: 40px;
  align-items: center;
}

/* Hero Left Column */
.dash-hero-info {
  display: flex;
  flex-direction: column;
}

/* Eyebrow Badge */
.dash-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(22, 33, 49, 0.7);
  border: 1px solid var(--dash-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: #b0c4de;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  width: fit-content;
}

.dash-eyebrow-flag {
  color: #ffffff;
  font-weight: 700;
}

.dash-eyebrow-pipe {
  color: var(--dash-cyan);
  opacity: 0.7;
}

/* Hero Main Heading */
.dash-hero-heading {
  font-size: clamp(2.3rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  margin: 0 0 18px 0;
  letter-spacing: -0.01em;
}

/* Hero Description */
.dash-hero-desc {
  font-size: 0.96rem;
  line-height: 1.62;
  color: #9cb0c5;
  max-width: 540px;
  margin: 0 0 28px 0;
}

/* CTA Buttons */
.dash-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

/* Primary Button: Ice-Slate-Blue Glowing Pill */
.btn-dash-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--dash-blue-cta-gradient);
  border: 1px solid rgba(140, 195, 235, 0.45);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(62, 120, 166, 0.4);
  transition: all 0.25s ease;
}

.btn-dash-primary:hover {
  background: linear-gradient(135deg, #5da2ce 0%, #4686b8 100%);
  box-shadow: 0 6px 24px rgba(62, 120, 166, 0.6);
  transform: translateY(-2px);
}

.btn-dash-primary .apple-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.btn-dash-primary .arrow-icon {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.btn-dash-primary:hover .arrow-icon {
  transform: translateX(3px);
}

/* Secondary Button: Dark Translucent Glass Pill */
.btn-dash-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 999px;
  background: rgba(22, 33, 49, 0.65);
  border: 1px solid var(--dash-border);
  color: #d1e0ef;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: var(--dash-glass-blur);
  transition: all 0.25s ease;
}

.btn-dash-secondary:hover {
  background: rgba(30, 46, 68, 0.85);
  border-color: var(--dash-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-dash-secondary .play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  color: var(--dash-cyan);
}

/* Download Verification Row */
.dash-download-panel {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.dash-qr-holder {
  width: 90px;
  height: 90px;
  border-radius: 14px;
  padding: 8px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dash-qr-holder svg {
  width: 100%;
  height: 100%;
}

.dash-appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 10px;
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.dash-appstore-badge:hover {
  border-color: #ffffff;
  transform: translateY(-1px);
}

.dash-appstore-badge svg {
  width: 20px;
  height: 20px;
}

.dash-features-checklist {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dash-features-checklist li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #9cb0c5;
}

.dash-features-checklist li .check-icon {
  color: var(--dash-cyan);
  font-weight: 800;
  font-size: 0.85rem;
}

/* ============================================================
   Hero Right Column: Tactical 3D Map Threat Simulation Showcase
   ============================================================ */
.dash-map-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 12px;
}

.dash-map-backdrop {
  position: relative;
  width: 100%;
  max-width: 660px;
  background: rgba(11, 19, 32, 0.78);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 20px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 10px;
}

/* Tactical HUD Header */
.tactical-map-hud-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
}

.tactical-hud-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tactical-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #34d399;
  text-transform: uppercase;
}

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

.tactical-audio-toggle {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--dash-text-secondary);
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.tactical-audio-toggle:hover {
  border-color: #38bdf8;
  color: #fff;
}

.tactical-audio-toggle.active {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

@keyframes tactical-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.tactical-status-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dash-text-secondary);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tactical-status-title .status-dot.threat {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: tactical-dot-pulse 1s infinite;
}

.tactical-status-title .status-dot.safe {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}

.tactical-hud-scenarios {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tactical-scenario-btn {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--dash-text-secondary);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.tactical-scenario-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.5);
  color: #fff;
}

.tactical-scenario-btn.active {
  background: rgba(56, 189, 248, 0.22);
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.tactical-threat-counter-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #94a3b8;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.tactical-threat-counter-badge.has-threat {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.6);
  color: #fca5a5;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

/* 3D Map Visual Stage */
.tactical-map-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 527 / 289;
  border-radius: 14px;
  overflow: visible;
}

.dash-map-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 96%;
  height: 96%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.24) 0%, rgba(20, 80, 130, 0.08) 55%, transparent 75%);
  pointer-events: none;
  filter: blur(32px);
  z-index: 0;
}

/* Rotating Radar Sweep Beam */
.tactical-radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92%;
  height: 92%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  background: conic-gradient(from 0deg at 50% 50%, rgba(56, 189, 248, 0) 0deg, rgba(56, 189, 248, 0.14) 45deg, transparent 46deg);
  animation: radar-sweep-rotate 9s linear infinite;
  opacity: 0.75;
}

@keyframes radar-sweep-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.dash-map-img-3d {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.65));
  position: relative;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* Tactical Sector Boxes («Прозорі квадратики областей») */
.tactical-sector-box {
  position: absolute;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 8px;
  pointer-events: auto;
  cursor: pointer;
  z-index: 5;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  user-select: none;
}

/* Corner HUD Reticles */
.tactical-sector-box::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: 7px;
  height: 7px;
  border-top: 2px solid rgba(56, 189, 248, 0.85);
  border-left: 2px solid rgba(56, 189, 248, 0.85);
  transition: border-color 0.35s ease;
}

.tactical-sector-box::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 7px;
  height: 7px;
  border-bottom: 2px solid rgba(56, 189, 248, 0.85);
  border-right: 2px solid rgba(56, 189, 248, 0.85);
  transition: border-color 0.35s ease;
}

.sector-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}

.sector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.sector-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f1f5f9;
  line-height: 1;
}

.sector-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.sector-status {
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.15;
  white-space: normal;
  word-break: normal;
  transition: color 0.35s ease;
}

/* 1. Calm State (Прозорий синій/блакитний) */
.tactical-sector-box.state-calm {
  background: rgba(14, 28, 48, 0.52);
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(56, 189, 248, 0.12);
}
.tactical-sector-box.state-calm .sector-dot {
  background: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
}
.tactical-sector-box.state-calm .sector-status {
  color: #94a3b8;
}
.tactical-sector-box.state-calm:hover {
  transform: translateY(-2px) scale(1.04);
  background: rgba(14, 28, 48, 0.72);
  border-color: #38bdf8;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 16px rgba(56, 189, 248, 0.35);
}

/* 2. Warning State (Прозорий жовтий/бурштиновий) */
.tactical-sector-box.state-warning {
  background: rgba(50, 32, 6, 0.68);
  border: 1.5px solid rgba(245, 158, 11, 0.95);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), inset 0 0 18px rgba(245, 158, 11, 0.32), 0 0 22px rgba(245, 158, 11, 0.5);
  animation: sector-warning-ping 2s infinite ease-in-out;
}
.tactical-sector-box.state-warning::before,
.tactical-sector-box.state-warning::after {
  border-color: #f59e0b;
}
.tactical-sector-box.state-warning .sector-name {
  color: #fef3c7;
}
.tactical-sector-box.state-warning .sector-dot {
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
  animation: tactical-dot-pulse 0.9s infinite;
}
.tactical-sector-box.state-warning .sector-status {
  color: #fbbf24;
  font-weight: 700;
}

@keyframes sector-warning-ping {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 0 18px rgba(245, 158, 11, 0.4); }
  50% { transform: scale(1.03); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55), 0 0 28px rgba(245, 158, 11, 0.75); }
}

/* 3. Alert State (Прозорий червоний) */
.tactical-sector-box.state-alert {
  background: rgba(65, 12, 12, 0.76);
  border: 1.5px solid rgba(239, 68, 68, 0.98);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.65), inset 0 0 24px rgba(239, 68, 68, 0.45), 0 0 30px rgba(239, 68, 68, 0.7);
  animation: sector-alert-siren 1s infinite ease-in-out;
}
.tactical-sector-box.state-alert::before,
.tactical-sector-box.state-alert::after {
  border-color: #ef4444;
}
.tactical-sector-box.state-alert .sector-name {
  color: #fee2e2;
}
.tactical-sector-box.state-alert .sector-dot {
  background: #ef4444;
  box-shadow: 0 0 12px #ef4444;
  animation: tactical-dot-pulse 0.4s infinite;
}
.tactical-sector-box.state-alert .sector-status {
  color: #fca5a5;
  font-weight: 700;
}

@keyframes sector-alert-siren {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.65), 0 0 22px rgba(239, 68, 68, 0.55); }
  50% { transform: scale(1.04); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.65), 0 0 36px rgba(239, 68, 68, 0.9); }
}

/* 4. Intercepted State (Прозорий зелений) */
.tactical-sector-box.state-intercepted {
  background: rgba(8, 42, 24, 0.68);
  border: 1.5px solid rgba(16, 185, 129, 0.95);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 0 18px rgba(16, 185, 129, 0.35);
}
.tactical-sector-box.state-intercepted::before,
.tactical-sector-box.state-intercepted::after {
  border-color: #10b981;
}
.tactical-sector-box.state-intercepted .sector-name {
  color: #d1fae5;
}
.tactical-sector-box.state-intercepted .sector-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}
.tactical-sector-box.state-intercepted .sector-status {
  color: #6ee7b7;
  font-weight: 700;
}

/* Launch Beacons (Мис Чауда в Криму, Чорне Море, Бєлгород) */
.tactical-launch-beacon {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 4;
}

.launch-beacon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.85);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.8);
  margin: 0 auto;
}

.launch-beacon-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(239, 68, 68, 0.7);
  border-radius: 50%;
  animation: launch-ping 2s infinite ease-out;
  opacity: 0;
}

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

.launch-beacon-label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fca5a5;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.tactical-launch-beacon.launching .launch-beacon-dot {
  background: #ff2222;
  box-shadow: 0 0 16px #ff2222;
  animation: tactical-dot-pulse 0.4s infinite;
}

.tactical-launch-beacon.launching .launch-beacon-pulse {
  border-color: #ff3333;
  animation-duration: 0.9s;
}

/* Classical City Beacons */
.dash-city-beacon {
  position: absolute;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 4;
}

.beacon-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  background: #38bdf8;
  border-radius: 50%;
  box-shadow: 0 0 8px #38bdf8;
}

.beacon-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(56, 189, 248, 0.85);
  border-radius: 50%;
  animation: beacon-ping 2.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

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

/* Dynamic Flight Trajectories Overlay (SVG) */
.dash-map-trajectories {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

/* Static connecting arcs */
.traj-arc {
  fill: none;
  stroke: rgba(56, 189, 248, 0.25);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
  animation: traj-dash-flow 25s linear infinite;
}

@keyframes traj-dash-flow {
  to { stroke-dashoffset: -200; }
}

/* Dynamic Flight Paths */
.tactical-flight-path {
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px currentColor);
  transition: opacity 0.35s ease-out;
}

.tactical-flight-path.path-drone {
  stroke: #f59e0b;
  stroke-dasharray: 6 4;
  animation: flight-dash-stream 0.8s linear infinite;
}

.tactical-flight-path.path-missile {
  stroke: #ef4444;
  stroke-dasharray: 8 3;
  animation: flight-dash-stream 0.4s linear infinite;
}

.tactical-flight-path.path-bomb {
  stroke: #dc2626;
  stroke-dasharray: 5 5;
  animation: flight-dash-stream 0.5s linear infinite;
}

@keyframes flight-dash-stream {
  to { stroke-dashoffset: -20; }
}

/* SAM Interceptor Rocket Trajectory & Kinetic Blast */
.tactical-sam-path {
  fill: none;
  stroke: #38bdf8;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 4 2;
  filter: drop-shadow(0 0 8px #38bdf8);
  animation: sam-flight-flow 0.3s linear infinite;
}

@keyframes sam-flight-flow {
  to { stroke-dashoffset: -12; }
}

.tactical-burst-effect {
  pointer-events: none;
}

.burst-core {
  fill: #fff;
  filter: drop-shadow(0 0 12px #38bdf8);
  animation: burst-core-expand 0.6s ease-out forwards;
}

.burst-ring {
  fill: none;
  stroke: #38bdf8;
  stroke-width: 2;
  opacity: 0.9;
  animation: burst-ring-expand 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.burst-shield {
  fill: rgba(16, 185, 129, 0.2);
  stroke: #10b981;
  stroke-width: 1.5;
  animation: burst-shield-expand 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.burst-spark {
  stroke: #fef08a;
  stroke-width: 1.6;
  stroke-linecap: round;
  animation: burst-spark-fade 0.7s ease-out forwards;
}

@keyframes burst-core-expand {
  0% { transform: scale(0.4); opacity: 1; }
  50% { transform: scale(2.2); opacity: 1; }
  100% { transform: scale(0); opacity: 0; }
}

@keyframes burst-ring-expand {
  0% { transform: scale(0.2); opacity: 1; stroke-width: 3; }
  100% { transform: scale(2.5); opacity: 0; stroke-width: 0.5; }
}

@keyframes burst-shield-expand {
  0% { transform: scale(0.3); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes burst-spark-fade {
  0% { opacity: 1; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* Flight Marker Icons */
.tactical-flight-marker {
  pointer-events: none;
}

.marker-halo {
  fill: none;
  stroke-width: 1.5;
  opacity: 0.65;
  animation: marker-halo-pulse 0.8s infinite alternate;
}

.marker-halo-outer {
  fill: none;
  stroke-width: 1;
  stroke-dasharray: 2 2;
  opacity: 0.4;
  animation: acoustic-wave-pulse 1.2s infinite;
}

.drone-halo { stroke: #f59e0b; }
.drone-halo-outer { stroke: #f59e0b; }
.missile-halo { stroke: #ef4444; }
.bomb-halo { stroke: #dc2626; }

@keyframes marker-halo-pulse {
  from { transform: scale(0.85); opacity: 0.4; }
  to { transform: scale(1.2); opacity: 0.95; }
}

@keyframes acoustic-wave-pulse {
  0% { transform: scale(0.8); opacity: 0.7; }
  100% { transform: scale(1.7); opacity: 0; }
}

.drone-body {
  fill: #1e293b;
  stroke: #f59e0b;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 8px #f59e0b);
}

.drone-stabilizer {
  stroke: #f59e0b;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.drone-propeller-disc {
  fill: rgba(251, 191, 36, 0.4);
  stroke: #fbbf24;
  stroke-width: 1;
  animation: prop-spin 0.08s linear infinite;
  transform-origin: 16px 22px;
}

@keyframes prop-spin {
  0% { transform: rotate(0deg); opacity: 0.4; }
  50% { transform: rotate(180deg); opacity: 0.9; }
  100% { transform: rotate(360deg); opacity: 0.4; }
}

.drone-engine {
  fill: #fbbf24;
  filter: drop-shadow(0 0 10px #fbbf24);
  animation: engine-flicker 0.18s infinite alternate;
}

.drone-beacon {
  fill: #ff2222;
  animation: tactical-dot-pulse 0.4s infinite;
}

/* Supersonic Cruise Missile Styles */
.mach-cone {
  fill: none;
  stroke: rgba(239, 68, 68, 0.85);
  stroke-width: 1.5;
  animation: mach-cone-flow 0.35s infinite linear;
}

.mach-cone-outer {
  fill: none;
  stroke: rgba(239, 68, 68, 0.45);
  stroke-width: 1;
  stroke-dasharray: 3 2;
  animation: mach-cone-flow 0.5s infinite linear;
}

@keyframes mach-cone-flow {
  0% { transform: scaleY(0.9); opacity: 0.9; }
  100% { transform: scaleY(1.4); opacity: 0.2; }
}

.missile-body {
  fill: #0f172a;
  stroke: #ef4444;
  stroke-width: 1.8;
  filter: drop-shadow(0 0 10px #ef4444);
}

/* Bright white nose tip so the marker reads clearly against its own
   red trajectory trail (both were the same hue, making the flying
   marker hard to distinguish from the static-looking dashed line). */
.marker-nose-tip {
  fill: #ffffff;
  filter: drop-shadow(0 0 6px #ffffff);
  animation: engine-flicker 0.15s infinite alternate;
}

.marker-fins {
  stroke: #ef4444;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.marker-flame-core {
  fill: #fff;
  stroke: #ffaa00;
  stroke-width: 1;
  filter: drop-shadow(0 0 10px #ffea00);
  animation: engine-flicker 0.12s infinite alternate;
}

.marker-flame-outer {
  fill: #ff4400;
  opacity: 0.85;
  filter: drop-shadow(0 0 12px #ff2200);
  animation: engine-flicker 0.16s infinite alternate;
}

.bomb-body {
  fill: #18181b;
  stroke: #f87171;
  stroke-width: 1.6;
}

.bomb-spark {
  fill: #ef4444;
  filter: drop-shadow(0 0 8px #ef4444);
  animation: engine-flicker 0.15s infinite alternate;
}

@keyframes engine-flicker {
  0% { opacity: 0.75; transform: scaleY(0.9); }
  100% { opacity: 1; transform: scaleY(1.3); }
}

/* Tactical HUD Footer: Timeline & Event Ticker */
.tactical-map-hud-footer {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tactical-timeline-bar {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  overflow: hidden;
  position: relative;
}

.tactical-timeline-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8 0%, #f59e0b 50%, #ef4444 100%);
  border-radius: 999px;
  transition: width 0.3s ease-out;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.tactical-ticker-container {
  background: rgba(10, 16, 26, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: 10px;
  padding: 8px 12px;
  max-height: 80px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tactical-ticker-container::-webkit-scrollbar {
  width: 4px;
}
.tactical-ticker-container::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, 0.3);
  border-radius: 4px;
}

.ticker-log-item {
  font-family: 'JetBrains Mono', 'Menlo', 'Consolas', monospace;
  font-size: 0.66rem;
  line-height: 1.4;
  color: #cbd5e1;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  animation: ticker-slide-down 0.25s ease-out;
}

.ticker-log-item .log-time {
  color: #38bdf8;
  font-weight: 700;
  flex-shrink: 0;
}

.ticker-log-item .log-msg {
  word-break: break-word;
}

@keyframes ticker-slide-down {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.dash-map-status-badge {
  position: absolute;
  bottom: 12px;
  right: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(11, 17, 24, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--dash-border);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--dash-text-secondary);
  letter-spacing: 0.04em;
  z-index: 6;
}

/* Mobile Responsiveness for Tactical Map */
@media (max-width: 768px) {
  .tactical-map-hud-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .tactical-hud-scenarios {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .tactical-scenario-btn {
    white-space: nowrap;
    font-size: 0.64rem;
  }
  .tactical-sector-box {
    padding: 3px 5px;
    border-radius: 6px;
  }
  .sector-name {
    font-size: 0.58rem;
  }
  .sector-status {
    font-size: 0.5rem;
  }
  .launch-beacon-label {
    display: none;
  }
}



/* ── Hidden state guarantee ── */
.dash-quick-cards-row[hidden],
.finance-section[hidden],
[hidden] {
  display: none !important;
}

/* ── Quick Cards Row (4 cards) ── */
.dash-quick-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

a.dash-metric-card,
a.dash-fin-metric-tile,
a.dash-gold-partner-tile {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.dash-metric-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--dash-bg-card);
  border: 1px solid var(--dash-border);
  backdrop-filter: var(--dash-glass-blur);
  -webkit-backdrop-filter: var(--dash-glass-blur);
  transition: all 0.25s ease;
  cursor: default;
}

.dash-metric-card:hover {
  background: var(--dash-bg-card-hover);
  border-color: var(--dash-border-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}

.dash-card-icon-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2);
  color: var(--dash-cyan);
  flex-shrink: 0;
}

.dash-card-cols-wrap {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  flex: 1;
}

.dash-card-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dash-sub-label {
  font-size: 0.72rem;
  color: var(--dash-text-muted);
  font-weight: 500;
}

.dash-stat-highlight {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--dash-cyan);
  letter-spacing: -0.02em;
}

/* ── Finance Section ── */
.finance-section {
  padding: 32px 0 24px;
}

.finance-section .container {
  max-width: 1400px;
  padding: 0 28px;
}

.dash-finance-container {
  border-radius: 20px;
  background: var(--dash-bg-card);
  border: 1px solid var(--dash-border);
  backdrop-filter: var(--dash-glass-blur);
  -webkit-backdrop-filter: var(--dash-glass-blur);
  padding: 28px 30px;
}

.dash-finance-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.dash-finance-titles h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.dash-finance-titles p {
  font-size: 0.82rem;
  color: var(--dash-text-muted);
  margin: 4px 0 0;
}

.dash-finance-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dash-cyan);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.18);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.dash-finance-more-link:hover {
  background: rgba(56, 189, 248, 0.14);
  border-color: var(--dash-cyan);
  transform: translateX(2px);
}

/* Finance Grid: 4 metric tiles + 1 gold partner */
.dash-finance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.3fr;
  gap: 16px;
  align-items: stretch;
}

/* Individual Finance Metric Tile */
.dash-fin-metric-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(14, 22, 34, 0.65);
  border: 1px solid var(--dash-border-light);
  transition: all 0.22s ease;
  position: relative;
}

.dash-fin-metric-tile:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(18, 28, 44, 0.8);
  transform: translateY(-2px);
}

.dash-fin-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.22);
  color: var(--dash-cyan);
  flex-shrink: 0;
}

.dash-fin-data {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.dash-fin-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dash-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dash-fin-val-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-fin-value {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--dash-gold);
  letter-spacing: -0.01em;
}

.dash-fin-badge-delta {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--dash-green);
  background: rgba(52, 211, 153, 0.1);
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.dash-fin-sub {
  font-size: 0.72rem;
  color: var(--dash-text-muted);
}

.dash-fin-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--dash-blue-cta-gradient);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(140, 195, 235, 0.3);
  transition: all 0.2s ease;
  width: fit-content;
}

.dash-fin-btn-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(62, 120, 166, 0.4);
}

/* Sparkline Mini Bar Chart */
.dash-sparkline-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-left: auto;
  padding-left: 4px;
}

.dash-spark-bar {
  width: 7px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--dash-cyan) 0%, rgba(56, 189, 248, 0.3) 100%);
  transition: height 0.4s ease;
}

.dash-fin-metric-tile:hover .dash-spark-bar {
  background: linear-gradient(180deg, #7dd3fc 0%, rgba(56, 189, 248, 0.6) 100%);
}

/* Gold Partner Tile */
.dash-gold-partner-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(20, 28, 42, 0.85) 0%, rgba(26, 22, 14, 0.55) 100%);
  border: 1px solid rgba(251, 191, 36, 0.25);
  transition: all 0.22s ease;
}

.dash-gold-partner-tile:hover {
  border-color: rgba(251, 191, 36, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(251, 191, 36, 0.1);
}

.dash-gold-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.22);
  color: var(--dash-cyan);
  flex-shrink: 0;
}

.dash-gold-data {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.dash-gold-chevron {
  color: var(--dash-text-muted);
  font-size: 1.2rem;
  line-height: 1;
}

.dash-gold-tier-heading {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--dash-gold);
}

.dash-gold-sub {
  font-size: 0.72rem;
  color: var(--dash-text-muted);
}

.dash-gold-progress-bar {
  width: 100%;
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-top: 2px;
}

.dash-gold-progress-fill {
  width: 42%;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #38bdf8 0%, #0284c7 100%);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.45);
  transition: width 1.2s ease;
}

.dash-gold-target {
  font-size: 0.7rem;
  color: var(--dash-text-muted);
  font-weight: 500;
}

/* ── Device Ecosystem Section ── */
.devices-section {
  padding: 32px 0 40px;
}

.devices-section .container {
  max-width: 1400px;
  padding: 0 28px;
}

.dash-devices-container {
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(14, 22, 36, 0.92) 0%, rgba(10, 16, 26, 0.97) 100%);
  border: 1px solid var(--dash-border);
  backdrop-filter: var(--dash-glass-blur);
  -webkit-backdrop-filter: var(--dash-glass-blur);
  padding: 32px 34px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.dash-devices-layout {
  display: grid;
  grid-template-columns: 1fr 2.4fr 1.1fr;
  gap: 28px;
  align-items: center;
}

/* min-width:0 on every grid item below: the 3D carousel's peeking side
   cards (far-prev/far-next) are absolutely positioned well outside the
   visible frame on purpose - .dash-devices-container clips them with
   overflow:hidden. But CSS Grid's default min-width:auto still measures
   that off-screen geometry as "content" when sizing the 1fr track, since
   .dash-dev-stage-viewport uses overflow:visible (the auto-min-to-zero
   special case only kicks in for overflow:hidden/auto/scroll). That
   inflated the whole row to ~930px on phones, so every column - including
   the title/description text - measured its 100% width against that
   phantom 930px track instead of the real ~320px screen, and the excess
   silently overflowed past the right edge and got clipped instead of
   centering. min-width:0 tells the grid to size the track from the
   explicit 1fr/2.4fr/1.1fr ratios instead of the carousel's true (but
   intentionally hidden) content extent. */
.dash-devices-layout > * {
  min-width: 0;
}

/* Devices Left Info Block */
.dash-dev-intro {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-dev-brand {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--dash-cyan);
  text-transform: uppercase;
}

.dash-dev-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0;
  width: 100%;
}

.dash-dev-desc {
  font-size: 0.82rem;
  color: var(--dash-text-muted);
  line-height: 1.55;
  margin: 0;
  width: 100%;
}

.dash-dev-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--dash-blue-cta-gradient);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(140, 195, 235, 0.35);
  box-shadow: 0 4px 16px rgba(62, 120, 166, 0.35);
  transition: all 0.25s ease;
  width: fit-content;
}

.dash-dev-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(62, 120, 166, 0.55);
}

/* Devices Center Showcase - 3D Animated Turntable Carousel */
.dash-dev-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  position: relative;
}

/* 3D Stage Viewport */
.dash-dev-stage-viewport {
  position: relative;
  width: 100%;
  height: 380px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  user-select: none;
}

.dash-dev-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Device Card (3D element with 4:3 widescreen hardware aspect ratio) */
.dash-dev-card {
  position: absolute;
  width: 440px;
  height: 330px;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), 
              opacity 0.55s ease, 
              filter 0.55s ease,
              visibility 0.55s ease;
  cursor: pointer;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 30px, -240px) scale(0.5);
  z-index: 1;
}

/* Active center card */
.dash-dev-card.active {
  transform: translate3d(0, -8px, 90px) scale(1) rotateY(0deg);
  opacity: 1;
  visibility: visible;
  z-index: 10;
  pointer-events: auto;
}

/* Prev card on the left */
.dash-dev-card.prev-card {
  transform: translate3d(-56%, 8px, -90px) scale(0.74) rotateY(20deg);
  opacity: 0.45;
  visibility: visible;
  z-index: 5;
  filter: blur(1.5px) brightness(0.65);
  pointer-events: auto;
}

/* Next card on the right */
.dash-dev-card.next-card {
  transform: translate3d(56%, 8px, -90px) scale(0.74) rotateY(-20deg);
  opacity: 0.45;
  visibility: visible;
  z-index: 5;
  filter: blur(1.5px) brightness(0.65);
  pointer-events: auto;
}

/* Far left / far right auxiliary cards */
.dash-dev-card.far-prev {
  transform: translate3d(-92%, 18px, -190px) scale(0.54) rotateY(32deg);
  opacity: 0.15;
  visibility: visible;
  z-index: 2;
  filter: blur(2.5px) brightness(0.45);
}

.dash-dev-card.far-next {
  transform: translate3d(92%, 18px, -190px) scale(0.54) rotateY(-32deg);
  opacity: 0.15;
  visibility: visible;
  z-index: 2;
  filter: blur(2.5px) brightness(0.45);
}

/* Glassmorphism Card Wrapper */
.dash-dev-card-glass {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(16, 26, 42, 0.82) 0%, rgba(10, 16, 28, 0.9) 100%);
  border: 1px solid rgba(56, 189, 248, 0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.35s ease;
}

.dash-dev-card.active .dash-dev-card-glass {
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.65), 
              0 0 32px rgba(56, 189, 248, 0.25), 
              inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

.dash-dev-card:hover:not(.active) .dash-dev-card-glass {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 16px 36px rgba(56, 189, 248, 0.18);
}

/* Card Badge ("В розробці" / "iOS · Доступно") */
.dev-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.dev-card-badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  display: inline-block;
}

.dev-card-badge.in-dev {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.dev-card-badge.in-dev::before {
  background: #fbbf24;
  box-shadow: 0 0 6px #fbbf24;
}

.dev-card-badge.live {
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.5);
  color: #4ade80;
  text-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}

.dev-card-badge.live::before {
  background: #4ade80;
  box-shadow: 0 0 6px #4ade80;
}

/* Device Image Box */
.dash-dev-img-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  position: relative;
  z-index: 2;
}

.dash-dev-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.7));
  transition: transform 0.4s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.dash-dev-card.active .dash-dev-img {
  animation: dev-float-micro 5s ease-in-out infinite;
}

@keyframes dev-float-micro {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.015);
  }
}

.dash-dev-glow-spot {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.32) 0%, transparent 70%);
  filter: blur(16px);
  pointer-events: none;
  z-index: 1;
}

/* Horizontal Stage Neon Glow (clean, level, centered under active card) */
.dash-dev-stage-glow {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 3.5px;
  background: radial-gradient(ellipse at center, var(--dash-cyan) 0%, rgba(56, 189, 248, 0.55) 50%, transparent 85%);
  box-shadow: 0 0 24px var(--dash-cyan-glow), 0 0 48px rgba(56, 189, 248, 0.5);
  border-radius: 999px;
  pointer-events: none;
  z-index: 2;
  transition: all 0.4s ease;
}

/* Arrow Navigation Buttons */
.dash-dev-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(12, 20, 32, 0.82);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.dash-dev-arrow:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: var(--dash-cyan);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
  transform: translateY(-50%) scale(1.1);
}

.dash-dev-arrow.prev { left: -6px; }
.dash-dev-arrow.next { right: -6px; }

/* Device Labels Row (interactive tabs) */
.dash-dev-labels-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  width: 100%;
  padding: 4px 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.dash-dev-labels-row::-webkit-scrollbar {
  display: none;
}

.dash-dev-label-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.65rem;
  color: var(--dash-text-muted);
  text-align: center;
  min-width: 72px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.22s ease;
  flex-shrink: 0;
}

.dash-dev-label-item strong {
  color: var(--dash-text-secondary);
  font-weight: 700;
  font-size: 0.72rem;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.dash-dev-label-item span {
  font-size: 0.62rem;
  white-space: nowrap;
}

.dash-dev-label-item:hover {
  background: rgba(56, 189, 248, 0.07);
  border-color: rgba(56, 189, 248, 0.2);
}

.dash-dev-label-item.active {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.18);
}

.dash-dev-label-item.active strong {
  color: var(--dash-cyan);
}

.dash-dev-label-item.active span {
  color: #ffffff;
}

/* Tab Status Badges */
.dev-badge-status {
  font-size: 0.54rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
  white-space: nowrap;
}

.dev-badge-status.in-dev {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.32);
}

.dev-badge-status.live {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.32);
}

/* Carousel Dots Nav */
.dash-dev-dots-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.dash-dev-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
}

.dash-dev-dot.active {
  background: var(--dash-cyan);
  border-color: var(--dash-cyan);
  box-shadow: 0 0 10px var(--dash-cyan-glow);
  width: 22px;
  border-radius: 99px;
}

.dash-dev-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.4);
}

/* Devices Right Checklist Card */
.dash-dev-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(18, 28, 42, 0.65);
  border: 1px solid var(--dash-border);
  border-radius: 18px;
  padding: 22px 20px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.dash-dev-benefits-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.dash-dev-benefits-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.dash-dev-star-sparkle {
  display: inline-flex;
  animation: star-sparkle-pulse 3.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes star-sparkle-pulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.4));
  }
  50% {
    transform: scale(1.15) rotate(12deg);
    filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.8));
  }
}

.dash-dev-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dash-dev-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--dash-text-secondary);
}

.dash-dev-check-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--dash-cyan);
  font-size: 0.7rem;
  font-weight: 700;
}

/* Dynamic Device Preview Drawer */
.dash-dev-dynamic-preview {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--dash-border-light);
  animation: dev-preview-fade 0.3s ease;
}

@keyframes dev-preview-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dev-preview-card {
  background: rgba(14, 22, 34, 0.75);
  border: 1px solid var(--dash-border);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35);
}

.dev-preview-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dash-cyan);
  width: fit-content;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.dev-preview-status {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dev-preview-status.in-dev {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.dev-preview-status.live {
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
}

.dev-preview-content-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.dev-preview-text {
  flex: 1;
  min-width: 280px;
}

.dev-preview-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px 0;
}

.dev-preview-desc {
  font-size: 0.82rem;
  color: var(--dash-text-secondary);
  line-height: 1.5;
  margin: 0;
}

.dev-preview-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dev-feat-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dash-text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.dev-feat-pill:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--dash-cyan);
}

/* ── Notification Panel Popover ── */
.notif-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 300px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(14, 22, 36, 0.95);
  border: 1px solid var(--dash-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 1100;
}

.notif-panel.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.notif-panel h5 {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dash-text-secondary);
}

.notif-item {
  padding: 8px 0;
  border-bottom: 1px solid var(--dash-border-light);
  font-size: 0.78rem;
  color: var(--dash-text-secondary);
  line-height: 1.5;
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item strong {
  color: var(--dash-cyan);
}

/* ── Responsive Adjustments ── */
@media (max-width: 1200px) {
  .dash-quick-cards-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-finance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash-gold-partner-tile {
    grid-column: span 2;
  }
  .dash-devices-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .dash-dev-intro {
    align-items: center;
  }
  .dash-dev-benefits {
    align-items: center;
  }
  .dash-dev-checklist {
    align-items: flex-start;
  }
}

@media (max-width: 1360px) {
  .navbar .container {
    padding: 0 16px;
  }
  .nav-menu-list {
    gap: 14px;
  }
  .nav-menu-link,
  .nav-menu-list > .nav-menu-item > a {
    font-size: 0.84rem;
    padding: 6px 4px;
  }
  .nav-search-box {
    min-width: 120px;
    padding: 5px 10px;
  }
}

@media (max-width: 1200px) {
  .nav-search-box {
    display: none;
  }
  .nav-user-pill .nav-user-info {
    display: none;
  }
  .nav-user-pill {
    padding: 3px;
    background: transparent;
    border: none;
  }
  .nav-user-pill:hover {
    background: transparent;
    transform: none;
  }
  .nav-menu-list {
    gap: 10px;
  }
  .nav-menu-link,
  .nav-menu-list > .nav-menu-item > a {
    font-size: 0.82rem;
    padding: 6px 3px;
  }
  .nav-controls {
    gap: 8px;
  }
}

@media (max-width: 1080px) {
  .nav-brand-sub {
    display: none;
  }
  .nav-menu-list {
    gap: 8px;
  }
  .nav-menu-link,
  .nav-menu-list > .nav-menu-item > a {
    font-size: 0.80rem;
    padding: 5px 2px;
  }
}

@media (max-width: 1100px) {
  .dash-hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .dash-hero-heading {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }
  .nav-menu-list {
    display: flex;
    position: fixed;
    top: 70px;
    right: 0;
    left: auto;
    bottom: auto;
    width: min(88vw, 360px);
    height: calc(100vh - 70px);
    height: calc(100dvh - 70px);
    max-width: none;
    max-height: calc(100dvh - 70px);
    background: rgba(11, 17, 24, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    padding: 20px 16px 32px;
    overflow-y: auto;
    border-left: 1px solid var(--dash-border-hover);
    box-shadow: -18px 0 44px rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.28s ease, opacity 0.2s ease, visibility 0s linear 0.28s;
    will-change: transform;
    z-index: 9999;
  }
  .nav-menu-list.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition-delay: 0s;
  }
  .nav-menu-list.open .nav-menu-item {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-menu-list.open .nav-menu-link,
  .nav-menu-list.open .nav-menu-item > a {
    width: 100%;
    font-size: 1.12rem;
    min-height: 44px;
    padding: 10px 14px;
    justify-content: space-between;
    text-align: left;
  }
  .nav-menu-list.open .nav-sub-dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    min-width: 100%;
    width: 100%;
    margin-top: 6px;
    display: none;
    box-shadow: none;
    background: rgba(18, 27, 40, 0.9);
    border: 1px solid rgba(78, 122, 166, 0.25);
  }
  .nav-menu-list.open .nav-menu-item.mobile-expanded .nav-sub-dropdown,
  .nav-menu-list.open .nav-menu-item:focus-within .nav-sub-dropdown {
    display: flex;
  }
  .nav-search-box {
    display: none;
  }
  .nav-lang-picker {
    display: none;
  }
  .nav-toggle {
    display: flex !important;
  }

  /* backdrop-filter on the fixed navbar creates a containing block for fixed
     children; disable it so the drawer uses the viewport instead of a 70px
     navbar box and can occupy the full remaining screen height. */
  .navbar,
  .navbar.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav-menu-list {
    top: 70px !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    width: min(88vw, 360px) !important;
    height: calc(100dvh - 70px) !important;
    max-height: none !important;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .nav-divider {
    display: none !important;
  }
  #notif-toggle-btn {
    display: none !important;
  }
  .navbar .container {
    padding: 0 12px !important;
  }
  .nav-brand-title {
    font-size: 1.02rem !important;
  }
  .nav-controls {
    gap: 6px !important;
  }
}

@media (max-width: 640px) {
  .dash-quick-cards-row {
    grid-template-columns: 1fr;
  }
  .dash-finance-grid {
    grid-template-columns: 1fr;
  }
  .dash-gold-partner-tile {
    grid-column: span 1;
  }
  .dash-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-dash-primary,
  .btn-dash-secondary {
    justify-content: center;
  }
  .dash-download-panel {
    flex-direction: column;
    align-items: center;
  }
}

/* Responsive Devices 3D Showcase */
@media (max-width: 1100px) {
  .dash-devices-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .dash-dev-intro {
    align-items: center;
    text-align: center;
  }
  .dash-dev-intro .dash-dev-more-btn {
    margin: 4px auto 0;
  }
  .dash-dev-stage-viewport {
    height: 330px;
  }
  .dash-dev-card {
    width: 360px;
    height: 270px;
  }
  .dash-dev-labels-row {
    justify-content: flex-start;
    padding: 6px 10px;
  }
  .dev-preview-text {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .dash-dev-stage-viewport {
    height: 290px;
  }
  .dash-dev-card {
    width: 300px;
    height: 225px;
  }
  .dash-dev-card.active {
    transform: translate3d(0, -6px, 50px) scale(1) rotateY(0deg);
  }
  .dash-dev-card.prev-card {
    transform: translate3d(-52%, 6px, -50px) scale(0.75) rotateY(20deg);
  }
  .dash-dev-card.next-card {
    transform: translate3d(52%, 6px, -50px) scale(0.75) rotateY(-20deg);
  }
  .dash-dev-stage-glow {
    width: 260px;
  }
}

@media (max-width: 480px) {
  .dash-devices-container {
    padding: 24px 16px;
  }
  .dash-dev-stage-viewport {
    height: 260px;
  }
  .dash-dev-card {
    width: 260px;
    height: 195px;
  }
  .dash-dev-stage-glow {
    width: 220px;
  }
  .dash-dev-arrow {
    width: 34px;
    height: 34px;
  }
  .dash-dev-arrow.prev { left: -4px; }
  .dash-dev-arrow.next { right: -4px; }
}
