/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* add tech-forward heading font while keeping Inter as body */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", "Inter", sans-serif;
  letter-spacing: -0.02em;
}

:root {
  --primary-color: #ffffff;
  --secondary-color: #000000;
  --accent-color: #3b82f6;
  --gray-light: #374151;
  --gray-medium: #9ca3af;
  --gray-dark: #1f2937;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
  --shadow-hover: 0 20px 60px rgba(255, 255, 255, 0.15);
  --card-bg: #111111;
  --card-border: #333333;
  --button-primary: #3b82f6;
  --button-primary-hover: #2563eb;
  --button-secondary: transparent;
  --button-secondary-hover: #1f2937;
  --dark-bg: #000000;
  --text-light: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--primary-color);
  background-color: var(--secondary-color);
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.98);
  box-shadow: 0 2px 20px rgba(255, 255, 255, 0.1);
}

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

.nav-logo h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

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

.nav-logo img {
  height: 40px;
  /* adjust size */
  width: auto;
  display: block;
  margin-bottom: 10px;
}

.nav-link {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  transition: var(--transition);
  letter-spacing: 0.5px;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: var(--transition);
}

.carousel-slide video.carousel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect fill="url(%23grid)" width="100%" height="100%"/></svg>');
  animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-40px, -40px);
  }
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
}

.particles::before,
.particles::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
  border-radius: 50%;
}

.particles::before {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particles::after {
  bottom: 20%;
  right: 10%;
  animation-delay: -7s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  opacity: 0;
  transform: translateY(50px);
  animation: heroFadeIn 1s ease-out 0.5s forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateX(-50px);
  animation: titleSlide 0.8s ease-out forwards;
}

.title-line:nth-child(1) {
  animation-delay: 0.7s;
}

.title-line:nth-child(2) {
  animation-delay: 0.9s;
}

.title-line:nth-child(3) {
  animation-delay: 1.1s;
}

@keyframes titleSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.highlight {
  background: linear-gradient(135deg, #ffffff 0%, #cccccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--gray-medium);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1.3s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons,
.cta-buttons {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 1.5s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 2;
  white-space: nowrap;
  min-width: 160px;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent-color);
  color: #ffffff;
  border: 2px solid var(--accent-color);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--button-primary-hover);
  border-color: var(--button-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn.large {
  padding: 1.2rem 2.5rem;
  font-size: 1rem;
  min-width: 180px;
}

.products-preview .product-item .hero-buttons .btn,
.models-grid .product-card .btn,
.new-models .product-card .hero-buttons .btn {
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  min-width: 140px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  opacity: 0;
  animation: fadeInRight 1s ease-out 1.7s forwards;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Enhanced carousel styling with proper responsive design */
.hero-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: all 1s ease-in-out;
  z-index: 1;
  /* Added min-height to ensure slides are visible */
  min-height: 100vh;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Video carousel slide styling */
.carousel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  /* Added display block to ensure video is visible */
  display: block;
}

.carousel-slide[data-type="video"] {
  background: #000;
  /* Ensure video slides have proper display */
  display: block;
}

.carousel-slide[data-type="video"].active {
  opacity: 1;
  visibility: visible;
}

/* Removed dark overlay completely to improve visibility */
.carousel-slide::before {
  display: none;
}

/* Added carousel navigation styling */
.carousel-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
  pointer-events: none;
}

.carousel-nav {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  pointer-events: all;
  outline: none;
}

.carousel-nav:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: var(--accent-color);
  color: var(--accent-color);
  transform: scale(1.1);
}

.carousel-nav:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Added carousel indicators styling */
.carousel-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.carousel-indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.carousel-indicator.active {
  background: var(--accent-color);
  transform: scale(1.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Responsive carousel adjustments */
@media (max-width: 1024px) {

  /* Tablet: make hero and slides shorter so banners/videos fit */
  #home.hero {
    min-height: 60vh;
    /* previously 100vh */
  }

  #home.hero .hero-carousel {
    height: 60vh;
    /* keep carousel constrained to hero */
  }

  #home.hero .carousel-slide {
    min-height: 60vh;
    /* override earlier 100vh */
    height: 100%;
  }

  #home.hero .carousel-video {
    height: 100%;
    object-fit: cover;
    /* ensure video fits within reduced height */
  }
}

