﻿/* ========================= */
/* GLOBAL STYLE */
/* ========================= */

body {
  background: #010101;
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #cfd6d6;
  overflow-x: hidden;
  opacity: 1;
}

/* Fade transition for language switching */
body.fade-out {
  opacity: 0;
  transition: opacity 0.35s ease-out;
}

body.fade-in {
  opacity: 1;
  transition: opacity 0.35s ease-in;
}

/* ========================= */
/* NAVIGATION BAR */
/* ========================= */

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(0, 20, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #00ffe0;
  padding: 15px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0, 255, 224, 0.1);
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  color: #00ffe0;
  text-decoration: none;
  letter-spacing: 2px;
  text-shadow: 0 0 10px #005a46;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: #7ddfd1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: 0.3s;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: #00ffe0;
  border-color: #00ffe0;
  background: rgba(0, 255, 224, 0.05);
  box-shadow: 0 0 15px rgba(0, 255, 224, 0.2);
}

.nav-links a.active {
  color: #00ffe0;
  border-color: #00ffc8;
  background: rgba(0, 255, 200, 0.1);
}

/* Golden Highlight - Featured Product */
.nav-links a.nav-highlight {
  color: #ffc107;
  border-color: #ffc107;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.1));
  font-weight: 600;
  box-shadow: 0 0 15px rgba(255, 193, 7, 0.3);
}

.nav-links a.nav-highlight:hover {
  color: #ffecb3;
  border-color: #ffca28;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.25), rgba(255, 152, 0, 0.15));
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.5);
}

.nav-links a.nav-highlight.active {
  color: #ffc107;
  border-color: #ffb300;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.3), rgba(255, 152, 0, 0.2));
  box-shadow: 0 0 25px rgba(255, 193, 7, 0.6);
}

/* Dropdown Navigation */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown .nav-dropdown-btn {
  color: #7ddfd1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: 0.3s;
  letter-spacing: 1px;
  cursor: pointer;
  background: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown .nav-dropdown-btn::after {
  content: '▼';
  font-size: 10px;
  transition: transform 0.3s;
}

.nav-dropdown:hover .nav-dropdown-btn::after {
  transform: rotate(180deg);
}

.nav-dropdown .nav-dropdown-btn:hover {
  color: #00ffe0;
  border-color: #00ffe0;
  background: rgba(0, 255, 224, 0.05);
  box-shadow: 0 0 15px rgba(0, 255, 224, 0.2);
}

.nav-dropdown .nav-dropdown-btn.active {
  color: #00ffe0;
  border-color: #00ffc8;
  background: rgba(0, 255, 200, 0.1);
}

.nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(0, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid #00ffe0;
  border-top: none;
  border-radius: 0 0 4px 4px;
  min-width: 200px;
  max-width: 300px;
  box-shadow: 0 8px 20px rgba(0, 255, 224, 0.2);
  z-index: 10000;
  margin-top: 0;
}

.nav-dropdown:hover .nav-dropdown-content {
  display: block;
}

.nav-dropdown-content a {
  display: block;
  color: #7ddfd1;
  text-decoration: none;
  font-size: 13px;
  padding: 12px 20px;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 255, 224, 0.1);
  transition: 0.3s;
}

.nav-dropdown-content a:last-child {
  border-bottom: none;
  border-radius: 0 0 4px 4px;
}

.nav-dropdown-content a:hover {
  color: #00ffe0;
  background: rgba(0, 255, 224, 0.1);
  box-shadow: none;
  padding-left: 25px;
}

.nav-dropdown-content a.active {
  color: #00ffe0;
  background: rgba(0, 255, 200, 0.15);
  border-left: 3px solid #00ffe0;
}

/* Sub-Dropdown (3rd level) */
.nav-dropdown-sub {
  position: relative;
}

.nav-dropdown-sub-btn {
  display: block;
  color: #7ddfd1;
  text-decoration: none;
  font-size: 13px;
  padding: 12px 20px;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 255, 224, 0.1);
  transition: 0.3s;
  cursor: pointer;
  background: none;
}

.nav-dropdown-sub-btn:hover {
  color: #00ffe0;
  background: rgba(0, 255, 224, 0.1);
  padding-left: 25px;
}

.nav-dropdown-sub-content {
  display: none;
  position: absolute;
  top: 0;
  right: 100%;
  background: rgba(0, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid #00ffe0;
  border-radius: 4px;
  min-width: 200px;
  max-width: 250px;
  box-shadow: 0 8px 20px rgba(0, 255, 224, 0.2);
  z-index: 10001;
  margin-right: -1px;
}

.nav-dropdown-sub:hover .nav-dropdown-sub-content {
  display: block;
}

.nav-dropdown-sub-content a {
  display: block;
  color: #7ddfd1;
  text-decoration: none;
  font-size: 13px;
  padding: 12px 20px;
  border: none;
  border-radius: 0;
  border-bottom: 1px solid rgba(0, 255, 224, 0.1);
  transition: 0.3s;
}

.nav-dropdown-sub-content a:first-child {
  border-radius: 4px 4px 0 0;
}

.nav-dropdown-sub-content a:last-child {
  border-bottom: none;
  border-radius: 0 0 4px 4px;
}

.nav-dropdown-sub-content a:hover {
  color: #00ffe0;
  background: rgba(0, 255, 224, 0.1);
  padding-left: 25px;
}

.nav-dropdown-sub-content a.active {
  color: #00ffe0;
  background: rgba(0, 255, 200, 0.15);
  border-left: 3px solid #00ffe0;
}

/* Hamburger Menu Button */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: 1px solid #00ffe0;
  border-radius: 4px;
  background: rgba(0, 255, 224, 0.05);
  transition: all 0.3s ease;
}

