/* =====================================================================
   TELEGRAM BOT — product page (/telegram-bot/, /ru/telegram-bot/, /en/telegram-bot/).
   Scoped under body.tgb-page. Builds on niche-lp.css (.bs-section, .bs-title,
   .bs-steps, .bs-migrate, .bs-features) and index-inline.css tokens
   (--global-gradient, --main-black). Only bot-specific blocks live here.
   ===================================================================== */

/* --- Hero --- */
.tgb-page .tgb-hero-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin: 1.25rem auto 0;
    text-align: center;
    font-size: 1.0625rem;
}

.tgb-page .tgb-hero-price b {
    font-size: 1.5rem;
    font-weight: 800;
}

.tgb-page .tgb-hero-price span {
    opacity: 0.7;
}

.tgb-page .tgb-hero-visual {
    position: relative;
    max-width: 68rem;
    margin: 3.5rem auto 0;
    padding: 0 2.5rem;
}

.tgb-page .tgb-hero-visual__desktop {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 4rem rgba(17, 35, 54, 0.12);
}


.tgb-page .tgb-hero-visual__glow {
    position: absolute;
    inset: 15% 10% -10%;
    z-index: -1;
    background: var(--global-gradient);
    filter: blur(5rem);
    opacity: 0.35;
}

/* --- Definition (GEO: one quotable summary paragraph) --- */
.tgb-page .tgb-definition {
    max-width: 52rem;
    margin: 0 auto;
    padding: 1.75rem 2rem;
    border-radius: 1.5rem;
    background: #f6f5f2;
    font-size: 1.125rem;
    line-height: 1.6;
}

.tgb-page .tgb-definition p {
    margin: 0;
}

/* --- Client abilities: checklist + phone --- */
.tgb-page .tgb-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tgb-page .tgb-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tgb-page .tgb-checklist li {
    display: flex;
    gap: 0.875rem;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    background: #fff;
    font-size: 1.0625rem;
    line-height: 1.45;
}

.tgb-page .tgb-checklist li::before {
    content: "✓";
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: var(--global-gradient);
    color: #000;
    font-size: 0.8125rem;
    font-weight: 800;
}

.tgb-page .tgb-checklist b {
    display: block;
    margin-bottom: 0.125rem;
    font-weight: 700;
}

.tgb-page .tgb-split__media {
    display: flex;
    justify-content: center;
}

.tgb-page .tgb-split__media img {
    width: 100%;
    max-width: 19rem;
    height: auto;
    border-radius: 2rem;
    box-shadow: 0 1.5rem 3rem rgba(17, 35, 54, 0.16);
}

/* --- Client path: before / with bot --- */
.tgb-page .tgb-path {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1.25rem;
}

.tgb-page .tgb-path__col {
    padding: 2rem;
    border-radius: 1.5rem;
}

.tgb-page .tgb-path__col--old {
    background: #f6f5f2;
    color: #52514e;
}

.tgb-page .tgb-path__col--new {
    background: #112336;
    color: #fff;
}

