/* ===== Pricing Page Styles ===== */

:root {
    --primary-blue: #0066cc;
    --primary-dark: #004499;
    --primary-light: #3399ff;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --medium-gray: #e0e6ed;
    --dark-gray: #333333;
    --text-gray: #666666;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

/* ===== Navbar Active State ===== */
.navbar-menu a.active {
    color: var(--primary-blue);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 0.25rem;
}

/* ===== Pricing Main Container ===== */
.pricing-main {
    padding: 2rem 0;
}

/* ===== Pricing Header ===== */
.pricing-header {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 12px;
    margin-bottom: 4rem;
}

.pricing-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.pricing-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ===== Pricing Section ===== */
.pricing-section {
    margin-bottom: 4rem;
}

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

/* ===== Pricing Card ===== */
.pricing-card {
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.pricing-card.featured {
    border-color: var(--primary-blue);
    border-width: 3px;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

/* ===== Savings Badge ===== */
.savings-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--success);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== Plan Header ===== */
.plan-header {
    margin-bottom: 1.5rem;
}

.plan-header h3 {
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

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

/* ===== Plan Price ===== */
.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.currency {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-right: 0.25rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.period {
    color: var(--text-gray);
    margin-left: 0.5rem;
    font-size: 1rem;
}

.price-breakdown {
    color: var(--success);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* ===== Plan Features ===== */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    flex-grow: 1;
}

.plan-features li {
    padding: 0.75rem 0;
    color: var(--text-gray);
    border-bottom: 1px solid var(--light-gray);
    font-size: 0.95rem;
}

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

/* ===== Button Block ===== */
.btn-block {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    text-align: center;
    display: inline-block;
}

/* ===== Features Comparison ===== */
.features-comparison {
    background: var(--light-gray);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 4rem;
}

.features-comparison h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--dark-gray);
}

.comparison-table {
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table thead {
    background: var(--primary-blue);
    color: var(--white);
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--medium-gray);
}

.comparison-table tbody tr:hover {
    background: var(--light-gray);
}

/* ===== FAQ Section ===== */
.faq-section {
    margin-bottom: 4rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--dark-gray);
}

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

.faq-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== CTA Section ===== */
.cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-radius: 12px;
    margin-bottom: 4rem;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .pricing-header {
        padding: 2rem 1rem;
    }

    .pricing-header h1 {
        font-size: 1.8rem;
    }

    .pricing-header p {
        font-size: 1rem;
    }

    .pricing-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .plan-price {
        margin-bottom: 1rem;
    }

    .amount {
        font-size: 2rem;
    }

    .faq-container {
        grid-template-columns: 1fr;
    }

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

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .pricing-header h1 {
        font-size: 1.5rem;
    }

    .plan-price {
        flex-wrap: wrap;
    }

    .amount {
        font-size: 1.8rem;
    }

    .plan-features li {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }

    .features-comparison {
        padding: 1.5rem 1rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}

