/* Reset y variables */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-black: #1a1a1a;
  --white: #ffffff;
  --neon-green: #39ff14;
  --dark-gray: #3a3a3a;
  --light-green: #b5ff9d;
  --light-gray: #eaeaea;
  --font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--primary-black);
  background-color: var(--white);
  overflow-x: hidden;
}

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
}

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

.logo h1 {
  color: var(--neon-green);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

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

.nav-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--neon-green);
}

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

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

/* Botón flotante */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  animation: pulse 2s infinite;
}

.floating-btn a {
  background: var(--neon-green);
  color: var(--primary-black);
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.3);
  transition: all 0.3s ease;
}

.floating-btn a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(57, 255, 20, 0.4);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-black) 0%, var(--dark-gray) 100%);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -2px;
  background: linear-gradient(45deg, var(--white), var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: var(--neon-green);
  color: var(--primary-black);
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(57, 255, 20, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(57, 255, 20, 0.4);
}

/* Why Section */
.why-section {
  padding: 100px 0;
  background: var(--light-gray);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--primary-black);
}

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

.benefit-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease;
}

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

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-black);
}

.benefit-card p {
  color: var(--dark-gray);
  font-size: 1.1rem;
}

/* Products Section */
.products-section {
  padding: 100px 0;
  background: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.product-card {
  background: var(--white);
  border: 2px solid var(--light-gray);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  animation: fadeInUp 0.8s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-green);
  box-shadow: 0 15px 35px rgba(57, 255, 20, 0.1);
}

.product-card.featured {
  border-color: var(--neon-green);
  background: linear-gradient(135deg, var(--white) 0%, rgba(181, 255, 157, 0.1) 100%);
}

.featured-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--neon-green);
  color: var(--primary-black);
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.product-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-black);
}

.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon-green);
}

.product-description {
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.product-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.product-features li {
  padding: 0.5rem 0;
  color: var(--dark-gray);
}

.buy-button {
  width: 100%;
  background: var(--primary-black);
  color: var(--white);
  border: none;
  padding: 15px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.buy-button:hover {
  background: var(--neon-green);
  color: var(--primary-black);
  transform: translateY(-2px);
}

/* Testimonials */
.testimonials-section {
  padding: 100px 0;
  background: var(--primary-black);
  color: var(--white);
}

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

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

.testimonial-card {
  background: var(--dark-gray);
  padding: 2.5rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: var(--dark-gray);
}

.testimonial-card p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author strong {
  color: var(--neon-green);
  display: block;
  margin-bottom: 0.5rem;
}

.testimonial-author span {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: var(--primary-black);
  color: var(--white);
  padding: 50px 0 20px;
}

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

.footer-brand h3 {
  color: var(--neon-green);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-links h4 {
  color: var(--neon-green);
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-gray);
  opacity: 0.8;
}

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

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--primary-black);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
  }

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

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

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

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

  .floating-btn {
    bottom: 20px;
    right: 20px;
  }

  .floating-btn a {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .product-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .why-section,
  .products-section,
  .testimonials-section {
    padding: 60px 0;
  }

  .benefit-card,
  .product-card,
  .testimonial-card {
    padding: 1.5rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Intersection Observer animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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