/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Orbitron", sans-serif;
  background: #070707;
  color: white;
  overflow-x: hidden;
  position: relative;
}

/* GLOW BACKGROUND */

.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
}

.glow-1 {
  width: 350px;
  height: 350px;
  background: #ff3c78;
  top: -100px;
  left: -100px;
}

.glow-2 {
  width: 300px;
  height: 300px;
  background: #ff8a00;
  top: 250px;
  right: -100px;
}

.glow-3 {
  width: 250px;
  height: 250px;
  background: #ffe600;
  bottom: -100px;
  left: 40%;
}

/* NAVBAR */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 8%;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  color: #ff3c78;
  letter-spacing: 3px;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ff8a00;
}

.active {
  color: #ff8a00;
}

/* DROPDOWN */

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;

  position: absolute;

  top: 100%;

  left: 0;

  min-width: 180px;

  background: rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 10px;

  padding: 10px 0;

  z-index: 999;
}

.dropdown-content li {
  list-style: none;
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* HERO */

.keyboard-hero {
  text-align: center;
  padding: 100px 8%;
}

.keyboard-hero span {
  color: #ff8a00;
  letter-spacing: 3px;
  font-size: 14px;
}

.keyboard-hero h1 {
  font-size: 90px;
  margin-top: 20px;
}

.keyboard-hero p {
  max-width: 800px;
  margin: 20px auto;
  color: #cccccc;
  line-height: 1.8;
}

/* PRODUCTS */

.products-section {
  padding: 50px 8% 100px;

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: 35px;
}

/* PRODUCT CARD */

.product-card {
  position: relative;

  background: rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(25px);

  border: 1px solid rgba(255, 255, 255, 0.1);

  border-radius: 25px;

  overflow: hidden;

  transition: 0.4s;
}

.product-card:hover {
  transform: translateY(-10px);

  box-shadow:
    0 0 25px rgba(255, 60, 120, 0.35),
    0 0 50px rgba(255, 138, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: contain;
  padding: 20px;
}

/* BADGE */

.badge {
  position: absolute;

  top: 20px;
  right: 20px;

  background: linear-gradient(45deg, #ff3c78, #ff8a00);

  color: white;

  padding: 8px 15px;

  border-radius: 30px;

  font-size: 12px;

  font-weight: 700;
}

/* CONTENT */

.product-content {
  padding: 25px;
}

.product-content h3 {
  font-size: 22px;
  color: #ff8a00;
}

.product-content p {
  margin-top: 12px;
  color: #cccccc;
  line-height: 1.8;
  font-size: 14px;
}

.price {
  margin-top: 20px;

  font-size: 28px;

  color: #ff3c78;

  font-weight: 700;
}

/* BUTTON */

.product-content button {
  margin-top: 20px;

  width: 100%;

  padding: 15px;

  border: none;

  border-radius: 12px;

  cursor: pointer;

  font-family: inherit;

  font-weight: 700;

  color: white;

  background: linear-gradient(45deg, #ff3c78, #ff8a00);

  transition: 0.3s;
}

.product-content button:hover {
  transform: scale(1.03);

  box-shadow: 0 0 20px #ff3c78;
}

/* CTA */

.cta {
  text-align: center;
  padding: 120px 8%;
}

.cta h2 {
  font-size: 70px;
}

.cta p {
  margin-top: 20px;
  color: #cccccc;
}

.cta-btn {
  display: inline-block;

  margin-top: 40px;

  text-decoration: none;

  padding: 18px 40px;

  border-radius: 12px;

  background: linear-gradient(45deg, #ff3c78, #ff8a00);

  color: white;

  transition: 0.3s;
}

.cta-btn:hover {
  transform: translateY(-5px);
}

/* FOOTER */

footer {
  text-align: center;

  padding: 50px;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer h2 {
  color: #ff3c78;
}

footer p {
  margin-top: 10px;
}

.product-card {
  opacity: 0;

  transform: translateY(50px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.product-card.show {
  opacity: 1;

  transform: translateY(0);
}

.product-card.show {
  opacity: 1;

  transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    flex-direction: column;
    text-align: center;
  }

  .keyboard-hero h1 {
    font-size: 60px;
  }

  .cta h2 {
    font-size: 45px;
  }
}

.switch-type {
  display: inline-block;

  margin-top: 10px;
  margin-bottom: 10px;

  padding: 6px 14px;

  border-radius: 20px;

  font-size: 12px;
  font-weight: 700;

  background: rgba(255, 138, 0, 0.15);

  color: #ff8a00;

  border: 1px solid rgba(255, 138, 0, 0.4);

  box-shadow:
    0 0 10px rgba(255, 138, 0, 0.3),
    0 0 20px rgba(255, 138, 0, 0.15);

  letter-spacing: 1px;
}
