/* Pricing Page Specific Styles */

.pricing-header {
    grid-column: span 12 / span 12;
    text-align: center;
    padding: 4rem 2rem 2rem;
}

.pricing-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--flat-black);
    margin: 0 0 1rem;
}

.pricing-subtitle {
    font-size: 1.25rem;
    color: var(--flat-gray);
    margin: 0 0 2rem;
}

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

.billing-label {
    color: var(--flat-gray);
    font-weight: 500;
}

.discount-badge {
    background: var(--flat-green);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    margin-left: 0.5rem;
}

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

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--light-gray);
    transition: 0.4s;
    border-radius: 30px;
}

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

input:checked + .toggle-slider {
    background-color: var(--flat-green);
}

input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.pricing-cards {
    grid-column: span 12 / span 12;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--whiteish);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    border: 2px solid var(--flat-green);
    transform: scale(1.05);
}

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

.featured-ribbon {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--flat-green);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

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

.plan-name {
    font-size: 1.75rem;
    font-weight: bold;
    color: var(--flat-black);
    margin: 0 0 0.5rem;
}

.plan-description {
    color: var(--flat-gray);
    font-size: 0.95rem;
    margin: 0;
}

.plan-price {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.price-currency {
    font-size: 1.5rem;
    color: var(--flat-gray);
    margin-right: 0.25rem;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--flat-black);
}

.price-period {
    font-size: 1.25rem;
    color: var(--flat-gray);
    margin-left: 0.5rem;
}

.price-custom {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--flat-black);
}

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

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--flat-black);
}

.plan-features li.disabled {
    color: var(--light-gray);
}

.plan-features i {
    width: 20px;
    height: 20px;
    stroke: var(--flat-green);
    flex-shrink: 0;
}

.plan-features li.disabled i {
    stroke: var(--light-gray);
}

.plan-button {
    background: var(--flat-green);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.plan-button:hover {
    background: #7a9c75;
}

.plan-button.featured {
    background: var(--flat-green);
    box-shadow: 0 4px 12px rgba(138, 166, 133, 0.4);
}

.pricing-faq {
    grid-column: span 12 / span 12;
    padding: 4rem 3rem;
    background: var(--light-gray-background);
}

.faq-title {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--flat-black);
    margin: 0 0 3rem;
}

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

.faq-item {
    background: var(--whiteish);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: bold;
    color: var(--flat-black);
    margin: 0 0 1rem;
}

.faq-answer {
    color: var(--flat-gray);
    line-height: 1.6;
    margin: 0;
}

/* Active menu item */
#navbar-menu .active,
#navbar-actions .active,
.mobile-menu-link.active {
    color: var(--flat-green);
    font-weight: bold;
}

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

    .pricing-title {
        font-size: 2rem;
    }

    .pricing-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .pricing-cards {
        padding: 1rem;
        gap: 1rem;
    }

    .pricing-card {
        padding: 2rem;
    }

    .pricing-card.featured {
        transform: none;
    }

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

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

    .pricing-faq {
        padding: 2rem 1rem;
    }

    .faq-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .faq-grid {
        gap: 1rem;
    }

    .faq-item {
        padding: 1.5rem;
    }
}