/* Modern Club Login Design */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background Elements - Simplified */
.background-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(35, 158, 122, 0.05);
  z-index: -2;
}

.floating-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(35, 158, 122, 0.08);
  opacity: 0.6;
}

.orb-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
}

.orb-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
}

.orb-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 60%;
}

/* Main Layout */
.main-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Left Panel - Marketing */
.left-panel {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.left-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(35,158,122,0.1)"/></svg>') repeat;
  background-size: 50px 50px;
  opacity: 0.3;
  z-index: -1;
}

.brand-header {
  text-align: center;
  margin-bottom: 3rem;
}

.logo {
  width: 180px;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #239E7A;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(35, 158, 122, 0.3);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.pricing-tagline {
  color: #fbbf24;
  font-size: 1rem;
  font-weight: 600;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  margin-top: 1rem;
  display: inline-block;
  transition: opacity 0.3s ease;
}

.pricing-tagline:hover {
  opacity: 0.9;
}

/* Removed intensive animations - replaced with hover effects */

/* Marketing Content */
.marketing-content {
  space-y: 2rem;
}

.highlight-card {
  background: rgba(35, 158, 122, 0.1);
  border: 1px solid rgba(35, 158, 122, 0.3);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.highlight-card:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.highlight-card h2 {
  color: #239E7A;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.highlight-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.highlight-text strong {
  color: #239E7A;
  font-weight: 600;
}

.highlight-text em {
  color: #fbbf24;
  font-style: normal;
  font-weight: 600;
}

/* Features Showcase */
.features-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.feature-item:hover {
  opacity: 0.9;
  border-color: rgba(35, 158, 122, 0.5);
}

.feature-icon {
  font-size: 2rem;
  min-width: 2rem;
}

.feature-content h4 {
  color: #239E7A;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Community Banner */
.community-banner {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: opacity 0.3s ease;
}

.community-banner:hover {
  opacity: 0.9;
}

.community-icon {
  font-size: 2.5rem;
  min-width: 2.5rem;
}

.community-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.community-text strong {
  color: #fbbf24;
  font-weight: 600;
}

/* Right Panel - Login */
.right-panel {
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.login-container {
  width: 100%;
  max-width: 400px;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h2 {
  color: #1e293b;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.login-header p {
  color: #64748b;
  font-size: 1rem;
}

/* Login Card */
.login-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Form Styling */
.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group.half {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #374151;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  color: #374151;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #239E7A;
  box-shadow: 0 0 0 3px rgba(35, 158, 122, 0.1);
}

.select-wrapper {
  position: relative;
}

.select-wrapper::after {
  content: '▼';
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6b7280;
  font-size: 0.8rem;
}

select {
  appearance: none;
  cursor: pointer;
}

/* Login Button */
.login-btn {
  width: 100%;
  background: linear-gradient(135deg, #239E7A 0%, #1d8a64 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.login-btn::before {
  content: '';
  display: none;
}

.login-btn:hover {
  opacity: 0.9;
  box-shadow: 0 4px 12px rgba(35, 158, 122, 0.3);
}

.btn-arrow {
  font-size: 1.2rem;
  transition: opacity 0.2s ease;
}

.login-btn:hover .btn-arrow {
  opacity: 0.8;
}

/* Payment Block */
.payment-block {
  display: none;
  background: #fef3c7;
  border: 2px solid #f59e0b;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1rem;
}

.payment-header h3 {
  color: #92400e;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.payment-header p {
  color: #a16207;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.payment-btn {
  background: #f59e0b;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.payment-btn + .payment-btn {
  margin-top: 0.6rem;
}

.payment-btn-secondary {
  background: #1f2937;
}

.payment-flow-hint {
  margin-top: 0.8rem;
  color: #7c5b05;
  font-size: 0.88rem;
  line-height: 1.35;
}

.payment-btn:hover {
  opacity: 0.9;
}

.payment-details {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #92400e;
}

/* Form Footer */
.form-footer {
  text-align: center;
  margin-top: 1.5rem;
}

.help-link {
  color: #239E7A;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.help-link:hover {
  color: #1d8a64;
  text-decoration: underline;
}

/* CTA Container */
.cta-container {
  background: #239E7A;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(35, 158, 122, 0.2);
}

.cta-content h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.cta-btn {
  background: #fbbf24;
  color: #1f2937;
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
  margin-bottom: 1rem;
  display: inline-block;
}

.cta-btn:hover {
  opacity: 0.9;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.badge-support {
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.badge-support:hover {
  background: rgba(255, 255, 255, 0.3);
  opacity: 0.9;
}

.badge-support:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.4);
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.modal-container {
  position: relative;
  background: white;
  margin: 2rem auto;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow: visible;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  background: linear-gradient(135deg, #239E7A 0%, #1d8a64 100%);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border-radius: 20px 20px 0 0;
}

.modal-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.signup-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #239E7A 0%, #1d8a64 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.signup-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(35, 158, 122, 0.3);
}

.signup-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  font-weight: 500;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-container {
    grid-template-columns: 1fr;
  }
  
  .left-panel {
    order: 2;
    padding: 2rem;
  }
  
  .right-panel {
    order: 1;
    padding: 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .features-showcase {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 768px) {
  .left-panel {
    padding: 1.5rem;
  }
  
  .right-panel {
    padding: 1rem;
  }
  
  .login-card {
    padding: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .highlight-card {
    padding: 1.5rem;
  }
  
  .highlight-card h2 {
    font-size: 1.25rem;
  }
  
  .cta-container {
    padding: 1.5rem;
  }
  
  .trust-badges {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-group label {
    font-size: 0.95rem;
  }
  
  .form-group input {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .modal-container {
    margin: 0.5rem;
    width: calc(100% - 1rem);
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 1rem 1.5rem;
  }
  
  .modal-header h2 {
    font-size: 1.1rem;
  }
  
  .modal-body {
    padding: 1.5rem 1rem;
  }
  
  .signup-submit-btn {
    padding: 0.875rem;
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .signup-message {
    margin-top: 0.75rem;
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .pricing-tagline {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }
  
  .feature-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .community-banner {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
}

/* Simple modal animation - performance optimized */
@keyframes modalSlideIn {
  from { 
    opacity: 0;
    transform: scale(0.9);
  }
  to { 
    opacity: 1;
    transform: scale(1);
  }
}
