* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  width: 100vw;
  height: 100vh;
  background-color: #D9D9D9;
}

section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  height: 50vh;
  margin-bottom: 10px;
}

.section1 {
  width: 30%;
  border-radius: 15px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  margin-top: 5%;
  margin-bottom: 20px;
}

.section1 h1 {
  font-size: 20px;
  color: #868693;
  text-align: center;
  margin-top: 10%;
  margin-bottom: 15%;

}

.section1 button {
  /* qalınlıq vacibdir */
  border-radius: 15px;
  display: inline-block;
  width: 70%;
  margin-top: 5%;
  margin: 20px auto;
  margin-bottom: 40px;
  padding: 40px 40px;
  border: 1px solid transparent;
  /* mütləq lazımdır */
  background:
    linear-gradient(#fff, #fff) padding-box,
    /* iç hissə */
    linear-gradient(to right, #0088FF, #D766DD) border-box;
  /* border */

}

.section1 button a {
  text-decoration: none;
  font-size: 20px;
  color: #868693;
  text-align: center;
  margin-top: 10%;
  margin-bottom: 4%;


}

.section2 {
  width: 30%;
  height: 65vh;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 15px;
  padding-top: 70px;
  margin-top: 40px;

}

.card-wrapper {
  border-radius: 10px;
  width: 300px;

  justify-content: center;
  margin: 20px auto;
  margin-left: 10%;
  /* yuvarlaq künc */
  padding: 2px;
  /* border qalınlığı */
  background: linear-gradient(to right, #0088FF, #D766DD);
  display: inline-block;
}

.card-number {
  display: block;
  text-align: center;
  border: none;
  outline: none;
  padding: 20px;
  border-radius: 8px;
  /* wrapper-in iç radiusu */
  width: 100%;
  font-size: 26px;
}


.inputs-row {
  display: flex;
  justify-content: space-around;
  margin: 20px auto;
}

.month label,
.cvv label {
  font-size: 20px;
  color: #D9D9D9;
  display: block;
  text-align: center;
  margin-bottom: 2px;
}

.inputs-row input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #73AFF3;
  border-radius: 10px;
  outline: none;

}


.month,
.cvv {
  display: flex;
  flex-direction: column;
  width: 40%;

}

.pay-btn {
  display: block;
  text-align: center;
  background: linear-gradient(to right, #5C17FC, #0088FF);
  border: none;
  border-radius: 35px;
  color: #fff;
  width: 60%;
  padding: 20px;
  cursor: pointer;
  font-size: 1rem;
  margin: 60px auto;
}

.pay-btn a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
}

.section3 {
  width: clamp(200px, 70%, 300px);
  border-radius: 15px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  height: 65vh;
  margin-top: 50px;
  margin-bottom: 20px;
  box-shadow: 10px 20px 120px 20px #3285e4;

}

.basic h1 {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  padding: 10px;
  width: 120px;
  border-radius: 10px;
  background: linear-gradient(to right, #73AFF3, #0088FF);
  margin-left: 30px;
  margin-top: 10%;
}

.section3 p {
  color: #868693;
  font-size: 20px;
  padding: 5px 10px;
  background-color: #DCDCDC;
  border-radius: 10px;
  margin: 30px auto;
  justify-content: center;
  width: 230px;
}

.section3 h2 {
  font-size: 26px;
  font-weight: 700;
  text-align: center;
}

.section3 span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  color: #868693;
  text-align: center;
}

.section3 ul {
  margin-left: 25px;
  color: #868693;
  margin-top: 10px;
  margin-bottom: 20px;
}

.section3 ul li::marker {
  color: #009951;
  font-size: 16px;
}

.section3 p {
  color: #868693;
  font-size: 20px;
  padding: 5px 10px;
  background-color: #DCDCDC;
  border-radius: 10px;
  margin-top: 10px;
  margin-bottom: 10%;
  justify-content: center;
  text-align: center;
  width: 230px;
}


.section3 h3 {
  font-size: 16px;
  text-align: center;
  margin: 30px 20px;
  margin: 20px 40px;
}

.section3 button {
  border: none;
  border-radius: 25px;
  background-image: linear-gradient(to right, #0088FF, #D766DD);
  font-size: 20px;
  padding: 10px 70px;
  margin-left: 40px;
  margin-top: 20px;

}

.section3 button a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;

}




.next button a {
  font-size: 20px;
  text-decoration: none;
  color: #fff;
}

.back button {
  width: 100px;
  display: block;
  box-shadow: 0 0 15px 4px #5C17FC;

  background-color: #73AFF3;
  margin-left: 10%;
  margin-top: 22%;
  margin-bottom: 30px;
  height: 40px;
  border-radius: 35px;
  cursor: pointer;
  border: none;
  outline: none;




}

.back button a {
  font-size: 20px;
  text-decoration: none;
  color: #fff;
}

/* ================= RESPONSIVE DESIGN ================= */

/* 📱 Planşet (≤1024px) */
@media (max-width: 1024px) {
  section {
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
  }

  .section1,
  .section2,
  .section3 {
    width: 45%;
    margin: 20px auto;
    height: auto;
  }

  .section2 {
    padding-top: 40px;
  }

  .section3 {
    padding: 20px;
  }
}

/* 📱 Böyük telefonlar və kiçik planşetlər (≤768px) */
@media (max-width: 768px) {
  section {
    flex-direction: column;
    align-items: center;
    height: auto;
  }

  .section1,
  .section2,
  .section3 {
    width: 80%;
    margin: 15px auto;
    height: auto;
  }

  .section1 h1,
  .section2 label,
  .section3 h1,
  .section3 h2,
  .section3 h3 {
    font-size: 18px;
  }

  .section1 button,
  .pay-btn,
  .section3 button,
  .back button {
    width: 80%;
    padding: 15px;
    font-size: 16px;
    margin: 20px auto;
  }

  .card-wrapper {
    width: 90%;
    margin: 20px auto;
  }

  .card-number {
    font-size: 20px;
    padding: 15px;
  }
}

/* 📱 Kiçik telefonlar (≤480px) */
@media (max-width: 480px) {

  .section1,
  .section2,
  .section3 {
    width: 95%;
    margin: 10px auto;
    height: auto;
  }

  .section1 h1,
  .section3 h1,
  .section3 h2 {
    font-size: 16px;
  }

  .section3 p {
    font-size: 14px;
    width: 90%;
    margin: 10px auto;
  }

  .section3 ul {
    font-size: 14px;
    margin-left: 15px;
  }

  .pay-btn {
    width: 90%;
    padding: 12px;
    font-size: 14px;
  }

  .back button {
    width: 80px;
    height: 35px;
    font-size: 14px;
  }

  .card-number {
    font-size: 18px;
    padding: 10px;
  }

  .inputs-row {
    flex-direction: column;
    gap: 10px;
  }

  .month,
  .cvv {
    width: 100%;
  }
}