.nav-hamburger:hover {
  background: rgba(0, 255, 224, 0.15);
  box-shadow: 0 0 15px rgba(0, 255, 224, 0.3);
}

.nav-hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #00ffe0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-bar {
    flex-direction: row;
    padding: 12px 4%;
  }
  
  .nav-hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    width: 100%;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    background: rgba(0, 20, 20, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #00ffe0;
    padding: 15px 0;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 224, 0.2);
  }
  
  .nav-links.mobile-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links a {
    font-size: 14px;
    padding: 14px 6%;
    width: auto;
    text-align: left;
    border-bottom: 1px solid rgba(0, 255, 224, 0.1);
    border-radius: 0;
    margin: 0;
  }
  
  /* Mobile dropdown adjustments */
  .nav-dropdown {
    position: relative;
    width: 100%;
    border-bottom: 1px solid rgba(0, 255, 224, 0.1);
  }
  
  .nav-dropdown-btn {
    cursor: pointer;
    user-select: none;
    width: 100%;
    padding: 14px 6%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
  }
  
  /* Disable hover on mobile - use click only */
  .nav-dropdown:hover .nav-dropdown-content {
    display: none;
  }
  
  .nav-dropdown-content {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0, 30, 30, 0.8);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  
  .nav-dropdown.mobile-active .nav-dropdown-content {
    max-height: 500px;
  }
  
  .nav-dropdown-content a {
    font-size: 13px;
    padding: 12px 6% 12px 10%;
    background: transparent;
    border-bottom: 1px solid rgba(0, 255, 224, 0.05);
    border-radius: 0;
    margin: 0;
  }
  
  /* Mobile sub-dropdown (UAS Tool submenu) */
  .nav-dropdown-sub {
    position: static !important;
    width: 100%;
    border-bottom: 1px solid rgba(0, 255, 224, 0.05);
  }
  
  .nav-dropdown-sub-btn {
    padding: 12px 6% 12px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    background: transparent;
    border: none;
    border-radius: 0;
  }
  
  /* Disable hover on mobile submenu */
  .nav-dropdown-sub:hover .nav-dropdown-sub-content {
    display: none;
  }
  
  .nav-dropdown-sub-content {
    display: block !important;
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    padding: 0;
    width: 100% !important;
    min-width: auto !important;
    box-shadow: none !important;
    border: none !important;
    background: rgba(0, 40, 40, 0.6) !important;
    backdrop-filter: none !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    z-index: auto !important;
  }
  
  .nav-dropdown-sub.mobile-active .nav-dropdown-sub-content {
    max-height: 300px;
  }
  
  .nav-dropdown-sub-content a {
    font-size: 12px;
    padding: 10px 6% 10px 14%;
    background: transparent;
    border-bottom: 1px solid rgba(0, 255, 224, 0.03);
    border-radius: 0;
    margin: 0;
  }
  
  .nav-dropdown-sub-content a:last-child {
    border-bottom: none;
  }
    user-select: none;
    display: block;
    color: #7ddfd1;
    text-decoration: none;
    width: 100%;
  }
  
  .nav-dropdown-sub-content a {
    font-size: 11px;
    padding: 6px 12px;
    background: rgba(0, 40, 40, 0.6);
    display: block;
    margin-bottom: 2px;
    border-radius: 3px;
    width: 100%;
    box-sizing: border-box;
  }
}

/* ========================= */
/* LANGUAGE TOGGLE */
/* ========================= */

.lang-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  background: rgba(0, 20, 20, 0.7);
  padding: 8px 14px;
  border: 1px solid #00ffe0;
  border-radius: 4px;
  color: #00ffe0;
  font-size: 14px;
  cursor: pointer;
  backdrop-filter: blur(3px);
  transition: 0.3s;
}

.lang-toggle:hover {
  background: rgba(0, 40, 40, 0.8);
}

/* Mobile language toggle adjustment */
@media (max-width: 768px) {
  .lang-toggle {
    top: 70px;
    right: 4%;
    font-size: 12px;
    padding: 6px 10px;
    z-index: 10000;
  }
}

/* ========================= */
/* BOOT-UP SCREEN */
/* ========================= */

#boot {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background:#000;
  color:#00ffc8;
  font-family: "Consolas", monospace;
  padding:20px;
  z-index:99999;
  animation: bootFade 4s forwards;
}

