* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(353deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 41%, rgba(255, 255, 255, 1) 90%, rgba(255, 187, 16, 0.4) 96%, rgba(255, 16, 83, 0.4) 100%);
  min-height: 100vh;
  padding: 20px;
}

.main-container {
  display: flex;
  gap: 30px;
  margin: 0 auto;
  align-items: flex-start;
}

.pricing-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.pricing-cards-wrapper{
  flex: 1;
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.checkout-header{
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.pricing-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.selected {
  border-color: #ff1744;
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 23, 68, 0.2);
}

.pricing-card.featured {
  background: linear-gradient(135deg, #ff1744, #ff4569);
  color: white;
}

.pricing-card.featured .pricing-title {
  color: white;
}

.pricing-card.featured .pricing-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-card.featured .pricing-price {
  color: white;
}

.pricing-card.featured .pricing-features {
  color: white;
}

.pricing-card.featured .pricing-btn {
  background: white;
  color: #ff1744;
}

.pricing-card.featured .pricing-btn:hover {
  background: #f0f0f0;
}

.pricing-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 5px;
}

.pricing-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.pricing-price {
  font-size: 36px;
  font-weight: 700;
  color: #ff1744;
  margin-bottom: 5px;
}

.pricing-term {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-features li {
  padding: 8px 0;
  position: relative;
  padding-left: 25px;
  font-size: 14px;
  color: #333;
}

.pricing-features li:before {
  content: '•';
  color: #ff1744;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.pricing-btn {
  width: 100%;
  padding: 15px;
  background: #ff1744;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-btn:hover {
  background: #d50000;
  transform: translateY(-2px);
}

.checkout-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  width: 100%;
  max-width: 500px;
  flex-shrink: 0;
}

.checkout-header {
  text-align: center;
  margin-bottom: 30px;
}

.checkout-title {
  color: #333;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.total-amount {
  font-size: 32px;
  font-weight: 700;
  color: #ff1744;
  margin-bottom: 20px;
}

.selected-plan {
  font-size: 14px;
  color: #666;
  background: #f8f9fa;
  padding: 10px 15px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 25px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-row .form-group {
  flex: 1;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

input[type="text"],
input[type="password"],
input[type="email"],
select {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus {
  outline: none;
  border-color: #ff1744;
  background: white;
  box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.1);
}

.card-input {
  position: relative;
}

.card-input input {
  padding-right: 80px;
}

.card-icons {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 5px;
}

.card-icon {
  width: 30px;
  height: 20px;
  background: #0070ba;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 8px;
  font-weight: bold;
}

.card-icon.mastercard {
  background: linear-gradient(45deg, #ff5f00, #eb001b);
}

.security-code-input {
  position: relative;
}

.security-hint {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: #666;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.terms-text {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 30px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
}

.btn-complete {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #333, #ff1744);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-complete:hover {
  background: linear-gradient(135deg, #ff1744, #333);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-paypal {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #0070ba, #003087);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-paypal:hover {
  background: linear-gradient(135deg, #003087, #0070ba);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 112, 186, 0.3);
}

.checkmark {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #4caf50;
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
}

.checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
}

.loading-bg, .error-bg{
  position: fixed;
  width: 100dvw;
  height: 100dvh;
  background: white;
  color: black;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.error-bg kbd{
  background: rgb(214, 214, 214);
  color: rgb(29, 29, 29);
  padding: 4px;
}
.loading-container{
  display: flex;
  justify-content: center;
  align-items: center;
}

.loader {
  width: 50px;
  aspect-ratio: 1;
  display: grid;
  border-radius: 50%;
  background:
    linear-gradient(0deg ,rgb(0 0 0/50%) 30%,#0000 0 70%,rgb(0 0 0/100%) 0) 50%/8% 100%,
    linear-gradient(90deg,rgb(0 0 0/25%) 30%,#0000 0 70%,rgb(0 0 0/75% ) 0) 50%/100% 8%;
  background-repeat: no-repeat;
  animation: l23 1s infinite steps(12);
}
.loader::before,
.loader::after {
   content: "";
   grid-area: 1/1;
   border-radius: 50%;
   background: inherit;
   opacity: 0.915;
   transform: rotate(30deg);
}
.loader::after {
   opacity: 0.83;
   transform: rotate(60deg);
}
@keyframes l23 {
  100% {transform: rotate(1turn)}
}

@media (max-width: 768px) {
  .main-container {
      flex-direction: column;
  }
  
  .checkout-container {
      padding: 30px 20px;
  }
  
  .form-row {
      flex-direction: column;
      gap: 0;
  }
}