* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #000 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.checkout-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background: -webkit-linear-gradient(#E63C3F, #FF04EE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-wrapper {
  justify-content: center;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.pricing-card {
  background: linear-gradient(white, white) padding-box,
              linear-gradient(to right, #E63C3F, darkorchid) border-box;
  border-radius: 16px;
  border: 4px solid transparent;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  cursor: pointer;
  flex: 1;
  min-width: 300px;
  max-width: 400px;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(255, 4, 238, 0.3) 0%, #764ba2 100%) padding-box,
              linear-gradient(to right, #E63C3F, darkorchid) border-box;
  color: white;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card.selected {
  border-color: #E63C3F;
  box-shadow: 0 0 0 2px #E63C3F;
}

.plan-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(to right, #E63C3F, darkorchid);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.featured .plan-name {
  color: white;
  -webkit-text-fill-color: white;
}

.plan-subtitle {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 30px;
  font-weight: 500;
}

.price {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(to right, #E63C3F, darkorchid);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.featured .price {
  color: white;
  -webkit-text-fill-color: white;
}

.price-note {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 40px;
}

.features {
  list-style: none!important;
  margin-bottom: 40px;
}

.features li {
  padding: 12px 0;
  font-size: 1.1rem;
  position: relative;
  padding-left: 30px;
  list-style: none!important;
  text-align: left;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #E63C3F;
  font-weight: bold;
  font-size: 1.2rem;
}

.featured .features li::before {
  color: #fff;
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #E63C3F, darkorchid);
  color: white;
  padding: 8px 25px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.checkout-form {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #E63C3F;
}

.card-number-group {
  position: relative;
}

.card-icons {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 5px;
}

.card-icon {
  width: 30px;
  height: 20px;
  background: #ddd;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}

.visa {
  background: #1a1f71;
  color: white;
}

.mastercard {
  background: #eb001b;
  color: white;
}

.security-code-group {
  position: relative;
}

.security-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 20px;
  background: #f0f0f0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
  color: #666;
}

.terms-text {
  font-size: 0.9rem;
  color: #666;
  margin: 20px 0;
}

.complete-purchase-btn {
  background: #000;
  color: white;
  border: none;
  padding: 18px 40px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.complete-purchase-btn:hover {
  background: #333;
  transform: translateY(-2px);
}

.payment-methods {
  display: flex;
  gap: 10px;
}

.payment-btn {
  flex: 1;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.gpay-btn {
  background: #000;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.paypal-btn {
  background: #0070ba;
  color: white;
}

.selected-plan {
  background: linear-gradient(135deg, #E63C3F, darkorchid);
  color: white;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  text-align: center;
}

.selected-plan h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.selected-plan .selected-price {
  font-size: 2.5rem;
  font-weight: 800;
}
.page-title-wrappper{
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 20px;

}

.loading-bg, .error-bg{
  position: fixed;
  width: 100dvw;
  height: 100dvh;
  background: linear-gradient(135deg, #000 0%, #764ba2 100%);
  color: white;
  font-weight: bold;
  top: 0px;
  left: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.error-bg kbd{
  background: linear-gradient(135deg, rgba(255, 4, 238, 0.3) 0%, #764ba2 100%);
  color: white;
  padding: 5px;
  border-radius: 5px;
}

/* HTML: <div class="loader"></div> */
.loader {
  width: 90px;
  height: 14px;
  box-shadow: 0 3px 0 #fff;
  position: relative;
  clip-path: inset(-40px 0 -5px)
}
.loader:before {
  content: "";
  position: absolute;
  inset: auto calc(50% - 17px) 0;
  height: 50px;
  --g:no-repeat linear-gradient(135deg, rgba(255, 4, 238, 0.3) 0%, #764ba2 100%);
  background: var(--g),var(--g),var(--g),var(--g);
  background-size: 16px 14px;
  animation:
    l7-1 2s infinite linear,
    l7-2 2s infinite linear;
}
@keyframes l7-1 {
  0%,
  100%  {background-position: 0 -50px,100% -50px}
  17.5% {background-position: 0 100%,100% -50px,0 -50px,100% -50px}
  35%   {background-position: 0 100%,100% 100% ,0 -50px,100% -50px}
  52.5% {background-position: 0 100%,100% 100% ,0 calc(100% - 16px),100% -50px}
  70%,
  98%  {background-position: 0 100%,100% 100% ,0 calc(100% - 16px),100% calc(100% - 16px)}
}
@keyframes l7-2 {
  0%,70% {transform:translate(0)}
  100%  {transform:translate(200%)}
}
.loading-container{
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .pricing-wrapper {
      flex-direction: column;
      align-items: center;
  }
  
  .pricing-card.featured {
      transform: none;
  }
  
  .pricing-card.featured:hover {
      transform: translateY(-8px);
  }

  .form-row {
      flex-direction: column;
      gap: 0;
  }

  .page-title {
      font-size: 2rem;
  }

  .checkout-form {
      padding: 20px;
  }
}