@keyframes bootFade {
  0% { opacity:1; }
  80% { opacity:1; }
  100% { opacity:0; visibility:hidden; }
}

.boot-line {
  opacity:0;
  font-size: clamp(12px, 4vw, 20px);
  animation: bootType 0.5s forwards;
}
.boot-line:nth-child(1){animation-delay:0.3s;}
.boot-line:nth-child(2){animation-delay:0.8s;}
.boot-line:nth-child(3){animation-delay:1.2s;}
.boot-line:nth-child(4){animation-delay:1.6s;}
.boot-line:nth-child(5){animation-delay:2.1s;}

@keyframes bootType {
  from { opacity:0; }
  to { opacity:1; }
}

/* ========================= */
/* BACKGROUND EFFECTS */
/* ========================= */

.radar-bg {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: radial-gradient(circle at center,
      rgba(0,255,200,0.10) 0%,
      rgba(0,255,200,0.03) 40%,
      rgba(0,0,0,0.9) 100%);
  filter: blur(60px);
  animation: radarPulse 8s infinite;
  z-index:0;
  pointer-events: none;
}

@keyframes radarPulse {
  0%,100% { transform: scale(1); opacity:0.6; }
  50% { transform: scale(1.15); opacity:0.8; }
}

/* GRID */
.grid-overlay {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  pointer-events:none;
  background-image:
      linear-gradient(rgba(0,255,200,0.05) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,255,200,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 18s linear infinite;
  z-index:1;
}

@keyframes gridMove {
  from { transform: translateY(0); }
  to { transform: translateY(-60px); }
}

/* Scanlines */
.scanlines {
  pointer-events:none;
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: repeating-linear-gradient(
      rgba(0,0,0,0) 0px,
      rgba(0,0,0,0) 3px,
      rgba(0,255,200,0.04) 4px);
  z-index:2;
}

/* Floating Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #00ffe0;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ffe0;
  opacity: 0.6;
}

/* ========================= */
/* NETWORK NODE VISUALIZATION */
/* ========================= */

.network-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Terrain Topography Background */
.terrain-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(135deg, rgba(0, 255, 224, 0.02) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 30%, rgba(0, 255, 224, 0.08) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 70%, rgba(0, 255, 224, 0.06) 0%, transparent 40%),
    repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(0, 255, 224, 0.015) 100px, rgba(0, 255, 224, 0.015) 102px),
    repeating-linear-gradient(-45deg, transparent, transparent 80px, rgba(0, 255, 224, 0.02) 80px, rgba(0, 255, 224, 0.02) 82px);
  opacity: 0.4;
}

/* Topographic contour lines animation */
.topo-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(ellipse 800px 400px at 30% 40%, transparent 39%, rgba(0, 255, 224, 0.08) 40%, rgba(0, 255, 224, 0.08) 40.5%, transparent 41%),
    radial-gradient(ellipse 600px 350px at 30% 40%, transparent 39%, rgba(0, 255, 224, 0.06) 40%, rgba(0, 255, 224, 0.06) 40.5%, transparent 41%),
    radial-gradient(ellipse 400px 250px at 30% 40%, transparent 39%, rgba(0, 255, 224, 0.05) 40%, rgba(0, 255, 224, 0.05) 40.5%, transparent 41%),
    radial-gradient(ellipse 700px 380px at 70% 65%, transparent 39%, rgba(0, 255, 224, 0.07) 40%, rgba(0, 255, 224, 0.07) 40.5%, transparent 41%),
    radial-gradient(ellipse 500px 300px at 70% 65%, transparent 39%, rgba(0, 255, 224, 0.06) 40%, rgba(0, 255, 224, 0.06) 40.5%, transparent 41%);
  opacity: 0.3;
  animation: topoShift 60s ease-in-out infinite alternate;
}

/* Mesh nodes on terrain */
.mesh-nodes-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.mesh-node {
  position: absolute;
  width: 14px;
  height: 14px;
  background: radial-gradient(circle, #00ffe0 0%, #00ffc8 40%, transparent 70%);
  border: 2px solid #00ffe0;
  border-radius: 50%;
  box-shadow: 0 0 20px #00ffe0, 0 0 40px rgba(0, 255, 224, 0.4);
  animation: meshNodePulse 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

/* Glow effect when light particle hits node */
.mesh-node.node-hit-glow {
  transform: scale(1.8);
  background: radial-gradient(circle, #ffffff 0%, #00ffe0 30%, #00ffc8 60%, rgba(0, 255, 224, 0.3) 100%);
  box-shadow: 
    0 0 40px #ffffff,
    0 0 60px #00ffe0,
    0 0 80px rgba(0, 255, 224, 0.8),
    0 0 100px rgba(0, 255, 224, 0.4);
  border-color: #ffffff;
}

/* Irregular terrain positions for mesh nodes */
.mesh-node:nth-child(1) {
  top: 15%;
  left: 20%;
  animation-delay: 0s;
}

.mesh-node:nth-child(2) {
  top: 25%;
  left: 45%;
  animation-delay: 0.3s;
}

.mesh-node:nth-child(3) {
  top: 20%;
  right: 25%;
  animation-delay: 0.6s;
}

.mesh-node:nth-child(4) {
  top: 45%;
  left: 15%;
  animation-delay: 0.9s;
}

.mesh-node:nth-child(5) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 1.2s;
  width: 18px;
  height: 18px;
}

.mesh-node:nth-child(6) {
  top: 48%;
  right: 18%;
  animation-delay: 1.5s;
}

.mesh-node:nth-child(7) {
  bottom: 25%;
  left: 22%;
  animation-delay: 1.8s;
}

.mesh-node:nth-child(8) {
  bottom: 28%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2.1s;
}

.mesh-node:nth-child(9) {
  bottom: 22%;
  right: 28%;
  animation-delay: 2.4s;
}

/* Connection lines between nodes */
.mesh-connection {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 224, 0.3), transparent);
  transform-origin: 0 0;
  opacity: 0.2;
}

