/* NAVIGATION BAR */
.register-navbar {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.register-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.register-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  text-decoration: none;
  transition: opacity 0.2s;
}

.register-nav-logo:hover {
  opacity: 0.8;
}

.register-nav-login {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.login-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.login-link:hover {
  color: #1d4ed8;
}

/* REGISTRATION HERO */
.register-hero {
  text-align: center;
  padding: 7rem 2rem 2rem;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}
.footer-links a:hover {
    color: #000 !important;
}
.register-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin: 0 auto;
}

/* MAIN CONTAINER */
.register-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 2rem;
}

.register-container {
  width: 100%;
  max-width: 1000px;
  margin-bottom: 2rem;
}

.hidden {
  display: none !important;
}

/* REGISTER CARD */
.register-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: grid;
  grid-template-columns: 400px 1fr;
}

/* LEFT COLUMN - BENEFITS */
.benefits-column {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  padding: 3rem;
  color: white;
}

.benefits-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.benefits-list {
  list-style: none;
  margin-bottom: 2rem;
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.check-icon {
  background: #10b981;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.benefits-footer {
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
}

/* RIGHT COLUMN - FORM */
.form-column {
  padding: 3rem;
}

.form-column h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
}

.progress-indicator {
  margin-bottom: 2rem;
}

.progress-text {
  display: block;
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.progress-bar {
  height: 8px;
  background: #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb 0%, #10b981 100%);
  border-radius: 1rem;
  transition: width 0.5s ease;
}

.step-subtitle {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

/* FORM STYLES */
.register-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.required {
  color: #ef4444;
}

.optional {
  color: #9ca3af;
  font-weight: 400;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
  width: 100%;
  height: 50px;
  padding: 0 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.2s;
  background: white;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder {
  color: #9ca3af;
}

/* PHONE INPUT */
.phone-input {
  display: flex;
  gap: 0.5rem;
}

.country-code {
  width: 80px !important;
  flex-shrink: 0;
  padding: 0px 0.3rem !important;
}

.phone-input input {
  flex: 1;
}

/* CHECKBOX GROUP */
.checkbox-group {
  margin-bottom: 2rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-text {
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.5;
}

.checkbox-text a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.checkbox-text a:hover {
  text-decoration: underline;
}

/* BUTTONS */
.register-btn {
  width: 100%;
  height: 50px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 1rem;
}

.register-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.register-btn.primary {
  background: #10b981;
}

.register-btn.primary:hover {
  background: #059669;
}

.back-btn {
  width: 100%;
  height: 40px;
  background: transparent;
  color: #6b7280;
  border: none;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s;
}

.back-btn:hover {
  color: #2563eb;
}

/* EMAIL VERIFICATION */
.verification-card {
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.verification-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.verification-card h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
}

.verification-text {
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.email-display {
  font-size: 1.125rem;
  font-weight: 700;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

.change-email-btn {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.change-email-btn:hover {
  color: #2563eb;
}

.verification-form label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 1rem;
}

/* OTP INPUTS */
.otp-inputs {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.otp-input {
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: all 0.2s;
  background: white;
}

.otp-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  transform: scale(1.05);
}

.otp-input.filled {
  border-color: #10b981;
  background: #f0fdf4;
}

.verification-footer {
  margin-top: 1rem;
}

.resend-text {
  color: #6b7280;
  font-size: 0.875rem;
}

.resend-btn {
  background: none;
  border: none;
  color: #2563eb;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.resend-btn:hover:not(:disabled) {
  color: #1d4ed8;
  text-decoration: underline;
}

.resend-btn:disabled {
  color: #9ca3af;
  cursor: not-allowed;
}

/* SUCCESS OVERLAY */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.success-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  max-width: 600px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.confetti {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.success-icon {
  margin-bottom: 1.5rem;
  animation: scale-in 0.5s ease-out;
}

.success-circle {
  animation: scale-in 0.5s ease-out;
}

.success-check {
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
  animation: draw-check 0.5s ease-out 0.3s forwards;
}

@keyframes scale-in {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes draw-check {
  to {
    stroke-dashoffset: 0;
  }
}

.success-card h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 1rem;
}

.success-text {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.founding-member-badge {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.badge-text {
  font-size: 1.125rem;
  color: #78350f;
  margin-bottom: 0.25rem;
}

.badge-text strong {
  font-size: 1.25rem;
}

.badge-subtext {
  font-size: 0.875rem;
  color: #92400e;
}

.trial-text {
  font-size: 1rem;
  color: #059669;
  font-weight: 600;
  margin-bottom: 2rem;
}

.success-btn {
  background: #10b981;
  color: white;
  border: none;
  padding: 1rem 3rem;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 1.5rem;
}

.success-btn:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.success-links {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.success-links a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.success-links a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* LOADING OVERLAY */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.loading-content {
  background: white;
  padding: 3rem;
  border-radius: 1.5rem;
  text-align: center;
  max-width: 400px;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid #e5e7eb;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.loading-content p {
  color: #6b7280;
}

/* TRUST SECTION */
.trust-section {
  width: 100%;
  max-width: 1000px;
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.trust-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem;
}

.trust-icon {
  font-size: 1.5rem;
}

.trust-item span:last-child {
  font-weight: 600;
  color: #374151;
}

.social-proof {
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.proof-text {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

.proof-text strong {
  color: #2563eb;
  font-weight: 700;
}

.rating {
  font-size: 1.25rem;
  color: #fbbf24;
}

.rating strong {
  color: #111827;
  margin-left: 0.5rem;
}

/* FOOTER */
.register-footer {
  background: white;
  border-top: 1px solid #e5e7eb;
  padding: 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.footer-links a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #2563eb;
}

.footer-links span {
  color: #d1d5db;
}

.footer-copyright {
  color: #9ca3af;
  font-size: 0.875rem;
}

/* RESPONSIVE */
@media (max-width: 968px) {
  .register-card {
    grid-template-columns: 1fr;
  }

  .benefits-column {
    display: none;
  }

  .form-column {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .register-hero h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .register-nav-login span {
    display: none;
  }

  .otp-inputs {
    gap: 0.5rem;
  }

  .otp-input {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .success-card h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .register-main {
    padding: 2rem 1rem;
  }

  .form-column {
    padding: 1.5rem;
  }

  .otp-input {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }
}
