/* Styles for the paid product pages: enhanced CV preview, pricing cards, dashboard, and printing. */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 60%, var(--accent-color) 140%);
    color: white;
    padding: 3.5rem 0 3rem;
}

.page-header p {
    opacity: 0.85;
    max-width: 640px;
}

.cv-doc {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 2rem 2.25rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--gray-900);
}

.cv-doc-name {
    text-align: center;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.cv-doc-headline {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.cv-doc-contact {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.cv-doc-heading {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 0.25rem;
    margin: 1.25rem 0 0.6rem;
}

.cv-doc-job {
    margin-bottom: 0.75rem;
}

.cv-doc-list {
    padding-left: 1.2rem;
    margin: 0.3rem 0 0;
}

.cv-doc-list li {
    margin-bottom: 0.2rem;
}

.pricing-card {
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    background: white;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.pricing-card.popular {
    border: 2px solid var(--accent-color);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.15);
}

.pricing-price {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.pricing-per {
    color: var(--gray-500);
    font-size: 0.9rem;
}

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

.pricing-features li {
    margin-bottom: 0.5rem;
    color: var(--gray-700);
}

.pricing-features i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

.pricing-card .btn {
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.balance-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 16px;
    padding: 1.75rem;
}

.balance-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.legal-content {
    max-width: 820px;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-top: 2rem;
}

.legal-content p,
.legal-content li {
    color: var(--gray-700);
}

.faq .accordion-button:not(.collapsed) {
    background: var(--gray-50);
    color: var(--primary-color);
}

@media print {
    nav,
    footer,
    .no-print {
        display: none !important;
    }

    body.printing-cv * {
        visibility: hidden;
    }

    body.printing-cv .cv-doc,
    body.printing-cv .cv-doc * {
        visibility: visible;
    }

    body.printing-cv .cv-doc {
        position: absolute;
        inset: 0;
        border: none;
        padding: 0;
    }
}
