:root {
  --electric-blue: #00B2FF;
  --neon-purple: #7C4DFF;
  --neon-green: #00E676;
  --clean-white: #FFFFFF;
  --dark-bg: #0A0A0A;
  --gray-light: #F5F5F5;
  --gray-medium: #666666;
  --gray-dark: #333333;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--gray-dark);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0 20px;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.nav-header .logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--electric-blue);
  text-transform: lowercase;
}

.hamburger {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--clean-white);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

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

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

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

.nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(10px);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.nav-menu.active {
  max-height: 300px;
}

.nav-menu a {
  display: block;
  padding: 15px 20px;
  color: var(--clean-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.nav-menu a:hover {
  background: rgba(0, 178, 255, 0.1);
  color: var(--electric-blue);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--clean-white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.7), rgba(124, 77, 255, 0.3)),
              url('https://images.pexels.com/photos/3945313/pexels-photo-3945313.jpeg') center/cover;
  z-index: -1;
}

.hero-content {
  z-index: 1;
  padding: 0 20px;
}

.logo-main h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--electric-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.95;
  text-transform: lowercase;
}

.tagline {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-hero {
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--electric-blue), var(--neon-purple));
  color: var(--clean-white);
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 178, 255, 0.3);
}

.cta-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 178, 255, 0.4);
}

/* Sticky CTA */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 24px;
  background: var(--electric-blue);
  color: var(--clean-white);
  border: none;
  border-radius: 50px;
  font-weight: 500;
  cursor: pointer;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(0, 178, 255, 0.3);
}

.sticky-cta.show {
  transform: translateY(0);
  opacity: 1;
}

.sticky-cta:hover {
  background: var(--neon-purple);
  transform: translateY(-2px);
}

/* Section Styling */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 3rem;
  color: var(--gray-dark);
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* Collection Section */
.collection {
  background: var(--gray-light);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--clean-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 178, 255, 0.9), rgba(124, 77, 255, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.specs {
  text-align: center;
  color: var(--clean-white);
}

.specs p {
  margin: 0.5rem 0;
  font-size: 1.1rem;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-dark);
}

.product-info p {
  color: var(--gray-medium);
  line-height: 1.5;
}

/* Testimonials */
.testimonials {
  background: var(--dark-bg);
  color: var(--clean-white);
}

.testimonials .section-title {
  color: var(--clean-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--electric-blue);
}

.testimonial-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1rem;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonial-author strong {
  color: var(--electric-blue);
  font-weight: 600;
}

.testimonial-author span {
  display: block;
  color: var(--gray-medium);
  font-size: 0.9rem;
}

/* Featured Products Carousel */
.featured {
  background: var(--gray-light);
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.carousel {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
  display: none;
  animation: fadeSlide 0.5s ease-in-out;
}

.carousel-slide.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-content {
  display: flex;
  background: var(--clean-white);
  align-items: center;
}

.slide-image {
  flex: 1;
  height: 300px;
}

.slide-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-info {
  flex: 1;
  padding: 2rem;
}

.slide-info h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

.specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spec-tag {
  background: linear-gradient(135deg, var(--electric-blue), var(--neon-purple));
  color: var(--clean-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 178, 255, 0.8);
  color: var(--clean-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--electric-blue);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: -60px;
}

.carousel-btn.next {
  right: -60px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--gray-medium);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--electric-blue);
  transform: scale(1.2);
}

/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, var(--electric-blue), var(--neon-purple));
  color: var(--clean-white);
}

.newsletter-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.newsletter p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form {
  max-width: 400px;
  margin: 0 auto;
}

.input-group {
  display: flex;
  background: var(--clean-white);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.input-group input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  outline: none;
  font-size: 1rem;
}

.input-group button {
  padding: 15px 25px;
  background: var(--neon-green);
  color: var(--clean-white);
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.input-group button:hover {
  background: #00c766;
}

.form-message {
  margin-top: 1rem;
  padding: 0.5rem;
  border-radius: 5px;
  font-weight: 500;
}

.form-message.success {
  background: rgba(0, 230, 118, 0.2);
  color: var(--neon-green);
}

.form-message.error {
  background: rgba(255, 82, 82, 0.2);
  color: #ff5252;
}

/* Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

.popup {
  background: var(--clean-white);
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.popup-overlay.show .popup {
  transform: scale(1);
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--neon-green);
  color: var(--clean-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.popup h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

.popup p {
  color: var(--gray-medium);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.popup-close {
  background: var(--electric-blue);
  color: var(--clean-white);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.popup-close:hover {
  background: var(--neon-purple);
}

/* Footer */
.footer {
  background: var(--dark-bg);
  color: var(--clean-white);
  padding: 2rem 0 1rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo h3 {
  font-size: 1.5rem;
  color: var(--electric-blue);
  text-transform: lowercase;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  color: var(--clean-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--electric-blue);
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--gray-medium);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero {
    height: 90vh;
  }
  
  .logo-main h1 {
    font-size: 3rem;
  }
  
  .tagline {
    font-size: 1.2rem;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .slide-content {
    flex-direction: column;
  }
  
  .slide-image {
    height: 200px;
  }
  
  .slide-info {
    padding: 1.5rem;
  }
  
  .carousel-btn {
    display: none;
  }
  
  .input-group {
    flex-direction: column;
    border-radius: 15px;
  }
  
  .input-group input {
    border-radius: 15px 15px 0 0;
  }
  
  .input-group button {
    border-radius: 0 0 15px 15px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .sticky-cta {
    bottom: 80px;
    right: 10px;
    font-size: 0.9rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .product-card {
    border-radius: 15px;
  }
  
  .testimonial-card {
    padding: 1.5rem;
    border-radius: 15px;
  }
  
  .specs-list {
    justify-content: center;
  }
  
  .newsletter h2 {
    font-size: 2rem;
  }
}