/* Form Page Styles */
.form-page {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, #030e25 0%, #091a3a 100%);
  padding: 40px 20px;
  color: #fff;
}

.form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 14, 37, 0.85);
  z-index: 0;
  pointer-events: none;
}

.form-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(10, 24, 60, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 40px;
  backdrop-filter: blur(8px);
}

/* Header */
.form-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.back-link {
  position: absolute;
  top: 0;
  left: 0;
  color: #4a90e2;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid rgba(74, 144, 226, 0.3);
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-block;
}

.back-link:hover {
  background: rgba(74, 144, 226, 0.1);
  border-color: #4a90e2;
  transform: translateX(-4px);
}

.form-logo {
  width: 200px;
  margin-bottom: 20px;
}

.form-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: 0.1em;
  background: linear-gradient(90deg, #4a90e2 0%, #7b68ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}

.form-subtitle {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  color: #4a90e2;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.form-product-info {
  font-size: 16px;
  color: #d7e1ec;
  margin-bottom: 10px;
}

.form-instruction {
  font-size: 14px;
  color: #b0c4de;
  font-weight: 600;
}

/* Form Sections */
.form-section {
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: #fff;
  border-bottom: 2px solid rgba(74, 144, 226, 0.5);
  padding-bottom: 10px;
}

/* Product Options */
.option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.option-label:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #4a90e2;
  transform: translateX(4px);
}

.product-radio,
.subscription-radio {
  width: 24px;
  height: 24px;
  cursor: pointer;
  accent-color: #4a90e2;
}

.option-text {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.preferred-text .price-label {
  background: rgba(100, 100, 100, 0.3);
  padding: 8px 16px;
  border-radius: 4px;
}

.guarantee {
  font-size: 14px;
  color: #b0c4de;
  margin-top: 10px;
  font-style: italic;
}

/* Wholesale Options */
.wholesale-section {
  padding: 40px 30px;
}

.wholesale-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.wholesale-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wholesale-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #4a90e2;
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3);
}

.wholesale-card.selected,
.subscription-label.selected,
.option-label.selected {
  background: rgba(74, 144, 226, 0.15);
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.premium-card {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.15) 0%, rgba(123, 104, 238, 0.15) 100%);
  border-color: #7b68ee;
}

.most-popular {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(90deg, #ffd700 0%, #ffed4e 100%);
  color: #000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.wholesale-label {
  display: block;
  cursor: pointer;
}

.card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-title {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card-desc {
  font-size: 14px;
  color: #b0c4de;
  font-weight: 600;
  text-transform: uppercase;
}

.card-price {
  font-size: 20px;
  font-weight: 800;
  color: #4a90e2;
  margin: 8px 0;
}

.card-enroll {
  font-size: 12px;
  color: #d7e1ec;
  margin: 4px 0;
}

.card-special {
  font-size: 16px;
  font-weight: 700;
  color: #ffd700;
  margin: 8px 0;
}

.card-quantity {
  font-size: 16px;
  color: #fff;
  font-weight: 600;
  margin: 8px 0;
}

.card-benefit {
  font-size: 13px;
  color: #b0c4de;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Subscription Section */
.subscription-section {
  position: relative;
}

.subscription-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.subscription-label {
  display: block;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.subscription-label:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #4a90e2;
  transform: translateY(-2px);
}

.subscription-label.suggested {
  border-color: #7b68ee;
  background: rgba(123, 104, 238, 0.1);
}

.subscription-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.subscription-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
}

.suggested-badge {
  font-size: 14px;
  color: #ffd700;
  font-weight: 700;
}

.subscription-price {
  font-size: 18px;
  font-weight: 700;
  color: #4a90e2;
}

.subscription-benefits {
  list-style: none;
  padding: 0;
  margin: 8px 0 0 0;
}

.subscription-benefits li {
  font-size: 14px;
  color: #d7e1ec;
  margin: 6px 0;
}

.guarantee-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, #ffd700 0%, #ffed4e 100%);
  border: 3px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: #000;
  line-height: 1.3;
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.5);
}

/* Form Fields */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #b0c4de;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-url {
  font-size: 12px;
  color: #4a90e2;
  margin-top: 4px;
  font-style: italic;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #d7e1ec;
  font-weight: 600;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #4a90e2;
}

.billing-address-group {
  display: none;
}

.billing-address-group.show {
  display: flex;
}

/* Authorization */
.authorization-section {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.authorization-text {
  font-size: 12px;
  color: #b0c4de;
  line-height: 1.6;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Submit Button */
.form-submit {
  text-align: center;
  margin: 40px 0 30px;
}

.submit-btn {
  padding: 18px 48px;
  background: linear-gradient(135deg, #25D366 0%, #1ebe5d 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
  background: linear-gradient(135deg, #1ebe5d 0%, #25D366 100%);
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* Footer */
.form-footer {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
}

.form-footer p {
  font-size: 12px;
  color: #b0c4de;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .wholesale-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

@media (max-width: 768px) {
  .form-container {
    padding: 20px;
  }

  .wholesale-grid,
  .subscription-grid {
    grid-template-columns: 1fr;
  }

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

  .guarantee-badge {
    position: static;
    margin: 20px auto;
    width: 120px;
    height: 120px;
    font-size: 10px;
  }

  .form-section {
    padding: 20px;
  }

  .card-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .form-title {
    font-size: 28px;
  }

  .form-subtitle {
    font-size: 18px;
  }

  .section-title {
    font-size: 20px;
  }

  .back-link {
    position: static;
    display: inline-block;
    margin-bottom: 20px;
  }
}

