/* Beta Tester Registration - Modern Professional Design */

/* Info Section - Friendly and Colorful Design */
.beta-tester-info-section {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  text-align: center;
  padding: 0 2rem;
  box-sizing: border-box;
}

.beta-tester-info-card {
  background: linear-gradient(145deg, 
    rgba(123, 104, 238, 0.25) 0%, 
    rgba(32, 178, 170, 0.15) 50%, 
    rgba(91, 163, 245, 0.2) 100%);
  border: 1px solid rgba(123, 104, 238, 0.4);
  border-radius: 16px;
  padding: 2rem;
  color: var(--color-text-primary);
  width: 100%;
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 
    0 8px 32px rgba(123, 104, 238, 0.3),
    0 4px 16px rgba(32, 178, 170, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.beta-tester-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(123, 104, 238, 0.2) 0%,
    rgba(32, 178, 170, 0.15) 30%,
    rgba(91, 163, 245, 0.18) 70%,
    rgba(123, 104, 238, 0.12) 100%
  );
  border-radius: 16px;
  pointer-events: none;
}

.beta-tester-info-card:hover {
  transform: scale(1.02) translateY(-2px);
  border-color: rgba(123, 104, 238, 0.6);
  background: linear-gradient(145deg, 
    rgba(123, 104, 238, 0.35) 0%, 
    rgba(32, 178, 170, 0.25) 50%, 
    rgba(91, 163, 245, 0.3) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 
    0 12px 48px rgba(123, 104, 238, 0.4),
    0 6px 24px rgba(32, 178, 170, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.beta-tester-info-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--color-text-primary);
  background: none !important;
  border: none !important;
  padding: 0 !important;
  text-align: center;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.beta-tester-info-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin: 0;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.beta-tester-info-card p,
.beta-tester-info-card h1,
.beta-tester-info-card h2,
.beta-tester-info-card h3,
.beta-tester-info-card h4,
.beta-tester-info-card h5,
.beta-tester-info-card h6 {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.beta-tester-content {
  max-width: 1440px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.12) 0%, rgba(32, 178, 170, 0.08) 100%);
  border: 1px solid rgba(123, 104, 238, 0.25);
  border-radius: 12px;
  padding: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 16px rgba(123, 104, 238, 0.1);
  box-sizing: border-box;
}

.beta-tester-content:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(123, 104, 238, 0.18) 0%, rgba(32, 178, 170, 0.12) 100%);
  box-shadow: 0 8px 25px rgba(123, 104, 238, 0.2);
}

.beta-tester-form-container {
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.beta-tester-form {
  margin-top: 0;
  padding: 2rem 0;
  box-sizing: border-box;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* Form Labels - Friendly Design */
.form-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.form-label.required::after {
  content: ' *';
  color: #ff6b6b;
  font-weight: 700;
}

.form-group label:hover {
  color: var(--color-accent-headline);
}

.widget-input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid rgba(123, 104, 238, 0.3);
  border-radius: 12px;
  background: linear-gradient(145deg, 
    rgba(123, 104, 238, 0.2) 0%, 
    rgba(32, 178, 170, 0.15) 50%, 
    rgba(91, 163, 245, 0.18) 100%);
  color: var(--color-text-primary);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1rem;
  line-height: 1.5;
  box-sizing: border-box;
  box-shadow: 
    0 4px 16px rgba(123, 104, 238, 0.2),
    0 2px 8px rgba(32, 178, 170, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.widget-input:focus {
  outline: none;
  border-color: rgba(123, 104, 238, 0.7);
  background: linear-gradient(145deg, 
    rgba(123, 104, 238, 0.35) 0%, 
    rgba(32, 178, 170, 0.25) 50%, 
    rgba(91, 163, 245, 0.3) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 
    0 6px 24px rgba(123, 104, 238, 0.4),
    0 0 12px rgba(32, 178, 170, 0.4),
    0 2px 8px rgba(123, 104, 238, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.widget-input:hover {
  border-color: rgba(123, 104, 238, 0.4);
  background: linear-gradient(145deg, 
    rgba(123, 104, 238, 0.25) 0%, 
    rgba(32, 178, 170, 0.2) 50%, 
    rgba(91, 163, 245, 0.22) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.widget-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

/* Submit Button - Clean Professional Design */
.beta-tester-submit-button {
  width: 100%;
  background: #072185;
  color: #ffffff;
  border: 2px solid #0a2ba5;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 56px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  box-shadow: 0 4px 16px rgba(7, 33, 133, 0.3);
}

.beta-tester-submit-button:hover:not(:disabled) {
  background: #0a2ba5;
  border-color: #1a4bc7;
  box-shadow: 0 6px 24px rgba(7, 33, 133, 0.4);
  transform: translateY(-1px);
}

.beta-tester-submit-button:active:not(:disabled) {
  background: #061f7a;
  border-color: #072185;
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(7, 33, 133, 0.3);
}

.beta-tester-submit-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  border-color: #555;
  box-shadow: 0 2px 8px rgba(7, 33, 133, 0.2);
}

/* Success and Error Messages */
.beta-tester-success-message {
  background: linear-gradient(135deg, 
    rgba(40, 167, 69, 0.15) 0%, 
    rgba(32, 178, 170, 0.1) 100%);
  border: 1px solid rgba(40, 167, 69, 0.4);
  border-radius: 12px;
  padding: 1.5rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(40, 167, 69, 0.15);
  backdrop-filter: blur(10px);
}

.beta-tester-error-message {
  background: linear-gradient(135deg, 
    rgba(220, 53, 69, 0.15) 0%, 
    rgba(239, 68, 68, 0.1) 100%);
  border: 1px solid rgba(220, 53, 69, 0.4);
  border-radius: 12px;
  padding: 1.5rem;
  color: #ffffff;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(220, 53, 69, 0.15);
  backdrop-filter: blur(10px);
}

/* Input Error States */
.widget-input.input-error {
  border-color: #ff6b6b !important;
  background: rgba(255, 107, 107, 0.1) !important;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.1) !important;
}

.input-error-message {
  color: #ff6b6b;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  font-weight: 500;
  display: block;
}

/* Loading State */
.beta-tester-submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.beta-tester-submit-button:disabled .button-icon {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .beta-tester-hero-section {
    padding: 3rem 1rem;
  }
  
  .beta-tester-benefits-section {
    padding: 0 1rem;
  }
  
  .beta-tester-benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .beta-tester-registration-section {
    padding: 0 1rem;
  }
  
  .beta-tester-form-wrapper {
    padding: 2rem;
    border-radius: 16px;
  }
  
  .beta-tester-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .beta-tester-form-title {
    font-size: 1.75rem;
  }
  
  .beta-tester-form-subtitle {
    font-size: 1rem;
  }
  
  .beta-tester-submit-button {
    padding: 1rem 2rem;
    font-size: 1rem;
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  .beta-tester-hero-section {
    padding: 2rem 1rem;
  }
  
  .beta-tester-hero-title {
    font-size: 2rem;
  }
  
  .beta-tester-hero-subtitle {
    font-size: 1rem;
  }
  
  .beta-tester-benefit-card {
    padding: 1.5rem;
  }
  
  .beta-tester-form-wrapper {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  .beta-tester-form-title {
    font-size: 1.5rem;
  }
  
  .widget-input {
    padding: 0.875rem 1rem;
  }
  
  .beta-tester-submit-button {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    min-width: 160px;
  }
}