/**********************************************************************************
    PRICING PAGE STYLES
**********************************************************************************/

/* 가격 소개 섹션 */
.pricing-intro-section {
    padding: var(--section-padding);
    background-color: var(--primary-black);
    background-size: cover;
    background-position: center;
    text-align: center;
    position: relative;
}

.pricing-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.pricing-intro-section .container {
    position: relative;
    z-index: 2;
}

.pricing-title {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
}

.pricing-subtitle {
    font-size: 22px;
    color: var(--text-light-gray);
    margin-bottom: 24px;
    font-weight: 500;
}

.pricing-description {
    font-size: 18px;
    color: var(--accent-blue);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 600;
}

/* 가격 플랜 섹션 */
.pricing-plans-section {
    padding: var(--section-padding);
    background-color: var(--bg-dark);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: stretch; /* 카드의 높이를 맞춤 */
}

.pricing-card {
    background: var(--bg-navy);
    border-radius: 16px;
    border: 1px solid var(--border-gray);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-blue);
}

.pricing-card.featured {
    border-color: var(--accent-blue);
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(33, 150, 243, 0.2);
    position: relative;
}

.popular-badge-icon {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 5;
}

.popular-badge-icon i {
    font-size: 40px;
    color: var(--text-white);
    animation: pulse-icon 2s ease-in-out infinite;
}

.most-popular-text {
    position: absolute;
    top: 130px;
    right: 16px;
    font-size: 10px;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    text-align: right;
    margin: 6px 0;
}

@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.plan-header {
    padding: 32px;
    text-align: center;
    border-bottom: 1px solid var(--border-gray);
}

.plan-header h3 {
    font-size: 28px;
    color: var(--text-white);
    margin-bottom: 12px;
}

.featured .plan-header h3 {
    color: var(--accent-blue);
}

.plan-header p {
    font-size: 16px;
    color: var(--text-gray);
}

.plan-target {
    padding: 20px 24px;
    background: rgba(33, 150, 243, 0.08);
    border-bottom: 1px solid var(--border-gray);
    text-align: center;
    height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.plan-target .target-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.plan-target .target-label::before {
    content: '\f0b1';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 6px;
}

.plan-target p {
    font-size: 14px;
    color: var(--text-light-gray);
    line-height: 1.6;
    margin: 0;
}

.featured .plan-target {
    background: rgba(33, 150, 243, 0.12);
}

.featured .plan-target .target-label {
    color: var(--accent-blue);
}

.plan-features {
    padding: 22px;
    flex-grow: 1;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    font-size: 16px;
    color: var(--text-light-gray);
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
}

.plan-features li::before {
    content: '\f00c'; /* Font Awesome check icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    top: 2px;
}

.plan-features li strong {
    color: var(--text-white);
    font-weight: 600;
}

.plan-features .traffic-note {
    margin-left: 55px;
}

.plan-footer {
    padding: 32px;
    text-align: center;
    margin-top: auto; /* 푸터를 하단에 고정 */
}

.pricing-disclaimer {
    margin-top: 40px;
    text-align: left;
}

.pricing-disclaimer p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.8;
    margin: 0;
}

/* 추가 과금 옵션 섹션 */
.pricing-options-section {
    padding: var(--section-padding);
    background-color: var(--primary-black);
}

.options-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}

.options-content p {
    font-size: 18px;
    color: var(--text-light-gray);
    line-height: 1.8;
    margin-bottom: 16px;
}

.options-content p strong {
    color: var(--accent-blue);
    font-weight: 600;
}

.options-content .notice {
    margin-top: 24px;
    font-size: 16px;
    color: var(--text-gray);
}

/* 모바일 반응형 스타일 */
@media (max-width: 768px) {
    /* 가격 소개 섹션 */
    .pricing-intro-section {
        padding: 60px 20px;
    }

    .pricing-title {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .pricing-subtitle {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .pricing-description {
        font-size: 14px;
    }

    /* 가격 플랜 섹션 */
    .pricing-plans-section {
        padding: 12px 0px;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .pricing-card {
        border-radius: 12px;
    }

    .pricing-card.featured {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
    }

    .popular-badge-icon {
        top: 10px;
        left: 10px;
    }

    .popular-badge-icon i {
        font-size: 28px;
    }

    .most-popular-text {
        top:74px;
        font-size: 8px;
        letter-spacing: 0.6px;
        margin: 4px 0;
    }

    .pricing-card:hover {
        transform: translateY(0);
    }

    .plan-header {
        padding: 16px;
    }

    .plan-header h3 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .plan-header p {
        font-size: 12px;
        line-height: 1.4;
    }

    .plan-target {
        padding: 12px 16px;
        height: 95px;
    }

    .plan-target .target-label {
        font-size: 10px;
        letter-spacing: 0.5px;
        margin-bottom: 6px;
    }

    .plan-target .target-label::before {
        margin-right: 4px;
    }

    .plan-target p {
        font-size: 11px;
        line-height: 1.5;
    }

    .plan-features {
        padding: 16px;
    }

    .plan-features li {
        font-size: 12px;
        margin-bottom: 10px;
        padding-left: 18px;
        line-height: 1.5;
    }

    .plan-features li::before {
        font-size: 10px;
        top: 1px;
    }

    .plan-features .traffic-note {
        margin-left: 0;
        display: block;
    }

    .plan-footer {
        padding: 16px;
    }

    .pricing-disclaimer {
        margin-top: 24px;
    }

    .pricing-disclaimer p {
        font-size: 11px;
        line-height: 1.6;
    }

    .btn-primary {
        padding: 10px 16px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* 추가 과금 옵션 섹션 */
    .pricing-options-section {
        padding: 40px 16px;
    }

    .options-content {
        padding: 24px 20px;
    }

    .options-content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .options-content .notice {
        margin-top: 16px;
        font-size: 13px;
    }

    .action-buttons {
        margin-top: 24px !important;
    }

    .action-buttons .btn-primary,
    .action-buttons .btn-secondary {
        display: block;
        width: 100%;
        margin-bottom: 12px;
        padding: 12px;
        font-size: 14px;
    }
}
