/* ============================================
   SYNTHETIC NATURE & LABORATORY CHIC DESIGN
   ============================================ */

:root {
  /* Base Colors - Laboratory Theme */
  --color-enzyme: #CCFF00;
  --color-lab-glass: #1A2B3C;
  --color-sterile: #FFFFFF;
  --color-dark-bg: #0A0F14;
  --color-mid-bg: #121820;
  --color-accent-blue: #2A4A6B;
  --color-text-primary: #E8F0F5;
  --color-text-secondary: #B0C4D1;
  --color-border: rgba(204, 255, 0, 0.2);
  
  /* Typography */
  --font-primary: 'Orbitron', sans-serif;
  --font-secondary: 'Rajdhani', sans-serif;
  --font-matrix: 'Courier New', monospace;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 4rem;
  
  /* Layout */
  --container-max: 1200px;
  --section-padding: 4rem 1rem;
  
  /* Effects */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-glow: 0 0 20px rgba(204, 255, 0, 0.3);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

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

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(204, 255, 0, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(26, 43, 60, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-sterile);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  letter-spacing: 2px;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  letter-spacing: 1.5px;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 1px;
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
}

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

a:hover {
  color: var(--color-sterile);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 1;
}

.section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.section-content {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-content > h2,
.section-content > h1 {
  text-align: center;
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
  background: rgba(10, 15, 20, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
  position: relative;
  z-index: 1000;
}

.header-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.brand-name {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--color-enzyme);
  font-weight: 700;
}

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

.nav-menu li a {
  font-size: clamp(0.85rem, 2vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-menu li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-enzyme);
  transition: width var(--transition-fast);
}

.nav-menu li a:hover::before {
  width: 80%;
}

.burger-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-enzyme);
  color: var(--color-enzyme);
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1000001;
}

.burger-toggle:hover {
  background: var(--color-enzyme);
  color: var(--color-dark-bg);
}

.burger-toggle.active {
  background: var(--color-enzyme);
  color: var(--color-dark-bg);
}

/* Mobile Navigation */
@media (max-width: 1023px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(10, 15, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5rem var(--space-lg) var(--space-lg);
    gap: var(--space-md);
    border-left: 1px solid var(--color-border);
    transition: right var(--transition-normal);
    z-index: 1000;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .burger-toggle {
    display: block;
  }
}

/* ============================================
   HERO BANNER (FULL-WIDTH)
   ============================================ */

.hero-banner {
  width: 100vw;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 20, 0.75) 0%,
    rgba(10, 15, 20, 0.88) 50%,
    rgba(10, 15, 20, 0.92) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(1.5rem, 6vw, 4.5rem);
  margin-bottom: var(--space-lg);
  text-shadow: 0 0 30px rgba(204, 255, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

/* ============================================
   GRID LAYOUTS
   ============================================ */

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
  margin: var(--space-xl) auto 0;
  max-width: 100%;
  justify-items: center;
}

.grid-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) auto 0;
  max-width: 100%;
  justify-items: center;
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) auto 0;
  max-width: 100%;
  justify-items: center;
}

@media (max-width: 768px) {
  .grid-two,
  .grid-three,
  .grid-four {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ============================================
   CARDS & COMPONENTS
   ============================================ */

.card {
  background: rgba(26, 43, 60, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  text-align: left;
}



.card:hover {
  transform: translateY(-5px);
  border-color: var(--color-enzyme);
  box-shadow: var(--shadow-glow);
}


.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  border: 1px solid var(--color-border);
  display: block;
}

.card-title {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  margin-bottom: var(--space-sm);
  color: var(--color-enzyme);
}

.card-text {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: var(--space-md) var(--space-xl);
  background: transparent;
  border: 2px solid var(--color-enzyme);
  color: var(--color-enzyme);
  font-family: var(--font-primary);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  text-align: center;
  margin-top: 10px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--color-enzyme);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

.btn:hover {
  color: var(--color-dark-bg);
  box-shadow: var(--shadow-glow);
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--color-enzyme);
  color: var(--color-dark-bg);
}

.btn-primary::before {
  background: var(--color-sterile);
}

.btn-primary:hover {
  color: var(--color-dark-bg);
  background: var(--color-sterile);
}

/* ============================================
   SECTION BANNERS
   ============================================ */

.section-banner {
  width: 100%;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: var(--space-xxl) 0;
  border-radius: var(--radius-lg);
}

.section-banner-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.25;
}

