/* ==========================================================================
   UMBRELLA CORPORATION — ENTERPRISE CAMOUFLAGE DESIGN SYSTEM 2026
   Autonomous, Zero External Dependencies, Fully Responsive
   ========================================================================== */

:root {
  /* Core Palette — Luminous Midnight Sapphire & Tech Slate */
  --bg-primary: #0a1128;
  --bg-secondary: #0f1c3f;
  --bg-surface: #14234c;
  --bg-card: rgba(15, 28, 63, 0.78);
  --bg-card-hover: rgba(22, 40, 88, 0.90);
  --bg-glass: rgba(15, 28, 63, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-card: rgba(255, 255, 255, 0.16);

  /* Typography */
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Default Corporate Accent (Umbrella Vibrant Crimson & Luminous Mesh) */
  --accent-primary: #f43f5e;
  --accent-secondary: #e11d48;
  --accent-hover: #fb7185;
  --accent-glow: rgba(244, 63, 94, 0.5);
  --accent-subtle: rgba(244, 63, 94, 0.18);
  --accent-ambient-1: rgba(244, 63, 94, 0.45);
  --accent-ambient-2: rgba(56, 189, 248, 0.38);
  --accent-ambient-3: rgba(129, 140, 248, 0.32);

  /* Container */
  --container-max: 1240px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   SECTOR ACCENT THEMES (Per-Industry Customization)
   ========================================================================== */
body[data-sector="biology"] {
  --accent-primary: #f43f5e;
  --accent-secondary: #e11d48;
  --accent-hover: #fb7185;
  --accent-glow: rgba(244, 63, 94, 0.45);
  --accent-subtle: rgba(244, 63, 94, 0.16);
  --accent-ambient-1: rgba(244, 63, 94, 0.42);
  --accent-ambient-2: rgba(20, 184, 166, 0.35);
  --accent-ambient-3: rgba(249, 115, 22, 0.22);
}

body[data-sector="pharma"] {
  --accent-primary: #0ea5e9;
  --accent-secondary: #0284c7;
  --accent-hover: #38bdf8;
  --accent-glow: rgba(14, 165, 233, 0.45);
  --accent-subtle: rgba(14, 165, 233, 0.16);
  --accent-ambient-1: rgba(14, 165, 233, 0.42);
  --accent-ambient-2: rgba(99, 102, 241, 0.35);
  --accent-ambient-3: rgba(6, 182, 212, 0.25);
}

body[data-sector="mining"] {
  --accent-primary: #f59e0b;
  --accent-secondary: #d97706;
  --accent-hover: #fbbf24;
  --accent-glow: rgba(245, 158, 11, 0.45);
  --accent-subtle: rgba(245, 158, 11, 0.16);
  --accent-ambient-1: rgba(245, 158, 11, 0.4);
  --accent-ambient-2: rgba(239, 68, 68, 0.32);
  --accent-ambient-3: rgba(217, 119, 6, 0.25);
}

body[data-sector="space"] {
  --accent-primary: #8b5cf6;
  --accent-secondary: #7c3aed;
  --accent-hover: #a78bfa;
  --accent-glow: rgba(139, 92, 246, 0.45);
  --accent-subtle: rgba(139, 92, 246, 0.16);
  --accent-ambient-1: rgba(139, 92, 246, 0.42);
  --accent-ambient-2: rgba(56, 189, 248, 0.35);
  --accent-ambient-3: rgba(236, 72, 153, 0.25);
}

body[data-sector="food"] {
  --accent-primary: #10b981;
  --accent-secondary: #059669;
  --accent-hover: #34d399;
  --accent-glow: rgba(16, 185, 129, 0.45);
  --accent-subtle: rgba(16, 185, 129, 0.16);
  --accent-ambient-1: rgba(16, 185, 129, 0.42);
  --accent-ambient-2: rgba(245, 158, 11, 0.35);
  --accent-ambient-3: rgba(13, 148, 136, 0.25);
}

body[data-sector="electronics"] {
  --accent-primary: #06b6d4;
  --accent-secondary: #0891b2;
  --accent-hover: #22d3ee;
  --accent-glow: rgba(6, 182, 212, 0.45);
  --accent-subtle: rgba(6, 182, 212, 0.16);
  --accent-ambient-1: rgba(6, 182, 212, 0.42);
  --accent-ambient-2: rgba(168, 85, 247, 0.35);
  --accent-ambient-3: rgba(59, 130, 246, 0.25);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 90px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   LIVING FLOWING AURORA MESH (Живой перетекающий фон)
   ========================================================================== */
.ambient-glow-mesh {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.04) 0%, transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 54px 54px, 54px 54px;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.78;
  animation: floatOrb 22s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  will-change: transform, opacity;
}

.orb-1 {
  width: 780px;
  height: 780px;
  top: -15%;
  left: 20%;
  background: radial-gradient(circle, var(--accent-ambient-1) 0%, transparent 72%);
  animation-duration: 24s;
}

.orb-2 {
  width: 700px;
  height: 700px;
  bottom: -10%;
  right: -5%;
  background: radial-gradient(circle, var(--accent-ambient-2) 0%, transparent 72%);
  animation-duration: 28s;
  animation-delay: -8s;
}

.orb-3 {
  width: 820px;
  height: 820px;
  top: 35%;
  left: -15%;
  background: radial-gradient(circle, var(--accent-ambient-3) 0%, transparent 72%);
  animation-duration: 32s;
  animation-delay: -14s;
}

@keyframes floatOrb {
  0% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate3d(90px, 70px, 0) scale(1.18) rotate(30deg);
  }
  66% {
    transform: translate3d(-70px, 110px, 0) scale(0.92) rotate(-20deg);
  }
  100% {
    transform: translate3d(50px, -50px, 0) scale(1.12) rotate(15deg);
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 12, 20, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-card);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  user-select: none;
}

.brand-logo {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 12px var(--accent-glow));
}

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

