/* Zenith Sound - Futuristic Landing Page Styles */

:root {
  --bg-dark: #0a0a1a;
  --white: #fff;
  --neon-blue: #00eaff;
  --neon-green: #00ffb2;
  --neon-pink: #ff00d4;
  --glow-blue: 0 0 24px var(--neon-blue);
  --glow-green: 0 0 24px var(--neon-green);
  --glow-pink: 0 0 24px var(--neon-pink);
  --glow-all: 0 0 32px #fff, 0 0 32px var(--neon-blue), 0 0 32px var(--neon-green), 0 0 32px var(--neon-pink);
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'SF Pro Display', 'Roboto', 'Segoe UI', Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--white);
  min-height: 100vh;
  scroll-behavior: smooth;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 20% 30%, var(--neon-blue) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, var(--neon-pink) 0%, transparent 60%),
    radial-gradient(circle at 50% 90%, var(--neon-green) 0%, transparent 60%),
    linear-gradient(120deg, transparent 80%, var(--neon-blue) 100%);
  opacity: 0.18;
}

.section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.logo-mark {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--neon-blue);
  text-shadow: 0 0 4px var(--neon-blue), 0 0 8px var(--neon-blue);
  z-index: 10;
}

#hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.85);
  will-change: transform, filter;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  /* subtle blue/purple gradient with crispy borders */
  background: linear-gradient(to bottom, rgba(10, 10, 26, 0.4) 0%, rgba(157, 0, 255, 0.15) 50%, rgba(10, 10, 26, 0.9) 100%);
}

.brand-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  text-shadow: 0 0 6px var(--neon-pink), 0 0 12px var(--neon-blue), 0 0 18px var(--neon-blue);
  margin-bottom: 0.5rem;
  margin-top: -3rem;
}

.brand-slogan {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9), 0 0 10px var(--neon-blue);
}

.cta-btn {
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 32px;
  border: 1px solid var(--neon-blue);
  background: rgba(0, 234, 255, 0.1);
  color: var(--neon-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.5), inset 0 0 10px rgba(0, 234, 255, 0.3);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  animation: pulse-glow 2.5s infinite alternate;
}

.cta-btn:hover {
  background: var(--neon-blue);
  color: var(--bg-dark);
  box-shadow: 0 0 25px var(--neon-blue), inset 0 0 15px rgba(255, 255, 255, 0.5);
  animation: none;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px rgba(0, 234, 255, 0.4), inset 0 0 5px rgba(0, 234, 255, 0.2);
  }

  100% {
    box-shadow: 0 0 25px rgba(0, 234, 255, 0.8), inset 0 0 15px rgba(0, 234, 255, 0.5);
  }
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--neon-pink);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 10;
}

.scroll-cue span {
  text-shadow: 0 0 8px var(--neon-pink);
  margin-bottom: 0.5rem;
}

.arrow-down {
  width: 15px;
  height: 15px;
  border-right: 2px solid var(--neon-pink);
  border-bottom: 2px solid var(--neon-pink);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  40% {
    transform: translateY(-10px) rotate(45deg);
  }

  60% {
    transform: translateY(-5px) rotate(45deg);
  }
}

/* Products Intro */
.products-intro {
  max-width: 800px;
  text-align: center;
  margin: 0 auto 3rem auto;
}

.intro-heading {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 0 8px var(--neon-blue), 0 0 15px var(--neon-blue);
}

.intro-paragraph {
  font-size: 1.1rem;
  color: #e0e0ff;
  line-height: 1.6;
}

/* Product Section */
#products {
  background: transparent;
  padding: 4rem 1rem;
}

.products-banner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-img {
  width: 100%;
  max-width: 700px;
  height: 220px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--glow-all);
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--neon-blue);
  text-shadow: 0 0 12px var(--neon-blue);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: rgba(20, 20, 40, 0.7);
  border-radius: 24px;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 0 24px #111;
  transition: box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 0 16px #222;
}

.product-img.all:hover {
  transform: scale(1.08);
  box-shadow: var(--glow-all);
}

.product-img.blue:hover {
  transform: scale(1.08);
  box-shadow: var(--glow-blue);
}

.product-img.green:hover {
  transform: scale(1.08);
  box-shadow: var(--glow-green);
}

.product-img.pink:hover {
  transform: scale(1.08);
  box-shadow: var(--glow-pink);
}

.product-title {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
}

.product-title.all:hover {
  color: #fff;
  text-shadow: var(--glow-all);
}

.product-title.blue:hover {
  color: var(--neon-blue);
  text-shadow: var(--glow-blue);
}

.product-title.green:hover {
  color: var(--neon-green);
  text-shadow: var(--glow-green);
}

.product-title.pink:hover {
  color: var(--neon-pink);
  text-shadow: var(--glow-pink);
}

.product-desc {
  font-size: 1rem;
  color: #c0c0e0;
  margin-bottom: 0;
}

/* Contact Section */
#contact {
  position: relative;
  overflow: hidden;
  padding: 6rem 1rem;
  background: transparent;
}

.contact-bg {
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  object-fit: cover;
  z-index: 0;
  will-change: transform, filter;
  filter: blur(12px) brightness(0.6) contrast(1.1) saturate(1.2);
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 26, 0.8) 0%, rgba(157, 0, 255, 0.15) 50%, rgba(10, 10, 26, 0.9) 100%);
  z-index: 1;
  pointer-events: none;
}

.glass-panel {
  position: relative;
  z-index: 2;
  background: rgba(10, 10, 26, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 234, 255, 0.3);
  border-radius: 24px;
  box-shadow: 0 0 30px rgba(0, 234, 255, 0.15), inset 0 0 15px rgba(0, 234, 255, 0.05);
  padding: 3rem 2rem;
  width: 100%;
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#contact .section-title {
  position: relative;
  z-index: 2;
  margin-top: 0;
}

#contact .contact-text,
#contact .contact-form {
  position: relative;
  z-index: 2;
}

.contact-text {
  font-size: 1.2rem;
  color: #e0e0ff;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.form-input,
.form-textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(10, 10, 26, 0.6);
  border: 1px solid rgba(0, 234, 255, 0.3);
  color: var(--white);
  padding: 1rem;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-textarea {
  resize: vertical;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.3), inset 0 0 5px rgba(0, 234, 255, 0.1);
}

.contact-btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 32px;
  border: none;
  background: var(--neon-blue);
  color: var(--bg-dark);
  font-weight: 600;
  box-shadow: var(--glow);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  display: inline-block;
}

.contact-btn:hover {
  background: var(--bg-dark);
  color: var(--neon-blue);
  box-shadow: 0 0 24px var(--neon-blue);
}

/* Footer */
.footer {
  width: 100%;
  padding: 1.5rem 0;
  background: #0a0a1a;
  color: #fff;
  text-align: center;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid #222;
}

.footer-link {
  color: var(--neon-blue);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--neon-pink);
}

.footer-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -2px;
}

.footer-link:hover::after {
  width: 100%;
  background: var(--neon-pink);
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.77, 0, 0.18, 1), transform 1.2s cubic-bezier(0.77, 0, 0.18, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .banner-img {
    height: 140px;
  }

  .product-img {
    height: 120px;
  }
}

@media (max-width: 600px) {
  .brand-title {
    font-size: 2.2rem;
  }

  .brand-slogan {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .banner-img {
    height: 80px;
  }

  .product-img {
    height: 90px;
  }

  .product-card {
    padding: 1rem 0.5rem;
  }

  .footer {
    flex-direction: column;
    gap: 0.5rem;
  }
}