/* Data packet bouncing animation */
.data-packet {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #00ffe0 0%, transparent 70%);
  border-radius: 50%;
  box-shadow: 0 0 10px #00ffe0;
  opacity: 0;
  animation: dataTransmit 4s ease-in-out infinite;
}

.data-packet:nth-child(10) {
  top: 15%;
  left: 20%;
  animation-delay: 0s;
}

.data-packet:nth-child(11) {
  top: 25%;
  left: 45%;
  animation-delay: 0.8s;
}

.data-packet:nth-child(12) {
  top: 20%;
  right: 25%;
  animation-delay: 1.6s;
}

.data-packet:nth-child(13) {
  top: 45%;
  left: 15%;
  animation-delay: 2.4s;
}

.data-packet:nth-child(14) {
  bottom: 25%;
  left: 22%;
  animation-delay: 3.2s;
}

.network-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, #00ffe0, transparent);
  height: 1px;
  transform-origin: left center;
  opacity: 0.4;
  animation: linePulse 4s ease-in-out infinite;
}

.network-line:nth-child(1) {
  width: 220px;
  top: 23%;
  left: 50%;
  transform: rotate(-35deg);
  animation-delay: 0s;
}

.network-line:nth-child(2) {
  width: 200px;
  top: 50%;
  left: 50%;
  transform: rotate(0deg);
  animation-delay: 0.5s;
}

.network-line:nth-child(3) {
  width: 220px;
  top: 77%;
  left: 50%;
  transform: rotate(35deg);
  animation-delay: 1s;
}

.network-line:nth-child(4) {
  width: 220px;
  top: 23%;
  right: 50%;
  transform: rotate(35deg);
  animation-delay: 1.5s;
}

.network-line:nth-child(5) {
  width: 200px;
  top: 50%;
  right: 50%;
  transform: rotate(0deg);
  animation-delay: 2s;
}

.network-line:nth-child(6) {
  width: 220px;
  top: 77%;
  right: 50%;
  transform: rotate(-35deg);
  animation-delay: 2.5s;
}

.data-packet {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #00ffe0;
  border-radius: 50%;
  box-shadow: 0 0 10px #00ffe0, 0 0 20px rgba(0, 255, 224, 0.5);
  animation: packetFlow 3s linear infinite;
  opacity: 0;
}

/* Light particles traveling between mesh nodes */
.network-light-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #ffffff 0%, #00ffe0 30%, rgba(0, 255, 224, 0.5) 70%, transparent 100%);
  border-radius: 50%;
  box-shadow: 
    0 0 10px #00ffe0,
    0 0 20px rgba(0, 255, 224, 0.8),
    0 0 30px rgba(0, 255, 224, 0.4);
  pointer-events: none;
  z-index: 4;
  filter: blur(0.5px);
}

@keyframes hubPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes corePulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.7;
  }
}

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

@keyframes nodesRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes nodePulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.8;
  }
  50% { 
    transform: scale(1.4);
    opacity: 1;
  }
}

/* New terrain and mesh animations */
@keyframes meshNodePulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 0.9;
    box-shadow: 0 0 20px #00ffe0, 0 0 40px rgba(0, 255, 224, 0.4);
  }
  50% { 
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 30px #00ffe0, 0 0 60px rgba(0, 255, 224, 0.6);
  }
}

@keyframes dataTransmit {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }
  5% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  25% {
    opacity: 1;
    transform: translate(80px, -30px) scale(1);
  }
  26% {
    transform: translate(80px, -30px) scale(1.3);
  }
  27% {
    transform: translate(80px, -30px) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(160px, 20px) scale(1);
  }
  51% {
    transform: translate(160px, 20px) scale(1.3);
  }
  52% {
    transform: translate(160px, 20px) scale(1);
  }
  75% {
    opacity: 1;
    transform: translate(240px, -10px) scale(1);
  }
  76% {
    transform: translate(240px, -10px) scale(1.3);
  }
  77% {
    transform: translate(240px, -10px) scale(1);
  }
  95% {
    opacity: 1;
    transform: translate(320px, 30px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(320px, 30px) scale(0.5);
  }
}