.tgb-page .tgb-path__col h3 {
    margin: 0 0 1.25rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.tgb-page .tgb-path__col--new h3 {
    color: #fff;
}

.tgb-page .tgb-path__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.tgb-page .tgb-path__steps li {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.tgb-page .tgb-path__steps li span {
    padding: 0.5rem 0.875rem;
    border-radius: 2rem;
    background: rgba(0, 0, 0, 0.06);
}

.tgb-page .tgb-path__col--new .tgb-path__steps li span {
    background: var(--global-gradient);
    color: #000;
    font-weight: 700;
}

.tgb-page .tgb-path__steps li:not(:last-child)::after {
    content: "→";
    opacity: 0.5;
}

.tgb-page .tgb-path__note {
    margin: 1.25rem 0 0;
    font-size: 0.9375rem;
    opacity: 0.75;
}

/* --- Result stat --- */
.tgb-page .tgb-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
    max-width: 56rem;
    margin: 0 auto;
    padding: 2.5rem 3rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 2rem;
    background: #fff;
}

.tgb-page .tgb-stat__num {
    font-size: 5.5rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--global-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tgb-page .tgb-stat__text h2 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    line-height: 1.2;
    font-weight: 700;
}

.tgb-page .tgb-stat__text p {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.5;
    opacity: 0.7;
}

.tgb-page .tgb-stat__text small {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    opacity: 0.6;
}

/* --- Client bots --- */
.tgb-page .tgb-cases {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.tgb-page .tgb-case {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    background: #fff;
}

.tgb-page .tgb-case__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tgb-page .tgb-case__avatar {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--global-gradient);
    color: #000;
    font-weight: 800;
    font-size: 0.9375rem;
}

.tgb-page .tgb-case__name {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 700;
}

.tgb-page .tgb-case__niche {
    display: block;
    font-size: 0.8125rem;
    opacity: 0.6;
}

.tgb-page .tgb-case__about {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.45;
    opacity: 0.8;
}

/* --- Price card --- */
.tgb-page .tgb-price {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    max-width: 60rem;
    margin: 0 auto;
    padding: 2.5rem;
    border-radius: 2rem;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1.5rem 4rem rgba(17, 35, 54, 0.08);
}

.tgb-page .tgb-price__label {
    display: inline-flex;
    padding: 0.375rem 0.875rem;
    border-radius: 2rem;
    background: rgba(17, 35, 54, 0.06);
    font-size: 0.875rem;
    font-weight: 600;
}

.tgb-page .tgb-price__amount {
    margin: 1.25rem 0 0.25rem;
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tgb-page .tgb-price__period {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.6;
}

.tgb-page .tgb-price__note {
    margin: 1rem 0 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.5;
    opacity: 0.75;
}


.tgb-page .tgb-price__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tgb-page .tgb-price__actions .main-btn {
    justify-content: center;
}

.tgb-page .tgb-price__secondary {
    text-align: center;
    font-size: 0.9375rem;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.tgb-page .tgb-price__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tgb-page .tgb-price__list li {
    display: flex;
    gap: 0.75rem;
    font-size: 1rem;
    line-height: 1.45;
}

.tgb-page .tgb-price__list li::before {
    content: "✓";
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 50%;
    background: var(--global-gradient);
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
}

.tgb-page .tgb-price__req {
    margin: 1.25rem 0 0;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: #f6f5f2;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* --- Responsive --- */
@media screen and (max-width: 991px) {
    .tgb-page .tgb-hero-visual {
        padding: 0 1.5rem;
    }

    .tgb-page .tgb-split,
    .tgb-page .tgb-path,
    .tgb-page .tgb-price {
        grid-template-columns: 1fr;
    }

    .tgb-page .tgb-split__media {
        order: -1;
    }

    .tgb-page .tgb-cases {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    .tgb-page .tgb-hero-visual {
        margin-top: 2.5rem;
        padding: 0 1rem;
    }


    .tgb-page .tgb-hero-price span {
        flex-basis: 100%;
    }

    .tgb-page .tgb-definition {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .tgb-page .tgb-checklist li {
        padding: 1rem 1.125rem;
        font-size: 1rem;
    }

    .tgb-page .tgb-path__col {
        padding: 1.5rem 1.25rem;
    }

    .tgb-page .tgb-stat {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.75rem 1.25rem;
        text-align: center;
    }

    .tgb-page .tgb-stat__num {
        font-size: 4rem;
    }

    .tgb-page .tgb-stat__text h2 {
        font-size: 1.375rem;
    }

    .tgb-page .tgb-cases {
        grid-template-columns: 1fr;
    }

    .tgb-page .tgb-price {
        padding: 1.75rem 1.25rem;
        border-radius: 1.5rem;
    }

    .tgb-page .tgb-price__amount {
        font-size: 2.75rem;
    }
}
