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

:root {
  /* Enhanced color palette with better text visibility and contrast */
  --primary: #0a0a0a;
  --secondary: #151515;
  --tertiary: #1f1f1f;
  --accent: #00ffff;
  --accent-alt: #ff0080;
  --accent-warm: #ffaa00;
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #b0b0b0;
  --border: #333333;
  --border-light: #404040;
  --hover: rgba(0, 255, 255, 0.15);
  --success: #00ff88;
  --gradient-primary: linear-gradient(135deg, var(--accent), var(--accent-alt));
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  letter-spacing: 0.3px;
}

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

/* Navigation */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(15, 15, 15, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  /* Added logo image styling */
}

.logo-image {
  height: auto;
  margin-left: -80px;
  width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo:hover,
.logo-image:hover {
  transform: scale(1.05);
}

.logo-accent {
  color: var(--accent);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--secondary);
  border: 1px solid var(--border-light);
  list-style: none;
  min-width: 200px;
  border-radius: 8px;
  margin-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: none;
  font-size: 14px;
  letter-spacing: 0;
}

.dropdown-menu li a:hover {
  background: var(--hover);
  color: var(--accent);
  padding-left: 25px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--accent);
  margin: 5px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  text-align: center;
  z-index: 2;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.8);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Added stronger text shadow for better visibility */
}

.hero-subtitle {
  font-size: 24px;
  color: var(--text-secondary);
  margin-bottom: 30px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.cta-btn {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: var(--gradient-primary);
  color: var(--primary);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 217, 255, 0.3);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 217, 255, 0.5);
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--accent);
}

.dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* Featured Products */
.featured-products {
  padding: 80px 0;
  background: var(--secondary);
}

.section-title {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 60px;
  text-align: center;
  letter-spacing: 2px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Improved text shadow and letter spacing */
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }
}

.product-card {
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--accent);
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 217, 255, 0.2);
}

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

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

.product-info {
  padding: 20px;
}

.product-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
  /* Ensured white text color for visibility */
}

.product-price {
  color: var(--accent);
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.add-cart-btn {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
  letter-spacing: 1px;
}

.add-cart-btn:hover {
  background: var(--accent-alt);
  transform: scale(1.05);
}

/* Deals Section */
.deals {
  padding: 80px 0;
  background: var(--primary);
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.deal-card {
  position: relative;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.deal-card:hover {
  border-color: var(--accent);
  transform: translateY(-10px);
  box-shadow: 0 10px 40px rgba(0, 217, 255, 0.2);
}

.deal-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-alt);
  color: white;
  padding: 8px 15px;
  border-radius: 5px;
  font-weight: 800;
  z-index: 5;
}

.deal-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.deal-card:hover img {
  transform: scale(1.05);
}

.deal-card h3 {
  padding: 20px 20px 10px;
  font-size: 18px;
  color: var(--text-primary);
  /* Added explicit text color */
  font-weight: 700;
  letter-spacing: 0.5px;
}

.deal-card .price {
  padding: 0 20px 15px;
  font-size: 16px;
}

.deal-card .original {
  text-decoration: line-through;
  color: var(--text-secondary);
  margin-right: 10px;
}

.deal-card .price {
  color: var(--accent);
  font-weight: 800;
  font-size: 20px;
}

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: var(--secondary);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto 40px;
}

.testimonial-card {
  background: var(--primary);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  width: 100%;
  left: 0;
}

.testimonial-card.active {
  opacity: 1;
  position: static;
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 18px;
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.8;
  color: var(--text-secondary);
  /* Better text color for testimonials */
}

.testimonial-author {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

/* Motivation Section */
.motivation {
  padding: 100px 20px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/placeholder.svg?height=600&width=1200') center/cover;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.motivation-content h2 {
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 3px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.8);
  /* Added stronger text shadow */
}

.motivation-content p {
  font-size: 20px;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  color: var(--text-secondary);
  /* Improved text color */
  letter-spacing: 0.3px;
}

.cta-btn-secondary {
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-3px);
}

/* Newsletter */
.newsletter {
  padding: 80px 0;
  background: var(--primary);
  border-top: 2px solid var(--accent);
}

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

.newsletter-content h2 {
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.newsletter-content p {
  font-size: 16px;
  color: var(--text-secondary);
  /* Better text color for readability */
  margin-bottom: 30px;
  letter-spacing: 0.3px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 5px;
  color: var(--text-primary);
  font-size: 14px;
}

.newsletter-form input::placeholder {
  color: var(--text-secondary);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
}

.submit-btn {
  padding: 15px 30px;
  background: var(--gradient-primary);
  color: var(--primary);
  border: none;
  border-radius: 5px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 217, 255, 0.3);
}

/* Footer */
.footer {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  padding: 60px 0 20px;
}

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

.footer-section h3 {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--secondary);
  color: var(--accent);
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-icons a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-5px);
}

.payment-icons {
  display: flex;
  gap: 15px;
  font-size: 28px;
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--accent-alt);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Lightbox modal styles for image gallery */
.lightbox-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: var(--accent-alt);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0, 217, 255, 0.2);
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent);
  color: var(--primary);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

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

/* Page Header Styling */
.page-header {
  /* Enhanced page header with better styling */
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed;
  border-bottom: 3px solid var(--accent);
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 217, 255, 0.1));
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeInDown 0.8s ease forwards;
}

.page-header-content h1 {
  font-size: 56px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.8);
  /* Enhanced text shadow */
}

.page-header-content p {
  font-size: 20px;
  color: var(--text-secondary);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.5px;
  /* Better text visibility */
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add key features section styling */
.key-features {
  padding: 80px 0;
  background: var(--primary);
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

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

.feature-card {
  text-align: center;
  padding: 30px;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
}

.feature-icon {
  font-size: 48px;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
  color: var(--text-primary);
  /* Ensured white text */
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  /* Better text color */
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background: var(--secondary);
    width: 100%;
    text-align: center;
    transition: left 0.3s;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
  }

  .dropdown-menu {
    position: static;
    opacity: 0;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown.open .dropdown-menu {
    opacity: 1;
    max-height: 500px;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 32px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .features-grid {
    gap: 20px;
  }

  .feature-card {
    padding: 20px;
  }

  .deals-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .motivation-content h2 {
    font-size: 42px;
  }

  .motivation-content p {
    font-size: 16px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .submit-btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile lightbox adjustments */
  .lightbox-prev,
  .lightbox-next {
    position: absolute;
    left: 10px;
    right: auto;
    width: 40px;
    height: 40px;
  }

  .lightbox-next {
    right: 10px;
    left: auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
    letter-spacing: 2px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 22px;
  }

  .cta-btn,
  .cta-btn-secondary {
    padding: 12px 25px;
    font-size: 13px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-image {
    height: 150px;
  }

  .page-header {
    min-height: 250px;
  }

  .page-header-content h1 {
    font-size: 28px;
  }

  .page-header-content p {
    font-size: 14px;
  }

  .feature-card {
    padding: 15px;
  }

  .feature-icon {
    font-size: 36px;
  }

  .motivation-content h2 {
    font-size: 28px;
  }

  .motivation-content p {
    font-size: 14px;
  }

  .deals-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-prev,
  .lightbox-next {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
}
