/* ==========================================================================
   VisageAnalytics AI — Static Landing Page Stylesheet
   100% Offline-First · Local Fonts · Cyber-Biometric Glassmorphism Aesthetic
   ========================================================================== */

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/jetbrainsmono-400.ttf') format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/jetbrainsmono-500.ttf') format('truetype');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/jetbrainsmono-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/plusjakartasans-400.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/plusjakartasans-500.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/plusjakartasans-600.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/plusjakartasans-700.ttf') format('truetype');
}

:root {
  --bg-deep: #050811;
  --bg-surface: #0a0f1e;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(20, 30, 55, 0.8);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-bright: rgba(99, 102, 241, 0.35);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --indigo: #6366f1;
  --indigo-glow: rgba(99, 102, 241, 0.25);
  --cyan: #22d3ee;
  --cyan-glow: rgba(34, 211, 238, 0.2);
  --emerald: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --violet: #a78bfa;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

::selection {
  background: rgba(99, 102, 241, 0.35);
  color: #e0e7ff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #050811;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Top Scroll Progress Bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--indigo), var(--cyan), var(--emerald));
  z-index: 9999;
  box-shadow: 0 0 12px var(--cyan);
  transition: width 0.08s ease-out;
}

/* Ambient Background & Grid */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1100px 550px at 12% -5%, rgba(99, 102, 241, 0.16), transparent 70%),
    radial-gradient(900px 500px at 88% 5%, rgba(34, 211, 238, 0.11), transparent 70%),
    radial-gradient(1000px 600px at 50% 55%, rgba(16, 185, 129, 0.05), transparent 75%);
}

.cyber-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 25%, #000 40%, transparent 100%);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

section {
  padding: 104px 0;
  position: relative;
  z-index: 2;
}

/* Section Headers */
.section-header {
  max-width: 820px;
  margin: 0 auto 64px;
  text-align: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--cyan);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.kicker .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse-glow 2s infinite;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 45%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #34d399 0%, #22d3ee 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Navigation Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 8, 17, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.25s ease;
}

.navbar.scrolled {
  background: rgba(5, 8, 17, 0.92);
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.6);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px -4px rgba(99, 102, 241, 0.45);
  flex-shrink: 0;
}

.brand-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1.2;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  display: block;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active {
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.08);
}

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

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--indigo), #4f46e5);
  color: #ffffff;
  border-color: rgba(129, 140, 248, 0.35);
  box-shadow: 0 8px 24px -6px rgba(99, 102, 241, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(99, 102, 241, 0.75);
  background: linear-gradient(135deg, #6366f1, #06b6d4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12.5px;
  border-radius: 10px;
}

/* Spotlight Glass Card */
.spotlight-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    500px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(99, 102, 241, 0.13),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card:hover {
  border-color: rgba(99, 102, 241, 0.32);
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.55);
}

/* ==========================================================================
   1. HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 130px;
  padding-bottom: 84px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 36px;
  align-items: center;
}

.hero-grid > * {
  min-width: 0;
  max-width: 100%;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--emerald);
}

.status-pill .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald);
  animation: pulse-glow 1.6s infinite;
}

.hero-title {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero-subtitle {
  font-size: 17.5px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 30px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.hero-metric-item {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px 14px;
}

.hero-metric-val {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
}

.hero-metric-lbl {
  font-size: 11.5px;
  color: var(--text-secondary);
}

/* Interactive Biometric HUD Console */
.hud-console {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #070b16;
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 20px;
  box-shadow:
    0 24px 60px -15px rgba(0, 0, 0, 0.75),
    0 0 40px -10px rgba(99, 102, 241, 0.2);
  overflow: hidden;
}

.hud-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  gap: 8px;
}

.hud-window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hud-window-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.hud-title-bar {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hud-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 7px 10px;
  background: rgba(10, 15, 30, 0.92);
  border-bottom: 1px solid var(--border-subtle);
}

.hud-chip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 6px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.hud-chip span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.hud-chip:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
}

.hud-chip.active {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(34, 211, 238, 0.55);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.16);
}

.hud-explain-bar {
  padding: 10px 14px;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.12), rgba(15, 23, 42, 0.95));
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: #e2e8f0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.hud-process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  padding: 7px 10px;
  background: rgba(5, 8, 17, 0.95);
  border-top: 1px solid var(--border-subtle);
}

.hud-step-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 6px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 10.5px;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hud-step-item.active {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.45);
  color: #ffffff;
}

