/* Тарифные карточки: маркетинг + главная (не только .incometick-marketing) */
.pricing-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* Кнопка + подпись (trial): прижать блок к низу карточки */
.pricing-card__footer {
    margin-top: auto;
    width: 100%;
    flex-shrink: 0;
    padding-top: 0.35rem;
}

.pricing-card__footer .btn {
    margin-top: 0;
}

/* Карточки без .pricing-card__footer (главная): как раньше */
.pricing-card > .btn.mt-auto {
    margin-top: auto;
}

.pricing-card--featured {
    border-color: var(--bs-primary);
    box-shadow: 0 0.5rem 1.5rem rgba(247, 71, 128, 0.12);
    position: relative;
    z-index: 1;
}

.pricing-card--family {
    border-style: dashed;
    border-color: rgba(106, 27, 154, 0.35);
    background: linear-gradient(180deg, #faf8fc 0%, #fff 100%);
}

.pricing-row-equal {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

@media (min-width: 1200px) {
    .pricing-row-equal > [class*="col-"] {
        display: flex;
    }

    .pricing-row-equal .pricing-card {
        flex: 1 1 auto;
        min-height: 100%;
    }
}

/* ===== Pricing page: стиль ЛК ===== */

.pricing-card--lk {
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 1.5rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow .2s, border-color .2s, transform .2s;
}
.pricing-card--lk:hover {
    border-color: rgba(247,71,128,.2);
    box-shadow: 0 6px 20px rgba(0,0,0,.07);
    transform: translateY(-2px);
}
.pricing-card--lk.pricing-card--featured {
    border-color: #f74780;
    box-shadow: 0 8px 28px rgba(247,71,128,.15);
}

.pricing-card__icon-wrap {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(247,71,128,.08);
    color: #f74780;
    font-size: 1.1rem;
    margin-bottom: .75rem;
}
.pricing-card__icon-wrap--primary {
    background: linear-gradient(135deg, #f74780, #ff6b9d);
    color: #fff;
}
.pricing-card__icon-wrap--family {
    background: rgba(106,27,154,.08);
    color: #6a1b9a;
}

.pricing-card__badge-lk {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    padding: .2rem .65rem;
    border-radius: 2rem;
    background: #f0f2f5;
    color: #353f4f;
    margin-bottom: .5rem;
    letter-spacing: .02em;
}
.pricing-card__badge-lk--primary {
    background: linear-gradient(135deg, #f74780, #ff6b9d);
    color: #fff;
}

.pricing-card__name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #353f4f;
    margin-bottom: .35rem;
}
.pricing-card__price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #353f4f;
    margin-bottom: .15rem;
    line-height: 1.2;
}
.pricing-card__period {
    font-size: .85rem;
    font-weight: 400;
    color: #8c8fa3;
}
.pricing-card__sub {
    font-size: .82rem;
    color: #8c8fa3;
    margin-bottom: .75rem;
}
.pricing-card__desc {
    font-size: .85rem;
    color: #8c8fa3;
    line-height: 1.5;
    margin-bottom: .75rem;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: .82rem;
    color: #6c757d;
    line-height: 1.7;
    flex: 1;
}
.pricing-card__features li::before {
    content: '✓';
    color: #f74780;
    font-weight: 700;
    margin-right: .45rem;
}

.pricing-card__btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: .6rem 1rem;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s, color .15s, box-shadow .15s;
}
.pricing-card__btn--primary {
    background: #f74780;
    color: #fff;
    border: 1px solid #f74780;
}
.pricing-card__btn--primary:hover {
    background: #e03a6f;
    color: #fff;
    box-shadow: 0 4px 12px rgba(247,71,128,.3);
}
.pricing-card__btn--outline {
    background: transparent;
    color: #f74780;
    border: 1px solid rgba(247,71,128,.4);
}
.pricing-card__btn--outline:hover {
    background: rgba(247,71,128,.06);
    color: #e03a6f;
}

.pricing-card__trial {
    font-size: .75rem;
    color: #8c8fa3;
    text-align: center;
    margin: .5rem 0 0;
}

.pricing-card--family-lk {
    border-style: dashed;
    border-color: rgba(106,27,154,.25);
    background: linear-gradient(180deg, #faf8fc, #fff);
}

/* Comparison table in LK style */
.pricing-table-lk {
    border-radius: 10px;
    overflow: hidden;
    font-size: .85rem;
}
.pricing-table-lk thead tr {
    background: #f0f2f5;
}
.pricing-table-lk thead th {
    font-weight: 600;
    color: #353f4f;
    font-size: .82rem;
    border-bottom: none;
}
.pricing-table-lk td {
    color: #6c757d;
    vertical-align: middle;
}
.pricing-table-lk td:not(:first-child),
.pricing-table-lk th:not(:first-child) {
    text-align: center;
    width: 80px;
}

/* Marketing H1/lead closer to LK */
.incometick-marketing .display-6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.65rem;
    color: #353f4f;
}
.incometick-marketing .lead {
    font-size: .95rem;
    line-height: 1.6;
}

/* Marketing sections closer to LK */
.incometick-marketing .marketing-section h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #353f4f;
}

