/* === GLOBAL RESET === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #e0e0ff;
  overflow-x: hidden;
  position: relative;
}

/* === FULL PAGE FIXED BACKGROUND - SUBTLE APPROVED VERSION === */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("../images/hero-bg.png") no-repeat center center;
  background-size: cover;
  z-index: -3;
  animation: slowZoom 30s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100vh;
  background: url("../images/energy-wave.png") no-repeat center center;
  background-size: cover;
  z-index: -2;
  opacity: 0.12;
  mix-blend-mode: screen;
  animation: waveFlowGlobal 38s ease-in-out infinite alternate;
  pointer-events: none;
  will-change: transform;
  filter: blur(0.3px) brightness(0.85);
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}
@keyframes waveFlowGlobal {
  0% { transform: translateX(-6%) scale(1); }
  100% { transform: translateX(6%) scale(1.01); }
}

/* === HEADER === */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 60px;
  background: rgba(10, 15, 31, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo { font-family: 'Orbitron', sans-serif; font-size: 1.8rem; color: #00ffff; }
.tagline { font-size: 0.9rem; color: #aaa; }

/* === HERO SECTION - transparent to show global bg, keeps local moving wave too === */
#hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  opacity: 1;
  transform: none;
}

#hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: -1;
}

#hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: url("../images/energy-wave.png") no-repeat center center;
  background-size: cover;
  z-index: -1;
  opacity: 0.22;
  mix-blend-mode: screen;
  animation: waveFlowHero 28s ease-in-out infinite alternate;
  pointer-events: none;
  filter: blur(0.2px) brightness(0.9);
}

@keyframes waveFlowHero {
  0% { transform: translateX(-8%) scale(1); }
  100% { transform: translateX(8%) scale(1.02); }
}

@keyframes parallaxSlow {
  from { transform: translateY(0); }
  to { transform: translateY(-150px); }
}
@keyframes parallaxFast {
  from { transform: translateY(0); }
  to { transform: translateY(-300px); }
}

#hero h1 {
  font-size: 3rem;
  text-shadow: 0 0 20px #00ffff;
  animation: neonGlow 3s infinite alternate;
}

.cta-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background: linear-gradient(90deg, #00ffff, #7a00ff);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 0 15px #00ffff;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.cta-button:hover { box-shadow: 0 0 25px #7a00ff; }
.cta-button::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  width: 100px;
  height: 100px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.5s, opacity 1s;
}
.cta-button:hover::after { transform: translate(-50%, -50%) scale(2); opacity: 1; }

@keyframes neonGlow {
  0% { text-shadow: 0 0 10px #00ffff; }
  50% { text-shadow: 0 0 20px #7a00ff; }
  100% { text-shadow: 0 0 10px #00ffff; }
}

/* === ABOUT - semi-transparent so global bg shows === */
#about { padding: 80px 20px; text-align: center; background: rgba(0,0,0,0.4); backdrop-filter: blur(2px); }
#about h2 { color: #7a00ff; margin-bottom: 20px; animation: neonGlow 3s infinite alternate; }
.industries { display: flex; justify-content: center; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
.icon { background: rgba(255, 255, 255, 0.05); padding: 20px; border-radius: 10px; box-shadow: 0 0 10px #00ffff; }

/* === PRODUCTS - semi-transparent === */
#products { padding: 100px 40px; background: rgba(10, 15, 31, 0.6); backdrop-filter: blur(4px); }
#products h2 { text-align: center; margin-bottom: 40px; color: #00ffff; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: 0.4s;
  backdrop-filter: blur(6px);
}
.product-card:hover { box-shadow: 0 0 25px #00ffff, 0 0 40px #7a00ff inset; transform: translateY(-10px) scale(1.05); }

#applications { padding: 80px 20px; text-align: center; background: rgba(0,0,0,0.3); }
.app-icons { display: flex; justify-content: center; gap: 50px; margin-top: 30px; flex-wrap: wrap; }

#contact { padding: 100px 20px; background: linear-gradient(135deg, rgba(26,31,63,0.7), rgba(10,15,31,0.8)); text-align: center; backdrop-filter: blur(4px); }
#contact ul { list-style: none; margin-top: 20px; }
#contact li { margin: 8px 0; }
#contact a { color: #00ffff; text-decoration: none; }
.dealer-button {
  display: inline-block; margin-top: 20px; padding: 12px 30px;
  background: linear-gradient(90deg, #7a00ff, #00ffff); color: #fff;
  border-radius: 30px; text-decoration: none; box-shadow: 0 0 15px #7a00ff;
  position: relative; overflow: hidden;
}
.dealer-button::after {
  content: ""; position: absolute; background: rgba(255,255,255,0.3);
  border-radius: 50%; width: 100px; height: 100px; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0); opacity: 0;
  transition: transform 0.5s, opacity 1s;
}
.dealer-button:hover::after { transform: translate(-50%, -50%) scale(2); opacity: 1; }

footer { padding: 40px; text-align: center; background: rgba(0,0,0,0.8); color: #888; border-top: 1px solid rgba(0, 255, 255, 0.2); }

section:not(#hero) { opacity: 0; transform: translateY(30px); transition: opacity 1s ease-out, transform 1s ease-out; }
section.visible:not(#hero) { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  header { padding: 15px 20px; }
  #hero h1 { font-size: 2.2rem; padding: 0 15px; }
  #products { padding: 60px 20px; }
}
