
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111122;
  --bg-card: #111122;
  --border: #222244;
  --accent: #00d4ff;
  --accent-glow: rgba(0, 212, 255, 0.35);
  --accent-glow-strong: rgba(0, 212, 255, 0.6);
  --text-primary: #e0e0ff;
  --text-secondary: #c0c0ff;
  --price: #00ff9d;
  --success: #00ff9d;
}

@media (prefers-color-scheme: dark) {
  :root {
    
  }
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

header {
  background: linear-gradient(to right, #0f0f1a, #1a1a2e);
  padding: 1.2rem 5%;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--accent);
  outline: none;
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)),
              url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&q=80&w=2070');
  background-size: cover;
  background-position: center;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
}

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  margin-bottom: 1.2rem;
  color: white;
  font-weight: 700;
  letter-spacing: -2px;
}

.hero p {
  font-size: 1.35rem;
  margin-bottom: 2.5rem;
  color: #d0d0ff;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #0a0a1f;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  transform: translateY(-3px);
  background: #00eaff;
  box-shadow: 0 12px 30px var(--accent-glow);
  outline: none;
}

.products-section {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3.5rem;
  color: var(--accent);
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.35s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px var(--accent-glow-strong);
}

.product-img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  padding: 1.5rem;
  background: #0a0a15;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.product-card:hover .product-img {
  transform: scale(1.08);
  filter: brightness(1.15) drop-shadow(0 0 10px var(--accent));
}

.product-info {
  padding: 1.5rem 1.8rem 2rem;
}

.product-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  color: #f0f0ff;
  transition: color 0.3s ease;
}

.product-card:hover .product-info h3 {
  color: var(--accent);
}

.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--price);
  margin: 0.6rem 0 1.2rem;
  text-shadow: 0 0 10px rgba(0, 255, 157, 0.4);
}

footer {
  background: #0a0a15;
  padding: 3rem 5% 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

/* Mejora accesibilidad: reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
  .product-card:hover,
  .btn:hover {
    transform: none;
  }
}

/* Media queries móviles (ya tenías, pero refinado) */
@media (max-width: 768px) {
  .nav-links {
    gap: 1.2rem;
    font-size: 0.95rem;
  }
  
  .hero h1 {
    font-size: 3.2rem;
  }
  
  .hero p {
    font-size: 1.15rem;
  }

  .products-section {
    padding: 4rem 5%;
  }
}