/* ================= RESET ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Inter,system-ui,sans-serif;
}

html,body{
  width:100%;
  overflow-x:hidden;
}

body{
  background:#0b0b0b;
  color:#fff;
}

/* ================= HEADER ================= */
.header{
  position:sticky;
  top:0;
  z-index:100;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 30px;
  background:rgba(10,10,10,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #1a1a1a;
}

.logo{
  font-weight:900;
  letter-spacing:.5px;
  font-size: 24px;
}

.contact{
  background:linear-gradient(135deg,#7c3aed,#a855f7);
  border:none;
  color:#fff;
  padding:10px 22px;
  border-radius:14px;
  font-weight:800;
  cursor:pointer;
}

/* ================= FILTER HERO ================= */
.filter-hero{
  padding:70px 20px 40px;
  text-align:center;
  background:radial-gradient(circle at top,#1b1b1b,#0b0b0b);
}

.filter-hero h1{
  font-size:36px;
  font-weight:900;
  margin-bottom:10px;
}

.filter-hero p{
  color:#aaa;
  margin-bottom:28px;
}

.filter-box{
  max-width:720px;
  margin:0 auto;
  display:flex;
  gap:14px;
  background:#121212;
  border:1px solid #1f1f1f;
  border-radius:24px;
  padding:16px;
  box-shadow:0 30px 80px rgba(0,0,0,.8);
}

.filter-box input,
.filter-box select{
  background:#0b0b0b;
  border:1px solid #2a2a2a;
  color:#fff;
  padding:16px 18px;
  border-radius:16px;
  font-size:15px;
}

.filter-box input{flex:1}

/* ================= PRODUCTS GRID ================= */
.grid{
  padding:40px;
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
  gap:30px;
}

/* ================= PRODUCT CARD ================= */
.card{
  background:linear-gradient(180deg,#151515,#0f0f0f);
  border-radius:28px;
  padding:18px;
  position:relative;
  box-shadow:0 30px 70px rgba(0,0,0,.85);
  transition:.35s ease;
  animation:fadeUp .6s ease forwards;
}

.card:hover{
  transform:translateY(-12px) scale(1.03);
}

.badge{
  position:absolute;
  top:16px;
  right:16px;
  background:#0f3d2a;
  color:#2cff9a;
  padding:6px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}

.card-img{
  background:#fff;
  border-radius:22px;
  height:170px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.card-img img{
  max-height:110px;
  object-fit:contain;
}

.card-body{
  padding-top:16px;
}

.card-body h4{
  font-size:18px;
}

.price{
  color:#c084fc;
  font-weight:900;
  margin:8px 0 14px;
}

.points{
  list-style:none;
  font-size:13px;
  color:#d0d0d0;
  margin-bottom:16px;
}

.points li{margin:4px 0}

.actions{
  display:flex;
  gap:14px;
}

.details{
  flex:1;
  background:#1a1a1a;
  border:1px solid #2e2e2e;
  color:#fff;
  padding:14px;
  border-radius:16px;
  font-weight:700;
  cursor:pointer;
}

.whatsapp{
  flex:1;
  background:linear-gradient(135deg,#22c55e,#4ade80);
  color:#000;
  padding:14px;
  border-radius:16px;
  font-weight:900;
  text-align:center;
  text-decoration:none;
}

/* ================= POPUP ================= */
.overlay{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.85);
  justify-content:center;
  align-items:center;
  z-index:999;
}

.popup{
  width:420px;
  background:#141414;
  padding:28px;
  border-radius:28px;
  position:relative;
  animation:scaleIn .3s ease;
}

.close{
  position:absolute;
  right:16px;
  top:12px;
  font-size:22px;
  cursor:pointer;
}

.popup-img{
  background:#fff;
  border-radius:20px;
  height:180px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.popup-img img{
  max-width:120px;
  max-height:120px;
}

#p-price{
  color:#c084fc;
  font-size:20px;
  font-weight:900;
  margin:12px 0;
}

.meta div{
  font-size:14px;
  margin:4px 0;
}

#p-stock{
  color:#2cff9a;
  font-weight:800;
}

.buy{
  display:block;
  margin-top:18px;
  background:#22c55e;
  color:#000;
  padding:16px;
  border-radius:20px;
  font-weight:900;
  text-align:center;
}

/* ================= PLANS ================= */
.plans{
  padding:80px 40px;
  background:radial-gradient(circle at top,#151515,#0b0b0b);
  text-align:center;
}

.plans-title{
  font-size:34px;
  font-weight:900;
  margin-bottom:10px;
}/* ===== FINAL MOBILE GRID FIX (NO MORE 2 / 3 CARDS) ===== */
@media (max-width: 768px){
  .grid{
    grid-template-columns: 1fr !important;
  }
}


.plans-sub{
  color:#aaa;
  margin-bottom:50px;
}

.plans-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:28px;
  max-width:1400px;
  margin:auto;
}

.plan-card{
  background:linear-gradient(180deg,#171717,#101010);
  border-radius:30px;
  padding:28px;
  display:flex;
  flex-direction:column;
  height:520px;
  position:relative;
  box-shadow:0 30px 80px rgba(0,0,0,.85);
  transition:.35s ease;
  animation:fadeUp .7s ease forwards;
}

.plan-card:hover{
  transform:translateY(-12px) scale(1.03);
}

.plan-card.highlight{
  outline:2px solid #a855f7;
}

.plan-badge{
  position:absolute;
  top:-14px;
  right:20px;
  background:#a855f7;
  color:#fff;
  padding:6px 14px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
}

.plan-card h3{
  font-size:22px;
  margin-bottom:8px;
}

.plan-price{
  font-size:20px;
  font-weight:900;
  color:#c084fc;
  margin-bottom:16px;
}

/* ðŸ”¥ INNER SCROLL (DESKTOP + MOBILE) */
.plan-features{
  flex:1;
  overflow-y:auto;
  padding-right:6px;
  -webkit-overflow-scrolling:touch;
}

.plan-features ul{
  list-style:none;
  font-size:14px;
  text-align:left;
}

.plan-features li{
  margin:8px 0;
  color:#e5e5e5;
}

.plan-features::-webkit-scrollbar{
  width:5px;
}

.plan-features::-webkit-scrollbar-thumb{
  background:#444;
  border-radius:10px;
}

.plan-btn{
  margin-top:20px;
  background:linear-gradient(135deg,#22c55e,#4ade80);
  color:#000;
  padding:16px;
  border-radius:20px;
  font-weight:900;
  text-decoration:none;
  display:block;
}

/* ================= ANIMATIONS ================= */
@keyframes fadeUp{
  from{opacity:0;transform:translateY(40px)}
  to{opacity:1;transform:none}
}

@keyframes scaleIn{
  from{opacity:0;transform:scale(.9)}
  to{opacity:1;transform:scale(1)}
}

/* ================= RESPONSIVE ================= */
@media (max-width:1024px){
  .plans-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width:640px){
  .grid{
    grid-template-columns:1fr;
    padding:20px;
  }

  .plans{
    padding:60px 20px;
  }

  .plans-grid{
    grid-template-columns:1fr;
  }

  .plan-card{
    height:520px; /* SAME behavior as desktop */
  }

  .filter-box{
    flex-direction:column;
  }
}
