/* Signup Page Specific Styles */

/* Hero Section */
.signup-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.signup-content {
    display: grid;
    gap: 48px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

/* Back Link */
.back-link {
    margin-bottom: 32px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: #4CAF50;
}

.back-btn i {
    width: 16px;
    height: 16px;
}

/* Benefits Section */
.benefits-section {
    padding: 32px 0;
}

.signup-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #1F2937;
}

.signup-subtitle {
    font-size: 18px;
    color: #6B7280;
    margin-bottom: 48px;
    line-height: 1.6;
}

.benefits-list {
    margin-bottom: 48px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4CAF50, #10B981);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.benefit-icon i {
    width: 24px;
    height: 24px;
}

.benefit-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1F2937;
}

.benefit-content p {
    color: #6B7280;
    line-height: 1.5;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid #E5E7EB;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4CAF50;
    font-weight: 500;
    font-size: 14px;
}

.trust-item i {
    width: 16px;
    height: 16px;
}

/* Form Section */
.signup-form-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.signup-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    padding: 40px;
    width: 100%;
    max-width: 480px;
    position: sticky;
    top: 120px;
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1F2937;
}

.form-subtitle {
    color: #6B7280;
    font-size: 16px;
}

/* Multi-step Form */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

/* Step Indicator */
.step-indicator {
    margin-bottom: 32px;
    text-align: center;
}

.steps-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #9CA3AF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: #4CAF50;
    color: white;
}

.step-dot.completed {
    background: #10B981;
    color: white;
}

.step-line {
    width: 40px;
    height: 2px;
    background: #E5E7EB;
    transition: all 0.3s ease;
}

.step-line.completed {
    background: #10B981;
}

.step-text {
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
}

/* Form Groups */
.signup-form .form-group {
    position: relative;
    margin-bottom: 24px;
}

.signup-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.signup-form .form-group input,
.signup-form .form-group select {
    width: 100%;
    padding: 16px 48px 16px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.signup-form .form-group input:focus,
.signup-form .form-group select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.signup-form .form-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    width: 20px;
    height: 20px;
    margin-top: 12px;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 4px;
    margin-top: 12px;
}

.password-toggle:hover {
    color: #4CAF50;
}

.password-toggle i {
    width: 20px;
    height: 20px;
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-group label {
    font-size: 14px;
    line-height: 1.5;
    color: #4B5563;
    margin: 0;
}

.checkbox-group label a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

/* Form Buttons */
.form-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.form-buttons .btn {
    flex: 1;
}

.next-step,
.prev-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
}

.form-footer p {
    color: #6B7280;
    font-size: 14px;
}

.form-footer a {
    color: #4CAF50;
    text-decoration: none;
    font-weight: 500;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
}

.success-icon i {
    width: 40px;
    height: 40px;
}

.modal h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1F2937;
}

.modal p {
    color: #6B7280;
    margin-bottom: 16px;
    line-height: 1.6;
}

.modal-actions {
    margin-top: 32px;
}

/* Social Proof Section */
.social-proof {
    padding: 80px 0;
    background: white;
}

.social-proof-content {
    text-align: center;
}

.social-proof h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 48px;
    color: #1F2937;
}

.testimonials-mini {
    display: grid;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-mini {
    display: flex;
    gap: 16px;
    text-align: left;
    align-items: center;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.avatar-placeholder {
    width: 48px;
    height: 48px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.testimonial-mini .testimonial-content p {
    font-style: italic;
    margin-bottom: 8px;
    color: #1F2937;
}

.testimonial-mini .testimonial-content span {
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
}

/* Footer Minimal */
.footer-minimal {
    background: #F9FAFB;
    padding: 40px 0 24px;
}

.footer-minimal .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.footer-minimal .footer-logo {
    height: 32px;
}

.footer-minimal .footer-links {
    display: flex;
    gap: 24px;
}

.footer-minimal .footer-links a {
    color: #6B7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-minimal .footer-links a:hover {
    color: #4CAF50;
}

.footer-minimal .footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
}

.footer-minimal .footer-bottom p {
    color: #9CA3AF;
    font-size: 14px;
}

/* Responsive Design */
@media (min-width: 768px) {
    .signup-content {
        grid-template-columns: 1fr 480px;
        gap: 64px;
    }
    
    .signup-title {
        font-size: 48px;
    }
    
    .benefits-list {
        margin-bottom: 64px;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .testimonials-mini {
        grid-template-columns: 1fr;
    }
    
    .footer-minimal .footer-content {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .testimonials-mini {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .signup-hero {
        padding: 100px 0 60px;
    }
    
    .signup-form-card {
        padding: 24px;
        margin: 0 16px;
        position: static;
    }
    
    .signup-title {
        font-size: 28px;
    }
    
    .benefits-section {
        order: 2;
        padding: 32px 0 0;
    }
    
    .signup-form-section {
        order: 1;
    }
    
    .form-buttons {
        flex-direction: column;
    }
    
    .form-buttons .btn {
        width: 100%;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-minimal .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    
    .footer-minimal .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Loading State */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: white;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Form Validation */
.form-group.error input,
.form-group.error select {
    border-color: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group .error-message {
    color: #EF4444;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Success State */
.form-group.success input,
.form-group.success select {
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-step.active {
    animation: slideInRight 0.4s ease-out;
}

