/* RESET SIMPLE */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  /* Fondo más intenso y neón */
  background:
    radial-gradient(circle at 0% 0%, #3c1a6b 0, transparent 55%),
    radial-gradient(circle at 100% 0%, #0bcfd8 0, transparent 50%),
    radial-gradient(circle at 50% 120%, #ff2c9a 0, #050611 55%, #020208 100%);
  color: #f5f5ff;
  min-height: 100vh;
}

/* NAVBAR */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 7vw;
  background: linear-gradient(
    to bottom,
    rgba(5, 6, 17, 0.98),
    rgba(5, 6, 17, 0.7)
  );
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.nav__logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 1.05rem;
}

.nav__logo span {
  background: linear-gradient(120deg, #ff4ecd, #00f0ff);
  -webkit-background-clip: text;
  color: transparent;
}

.nav__links {
  display: flex;
  gap: 1.7rem;
  font-size: 0.9rem;
}

.nav__links a {
  text-decoration: none;
  color: #d9d9ff;
  position: relative;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff4ecd, #00f0ff);
  transition: width 0.2s ease;
}

.nav__links a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.nav__links a:hover::after {
  width: 100%;
}

/* SECCIONES GENERALES */
main {
  padding: 2.5rem 7vw 3.5rem;
}

.section {
  padding: 3rem 0;
}

.section__header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.section__header h2 {
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
}

.section__header p {
  font-size: 0.95rem;
  color: #c0c0ff;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 4rem;
}

.hero__tagline {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #9b8cff;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 3.3vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.9),
    0 0 22px rgba(0, 240, 255, 0.35);
}

.hero__text {
  font-size: 0.98rem;
  color: #d3d3ff;
  max-width: 520px;
  margin-bottom: 1.6rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

/* BOTONES */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
  white-space: nowrap;
}

.btn--primary {
  background: radial-gradient(circle at 0 0, #ff4ecd, #c300ff, #00f0ff);
  box-shadow:
    0 0 18px rgba(0, 240, 255, 0.7),
    0 0 38px rgba(255, 78, 205, 0.9);
  color: #050611;
}

.btn--primary:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 0 26px rgba(0, 240, 255, 0.95),
    0 0 48px rgba(255, 78, 205, 1);
}

.btn--ghost {
  background: rgba(5, 6, 17, 0.6);
  border-color: rgba(255, 255, 255, 0.35);
  color: #f5f5ff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #ff4ecd;
}

.btn--mini {
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
}

/* HERO BADGES */
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.7rem;
  margin-top: 0.4rem;
}

.hero__badges span {
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: radial-gradient(
    circle at top left,
    rgba(255, 78, 205, 0.28),
    rgba(0, 240, 255, 0.18),
    transparent
  );
}

/* HERO IMAGE */
.hero__image {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 240, 255, 0.32),
    rgba(255, 78, 205, 0.2),
    transparent 70%
  );
  filter: blur(4px);
  animation: pulse-glow 6s infinite alternate;
}

.hero__card {
  position: relative;
  max-width: 280px;
  padding: 1.6rem 1.7rem;
  border-radius: 1.5rem;
  background: radial-gradient(circle at top left, #24134f, #050611 60%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    0 0 30px rgba(0, 240, 255, 0.35),
    0 0 50px rgba(255, 78, 205, 0.45);
  overflow: hidden;
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid transparent;
  border-image: linear-gradient(120deg, #ff4ecd, #00f0ff) 1;
  opacity: 0.8;
  pointer-events: none;
}

.hero__mini-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #00f0ff;
  margin-bottom: 0.5rem;
}

.hero__card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.hero__card p {
  font-size: 0.85rem;
  color: #d6d6ff;
}

/* PRODUCTS */
.section--products {
  position: relative;
}

.section--products::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(0, 240, 255, 0.13),
    rgba(255, 78, 205, 0.12),
    transparent 55%
  );
  opacity: 0.8;
  pointer-events: none;
}

.products__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7rem;
  z-index: 1;
}

.product-card {
  position: relative;
  padding: 1.7rem 1.6rem;
  border-radius: 1.3rem;
  background: radial-gradient(circle at top left, #21123f, #050611 65%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.85),
    0 0 22px rgba(0, 240, 255, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.9),
    0 0 32px rgba(0, 240, 255, 0.7);
}

.product-card__tag {
  align-self: flex-start;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.7);
  color: #00f0ff;
  margin-bottom: 0.2rem;
  background: rgba(0, 0, 0, 0.4);
}

.product-card__tag--pink {
  border-color: rgba(255, 78, 205, 0.9);
  color: #ffb0ee;
}

.product-card__tag--cyan {
  border-color: rgba(0, 240, 255, 0.9);
  color: #bdfcff;
}

.product-card h3 {
  font-size: 1.1rem;
}

.product-card__desc {
  font-size: 0.87rem;
  color: #d4d4ff;
}

.product-card__features {
  list-style: none;
  font-size: 0.8rem;
  color: #bdbdff;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.product-card__features li::before {
  content: "✦ ";
  color: #ff4ecd;
}

.product-card__footer {
  margin-top: 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.product-card__price {
  font-weight: 700;
  font-size: 0.95rem;
}

/* ABOUT */
.section--about {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: flex-start;
}

.about__content p {
  font-size: 0.95rem;
  color: #d0d0ff;
  margin-bottom: 0.8rem;
}

.about__content h2 {
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
}

.about__card {
  padding: 1.6rem 1.5rem;
  border-radius: 1.4rem;
  background: radial-gradient(circle at top left, #24134f, #050611 60%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 18px 32px rgba(0, 0, 0, 0.85),
    0 0 24px rgba(0, 240, 255, 0.38);
}

.about__card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

.about__card ul {
  list-style: none;
  font-size: 0.88rem;
  color: #d4d4ff;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.about__card li::before {
  content: "▹ ";
  color: #00f0ff;
}

/* CONTACT / NEWSLETTER */
.section--contact {
  text-align: center;
}

.newsletter {
  max-width: 420px;
  margin: 0 auto 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.newsletter__field {
  flex: 1 1 230px;
  text-align: left;
}

.newsletter__field label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 0.3rem;
  color: #b0aaff;
}

.newsletter__field input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(3, 4, 16, 0.95);
  color: #f5f5ff;
  font-size: 0.85rem;
  outline: none;
  box-shadow: 0 0 16px rgba(0, 240, 255, 0.3);
}

.newsletter__field input::placeholder {
  color: #7f7ac4;
}

.newsletter__field input:focus {
  border-color: #00f0ff;
  box-shadow:
    0 0 16px rgba(0, 240, 255, 0.85),
    0 0 28px rgba(255, 78, 205, 0.65);
}

.newsletter__note {
  font-size: 0.8rem;
  color: #a8a8ff;
}

/* FOOTER */
.footer {
  padding: 1.5rem 7vw 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.8rem;
  color: #9b9bff;
  background: radial-gradient(circle at bottom, rgba(0, 240, 255, 0.12), transparent 60%);
}

/* ANIMACIÓN GLOW */
@keyframes pulse-glow {
  0% {
    transform: scale(0.96);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__image {
    order: -1;
    margin-bottom: 1.5rem;
  }

  .section--about {
    grid-template-columns: 1fr;
  }

  .products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav {
    padding-inline: 5vw;
  }

  main {
    padding-inline: 5vw;
  }
}

@media (max-width: 640px) {
  .nav__links {
    display: none; /* simplificamos en móvil */
  }

  .products__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .section {
    padding: 2.3rem 0;
  }
}
