/* ===================== */
/* RESET & BASE STYLES */
/* ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #fff;
  background: #0a0a0f;
  overflow-x: hidden;
  line-height: 1.6;
}

/* LINKS */
a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

/* ===================== */
/* PARTICLE CANVAS */
/* ===================== */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* ===================== */
/* HEADER & NAVIGATION */
/* ===================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 15, 0.6);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 0 20px rgba(0, 255, 150, 0.3);
}

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  color: #00ff99;
  text-shadow: 0 0 8px #00ff99, 0 0 20px #00ffcc;
}

nav a {
  margin: 0 15px;
  font-weight: bold;
}

nav a:hover {
  color: #00ffcc;
  text-shadow: 0 0 5px #00ffcc, 0 0 12px #00ffcc;
}

/* ===================== */
/* HERO SECTION */
/* ===================== */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 0 15px #00ffaa, 0 0 35px #00ffcc;
}

.hero .highlight {
  color: #00ffcc;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: #bbb;
}

.btn {
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.4s ease;
}

.neon-btn {
  background: transparent;
  border: 2px solid #00ffcc;
  color: #00ffcc;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffaa inset;
}

.neon-btn:hover {
  background: #00ffcc;
  color: #0a0a0f;
  box-shadow: 0 0 25px #00ffcc, 0 0 50px #00ffaa;
  transform: translateY(-3px);
}

/* ===================== */
/* SECTIONS & HEADINGS */
/* ===================== */
section {
  padding: 100px 50px;
  text-align: center;
}

section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-shadow: 0 0 10px #00ffaa;
}

/* ===================== */
/* PRODUCT GRID & CARDS */
/* ===================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.product-card {
  padding: 25px;
  border-radius: 20px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 255, 150, 0.15);
  transform-style: preserve-3d;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-in-out;
}

.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}

.product-card p {
  font-size: 0.9rem;
  color: #ccc;
}

/* HOVER MOTION BLUR EFFECT */
.product-card:hover {
  transform: rotateY(8deg) scale(1.05);
  box-shadow: 0 8px 35px rgba(0, 255, 200, 0.4);
  filter: blur(0.5px) brightness(1.1);
}

/* STATUS BADGES */
.status {
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 6px;
}

.status.working {
  background: rgba(0, 255, 150, 0.2);
  color: #00ff99;
}

.status.offline {
  background: rgba(255, 50, 50, 0.2);
  color: #ff5050;
}

/* ===================== */
/* CONTACT SECTION */
/* ===================== */
.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact-links .btn {
  margin: 0;
}

/* ===================== */
/* FOOTER */
/* ===================== */
footer {
  padding: 20px;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  color: #aaa;
  text-align: center;
}

footer a {
  color: #00ffcc;
  margin: 0 5px;
}

footer a:hover {
  text-shadow: 0 0 6px #00ffcc;
}

/* ===================== */
/* MODAL STYLES */
/* ===================== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 700px;
  width: 90%;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 25px rgba(0, 255, 200, 0.4);
  position: relative;
}

.modal-content iframe {
  width: 100%;
  height: 360px;
  border-radius: 15px;
  margin-top: 15px;
}

/* CLOSE BUTTON */
.close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
  transition: 0.3s;
}

.close:hover {
  color: #ff5050;
  text-shadow: 0 0 8px #ff5050;
}

/* ===================== */
/* ANIMATIONS */
/* ===================== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card.visible {
  animation: fadeInUp 0.8s ease forwards;
}

/* ===================== */
/* VIDEO CONTAINER RESPONSIVE */
/* ===================== */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
  border-radius: 15px;
  margin-top: 15px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
