.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.pricing {
    padding: 80px 0;
    background-color: var(--background-color);
}

.pricing-plans {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 2rem;
}

.pricing-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

.pricing-card__featured {
    position: relative;
}

.plan-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.plan-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.plan-price {
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
}

.price-period {
    font-size: 1rem;
    opacity: 0.7;
}

.plan-save-badge {
    background-color: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    position: absolute;
    top: -38px;
    right: -10px;
}

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

.plan-feature-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 30px;
}

.plan-feature-item::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.plan-feature-item:last-child {
    border-bottom: none;
}

.plan-action {
    text-align: center;
}

.plan-action .button + .button {
    margin-top: 10px;
}

.payment-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
}

.payment-dropdown .button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    cursor: pointer;
}

.dropdown-arrow {
    display: inline-flex;
    align-items: center;
}

.dropdown-arrow .icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    color: inherit;
}

.dropdown-arrow .icon-up {
    display: none;
}

.payment-dropdown.active .dropdown-arrow .icon-up {
    display: inline-block;
}

.payment-dropdown.active .dropdown-arrow .icon-down {
    display: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-top: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s;
    z-index: 10;
    overflow: hidden;
}

.payment-dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 16px 20px;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s ease;
    gap: 4px;
}

.dropdown-item:hover {
    background-color: transparent;
    color: white;
    box-shadow: inset 0 0 0 2px var(--primary-color);
    border-radius: 6px;
}

.dropdown-item:hover .dropdown-item-description {
    color: rgba(255, 255, 255, 0.9);
}

.dropdown-item + .dropdown-item {
    border-top: 1px solid var(--border-color);
}

.dropdown-item-title {
    font-weight: 600;
    font-size: 1.05rem;
}

.dropdown-item-description {
    font-size: 0.85rem;
    opacity: 0.7;
    line-height: 1.3;
}

.faq {
    padding: 60px 0;
    background-color: var(--secondary-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.faq-question {
    font-size: 1.2rem;
    padding: 15px 0;
    cursor: pointer;
    position: relative;
    font-weight: bold;
    list-style: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 15px;
    transition: transform 0.3s ease;
}

details[open] .faq-question::after {
    content: '−';
}

.faq-answer {
    padding: 0 0 20px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .pricing-plans {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 100%;
        max-width: 400px;
    }
}
