/* ===============================================
   멤버십 섹션 전용 스타일
=============================================== */

/* 멤버십 컨테이너 */
.membership-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

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

.membership-header h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.membership-header .subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* 무료 체험 배너 */
.free-trial-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.25);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.trial-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.trial-content h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.trial-content p {
    margin: 0 0 1rem 0;
    opacity: 0.9;
    line-height: 1.6;
}

.trial-button {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.trial-button:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* 요금제 카드 */
.pricing-plans {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 160px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.recommended {
    border-color: #4F46E5;
    box-shadow: 0 8px 40px rgba(79, 70, 229, 0.2);
}

.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #4F46E5;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-header {
    flex: 0 0 300px;
    margin-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plan-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
}

.price .period {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
    align-content: start;
}

.features li {
    padding: 0.3rem 0;
    border-bottom: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features li:last-child {
    border-bottom: none;
}

.features li.included {
    color: #059669;
}

.features li.excluded {
    color: #9CA3AF;
}

.plan-button {
    width: 200px;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.plan-button:not(.current):not(:disabled) {
    background: #f8f9fa;
    color: #1a1a1a;
    border: 2px solid #e9ecef;
}

.plan-button:not(.current):not(:disabled):hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.plan-button.primary {
    background: #4F46E5;
    color: white;
}

.plan-button.primary:hover {
    background: #4338CA;
    transform: translateY(-2px);
}

.plan-button.current {
    background: #059669;
    color: white;
    cursor: not-allowed;
}

.plan-button:disabled {
    opacity: 0.7;
}

/* FAQ 섹션 */
.faq-section {
    margin-bottom: 2rem;
}

.faq-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem 1.25rem;
    background: #f9fafb;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: #1a1a1a;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.faq-question:hover {
    background: #f3f4f6;
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
    color: #666;
    line-height: 1.5;
    font-size: 0.85rem;
}

.faq-item.active .faq-answer {
    padding: 1rem 1.25rem;
    max-height: 150px;
}

/* 결제 방법 */
.payment-methods {
    text-align: center;
}

.payment-methods h4 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.payment-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.payment-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.payment-item:hover .payment-icon {
    background: #e9ecef;
    transform: translateY(-2px);
}

.payment-item span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .membership-container {
        padding: 1rem;
    }
    
    .membership-header h2 {
        font-size: 2rem;
    }
    
    .free-trial-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .trial-icon {
        font-size: 2.5rem;
    }
    
    .pricing-plans {
        gap: 1rem;
    }
    
    .pricing-card {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 1.5rem;
    }
    
    .plan-header {
        flex: none;
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .plan-button {
        width: 100%;
        margin-top: 1.5rem;
    }
    
    .faq-list {
        grid-template-columns: 1fr;
    }
    
    .price .amount {
        font-size: 2rem;
    }
    
    .payment-icons {
        gap: 1rem;
    }
    
    .payment-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .membership-header h2 {
        font-size: 1.8rem;
    }
    
    .trial-content h3 {
        font-size: 1.3rem;
    }
    
    .trial-button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .price .amount {
        font-size: 1.8rem;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
    }
}

/* 다크모드 지원 */
@media (prefers-color-scheme: dark) {
    .pricing-card {
        background: #1f2937;
        color: white;
    }
    
    .plan-header h3,
    .price .amount {
        color: white;
    }
    
    .features li {
        border-color: #374151;
    }
    
    .faq-question {
        background: #374151;
        color: white;
    }
    
    .faq-answer {
        background: #1f2937;
        color: #d1d5db;
    }
    
    .payment-icon {
        background: #374151;
    }
}