/* Equal height for pricing row */
.pricing-page .pricing-row-equal > [class*="col-"] {
    display: flex;
}
.pricing-page .pricing-row-equal .pricing-card {
    flex: 1 1 auto;
    min-height: 100%;
}

/* Внутренние страницы: убрать декоративный фон hero у оболочки шапки */
.header.not-main::before,
.header.not-main::after {
    display: none;
}

.price-tag {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
}

.incometick-marketing .marketing-section:last-of-type {
    border-bottom: none !important;
}

.incometick-marketing .marketing-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.incometick-marketing .marketing-table-wrap table {
    min-width: 640px;
}

.incometick-marketing .marketing-table-wrap table th,
.incometick-marketing .marketing-table-wrap table td {
    white-space: nowrap;
}

.incometick-marketing .marketing-table-wrap table td:first-child {
    white-space: normal;
    min-width: 12rem;
}

/* ===== Главная: стилистика в духе ЛК ===== */

.home-landing .home-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: .5rem;
    color: #353f4f;
}

/* — Карточки «Почему не хватает трекера» — */
.home-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 1.5rem;
    transition: box-shadow .2s, border-color .2s, transform .2s;
}
.home-card:hover {
    border-color: rgba(247,71,128,.2);
    box-shadow: 0 6px 20px rgba(0,0,0,.07);
    transform: translateY(-2px);
}
.home-card__icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(247,71,128,.08);
    color: #f74780;
    font-size: 1.15rem;
    margin-bottom: .75rem;
}
.home-card__title {
    font-size: .95rem;
    font-weight: 600;
    color: #353f4f;
    margin-bottom: .35rem;
}
.home-card__text {
    font-size: .85rem;
    color: #8c8fa3;
    margin-bottom: 0;
    line-height: 1.5;
}

/* — Сценарии «Кому подойдёт» — */
.home-scenario {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    text-decoration: none;
    transition: box-shadow .2s, border-color .2s, transform .2s;
    height: 100%;
}
.home-scenario:hover {
    border-color: rgba(247,71,128,.2);
    box-shadow: 0 6px 20px rgba(0,0,0,.07);
    transform: translateY(-2px);
}
.home-scenario__icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(247,71,128,.08);
    color: #f74780;
    font-size: 1.1rem;
    margin-bottom: .6rem;
}
.home-scenario__label {
    font-size: .9rem;
    font-weight: 600;
    color: #353f4f;
    margin-bottom: .25rem;
}
.home-scenario__hint {
    font-size: .78rem;
    color: #8c8fa3;
    line-height: 1.4;
}

/* — Модульные карточки «Что внутри кабинета» — */
.home-module-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 14px;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, border-color .2s, transform .2s;
}
.home-module-card:hover {
    border-color: rgba(247,71,128,.2);
    box-shadow: 0 6px 20px rgba(0,0,0,.07);
    transform: translateY(-2px);
}
.home-module-card__icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, #f74780 0%, #ff6b9d 100%);
    color: #fff;
    font-size: 1rem;
    margin-bottom: .65rem;
}
.home-module-card__label {
    font-size: .9rem;
    font-weight: 600;
    color: #353f4f;
    margin-bottom: .3rem;
}
.home-module-card__desc {
    font-size: .82rem;
    color: #8c8fa3;
    line-height: 1.45;
    flex: 1;
}
.home-module-card__link {
    font-size: .8rem;
    font-weight: 500;
    color: #f74780;
    text-decoration: none;
    margin-top: .5rem;
}
.home-module-card__link:hover {
    text-decoration: underline;
}

/* — Акцентная секция «Всё в одном кабинете» — */
.home-section--accent {
    background: linear-gradient(135deg, #353f4f 0%, #4a5568 50%, #353f4f 100%);
    color: #fff;
}

/* — Trust bar иконки — */
.home-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(247,71,128,.08);
    color: #f74780;
    font-size: .85rem;
    margin-right: .5rem;
    vertical-align: middle;
}

/* — Фичи в тарифных карточках на главной — */
.home-plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 .75rem;
    font-size: .8rem;
    color: #6c757d;
    line-height: 1.6;
}
.home-plan-features li::before {
    content: '✓';
    color: #f74780;
    font-weight: 700;
    margin-right: .4rem;
}

/* — Бейдж «Популярный» — */
.home-plan-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f74780, #ff6b9d);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: .2rem .7rem;
    border-radius: 2rem;
    margin-bottom: .5rem;
    letter-spacing: .02em;
}

/* — FAQ — */
.home-landing .home-faq .accordion-button {
    font-size: .9rem;
    box-shadow: none !important;
}
.home-landing .home-faq .accordion-button:not(.collapsed) {
    background: rgba(247,71,128,.06);
    color: #c2185b;
}

/* Hero */
.home-hero-wrap {
    min-height: 0;
}
.home-hero-wrap .lead {
    line-height: 1.55;
}

/* Navbar fix: прибить к верху на всех экранах */
.navbar.fixed-top {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(8px);
}