@media (max-width: 768px) {

  /* Mobile: slightly smaller than tablet for better fit */
  #home.hero {
    min-height: 48vh;
  }

  #home.hero .hero-carousel {
    height: 48vh;
  }

  #home.hero .carousel-slide {
    min-height: 48vh;
    height: 100%;
  }

  #home.hero .carousel-video {
    height: 100%;
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  .carousel-navigation {
    padding: 0 1rem;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-indicators {
    bottom: 1rem;
    gap: 0.5rem;
  }

  .carousel-indicator {
    width: 10px;
    height: 10px;
  }
}

/* Added product showcase styling */
.product-showcase {
  position: relative;
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-item {
  position: absolute;
  text-align: center;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  transition: all 0.8s ease;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 300px;
}

.showcase-item.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.showcase-icon {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  display: block;
}

.showcase-item h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.showcase-item p {
  color: var(--gray-medium);
  font-size: 1rem;
  line-height: 1.5;
}

.product-showcase {
  position: relative;
  width: 400px;
  height: 400px;
}

.product-showcase .product-card {
  position: absolute;
  width: 150px;
  height: 200px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.product-showcase .product-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.2);
  border-color: var(--accent-color);
}

.product-showcase .floating {
  top: 50px;
  left: 50px;
  animation: floating 3s ease-in-out infinite;
}

.product-showcase .floating-delayed {
  bottom: 50px;
  right: 50px;
  animation: floating 3s ease-in-out infinite reverse;
  animation-delay: -1.5s;
}

@keyframes floating {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }
}

.digital-lock-icon,
.hardware-icon {
  font-size: 3rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gray-medium);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 30px;
  background: var(--gray-medium);
  margin-bottom: 0.5rem;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 1;
  }
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--gray-light);
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(50px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.5s;
}

.feature-card:hover::before {
  left: 100%;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
  border-color: var(--accent-color);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--secondary-color);
  font-size: 2rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.feature-card p {
  color: var(--gray-medium);
  line-height: 1.6;
}

/* Products Preview */
.products-preview {
  padding: 6rem 0;
}

.products-grid {
  display: grid;
  /* Improved responsive grid with better card sizing */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-item {
  /* Enhanced card styling with better visual hierarchy */
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 20px;
  padding: 0;
  text-align: center;
  border: 1px solid rgba(207, 200, 200, 0.619);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  transform: translateY(0);
  max-width: none;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  position: relative;
}

/* Added subtle gradient overlay on hover */
.product-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(1, 99, 255, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.product-item:hover::before {
  opacity: 1;
}

.product-item:hover {
  /* Improved hover effects with better scaling and shadow */
  transform: translateY(-12px) scale(1.02);
  background: linear-gradient(145deg, #2a2a2a 0%, #3d3d3d 100%);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.2);
  border-color: var(--accent-color);
}

.product-image-container {
  /* Enhanced image container for better product display */
  position: relative;
  margin-bottom: 1.5rem;
  height: 280px;
  background: linear-gradient(135deg, #0f0f0f 0%, #1f1f1f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
}

.product-bg {
  /* Completely hide the white circle background */
  display: none;
}

/* Updated product icon styling for larger, better fitted images */
.product-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

/* Added responsive styling for actual product images */
.product-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.product-item:hover .product-icon,
.product-item:hover .product-image {
  transform: scale(1.05);
}

.product-info {
  /* Better content spacing and typography */
  padding: 1.5rem;
  position: relative;
  z-index: 2;
}

.product-info h3 {
  /* Enhanced title styling */
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.product-info p {
  /* Better description styling */
  color: var(--gray-medium);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  min-height: 3rem;
  /* Ensure consistent height */
}

.product-price {
  /* Enhanced price styling */
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.product-price span {
  font-size: 1.3rem;
  font-weight: 700;
}

/* Better button styling for product cards */
.product-info .hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.product-info .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 2;
  flex: 1;
  min-width: 120px;
}

.product-info .btn-primary {
  background: var(--accent-color);
  color: rgb(0, 0, 0);
  border: 2px solid var(--accent-color);
}

.product-info .btn-primary:hover {
  background: var(--button-primary-hover);
  border-color: var(--button-primary-hover);
  transform: translateY(-2px);
}

.product-info .btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.product-info .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Video Section */
.video-section {
  padding: 2rem 0;
  background: var(--gray-light);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* New Schemes section */
.schemes {
  padding: 6rem 0;
}

.schemes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.scheme-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.scheme-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-color), #8b5cf6);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.scheme-card:hover::after {
  transform: scaleX(1);
}

.scheme-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
  border-color: var(--accent-color);
}

.scheme-card .icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

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

/* New Models section */
.new-models {
  position: relative;
  z-index: 1;
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.new-models .models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 400px));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  align-items: stretch;
  justify-content: center;
  justify-items: center;
}

.new-models .product-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  margin: 0 auto;
}

