/* ===== JOIN COMMUNITY PAGE STYLES ===== */
.join-page {
    background: var(--neutral-50);
    min-height: 100vh;
}

.join-page .join-hero {
    background: linear-gradient(135deg, 
        rgba(78, 205, 196, 0.1) 0%, 
        rgba(255, 230, 109, 0.15) 100%);
    padding: 120px 0 40px;
    margin-top: 70px;
}

.join-page .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
}

.join-page .hero-subtitle {
    max-width: 800px;
    margin: 0 auto;
    color: var(--neutral-600);
    font-size: 1.25rem;
    text-align: center;
    padding: 0 var(--space-lg);
}

/* Stats Section */
.stats-section {
    padding: 3rem 0;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.stat-card {
    background: var(--neutral-50);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 2px solid transparent;
    transition: all var(--transition);
    text-align: center;
}

.stat-card:hover {
    border-color: var(--primary-300);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-500);
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-card .stat-label {
    color: var(--neutral-600);
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Choice Section */
.choice-section {
    padding: 4rem 0;
    background: var(--neutral-50);
}

.choice-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 var(--space-lg);
}

.choice-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 3px solid transparent;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.choice-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.choice-card.artisan-choice:hover {
    border-color: var(--primary-300);
}

.choice-card.supporter-choice:hover {
    border-color: var(--secondary-300);
}

.choice-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.artisan-choice .choice-icon {
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.1) 0%, 
        rgba(255, 107, 107, 0.2) 100%);
    color: var(--primary-500);
}

.supporter-choice .choice-icon {
    background: linear-gradient(135deg, 
        rgba(78, 205, 196, 0.1) 0%, 
        rgba(78, 205, 196, 0.2) 100%);
    color: var(--secondary-500);
}

.choice-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--neutral-900);
}

.choice-description {
    color: var(--neutral-600);
    margin-bottom: 2rem;
    line-height: 1.7;
    flex: 1;
}

.choice-benefits {
    text-align: left;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
}

.choice-benefits h4 {
    margin-bottom: 1rem;
    color: var(--neutral-800);
    font-size: 1.125rem;
}

.choice-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.choice-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-700);
}

.choice-benefits i {
    color: var(--primary-500);
    font-size: 0.875rem;
    flex-shrink: 0;
}

.choice-select {
    width: 100%;
    margin-top: auto;
    padding: 1rem;
    font-size: 1.125rem;
}

.both-option {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-300);
    text-align: center;
}

.both-option .lead {
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: var(--neutral-700);
}

/* Forms Section */
.forms-section {
    padding: 4rem 0;
    background: white;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--neutral-50);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    padding: 0;
}

.form-header {
    padding: 2.5rem 2.5rem 1.5rem;
    text-align: center;
    background: white;
}

.form-header h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    color: var(--neutral-900);
    flex-wrap: wrap;
}

.form-subtitle {
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Progress Bar */
.form-progress {
    padding: 2rem 2.5rem 0;
    background: white;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--neutral-300);
    transform: translateY(-50%);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background: white;
    padding: 0.5rem 1rem;
    color: var(--neutral-500);
    font-weight: 500;
    font-size: 0.875rem;
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius-full);
    transition: all var(--transition);
    white-space: nowrap;
}

.step.active {
    background: var(--primary-500);
    color: white;
    border-color: var(--primary-500);
}

.step.completed {
    background: var(--secondary-500);
    color: white;
    border-color: var(--secondary-500);
}

.progress-bar {
    height: 6px;
    background: var(--neutral-200);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

/* Form Steps */
.registration-form {
    padding: 0 2.5rem 2.5rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.step-title {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--neutral-300);
    color: var(--neutral-800);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--neutral-700);
    font-size: 0.9375rem;
}

.form-hint {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    margin-top: 0.375rem;
    line-height: 1.4;
}

.form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--neutral-300);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-primary);
    color: var(--neutral-800);
    background: rgb(233, 233, 233);
    transition: all var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.form-control::placeholder {
    color: var(--neutral-400);
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-300);
    gap: 1rem;
}

.form-navigation .btn {
    min-width: 120px;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--neutral-700);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--primary-500);
    text-decoration: none;
}

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

/* Review Section */
.review-section {
    max-width: 800px;
    margin: 0 auto;
}

.review-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--neutral-200);
}

.review-card h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--neutral-800);
}

.review-content {
    color: var(--neutral-700);
    line-height: 1.6;
}

.review-item {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--neutral-200);
}

.review-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.review-label {
    font-weight: 600;
    color: var(--neutral-800);
    margin-right: 0.5rem;
}

/* Success Message */
.success-message {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.5s ease;
}

.success-icon {
    font-size: 4rem;
    color: var(--secondary-500);
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-message h2 {
    margin-bottom: 1rem;
    color: var(--neutral-900);
}

.success-message .lead {
    color: var(--neutral-600);
    margin-bottom: 2rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--neutral-50);
}

.faq-grid {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 var(--space-lg);
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--neutral-800);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition);
}

.faq-question:hover {
    background: var(--neutral-50);
}

.faq-question i {
    transition: transform 0.3s ease;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--neutral-700);
    line-height: 1.7;
    margin: 0;
}

.faq-cta {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-300);
    text-align: center;
}

.faq-cta p {
    margin-bottom: 1rem;
    color: var(--neutral-700);
    font-size: 1.125rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .choice-cards {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .join-page .join-hero {
        padding: 100px 0 30px;
    }
    
    .choice-card {
        padding: 2rem 1.5rem;
    }
    
    .form-header,
    .registration-form {
        padding: 2rem 1.5rem;
    }
    
    .form-progress {
        padding: 1.5rem 1.5rem 0;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .step {
        align-self: flex-start;
    }
    
    .form-navigation {
        flex-direction: column;
    }
    
    .form-navigation .btn {
        width: 100%;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .success-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .choice-card h3 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }
    
    .success-message {
        padding: 3rem 1.5rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
}