@keyframes topoShift {
  0% {
    opacity: 0.3;
    transform: scale(1) translate(0, 0);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.05) translate(2%, -2%);
  }
  100% {
    opacity: 0.3;
    transform: scale(1) translate(0, 0);
  }
}

@keyframes linePulse {
  0%, 100% { 
    opacity: 0.3;
    box-shadow: 0 0 5px rgba(0, 255, 224, 0.3);
  }
  50% { 
    opacity: 0.8;
    box-shadow: 0 0 15px rgba(0, 255, 224, 0.8);
  }
}

@keyframes packetFlow {
  0% {
    opacity: 0;
    transform: translateX(0);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(200px);
  }
}

/* Scroll Reveal Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.scroll-reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
  padding: calc(80px + 15%) 6% 6% 6%;
  position: relative;
  z-index: 5;
}

.title {
  font-size: clamp(38px, 9vw, 72px);
  font-weight: 700;
  letter-spacing: 4px;
  color: #00ffe0;
  text-shadow: 0 0 24px #005a46;
  animation: titlePulse 3s ease-in-out infinite;
}

/* Title Size Variants */
.title-large {
  font-size: clamp(38px, 9vw, 72px);
}

.title-standard {
  font-size: clamp(32px, 7vw, 56px);
}

@keyframes titlePulse {
  0%, 100% { 
    text-shadow: 0 0 24px #005a46, 0 0 48px #00ffe0;
  }
  50% { 
    text-shadow: 0 0 32px #005a46, 0 0 64px #00ffe0, 0 0 80px #00ffc8;
  }
}