.hud-step-num {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--cyan);
  flex-shrink: 0;
}

.hud-step-item.active .hud-step-num {
  background: var(--cyan);
  color: #050811;
}

.hud-explain-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(34, 211, 238, 0.14);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--cyan);
  white-space: nowrap;
  margin-top: 1px;
  flex-shrink: 0;
}

.hud-canvas-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.2;
  background: #040710;
  overflow: hidden;
}

#hero-biometric-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.hud-footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 8px 10px;
  background: rgba(10, 15, 30, 0.95);
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 10.5px;
}

.hud-stat-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

/* ==========================================================================
   2. LOYIHA MAQSADI & INTERACTIVE CAPACITY SIMULATOR
   ========================================================================== */
.goal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.goal-pillar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.goal-pillar {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease;
}

.goal-pillar:hover {
  border-color: rgba(34, 211, 238, 0.3);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
}

/* Interactive Capacity Calculator */
.capacity-sim-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cap-gauge-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(5, 8, 17, 0.65);
  border: 1px solid var(--border-subtle);
  margin-bottom: 22px;
}

.cap-ring-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  flex-shrink: 0;
}

.cap-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cap-score-num {
  font-family: var(--font-mono);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.slider-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.slider-label-row span:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--cyan);
}

input[type="range"].cyber-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  outline: none;
}

input[type="range"].cyber-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--cyan);
  cursor: pointer;
  box-shadow: 0 0 10px var(--cyan);
  border: 2px solid #050811;
}

/* ==========================================================================
   3. MUAMMO VA YECHIMLAR (PROBLEMS & SOLUTIONS)
   ========================================================================== */
.ps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ps-pair-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.problem-box {
  padding: 18px;
  border-radius: 14px;
  background: rgba(244, 63, 94, 0.06);
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.solution-box {
  padding: 18px;
  border-radius: 14px;
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.24);
}

.ps-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.ps-tag.bad {
  color: var(--rose);
}

.ps-tag.good {
  color: var(--emerald);
}

/* Benchmark Comparison Bar */
.benchmark-banner {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
}

/* ==========================================================================
   4. LOYIHANING ILMIY ASOSI (SCIENTIFIC BASIS)
   ========================================================================== */
.science-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.science-tab-btn {
  padding: 11px 20px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.science-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.07);
}

.science-tab-btn.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(34, 211, 238, 0.12));
  border-color: var(--indigo);
  color: #ffffff;
  box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.45);
}

.science-panel {
  display: none;
}

.science-panel.active {
  display: block;
  animation: fadeIn 0.35s ease;
}

.facs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.au-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
}

.au-card:hover, .au-card.active {
  border-color: var(--cyan);
  background: rgba(34, 211, 238, 0.06);
}

.au-code {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
}

.formula-box {
  font-family: var(--font-mono);
  font-size: 13.5px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(5, 8, 17, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #e2e8f0;
  overflow-x: auto;
}

/* ==========================================================================
   5. MVP SHOWCASE (INTERACTIVE WORKSTATION GALLERY)
   ========================================================================== */
.mvp-showcase-layout {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 24px;
  align-items: start;
}

.mvp-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mvp-tab-btn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: var(--font-sans);
}

.mvp-tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.mvp-tab-btn.active {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(34, 211, 238, 0.07));
  border-color: rgba(99, 102, 241, 0.45);
  color: var(--text-primary);
  box-shadow: 0 10px 25px -10px rgba(99, 102, 241, 0.4);
}

.mvp-preview-frame {
  background: #070a14;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
}

.mvp-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #0d1324;
  border-bottom: 1px solid var(--border-subtle);
  gap: 12px;
}

.mvp-url-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
}

.mvp-screenshot-container {
  position: relative;
  background: #050811;
  overflow: hidden;
}

.mvp-screenshot-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s ease, transform 0.35s ease;
}

.mvp-caption-bar {
  padding: 20px 24px;
  background: rgba(10, 15, 30, 0.95);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ==========================================================================
   6. IMKONIYATLARI (CAPABILITIES BENTO GRID)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-span-6 { grid-column: span 6; }
.bento-span-4 { grid-column: span 4; }
.bento-span-8 { grid-column: span 8; }

.cap-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  color: var(--cyan);
}

.tech-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tech-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

