/* 구독 플랜 페이지 스타일 */
.subscription-section {
    padding: 2rem 0;
    position: relative;
    z-index: 1; /* 헤더 드롭다운보다 낮게 설정 */
}

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

.subscription-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.subscription-description {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.subscription-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* 구독 플랜 카드 */
.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.plan-card {
    position: relative;
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.plan-popular {
    border: 2px solid var(--primary-color);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.plan-description {
    color: var(--text-light);
    font-size: 0.875rem;
}

.plan-price {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
}

.period {
    color: var(--text-light);
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.plan-feature {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.plan-feature:last-child {
    border-bottom: none;
}

.plan-feature i {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

.plan-feature.disabled {
    color: var(--text-lighter);
}

.plan-feature i.fa-check {
    color: var(--success-color);
}

.plan-feature i.fa-times {
    color: var(--text-lighter);
}

/* 구독 혜택 비교 */
.subscription-features {
    margin-top: 2rem;
}

.features-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.features-table-container {
    overflow-x: auto;
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.features-table th,
.features-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.features-table th {
    background-color: var(--background-dark);
    font-weight: 600;
}

.features-table th:first-child,
.features-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.features-table tr:last-child td {
    border-bottom: none;
}

.features-table i.fa-check {
    color: var(--success-color);
}

.features-table i.fa-times {
    color: var(--text-lighter);
}

/* FAQ 섹션 */
.subscription-faq {
    margin-top: 2rem;
}

.faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--background-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: var(--background-light);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
    display: none;
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .subscription-plans {
        grid-template-columns: 1fr;
    }

    .plan-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .subscription-header {
        margin-bottom: 2rem;
    }

    .subscription-title {
        font-size: 1.5rem;
    }

    .plan-card {
        padding: 1.5rem;
    }

    .plan-name {
        font-size: 1.25rem;
    }

    .price {
        font-size: 1.5rem;
    }

    .features-table th,
    .features-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
    }
}