.subtitle {
  margin-top: 12px;
  font-size: clamp(16px, 4vw, 26px);
  background: linear-gradient(90deg, #7ddfd1, #00ffe0, #00ffc8, #7ddfd1);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.4;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ========================= */
/* SECTIONS */
/* ========================= */

.section {
  padding: 70px 6%;
  position: relative;
  z-index: 5;
  border-top: 1px solid #0d1f1f;
}

.section h2 {
  color:#e2e7e7;
  font-size: clamp(24px, 6vw, 36px);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #00ffe0, transparent);
  animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
  0%, 100% { 
    box-shadow: 0 0 5px #00ffe0, 0 0 10px #00ffe0;
    opacity: 1;
  }
  50% { 
    box-shadow: 0 0 15px #00ffe0, 0 0 25px #00ffe0;
    opacity: 0.8;
  }
}

.section p {
  color:#cfd6d6;
  font-size: clamp(14px, 4vw, 18px);
  line-height: 1.6;
}

/* Section Text Variants */
.subtitle-text {
  color: #b8c5c6;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.section-intro-text {
  text-align: center;
  color: #7a8b8c;
  font-size: 13px;
  margin-bottom: 30px;
}

.highlight-text {
  color: #00ffe0;
  font-size: 13px;
  margin: 0;
  font-weight: 600;
}

/* Metric and Display Text Styles */
.metric-large {
  font-size: 48px;
  margin-bottom: 15px;
}

.metric-medium {
  font-size: 24px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 255, 224, 0.8);
}

.metric-label {
  font-size: 13px;
  margin-top: 12px;
  font-weight: 600;
}

.metric-small {
  font-size: 11px;
  margin-top: 3px;
}

.metric-description {
  font-size: 13px;
  margin: 0;
  font-weight: 600;
}

.summary-heading {
  color: #00ffe0;
  font-size: 22px;
  margin-bottom: 15px;
}

.summary-text {
  color: #b8c5c6;
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

.decision-heading {
  color: #00ffe0;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-heading-medium {
  text-align: center;
  color: #00ffe0;
  margin-bottom: 30px;
  font-size: 24px;
}

.section-subheading {
  color: #00ffe0;
  margin-bottom: 15px;
  font-size: 20px;
}

.advantage-heading {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.warning-text {
  color: #ff6b6b;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.description-text {
  font-size: 20px;
  margin-bottom: 30px;
}

/* List Styles */
.compact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}


/* ========================= */
/* MISSION STATEMENT */
/* ========================= */

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

.mission-text {
  max-width: 900px;
  margin: 0 auto 60px auto;
  font-size: 20px;
  color: #cfd6d6;
  line-height: 1.7;
}

.mission-grid-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

/* Equipment Grid - 2x2 layout for hardware products */
.equipment-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .equipment-2x2 {
    grid-template-columns: 1fr;
  }
}

.mission-detail-box {
  padding: 25px;
  background: linear-gradient(135deg, #0a1111 0%, #0d1515 100%);
  border: 1px solid #0c1a1a;
  border-radius: 6px;
  box-shadow: 0 0 20px #001a14;
  text-align: left;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mission-detail-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,255,224,0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.mission-detail-box:hover {
  transform: translateY(-5px);
  border-color: #00ffe0;
  box-shadow: 0 15px 35px rgba(0,255,224,0.2), 0 0 0 1px rgba(0,255,224,0.1);
}

.mission-detail-box:hover::after {
  width: 300px;
  height: 300px;
}

.mission-detail-box h3 {
  color: #00ffe0;
  margin-bottom: 10px;
  font-size: 22px;
}

.mission-detail-box p {
  color: #cfd6d6;
  font-size: 16px;
  line-height: 1.5;
}

/* ========================= */
/* CARDS (C5ISR + Mission Capabilities) */
/* ========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.card,
.mission-card {
  background: #0a1111;
  border: 1px solid #0c1a1a;
  padding: 24px;
  border-radius: 6px;
  box-shadow: 0 0 16px #000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
}

.card::before,
.mission-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,255,224,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover,
.mission-card:hover {
  border-color:#00ffc8;
  box-shadow: 0 10px 40px rgba(0,255,200,0.3), 0 0 0 1px rgba(0,255,200,0.1);
  transform: translateY(-8px) scale(1.02);
}

.card:hover::before,
.mission-card:hover::before {
  opacity: 1;
  animation: rotateGlow 3s linear infinite;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.mission-card h3 {
  color:#00ffe0;
  margin-top:0;
}

/* ========================= */
/* PLACEHOLDER IMAGE BLOCK */
/* ========================= */

.placeholder-img {
  width: 100%;
  height: 260px;
  background: #0a1111;
  border: 1px solid #0c1a1a;
  border-radius: 6px;
  box-shadow: 0 0 20px #001a14;
}

/* ========================= */
/* ATAK ECOSYSTEM SCROLL BLOCKS */
/* ========================= */

.atak-section h2 {
  margin-bottom: 60px;
}

.atak-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 100px;
}

.atak-block.reverse {
  flex-direction: row-reverse;
}

.atak-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.atak-text h3 {
  color: #00ffe0;
  margin-bottom: 12px;
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: 0.5px;
}

.atak-text p {
  font-size: clamp(15px, 2.5vw, 18px);
  color: #cfd6d6;
  line-height: 1.7;
}

/* IMPORTANT: Add this new rule to size the actual image */
.atak-img {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.atak-img img {
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  border: 1px solid #0c1a1a;
  border-radius: 8px;
  box-shadow: 0 4px 30px rgba(0, 255, 224, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.atak-img img:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #00ffe0;
  box-shadow: 0 8px 40px rgba(0, 255, 224, 0.25), 0 0 0 1px rgba(0, 255, 224, 0.3);
}

/* ========================= */
/* ATAK DEVELOPMENT */
/* ========================= */

.atak-dev-section h2 {
  margin-bottom: 60px;
}

.atak-dev-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 100px;
}

.atak-dev-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.atak-dev-text h3 {
  color: #00ffe0;
  margin-bottom: 15px;
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: 0.5px;
}

.atak-dev-text p {
  font-size: clamp(15px, 2.5vw, 18px);
  color: #cfd6d6;
  line-height: 1.7;
}

.atak-dev-img {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.atak-dev-img img {
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid #0c1a1a;
  box-shadow: 0 4px 30px rgba(0, 255, 224, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.atak-dev-img img:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #00ffe0;
  box-shadow: 0 8px 40px rgba(0, 255, 224, 0.25), 0 0 0 1px rgba(0, 255, 224, 0.3);
}

.placeholder-img {
  height: 300px;
}

/* ========================= */
/* CORE CAPABILITIES */
/* ========================= */

.capabilities-section .cap-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 100px;
}
.capabilities-section .cap-block.reverse {
  flex-direction: row-reverse;
}
.cap-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}
.cap-text h3 {
  color:#00ffe0;
  font-size: clamp(22px, 4vw, 30px);
  margin-bottom:12px;
  letter-spacing: 0.5px;
}
.cap-text p {
  color:#cfd6d6;
  font-size: clamp(15px, 2.5vw, 18px);
  line-height: 1.7;
}
.cap-img {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}
.cap-img img {
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 420px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  border: 1px solid #0c1a1a;
  box-shadow: 0 4px 30px rgba(0, 255, 224, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cap-img img:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: #00ffe0;
  box-shadow: 0 8px 40px rgba(0, 255, 224, 0.25), 0 0 0 1px rgba(0, 255, 224, 0.3);
}

.placeholder-img {
  height:260px;
}

/* ========================= */
/* WHY 3RD ECHELON */
/* ========================= */

.why-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:40px;
}
.why-box {
  background:linear-gradient(135deg, #0a1111 0%, #0d1515 100%);
  padding:25px;
  border:1px solid #0c1a1a;
  border-radius:6px;
  box-shadow:0 0 20px #001a14;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.why-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,255,224,0.1), transparent);
  transition: left 0.6s ease;
}

.why-box:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: #00ffe0;
  box-shadow: 0 20px 40px rgba(0,255,224,0.25), 0 0 0 1px rgba(0,255,224,0.1);
}

.why-box:hover::before {
  left: 100%;
}
.why-box h3 {
  color:#00ffe0;
  margin-bottom:10px;
}
.why-box p {
  color:#cfd6d6;
  line-height:1.5;
}

/* ========================= */
/* TECHNOLOGY STACK */
/* ========================= */

.stack-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:30px;
}
.stack-item {
  background:#0a1111;
  padding:20px;
  border:1px solid #0c1a1a;
  border-radius:6px;
  text-align:center;
  transition: all 0.3s ease;
  position: relative;
}

.stack-item::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 6px;
  background: linear-gradient(45deg, #00ffe0, #00ffc8, #00ffe0);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.stack-item:hover {
  transform: translateY(-5px) scale(1.05);
  border-color: transparent;
}

.stack-item:hover::before {
  opacity: 1;
  animation: borderPulse 1.5s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.stack-item h3 {
  color:#00ffe0;
  margin-bottom:8px;
}
.stack-item p {
  color:#cfd6d6;
  font-size:14px;
}

/* ========================= */
/* SUPPORTED PLATFORMS */
/* ========================= */

.platform-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:30px;
}
.platform-box {
  background:#0a1111;
  padding:20px;
  border:1px solid #0c1a1a;
  border-radius:6px;
  text-align:center;
  color:#00ffe0;
  font-size:18px;
  box-shadow:0 0 20px #001a14;
  transition: all 0.3s ease;
  cursor: pointer;
}

.platform-box:hover {
  transform: scale(1.1) rotate(2deg);
  border-color: #00ffe0;
  box-shadow: 0 0 30px rgba(0,255,224,0.5), 0 0 50px rgba(0,255,224,0.3);
  animation: platformGlow 1s ease-in-out infinite;
}

@keyframes platformGlow {
  0%, 100% { 
    box-shadow: 0 0 30px rgba(0,255,224,0.5), 0 0 50px rgba(0,255,224,0.3);
  }
  50% { 
    box-shadow: 0 0 40px rgba(0,255,224,0.7), 0 0 60px rgba(0,255,224,0.5);
  }
}

/* ========================= */
/* FLOW BLOCKS & DIAGRAMS */
/* ========================= */

.flow-diagram {
  margin: 60px 0;
}

.flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.flow-block {
  position: relative;
  background: linear-gradient(135deg, #0a1515 0%, #0d1a1a 100%);
  border: 2px solid #00ffe0;
  border-radius: 8px;
  padding: 30px;
  min-width: 180px;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 255, 224, 0.3);
  transition: all 0.4s ease;
}

.flow-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 50px rgba(0, 255, 224, 0.6);
  border-color: #00ffc8;
}

.flow-step-icon {
  font-size: 56px;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 224, 0.5));
}