.section-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 15, 20, 0.85) 0%,
    rgba(10, 15, 20, 0.92) 50%,
    rgba(10, 15, 20, 0.95) 100%
  );
  z-index: 1;
}

.section-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  max-width: 900px;
  margin: 0 auto;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  margin-bottom: var(--space-sm);
  color: var(--color-enzyme);
  font-family: var(--font-primary);
  font-size: clamp(0.9rem, 2vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md);
  background: rgba(26, 43, 60, 0.4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-secondary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-enzyme);
  box-shadow: 0 0 10px rgba(204, 255, 0, 0.3);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.checkbox-input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-enzyme);
}

.checkbox-label {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ============================================
   SYNTHESIS TIMER (HUD DASHBOARD)
   ============================================ */

.hud-container {
  background: rgba(10, 15, 20, 0.95);
  border: 2px solid var(--color-enzyme);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  margin: var(--space-xxl) 0;
  position: relative;
  overflow: hidden;
}

.hud-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(204, 255, 0, 0.1),
    transparent
  );
  animation: scan 3s infinite;
}

@keyframes scan {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.hud-title {
  font-family: var(--font-primary);
  color: var(--color-enzyme);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hud-status {
  font-family: var(--font-matrix);
  color: var(--color-enzyme);
  font-size: clamp(0.85rem, 2vw, 1rem);
  text-transform: uppercase;
}

.hud-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.metric-box {
  background: rgba(26, 43, 60, 0.3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  text-align: center;
}

.metric-label {
  font-family: var(--font-matrix);
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.metric-value {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--color-enzyme);
  font-weight: 700;
}

.metric-unit {
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: var(--color-text-secondary);
  margin-left: var(--space-xs);
}

/* ============================================
   GOOGLE MAPS
   ============================================ */

.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--color-border);
  margin: var(--space-xl) 0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: rgba(10, 15, 20, 0.95);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) 0 var(--space-lg);
  margin-top: var(--space-xxl);
}

.footer-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.footer-nav a {
  font-size: clamp(0.85rem, 2vw, 0.95rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--space-xs) var(--space-sm);
}

.footer-info {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

/* ============================================
   PRIVACY POPUP
   ============================================ */

.privacy-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.privacy-popup.active {
  display: flex;
}

.popup-content {
  background: var(--color-mid-bg);
  border: 2px solid var(--color-enzyme);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.popup-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: transparent;
  border: 1px solid var(--color-enzyme);
  color: var(--color-enzyme);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition-fast);
}

.popup-close:hover {
  background: var(--color-enzyme);
  color: var(--color-dark-bg);
}

.popup-title {
  color: var(--color-enzyme);
  margin-bottom: var(--space-lg);
}

.popup-text {
  color: var(--color-text-secondary);
  line-height: 1.8;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-xxl { margin-top: var(--space-xxl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-xxl { margin-bottom: var(--space-xxl); }

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 1rem;
  }
  
  .hero-banner {
    min-height: 50vh;
  }
  
  .section-banner {
    min-height: 300px;
  }
  
  .hud-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  :root {
    --section-padding: 2rem 1rem;
  }
  
  .card {
    padding: var(--space-md);
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* ============================================
   404 PAGE
   ============================================ */

.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
}

.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--color-enzyme);
  font-family: var(--font-primary);
  margin-bottom: var(--space-lg);
  text-shadow: var(--shadow-glow);
}

.error-message {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: var(--space-xl);
}