/* ==========================================================================
   7. LOYIHA JAMOASI A'ZOLARI (TEAM SECTION)
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.team-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 10px 25px -6px rgba(0, 0, 0, 0.5);
}

.team-editable[contenteditable="true"] {
  outline: 1px dashed var(--cyan);
  background: rgba(34, 211, 238, 0.07);
  border-radius: 6px;
  padding: 2px 6px;
}

/* ==========================================================================
   8. KELAJAKDAGI REJALAR (MODIFIKATSIYA & ROADMAP)
   ========================================================================== */
.roadmap-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.roadmap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phase-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 8px;
  margin-bottom: 16px;
}

/* Comparison Table */
.mod-table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

.mod-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.mod-table th,
.mod-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.mod-table th {
  background: rgba(15, 23, 42, 0.9);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.mod-table tr:last-child td {
  border-bottom: none;
}

/* Footer */
.site-footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(3, 5, 12, 0.9);
  position: relative;
  z-index: 2;
}

/* Animations */
@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.92); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Bottom Quick-Navigation Dock (hidden on desktop, active on mobile) */
.mobile-bottom-dock {
  display: none;
}

/* Responsive Breakpoints */
@media (max-width: 1120px) {
  .hero-grid,
  .goal-grid,
  .benchmark-banner,
  .mvp-showcase-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .roadmap-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bento-span-6, .bento-span-4, .bento-span-8 {
    grid-column: span 6;
  }
  .mvp-nav-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .nav-links {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: rgba(5, 8, 17, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 20px 22px;
    align-items: stretch;
    gap: 6px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.75);
  }
  .nav-links.mobile-open a {
    padding: 12px 14px;
    font-size: 14.5px;
    border-radius: 10px;
  }
  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 74px;
  }
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px));
  }
  .container {
    padding: 0 16px;
  }
  section {
    padding: 60px 0;
  }
  .hero-section {
    padding-top: 96px;
    padding-bottom: 48px;
  }
  .section-header {
    margin-bottom: 38px;
  }
  .section-desc {
    font-size: 15px;
  }
  .hero-title {
    font-size: clamp(27px, 7vw, 38px);
    line-height: 1.14;
    margin-bottom: 16px;
  }
  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 22px;
  }
  .hero-cta-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 26px;
  }
  .hero-cta-row .btn {
    width: 100%;
    padding: 13px 18px;
  }
  .hero-metrics-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .spotlight-card {
    padding: 20px 18px;
    border-radius: 18px;
  }
  /* 2x2 Symmetric Grid for HUD Controls & Process Steps on Mobile */
  .hud-controls,
  .hud-process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
  }
  .hud-chip,
  .hud-step-item {
    font-size: 11px;
    padding: 8px 8px;
    min-height: 36px;
  }
  .hud-canvas-wrap {
    aspect-ratio: 4 / 3.1;
  }
  .hud-explain-bar {
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    font-size: 12px;
  }
  .ps-grid,
  .roadmap-timeline,
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .bento-span-6, .bento-span-4, .bento-span-8 {
    grid-column: span 12;
  }
  .cap-gauge-row {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 14px;
  }
  /* Touch-friendly range sliders */
  input[type="range"].cyber-slider {
    height: 8px;
  }
  input[type="range"].cyber-slider::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
  }
  /* Compact 2-column FACS grid on mobile */
  .facs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .au-card {
    padding: 11px;
  }
  .science-tabs {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .science-tab-btn {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
  }
  /* Horizontal swipe-friendly MVP tabs on mobile */
  .mvp-nav-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .mvp-tab-btn {
    flex: 0 0 230px;
    scroll-snap-align: start;
    padding: 12px 14px;
  }
  .mvp-browser-bar {
    padding: 10px 12px;
  }
  .mvp-url-pill {
    display: none;
  }
  .mvp-caption-bar {
    padding: 16px;
  }
  .mod-table {
    min-width: 640px;
  }
  /* App-style Floating Bottom Navigation Dock on Mobile */
  .mobile-bottom-dock {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 995;
    background: rgba(5, 8, 17, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  }
  .mobile-bottom-dock .dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 10.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-bottom-dock .dock-item.active {
    color: var(--cyan);
    background: rgba(34, 211, 238, 0.1);
  }
}

@media (max-width: 420px) {
  .brand-sub {
    display: none;
  }
  #pitch-mode-btn span {
    display: none;
  }
  #pitch-mode-btn {
    padding: 8px 10px;
  }
  .facs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