.flow-step-title {
  color: #00ffe0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.flow-step-desc {
  color: #7a8b8c;
  font-size: 13px;
  line-height: 1.4;
}

.flow-connector {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.flow-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #00ffe0 0%, #00ffc8 100%);
  position: relative;
  box-shadow: 0 0 10px rgba(0, 255, 224, 0.5);
}

.flow-line::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid #00ffc8;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  filter: drop-shadow(0 0 5px rgba(0, 255, 224, 0.8));
}

.flow-pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #00ffe0;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(0, 255, 224, 0.8);
  animation: pulse-flow 2s ease-in-out infinite;
}

@keyframes pulse-flow {
  0%, 100% { 
    transform: translateX(-30px); 
    opacity: 0; 
  }
  50% { 
    transform: translateX(30px); 
    opacity: 1; 
  }
}

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

.footer {
  padding: 60px 6% 40px 6%;
  background: linear-gradient(180deg, #010101 0%, #0a1111 100%);
  border-top: 1px solid #00ffe0;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
}

.footer-section h4 {
  color: #00ffe0;
  font-size: 16px;
  margin-bottom: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer-section p,
.footer-section a {
  color: #7a8b8c;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #00ffe0;
}

/* Footer Text Variants */
.footer-small-text {
  margin-top: 20px;
  font-size: 12px;
  color: #7a8b8c;
  line-height: 1.6;
}

.footer-section .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-section .contact-item::before {
  content: '▸';
  color: #00ffe0;
  font-size: 12px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0, 255, 224, 0.1);
  border: 1px solid #0d1d1d;
  border-radius: 4px;
  color: #00ffe0;
  font-size: 16px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(0, 255, 224, 0.2);
  border-color: #00ffe0;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #0d1d1d;
  color: #5a6b6c;
  font-size: 13px;
}

.cta-section {
  background: linear-gradient(135deg, #0a1515 0%, #0d1a1a 100%);
  padding: 60px 6%;
  text-align: center;
  border-top: 1px solid #0d1d1d;
  border-bottom: 1px solid #0d1d1d;
  margin-top: 80px;
  position: relative;
  z-index: 10;
}

.cta-section h2 {
  color: #00ffe0;
  font-size: clamp(28px, 5vw, 40px);
  margin-bottom: 20px;
}

.cta-section p {
  color: #cfd6d6;
  font-size: clamp(16px, 3vw, 20px);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(135deg, #00ffe0 0%, #00ffc8 100%);
  color: #010101;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-radius: 4px;
  border: 2px solid #00ffe0;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-btn:hover {
  background: transparent;
  color: #00ffe0;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 255, 224, 0.3);
}

.cta-btn.secondary {
  background: transparent;
  color: #00ffe0;
}

.cta-btn.secondary:hover {
  background: linear-gradient(135deg, #00ffe0 0%, #00ffc8 100%);
  color: #010101;
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  padding: 60px 6%;
  background: rgba(0, 255, 224, 0.02);
  border-top: 1px solid #0d1d1d;
  border-bottom: 1px solid #0d1d1d;
  position: relative;
  z-index: 10;
}

.stat-box {
  text-align: center;
  padding: 20px;
}

.stat-number {
  color: #00ffe0;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(0, 255, 224, 0.5);
}

.stat-label {
  color: #7a8b8c;
  font-size: clamp(14px, 2.5vw, 16px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================= */
/* IMAGE LOADING EFFECTS */
/* ========================= */

.atak-img,
.atak-dev-img,
.cap-img {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #0a1111 25%, #0d1515 50%, #0a1111 75%);
  background-size: 200% 100%;
}

.atak-img::before,
.atak-dev-img::before,
.cap-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 224, 0.1), transparent);
  animation: shimmer 2s infinite;
  z-index: 1;
}

.atak-img img,
.atak-dev-img img,
.cap-img img {
  position: relative;
  z-index: 2;
}

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

/* ========================= */
/* RESPONSIVE DESIGN */
/* ========================= */

@media (max-width: 900px) {
  .atak-block,
  .atak-dev-block,
  .capabilities-section .cap-block {
    flex-direction: column;
    gap: 35px;
    margin-bottom: 70px;
  }
  
  .atak-block.reverse,
  .capabilities-section .cap-block.reverse {
    flex-direction: column;
  }
  
  .atak-text,
  .atak-dev-text,
  .cap-text,
  .atak-img,
  .atak-dev-img,
  .cap-img {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
  }
  
  .atak-img img,
  .atak-dev-img img,
  .cap-img img {
    min-height: 220px;
    max-height: 320px;
    border-radius: 6px;
  }
  
  /* Optimize text sizing for mobile */
  .atak-text h3,
  .atak-dev-text h3,
  .cap-text h3 {
    font-size: clamp(20px, 5vw, 26px);
    margin-bottom: 10px;
  }
  
  .atak-text p,
  .atak-dev-text p,
  .cap-text p {
    font-size: clamp(14px, 3vw, 16px);
    line-height: 1.6;
  }
  
  /* Flow blocks mobile responsive */
  .flow-steps {
    flex-direction: column;
  }
  
  .flow-connector {
    padding: 10px 0;
  }
  
  .flow-line {
    width: 3px;
    height: 40px;
    transform: rotate(0deg);
  }
  
  .flow-line::after {
    right: 50%;
    top: auto;
    bottom: -8px;
    transform: translateX(50%) rotate(90deg);
  }}

/* ========================= */
/* ATAK FEATURE CARDS */
/* ========================= */

.atak-feature-card {
  background: rgba(0, 255, 224, 0.03);
  border: 1px solid rgba(0, 255, 224, 0.2);
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.atak-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 224, 0.1), transparent);
  transition: left 0.6s;
}

.atak-feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #00ffe0;
  background: rgba(0, 255, 224, 0.08);
  box-shadow: 0 10px 40px rgba(0, 255, 224, 0.3), 0 0 20px rgba(0, 255, 224, 0.1);
}

