/* ==========================================================================
   VSTool / VektraScan - Pure Monochrome Black & White Theme (v2026.09)
   Engineered for extreme performance, clarity, and flawless responsiveness.
   ========================================================================== */

:root {
  --bg-main: #000000;
  --bg-surface: #09090b;
  --bg-surface-hover: #121216;
  --bg-surface-active: #18181b;
  --border: #222226;
  --border-hover: #3f3f46;
  --border-light: rgba(255, 255, 255, 0.12);
  
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  
  --primary: #ffffff;
  --primary-hover: #e4e4e7;
  --primary-text: #000000;
  
  --secondary: #18181b;
  --secondary-hover: #27272a;
  
  --status-active: #22c55e;
  --status-planned: #f59e0b;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
}

/* Subtle background matrix grid */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  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: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

.bg-vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at 50% 15%, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.95) 75%);
  pointer-events: none;
  z-index: 0;
}

/* Layout Containers */
.container,
.nav-container,
.hero-inner,
.supported-container,
.features-container,
.pricing-container,
.footer-container {
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.elite-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  border: 1px solid var(--border-hover);
  background: #09090b;
  padding: 2px;
}

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-grow: 1;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Language Switcher Capsule with Flags */
.lang-switch-capsule {
  display: inline-flex;
  align-items: center;
  background: #111115;
  border: 1px solid var(--border);
  border-radius: 9999px;
  padding: 3px 4px;
  gap: 3px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.lang-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.03em;
  line-height: 1;
}

.lang-pill-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-pill-btn.active {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.25);
}

.lang-pill-btn.active .lang-label {
  color: #000000;
  font-weight: 800;
}

.lang-divider {
  width: 1px;
  height: 14px;
  background: var(--border);
}

.flag-svg {
  display: inline-block;
  vertical-align: middle;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Mobile Hamburger */
.nav-hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Pill Buttons */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-pill-primary {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
}

.btn-pill-primary:hover {
  background: #e4e4e7;
  border-color: #e4e4e7;
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.btn-pill-secondary {
  background: #141418;
  color: #ffffff;
  border: 1px solid var(--border);
}

.btn-pill-secondary:hover {
  background: #1c1c22;
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.btn-pill-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--border-hover);
}

.btn-pill-outline:hover {
  background: #18181b;
  border-color: #ffffff;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 140px;
  padding-bottom: 70px;
  text-align: center;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #121216;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 2.25rem auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

/* Trust / Feature Pills */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 960px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  width: 17px;
  height: 17px;
  color: #ffffff;
}

/* ==========================================================================
   SUPPORTED TITLES
   ========================================================================== */
.supported-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.supported-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.title-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.title-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

.title-card.active-card {
  border-color: rgba(255, 255, 255, 0.25);
}

.title-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.15) brightness(0.65);
  opacity: 0.65;
  transition: all 0.3s ease;
  z-index: 0;
}

.title-card:hover .title-card-bg {
  filter: grayscale(100%) contrast(1.25) brightness(0.85);
  opacity: 0.9;
  transform: scale(1.04);
}

.title-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.88) 100%);
  z-index: 1;
}

.title-card-content {
  position: relative;
  z-index: 1;
}

.title-card-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.status-dot-active {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-active);
  box-shadow: 0 0 8px var(--status-active);
}

.status-dot-planned {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-planned);
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(10,10,12,0.6) 50%, rgba(0,0,0,0) 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.75rem;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  background: var(--bg-surface-hover);
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #141418;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.feature-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.feature-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  flex-grow: 1;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-section {
  padding: 80px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 880px;
  margin: 0 auto;
}

.pricing-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.pricing-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8);
}

.pricing-card.featured {
  border-color: rgba(255, 255, 255, 0.3);
  background: #0d0d11;
}

.pricing-badge-featured {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.pricing-plan-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
}

.pricing-plan-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #d4d4d8;
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  color: #ffffff;
  flex-shrink: 0;
}

.pricing-table {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
  margin-bottom: 1.75rem;
  padding-top: 0.5rem;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pricing-row:last-child {
  border-bottom: none;
}

.pricing-row span:first-child {
  color: var(--text-muted);
}

.pricing-row span:last-child {
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 30px 0;
  background: #000000;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
}

/* ==========================================================================
   MODAL OVERLAY (Pure Monochrome)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-window {
  background: #0c0c10;
  border: 1px solid var(--border-hover);
  border-radius: 16px;
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  padding: 2.5rem;
  color: #ffffff;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #18181b;
  border: 1px solid var(--border);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #ffffff;
  color: #000000;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (Ultra-wide, Laptops, Tablets, Large & Small Mobiles)
   ========================================================================== */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    background: #09090b;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85);
  }
  
  .nav-menu.mobile-open {
    display: flex;
  }
  
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    padding: 0.5rem 0;
    font-size: 1rem;
  }
  
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    width: 100%;
  }
  
  .lang-switch-capsule {
    justify-content: center;
    width: 100%;
  }
  
  .lang-pill-btn {
    flex: 1;
    justify-content: center;
  }

  .nav-hamburger {
    display: flex;
  }

  .modal-window {
    width: 95vw !important;
    max-height: 90vh !important;
    margin: 1rem auto !important;
  }
}

@media (max-width: 768px) {
  .supported-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hero-title {
    font-size: clamp(2rem, 7vw, 2.75rem);
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-actions .btn-pill {
    width: 100%;
    justify-content: center;
  }
  
  .trust-bar {
    gap: 0.85rem;
    flex-direction: column;
    align-items: stretch;
  }

  .trust-item {
    width: 100%;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  .footer-links {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .container,
  .nav-container,
  .hero-inner,
  .supported-container,
  .features-container,
  .pricing-container,
  .footer-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    white-space: normal;
    text-align: center;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .pricing-card {
    padding: 1.5rem 1.25rem;
  }

  .feature-card {
    padding: 1.25rem;
  }

  .supported-card {
    padding: 1.25rem;
  }

  .modal-window {
    padding: 1.25rem !important;
  }

  .modal-header {
    padding-bottom: 0.75rem !important;
  }

  .modal-title {
    font-size: 1.15rem !important;
  }

  .subpage-title {
    font-size: 1.5rem !important;
  }

  .subpage-section {
    padding: 1.15rem 1rem !important;
  }
}

/* Subpage Card & Modal Content Styles (Monochrome) */
.subpage-body {
  width: 100%;
  color: var(--text-main);
  animation: fadeIn 0.25s ease-out;
}

.subpage-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: #141418;
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.subpage-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.subpage-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
}

.subpage-section {
  background: #09090b;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.subpage-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  background: #ffffff;
  color: #000000;
  padding: 2px 8px;
  border-radius: 6px;
}

.subpage-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.subpage-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.subpage-text code {
  background: #18181b;
  border: 1px solid var(--border);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.subpage-alert {
  background: #121216;
  border-left: 3px solid #ffffff;
  padding: 1rem 1.25rem;
  border-radius: 0 8px 8px 0;
  margin-top: 1rem;
  font-size: 0.88rem;
  color: #d4d4d8;
}

.modal-window img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
