/* ===============================
   PLANS SECTION
   =============================== */
.plans-section{
  max-width:1200px;
  margin:40px auto;
  padding:0 16px;
  text-align:center;
}

.plans-section h1{
  font-size:28px;
  margin-bottom:8px;
}

.plans-section p{
  color:#000000;
  margin-bottom:32px;
}

/* ===============================
   PLANS GRID
   =============================== */
.plans{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
}

/* ===============================
   PLAN CARD
   =============================== */
.plan{
  background:#fff;
  border-radius:16px;
  border-top:6px solid #ddd;
  padding:22px 20px 26px;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
  text-align:start;
  transition:transform .25s ease, box-shadow .25s ease;
}

.plan:hover{
  transform:translateY(-6px);
  box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.plan h2{
  margin:0 0 12px;
  font-size:22px;
}

.plan .price{
  font-size:22px;
  font-weight:800;
  margin:8px 0;
}

.plan .description{
  font-size:14px;
  color:#000000;
  margin-bottom:14px;
}

.plan ul{
  list-style:none;
  padding:0;
  margin:0 0 20px;
}

.plan ul li{
  padding:6px 0;
  font-size:14px;
  color:#444;
}

/* ===============================
   BUTTONS (GENERAL)
   =============================== */
.plan button{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:none;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
  transition:background .25s ease, transform .15s ease;
}

.plan button:hover{
  transform:translateY(-2px);
}

.plan button:disabled{
  background:#ccc;
  color:#777;
  cursor:not-allowed;
}

/* ===============================
   PLAN COLORS (FINAL)
   =============================== */

/* FREE */
.plan.free{
  border-top-color:#999;
}
.plan.free button{
  background:#999;
  color:#fff;
}

/* SILVER → أزرق */
.plan.silver{
  border-top-color:#1e88e5;
}
.plan.silver button{
  background:#1e88e5;
  color:#fff;
}
.plan.silver button:hover{
  background:#1565c0;
}

/* PREMIUM → أسود */
.plan.premium{
  border-top-color:#000;
}
.plan.premium button{
  background:#000;
  color:#fff;
}
.plan.premium button:hover{
  background:#111;
}

/* ELITE → ذهبي */
.plan.elite{
  border-top-color:#d4af37;
}
.plan.elite button{
  background:#d4af37;
  color:#000;
  font-weight:900;
}
.plan.elite button:hover{
  background:#c9a227;
}

/* ===============================
   BILLING TOGGLE
   =============================== */
.billing-toggle-wrap{
  display:flex;
  justify-content:center;
  margin-bottom:32px;
}

.billing-toggle{
  display:flex;
  align-items:center;
  gap:12px;
  background:#f7f7f7;
  padding:10px 14px;
  border-radius:30px;
  font-size:14px;
}

.billing-toggle span{
  font-weight:700;
  color:#777;
}

.billing-toggle span.active{
  color:#000;
}

/* switch */
.switch{
  position:relative;
  width:44px;
  height:24px;
}
.switch input{
  opacity:0;
  width:0;
  height:0;
}
.slider{
  position:absolute;
  cursor:pointer;
  inset:0;
  background:#ccc;
  border-radius:34px;
  transition:.3s;
}
.slider:before{
  content:"";
  position:absolute;
  height:18px;
  width:18px;
  left:3px;
  bottom:3px;
  background:#fff;
  border-radius:50%;
  transition:.3s;
}
.switch input:checked + .slider{
  background:#000;
}
.switch input:checked + .slider:before{
  transform:translateX(20px);
}

.save-badge{
  background:#d4af37;
  color:#000;
  font-size:12px;
  padding:4px 8px;
  border-radius:12px;
  font-weight:800;
}