.brand-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent-primary);
  text-transform: uppercase;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-transform: uppercase;
  padding: 6px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -20px;
  width: 310px;
  background: rgba(10, 15, 26, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 10px 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px var(--accent-subtle);
  display: none;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  z-index: 1000;
}

/* Invisible bridge so mouse hover is never broken */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
  background: transparent;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: flex;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
}

.dropdown-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-terminal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-primary);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 14px var(--accent-glow);
  transition: var(--transition);
}

.btn-terminal:hover {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 0 24px var(--accent-primary);
  transform: translateY(-1px);
}

.lang-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  color: var(--text-secondary);
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn:hover {
  border-color: var(--accent-primary);
  color: #ffffff;
}

/* Mobile Hamburger */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-primary);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 80px 0 60px;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-primary);
  border-radius: 30px;
  padding: 6px 16px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}

.hero-badge-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent-hover);
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 24px;
  max-width: 950px;
}

.hero-title span {
  color: var(--accent-primary);
  text-shadow: 0 0 30px var(--accent-glow);
}

.hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 760px;
  margin-bottom: 36px;
  line-height: 1.6;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  border: 1px solid var(--accent-hover);
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 6px 20px var(--accent-glow);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-primary);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-primary);
}

/* Metrics Bar */
.metrics-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 64px;
  padding: 32px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  font-family: var(--font-mono);
}

.metric-val span {
  color: var(--accent-primary);
}

.metric-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 6px;
}

/* ==========================================================================
   SECTORS OVERVIEW GRID (Homepage)
   ========================================================================== */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.2;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.sector-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.sector-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-accent, var(--accent-primary));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px var(--card-glow, var(--accent-glow));
}

.sector-card-header {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.sector-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sector-card:hover .sector-card-img {
  transform: scale(1.05);
}

.sector-card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(8, 12, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--card-accent, var(--accent-primary));
  color: #ffffff;
}

.sector-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sector-card-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.sector-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.sector-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-card);
  padding-top: 18px;
  margin-top: auto;
}

.sector-card-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--card-accent, var(--accent-primary));
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sector-card-link:hover {
  gap: 12px;
}

