body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero span {
    background: linear-gradient(45deg, #ff6ec4, #7873f5);
    -webkit-background-clip: text;
    color: transparent;
}

.btn {
    padding: 14px 30px;
    background: linear-gradient(45deg, #ff6ec4, #7873f5);
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    margin-top: 20px;
    display: inline-block;
    transition: transform .3s;
}

.btn:hover {
    transform: scale(1.1);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 20px;
    padding: 60px;
}

.card {
    background: rgba(255,255,255,.1);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.products {
  padding: 80px 6%;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

/* PRODUCT GRID RESPONSIVENESS */

/* Desktop */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Tablet & ALL mobile screens — ALWAYS 2 per row */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Extra small phones — still 2 per row */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .product-card {
    padding: 14px;
  }

  .product-card img {
    border-radius: 12px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 769px) {
  .product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* FORCE 2 PRODUCTS PER ROW ON ALL MOBILE SCREENS */
@media (max-width: 768px) {
  .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 15px !important;
  }

  .product-card {
    width: 100% !important;
    max-width: 100% !important;
  }
}
.product-card {
  background: rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: .4s;
}


.product-card:hover {
  transform: translateY(-10px) scale(1.03);
}

.product-card img {
  width: 100%;
  border-radius: 15px;
}

.price {
  display: block;
  font-size: 20px;
  margin: 10px 0;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.2);
  backdrop-filter: blur(12px);
}

.logo a {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.logo span {
  background: linear-gradient(45deg,#ff6ec4,#7873f5);
  -webkit-background-clip: text;
  color: transparent;
}

.nav-links a {
  margin-left: 25px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  width: 0;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: .3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    background: linear-gradient(135deg,#667eea,#764ba2);
    width: 100%;
    display: none;
    flex-direction: column;
    text-align: center;
  }

  .nav-links a {
    padding: 15px 0;
  }

  .menu-toggle {
    display: block;
  }
}

.nav-links.show {
    display: flex;
}

#searchInput {
  padding: 12px 15px;
  width: 80%;
  max-width: 400px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
  transition: 0.3s;
}

#searchInput:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 2px rgba(79,70,229,0.2);
  outline: none;
}
.logo a{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.logo img{
  width:38px;
  height:auto;
}

.logo span{
  font-size:26px;
  font-weight:700;
  color:#fff;
}

.logo span span{
  background:linear-gradient(45deg,#ff6ec4,#7873f5);
  -webkit-background-clip:text;
  color:transparent;
}

/* MOBILE */
@media(max-width:768px){
  .logo img{
    width:32px;
  }

  .logo span{
    font-size:22px;
  }
}

.course-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:20px;

    padding:60px;

}

.course-card{

    background:rgba(255,255,255,0.12);

    padding:25px;

    border-radius:20px;

    backdrop-filter:blur(12px);

    transition:0.3s;

}

.course-card:hover{

    transform:translateY(-10px);

}

.badge{

    padding:5px 12px;

    border-radius:20px;

    font-size:12px;

    color:#fff;

    display:inline-block;

    margin:10px 0;

}

.frontend{

    background:#ff6ec4;

}

.backend{

    background:#4f46e5;

}

/* CTA Container */

.buy-cta{

    text-align:center;

    margin:40px 0;

}

/* CTA Text */

.cta-text{

    font-size:18px;

    margin-bottom:15px;

    animation: fadeIn 2s ease;

}

/* Animated Button */

.buy-btn{

    display:inline-block;

    padding:15px 30px;

    border-radius:50px;

    text-decoration:none;

    color:#fff;

    font-weight:600;

    font-size:16px;

    background: linear-gradient(270deg,#ff6ec4,#7873f5,#4f46e5);

    background-size: 600% 600%;

    animation: gradientMove 6s ease infinite, pulseGlow 2s infinite;

    transition:0.3s;

}

/* Hover Effect */

.buy-btn:hover{

    transform: scale(1.1);

    box-shadow:0 0 20px rgba(255,255,255,0.6);

}

/* Gradient Animation */

@keyframes gradientMove{

    0%{background-position:0% 50%;}

    50%{background-position:100% 50%;}

    100%{background-position:0% 50%;}

}

/* Glow Pulse */

@keyframes pulseGlow{

    0%{box-shadow:0 0 10px rgba(255,110,196,0.6);}

    50%{box-shadow:0 0 25px rgba(120,115,245,1);}

    100%{box-shadow:0 0 10px rgba(79,70,229,0.6);}

}

/* Fade In */

@keyframes fadeIn{

    from{opacity:0; transform:translateY(10px);}

    to{opacity:1; transform:translateY(0);}

}