.new-models .product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.new-models .product-card:hover::before {
  opacity: 1;
}

.new-models .product-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
  border-color: var(--accent-color);
}

.new-models .product-card .head {
  background: linear-gradient(135deg, #000 0%, #111 100%);
  color: #fff;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.new-models .product-card .head .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

.new-models .product-card .body {
  padding: 1.5rem;
  background: #474545;
  position: relative;
  z-index: 2;
}

.new-models .product-card .title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.new-models .product-card .desc {
  color: var(--gray-medium);
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.new-models .product-card .price {
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.new-models .product-card .hero-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.new-models .product-card .hero-buttons .btn {
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

@media (max-width: 640px) {
  .new-models .product-card .head {
    height: 180px;
  }
}

/* Enhanced product details page with professional styling and dark theme */
.product-details .product-hero {
  padding-top: 6rem;
  padding-bottom: 2rem;
  background: #000;
  color: #fff;
}

.product-details .details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 900px) {
  .product-details .details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Professional image gallery with thumbnails and zoom */
.image-gallery {
  position: relative;
}

.main-image-container {
  position: relative;
  background: #1a1a1a;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid #333;
}

.main-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

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

.image-zoom-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.main-image-container:hover .image-zoom-overlay {
  opacity: 1;
}

.thumbnail-container {
  position: relative;
}

.thumbnail-scroll {
  overflow: hidden;
  border-radius: 12px;
}

.thumbnail-list {
  display: flex;
  gap: 10px;
  transition: transform 0.3s ease;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.thumbnail.active {
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.3);
}

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

.thumbnail:hover img {
  transform: scale(1.1);
}

.thumbnail-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.thumb-nav-btn {
  background: #333;
  border: none;
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-nav-btn:hover {
  background: #007bff;
  transform: scale(1.1);
}

/* Enhanced product info section with badges and ratings */
.product-badge {
  margin-bottom: 0.5rem;
}

.product-badge span {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.stars {
  display: flex;
  gap: 2px;
}

.stars i {
  color: #ffd700;
  font-size: 1.1rem;
}

.rating-text {
  color: #888;
  font-size: 0.9rem;
}

.price-section {
  margin: 1.5rem 0;
}

.product-details .price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.product-details .price-row .label {
  color: #888;
  font-size: 0.9rem;
}

.product-details .price-row .price {
  font-weight: 800;
  font-size: 2.2rem;
  color: #007bff;
}

.price-details {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.original-price {
  color: #888;
  text-decoration: line-through;
  font-size: 1.1rem;
}

.discount-badge {
  background: #28a745;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.features-section {
  margin: 2rem 0;
}

.features-section h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.product-details .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-details .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin: 0.8rem 0;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 3px solid #007bff;
  transition: all 0.3s ease;
}

.product-details .feature-list li:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

.product-details .feature-list i {
  color: #007bff;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Quick info cards with icons */
.quick-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid #333;
  transition: all 0.3s ease;
}

.info-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #007bff;
}

.info-card i {
  color: #007bff;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.info-title {
  display: block;
  font-weight: 600;
  color: #fff;
  font-size: 0.9rem;
}

.info-desc {
  display: block;
  color: #888;
  font-size: 0.8rem;
}

/* Professional tabbed sections with animations */
.product-details-tabs {
  background: #111;
  padding: 3rem 0;
}

.tabs-navigation {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: 2px solid #333;
  color: #888;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: 500;
}

.tab-btn:hover {
  border-color: #007bff;
  color: #007bff;
}

.tab-btn.active {
  background: #007bff;
  border-color: #007bff;
  color: #fff;
}

.tabs-content {
  min-height: 400px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-panel.active {
  display: block;
}

.tab-panel h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Enhanced specs grid layout */
.product-details .specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.product-details .spec-row {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1.2rem;
  transition: all 0.3s ease;
}

.product-details .spec-row:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #007bff;
  transform: translateY(-2px);
}

.product-details .spec-k {
  font-weight: 600;
  color: #007bff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-details .spec-v {
  color: #fff;
  font-size: 1rem;
}

/* Detailed features section */
.features-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-detail {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #333;
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.feature-detail:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #007bff;
  transform: translateY(-5px);
}

.feature-detail h4 {
  color: #007bff;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-detail p {
  color: #ccc;
  line-height: 1.6;
}

/* Installation steps styling */
.installation-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.install-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  background: #007bff;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #ccc;
  line-height: 1.6;
}

/* Compatibility grid */
.compatibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.compat-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid #333;
}

.compat-item i.fa-check-circle {
  color: #28a745;
}

.compat-item i.fa-times-circle {
  color: #dc3545;
}

.compat-item span {
  color: #fff;
}

/* Support and warranty styling */
.support-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.warranty-card {
  background: rgba(0, 123, 255, 0.1);
  border: 1px solid #007bff;
  border-radius: 12px;
  padding: 1.5rem;
}

.warranty-card h4 {
  color: #007bff;
  margin-bottom: 0.8rem;
}

.warranty-card p {
  color: #ccc;
}

.support-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.support-option {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid #333;
}

.support-option i {
  color: #007bff;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.support-option h5 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.support-option p {
  color: #ccc;
  font-size: 0.9rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Statistics Section */
.stats {
  padding: 80px 0;
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
  pointer-events: none;
}

.stats .container {
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  text-align: center;
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
}

.stat-label {
  color: #ccc;
  font-size: 1rem;
  font-weight: 500;
}

/* Responsive Design for Stats */
@media (max-width: 768px) {
  .stats {
    padding: 60px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .stat-item {
    padding: 1.5rem 1rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-label {
    font-size: 0.9rem;
  }
}

/* Animation for counting effect */
.stat-item[data-aos="count-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.stat-item[data-aos="count-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */

/* Updated color scheme from blue to white theme and added comprehensive responsive design */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #000000;
  overflow-x: hidden;
}

/* CSS Variables - Updated to white theme */
:root {
  --primary-color: #ffffff;
  --secondary-color: #000000;
  --accent-color: #ffffff;
  --gray-light: #374151;
  --gray-medium: #9ca3af;
  --gray-dark: #1f2937;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
  --shadow-hover: 0 20px 60px rgba(255, 255, 255, 0.15);
  --card-bg: #111111;
  --card-border: #333333;
  --button-primary: #ffffff;
  --button-primary-hover: #f8f9fa;
  --button-secondary: transparent;
  --button-secondary-hover: #1f2937;
  --dark-bg: #000000;
  --text-light: #ffffff;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

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

.nav-logo h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 0px;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

/* Buttons - Updated to white theme */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  z-index: 2;
  white-space: nowrap;
  min-width: 160px;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--accent-color);
  color: #000000;
  border: 2px solid var(--accent-color);
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: var(--button-primary-hover);
  border-color: var(--button-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn.large {
  padding: 1.2rem 2.5rem;
  font-size: 1rem;
  min-width: 180px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #000 0%, #111 100%);
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 2;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.title-line {
  display: block;
}

.highlight {
  background: linear-gradient(135deg, var(--accent-color), #f8f9fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #888;
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 50px 0;
  background: #000;
}

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

.feature-card {
  background: rgba(133, 131, 131, 0.33);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--accent-color), #f8f9fa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: #000;
}

/* Products Section */
.products-preview {
  padding: 34px 0;
  background: #111;
}

.products-grid {
  display: grid;
  /* Completed the products grid styling and removed white circles */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product-item {
  /* Update dark theme product cards to be more visible */
  background: rgba(143, 140, 140, 0.464);
  border-radius: 20px;
  /* Reduced padding from 2rem to 1.5rem for more compact cards */
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  /* Ensure cards are visible */
  opacity: 1;
  transform: translateY(0);
  /* Added max-width to prevent cards from getting too large */
  max-width: 320px;
  margin: 0 auto;
}

.product-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-hover);
}

.product-price {
  font-size: 1.2rem;
  color: var(--accent-color);
  font-weight: 600;
  margin: 1rem 0;
}

.product-price span {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Stats Section */
.stats {
  padding: 80px 0;
  background: #000;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  text-align: center;
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
}

.stat-label {
  color: #ccc;
  font-size: 1rem;
  font-weight: 500;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #111 0%, #000 100%);
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.cta-content p {
  font-size: 1.2rem;
  color: #888;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: #000;
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h3,
.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-section p,
.footer-section li {
  color: #888;
  margin-bottom: 0.5rem;
}

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

.footer-section a {
  color: #888;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-color);
  color: #000;
  transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 2rem;
    transition: left 0.3s ease;
  }

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

  .nav-toggle {
    display: flex;
  }

  .features-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .product-item {
    max-width: 100%;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mt-2 {
  margin-top: 1rem;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact form: improve spacing, inputs, and responsive stacking */
.contact-form .form-row {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
}

.contact-form .form-row:first-child {
  margin-top: 0;
}

.contact-form .form-row.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.contact-form .form-row.grid-1 {
  grid-template-columns: 1fr;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--card-border, #2a2a2a);
  background: var(--card-bg, rgba(255, 255, 255, 0.05));
  color: var(--primary-color, #ffffff);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--gray-medium, #9aa0a6);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-color, #3b82f6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form .form-actions {
  margin-top: 1rem;
}

.contact-form .form-actions .btn {
  width: 100%;
}

@media (max-width: 768px) {

  /* Stack the two-column rows on small screens for better readability */
  .contact-form .form-row.grid-2 {
    grid-template-columns: 1fr;
  }

  /* Keep the submit button full-width on mobile */
  .contact-form .form-actions .btn {
    width: 100%;
  }
}

/* Mobile Navbar Adjustments - Logo and Toggle Button */
@media (max-width: 768px) {
  .nav-logo img {
    height: 28px !important;
    width: auto;
  }

  .nav-toggle {
    gap: 0px;
  }

  .bar {
    width: 22px;
    height: 2px;
    margin: 3px 0;
  }
}

/* Extra Small Mobile Screens */
@media (max-width: 480px) {
  .nav-logo img {
    height: 24px !important;
  }

  .bar {
    width: 18px;
    height: 2px;
    margin: 3px 0;
  }

  .nav-toggle {
    gap: 0px;
  }
}