/* ==========================================================================
   SECTOR PAGE: EMPLOYEE SPOTLIGHT & INNOVATION MODULES
   ========================================================================== */
.employee-spotlight {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  margin: 60px 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px var(--accent-subtle);
}

.spotlight-media {
  position: relative;
  min-height: 440px;
}

.spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.spotlight-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(8, 12, 20, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--accent-primary);
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
}

.spotlight-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

.spotlight-role {
  font-size: 11px;
  color: var(--accent-hover);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.spotlight-id {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 4px;
}

.spotlight-content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-quote {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 28px;
  font-style: italic;
  position: relative;
}

.spotlight-quote::before {
  content: '“';
  font-size: 72px;
  line-height: 0;
  position: absolute;
  top: 24px;
  left: -32px;
  color: var(--accent-primary);
  opacity: 0.3;
}

.spotlight-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid var(--border-card);
  padding-top: 24px;
}

.detail-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.detail-val {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 4px;
}

/* Innovations Grid */
.innovations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.innovation-card {
  background: rgba(13, 18, 30, 0.6);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 28px;
  transition: var(--transition);
}

.innovation-card:hover {
  border-color: var(--accent-primary);
  background: rgba(17, 24, 39, 0.85);
  box-shadow: 0 10px 30px var(--accent-subtle);
}

.innovation-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-hover);
  margin-bottom: 20px;
}

.innovation-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.innovation-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Facilities Grid */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin: 40px 0 60px;
}

.facility-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.facility-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px var(--accent-subtle);
}

.facility-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}

.facility-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.facility-name {
  font-size: 19px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.facility-location {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-hover);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.facility-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.facility-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border-card);
  padding-top: 14px;
  margin-top: auto;
  font-size: 12px;
  color: var(--text-secondary);
}

.spec-row {
  display: flex;
  justify-content: space-between;
}

.spec-label {
  color: var(--text-muted);
}

.spec-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   BIOMETRIC TERMINAL MODAL (Camouflage Trap & Gate)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 12, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.terminal-box {
  width: 100%;
  max-width: 440px;
  background: rgba(13, 18, 30, 0.95);
  border: 1px solid var(--accent-primary);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9), 0 0 50px var(--accent-glow);
  position: relative;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.modal-close:hover {
  color: #ffffff;
}

.terminal-scanner {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 2px solid var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-hover);
  position: relative;
  box-shadow: 0 0 25px var(--accent-glow);
  cursor: pointer;
}

.terminal-scanner::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--accent-primary);
  top: 0;
  left: 0;
  animation: scanLine 2s infinite ease-in-out;
  box-shadow: 0 0 10px var(--accent-primary);
}

@keyframes scanLine {
  0%, 100% { top: 10%; opacity: 0.2; }
  50% { top: 90%; opacity: 1; }
}

.terminal-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.terminal-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.terminal-input {
  width: 100%;
  background: rgba(8, 12, 20, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #ffffff;
  outline: none;
  margin-bottom: 16px;
  text-align: center;
}

.terminal-input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 16px var(--accent-glow);
}

.terminal-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  border: 1px solid var(--accent-hover);
  border-radius: 8px;
  padding: 12px 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #ffffff;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 18px var(--accent-glow);
  transition: var(--transition);
}

.terminal-btn:hover {
  box-shadow: 0 6px 26px var(--accent-primary);
}

.terminal-alert {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  min-height: 20px;
}

.terminal-alert.error {
  color: #f43f5e;
}

.terminal-alert.success {
  color: #10b981;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  margin-top: auto;
  background: #04070c;
  border-top: 1px solid var(--border-card);
  padding: 70px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 320px;
  margin-top: 14px;
  line-height: 1.6;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--border-card);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.footer-cert {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Tablets & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .employee-spotlight {
    grid-template-columns: 1fr;
  }
  .spotlight-media {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    display: none;
    overflow-y: auto;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-dropdown .dropdown-menu {
    position: static;
    display: flex;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.02);
    width: 100%;
    margin-top: 8px;
  }
  .sectors-grid {
    grid-template-columns: 1fr;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons button, .hero-buttons a {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