.atak-feature-card:hover::before {
  left: 100%;
}

.atak-system-card {
  background: rgba(0, 255, 224, 0.02);
  border: 1px solid rgba(0, 255, 224, 0.15);
  border-radius: 10px;
  padding: 25px 20px;
  text-align: center;
  transition: all 0.35s ease;
  cursor: pointer;
  position: relative;
}

.atak-system-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(circle at center, rgba(0, 255, 224, 0.1), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
}

.atak-system-card:hover {
  transform: translateY(-5px);
  border-color: #00ffe0;
  background: rgba(0, 255, 224, 0.06);
  box-shadow: 0 8px 30px rgba(0, 255, 224, 0.25);
}

.atak-system-card:hover::after {
  opacity: 1;
}

.atak-user-card {
  background: linear-gradient(135deg, rgba(0, 255, 224, 0.02), rgba(0, 255, 224, 0.05));
  border: 1px solid rgba(0, 255, 224, 0.15);
  border-radius: 8px;
  padding: 20px 18px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.atak-user-card:hover {
  transform: translateY(-4px) rotate(1deg);
  border-color: rgba(0, 255, 224, 0.6);
  background: linear-gradient(135deg, rgba(0, 255, 224, 0.06), rgba(0, 255, 224, 0.10));
  box-shadow: 0 6px 25px rgba(0, 255, 224, 0.2);
}