/* Pricing Page Styles */

.pricing-hero {
    padding: 12rem 2rem 4rem;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    text-align: center;
}

.pricing-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.pricing-hero .lead {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.toggle-label {
    font-size: 1.1rem;
    font-weight: 500;
}

.save-badge {
    background: #f97316;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.3);
    transition: 0.4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #f97316;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.pricing-plans {
    padding: 6rem 2rem;
    background: #f8fafc;
}

.pricing-plans .container {
    max-width: 1400px;
    margin: 0 auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e2e8f0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.plan-card.popular {
    border-color: #2563eb;
    border-width: 3px;
}

.plan-card.enterprise {
    border-color: #f97316;
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.plan-header h3 {
    font-size: 1.75rem;
    color: #1e40af;
    margin-bottom: 1rem;
    font-weight: 700;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

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

.price-period {
    font-size: 1.25rem;
    color: #64748b;
}

.price-note {
    width: 100%;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.5rem;
    font-style: italic;
}

.billing-note {
    width: 100%;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
    text-align: center;
}

.plan-features {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 0;
}

.feature-item svg {
    width: 24px;
    height: 24px;
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.feature-item span {
    color: #475569;
    line-height: 1.6;
}

.feature-item strong {
    color: #1e40af;
    font-weight: 600;
}

.plan-button {
    display: block;
    text-align: center;
    padding: 1rem 2rem;
    background: #1e40af;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.plan-button:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.plan-card.popular .plan-button {
    background: #2563eb;
}

.plan-card.popular .plan-button:hover {
    background: #1e40af;
}

.plan-card.enterprise .plan-button {
    background: #f97316;
}

.plan-card.enterprise .plan-button:hover {
    background: #ea580c;
}

.pricing-note {
    text-align: center;
    padding: 1.5rem;
    background: #eff6ff;
    border-radius: 12px;
    color: #1e40af;
    max-width: 800px;
    margin: 0 auto;
}

.document-bundles {
    padding: 6rem 2rem;
    background: #ffffff;
}

.document-bundles .container {
    max-width: 1200px;
    margin: 0 auto;
}

.document-bundles h2 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.bundles-table-wrapper {
    overflow-x: auto;
    margin-bottom: 3rem;
}

.bundles-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.bundles-table thead {
    background: #1e40af;
    color: white;
}

.bundles-table th {
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.bundles-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.bundles-table tbody tr:hover {
    background: #f8fafc;
}

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

.bundles-table .cost {
    font-weight: 700;
    color: #1e40af;
    font-size: 1.25rem;
}

.bundles-table .savings {
    color: #22c55e;
    font-weight: 600;
}

.bundles-table tr.best-value {
    background: #eff6ff;
    border-left: 4px solid #2563eb;
}

.bundles-table tr.best-value td {
    font-weight: 600;
}

.bundle-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.info-card h3 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: #64748b;
    line-height: 1.8;
}

.pricing-faq {
    padding: 6rem 2rem;
    background: #f8fafc;
}

.pricing-faq .container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-faq h2 {
    font-size: 2.5rem;
    color: #1e40af;
    margin-bottom: 3rem;
    text-align: center;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e40af;
    line-height: 1.4;
    transition: background 0.2s;
}

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

.faq-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #1e40af;
    position: relative;
    transition: transform 0.25s, background 0.25s;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #1e40af;
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-icon::before {
    width: 10px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 10px;
    transition: transform 0.25s, opacity 0.25s;
}

.faq-item.faq-open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-item.faq-open .faq-question {
    background: #f1f5fd;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s;
    padding: 0 1.5rem;
}

.faq-item.faq-open .faq-answer {
    max-height: 2000px;
    padding: 0 1.5rem 1.25rem;
}

.faq-answer p {
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

.pricing-cta {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    text-align: center;
}

.pricing-cta .container {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.pricing-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .pricing-hero {
        padding: 5rem 1.25rem 2rem;
    }

    .pricing-hero h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .pricing-hero .lead {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }

    .billing-toggle {
        flex-wrap: nowrap;
        gap: 0.6rem;
        margin-top: 1rem;
    }

    .toggle-label {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .save-badge {
        font-size: 0.7rem;
        padding: 0.15rem 0.5rem;
        margin-left: 0.3rem;
    }

    .switch {
        width: 48px;
        height: 28px;
        flex-shrink: 0;
    }

    .slider:before {
        height: 20px;
        width: 20px;
        left: 4px;
        bottom: 4px;
    }

    input:checked + .slider:before {
        transform: translateX(20px);
    }

    .plans-grid {
        grid-template-columns: 1fr;
    }

    .price-amount {
        font-size: 2.25rem;
    }

    .bundles-table {
        font-size: 0.9rem;
    }

    .bundles-table th,
    .bundles-table td {
        padding: 1rem;
    }

    .bundle-info {
        grid-template-columns: 1fr;
    }
}

