@import "./plans-classes.css";
@import "./plans-subscriptions.css";
@import "./upgrade-plan.css";

.plans-page-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: var(--font-size-display);
    margin-bottom: 0;
    text-align: center;
}

.plans-page-subtitle {
    font-size: var(--font-size-lg);
    font-weight: 400;
    line-height: var(--font-size-3xl);
    text-align: center;
    color: var(--neutral-400);
    text-wrap: pretty;
}

.plans-section {
    width: 82%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xl);
}

.plans-section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    line-height: var(--font-size-4xl);
}

.gifting-section {
    background: var(--primary-500-linear-gradient3);
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    width: 54%;
    margin: auto;
    border-radius: 8px;
}

.gifting-title {
    margin-bottom: var(--space-lg);
    font-size: var(--font-size-4xl);
    font-weight: 700;
    text-align: center;
    margin: 0;
}

.gifting-subtitle {
    font-size: var(--font-size-lg);
    font-weight: 400;
    line-height: 34px;
    text-align: center;
}

.gifting-section .green-button {
    width: 147px;
}

[dir='rtl'] .gifting-subtitle,
[dir='rtl'] .plans-page-subtitle {
    direction: 'rtl';
}

@media (max-width: 1079px) {

    .plans-page-subtitle {
        margin: 0;
    }

}

@media (max-width: 539px) {

    .gifting-section {
        width: 90%;
    }


    .plans-page-title {
        font-size: var(--font-size-3xl) !important;
        line-height: 42px;
        margin-bottom: 0;
    }

    .plans-page-subtitle {
        font-size: var(--font-size-md) !important;
        line-height: var(--font-size-2xl);
        width: 290px;
    }

    .plans-titles {
        gap: var(--space-md-s);
        border: none;
    }

    .plans-section {
        gap: var(--space-md-l);
    }


    .plans-page-title {
        font-size: var(--font-size-xl) !important;
        line-height: var(--font-size-2xl);
    }

    .plans-page-subtitle {
        font-size: var(--font-size-base) !important;
        line-height: var(--font-size-lg);
    }

}