.solution-page .solution-hero .seo-hero__inner {
    gap: 48px;
    grid-template-columns: minmax(0, .9fr) minmax(540px, 1.1fr);
}

.solution-page .solution-hero h1 {
    font-size: clamp(42px, 4.3vw, 64px);
}

.solution-page .seo-hero__visual {
    min-width: 0;
}

.solution-mockup {
    background: #f7faff;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 18px;
    box-shadow: 0 36px 90px rgba(0, 0, 0, .38);
    color: #17233b;
    min-height: 430px;
    overflow: hidden;
    position: relative;
    transform: rotateY(-3deg) rotateX(1deg);
}

.solution-mockup__bar {
    align-items: center;
    background: #0b1b37;
    display: flex;
    gap: 6px;
    height: 44px;
    padding: 0 16px;
}

.solution-mockup__bar > span {
    background: rgba(255, 255, 255, .3);
    border-radius: 50%;
    height: 7px;
    width: 7px;
}

.solution-mockup__bar strong {
    color: #fff;
    font-size: 11px;
    letter-spacing: .12em;
    margin-left: auto;
}

.solution-mockup__bar em {
    background: rgba(34, 211, 255, .16);
    border-radius: 12px;
    color: #6ce5ff;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    margin-left: 6px;
    padding: 4px 7px;
    text-transform: uppercase;
}

.message-demo {
    display: grid;
    grid-template-columns: 43% 57%;
    min-height: 386px;
}

.message-demo__inbox {
    background: #fff;
    border-right: 1px solid #dfe7f1;
    padding: 15px 12px;
}

.message-demo__tabs {
    background: #edf2f8;
    border-radius: 9px;
    display: grid;
    font-size: 10px;
    gap: 4px;
    grid-template-columns: 1fr 1fr;
    padding: 4px;
}

.message-demo__tabs b,
.message-demo__tabs span {
    border-radius: 7px;
    padding: 7px 8px;
    text-align: center;
}

.message-demo__tabs b {
    background: #0d9df8;
    color: #fff;
}

.message-demo__search {
    border-bottom: 1px solid #e4eaf2;
    color: #9aa6b5;
    font-size: 10px;
    margin: 11px 1px 3px;
    padding: 7px 3px 9px;
}

.message-demo__search i {
    margin-right: 5px;
}

.message-demo__contact {
    align-items: center;
    border-left: 3px solid transparent;
    display: grid;
    gap: 7px;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    margin-top: 3px;
    padding: 10px 5px;
}

.message-demo__contact.active {
    background: #e9f5ff;
    border-left-color: #0d9df8;
}

.message-demo__contact > i,
.message-demo__chat header > i,
.ai-demo__question > i {
    align-items: center;
    background: #fff;
    border: 1px solid #dce4ed;
    border-radius: 50%;
    color: #516074;
    display: flex;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.message-demo__contact span,
.message-demo__contact b,
.message-demo__contact small,
.message-demo__chat header span,
.message-demo__chat header b,
.message-demo__chat header small {
    display: block;
    min-width: 0;
}

.message-demo__contact b {
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message-demo__contact small {
    color: #68768a;
    font-size: 8px;
    margin-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.message-demo__contact time {
    color: #9ca7b6;
    font-size: 7px;
}

.channel {
    border-radius: 8px;
    color: #fff;
    display: inline-block;
    font-size: 6px;
    font-weight: 800;
    line-height: 13px;
    margin-right: 3px;
    padding: 0 4px;
    text-decoration: none;
}

.channel--tg { background: #28a9ea; }
.channel--max { background: #ff7d37; }
.channel--vk { background: #2e86ed; }

.message-demo__chat {
    background: #f4f7fb;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.message-demo__chat > header {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #dfe7f1;
    display: flex;
    gap: 9px;
    min-height: 58px;
    padding: 10px 14px;
}

.message-demo__chat header b {
    font-size: 11px;
}

.message-demo__chat header small {
    color: #0d8dff;
    font-size: 8px;
    margin-top: 2px;
}

.message-demo__thread {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
    padding: 17px 13px;
}

.bubble {
    border-radius: 10px;
    font-size: 9px;
    line-height: 1.45;
    max-width: 86%;
    padding: 9px 10px;
}

.bubble small {
    color: #8996a7;
    display: block;
    font-size: 7px;
    margin-bottom: 4px;
}

.bubble--client {
    align-self: flex-start;
    background: #e8f4fb;
}

.bubble--admin {
    align-self: flex-end;
    background: #fff;
    border: 1px solid #dfe7f1;
}

.message-demo__composer {
    align-items: center;
    background: #fff;
    border-top: 1px solid #dfe7f1;
    color: #a1adba;
    display: flex;
    font-size: 9px;
    gap: 10px;
    min-height: 48px;
    padding: 8px 10px;
}

.message-demo__composer > span {
    border: 1px solid #dfe7f1;
    border-radius: 8px;
    flex: 1;
    padding: 8px;
}

.message-demo__composer > b {
    align-items: center;
    background: #0d9df8;
    border-radius: 8px;
    color: #fff;
    display: flex;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.ai-demo {
    background:
        radial-gradient(circle at 80% 20%, rgba(13, 141, 255, .12), transparent 32%),
        #f5f8fc;
    min-height: 386px;
    padding: 20px;
}

.ai-demo__head,
.ai-demo__head > div,
.ai-demo__safety,
.ai-demo__question,
.ai-demo__draft header,
.ai-demo__draft footer {
    align-items: center;
    display: flex;
}

.ai-demo__head {
    justify-content: space-between;
}

.ai-demo__head > div {
    gap: 9px;
}

.ai-demo__spark {
    align-items: center;
    background: linear-gradient(135deg, #16c7f4, #1779f2);
    border-radius: 10px;
    color: #fff;
    display: flex;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.ai-demo__head b {
    font-size: 12px;
}

.ai-demo__head em {
    background: #e9f8f2;
    border-radius: 16px;
    color: #188d64;
    font-size: 8px;
    font-style: normal;
    font-weight: 700;
    padding: 7px 9px;
}

.ai-demo__head em i {
    background: #28bd82;
    border-radius: 50%;
    display: inline-block;
    height: 6px;
    margin-right: 4px;
    width: 6px;
}

.ai-demo__conversation {
    margin-top: 18px;
}

.ai-demo__question {
    gap: 10px;
}

.ai-demo__question > div {
    background: #e8f4fb;
    border-radius: 5px 12px 12px 12px;
    padding: 10px 12px;
}

.ai-demo__question small {
    color: #718096;
    display: block;
    font-size: 7px;
}

.ai-demo__question p {
    font-size: 10px;
    margin: 4px 0 0;
}

.ai-demo__thinking {
    color: #748297;
    font-size: 8px;
    margin: 12px 0 9px 42px;
}

.ai-demo__thinking span {
    animation: solutionPulse 1.4s infinite;
    background: #0d8dff;
    border-radius: 50%;
    display: inline-block;
    height: 4px;
    margin-right: 2px;
    opacity: .4;
    width: 4px;
}

.ai-demo__thinking span:nth-child(2) { animation-delay: .15s; }
.ai-demo__thinking span:nth-child(3) { animation-delay: .3s; margin-right: 5px; }

@keyframes solutionPulse {
    0%, 60%, 100% { opacity: .3; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-2px); }
}

.ai-demo__draft {
    background: #fff;
    border: 1px solid #bfe7ff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(28, 92, 148, .1);
    margin-left: 42px;
    overflow: hidden;
}

.ai-demo__draft header {
    background: #effaff;
    border-bottom: 1px solid #d8f0fd;
    justify-content: space-between;
    padding: 9px 11px;
}

.ai-demo__draft header b {
    color: #087cc8;
    font-size: 9px;
}

.ai-demo__draft header span {
    background: #fff;
    border-radius: 12px;
    color: #4c7a94;
    font-size: 7px;
    padding: 4px 6px;
}

.ai-demo__draft p {
    font-size: 10px;
    line-height: 1.55;
    margin: 0;
    padding: 12px;
}

.ai-demo__draft footer {
    border-top: 1px solid #edf1f5;
    gap: 7px;
    justify-content: flex-end;
    padding: 8px 10px;
}

.ai-demo__draft button {
    background: #fff;
    border: 1px solid #d8e1eb;
    border-radius: 7px;
    color: #566477;
    font-size: 8px;
    font-weight: 700;
    padding: 6px 9px;
}

.ai-demo__draft button.primary {
    background: #0d8dff;
    border-color: #0d8dff;
    color: #fff;
}

.ai-demo__safety {
    background: #f0f8f4;
    border: 1px solid #d3ecdf;
    border-radius: 10px;
    gap: 9px;
    margin-top: 14px;
    padding: 9px 11px;
}

.ai-demo__safety > i {
    color: #24a16d;
    font-size: 15px;
}

.ai-demo__safety span,
.ai-demo__safety b,
.ai-demo__safety small {
    display: block;
}

.ai-demo__safety b { color: #267857; font-size: 8px; }
.ai-demo__safety small { color: #739183; font-size: 7px; margin-top: 2px; }

.quiz-demo {
    background:
        radial-gradient(circle at 30% 15%, rgba(34, 211, 255, .18), transparent 32%),
        linear-gradient(145deg, #edf9ff, #f7f7ff);
    min-height: 386px;
    padding: 24px;
}

.quiz-demo__preview {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 45px rgba(24, 74, 120, .14);
    margin: 0 auto;
    max-width: 380px;
    padding: 22px;
}

.quiz-demo__progress {
    background: #e8edf4;
    border-radius: 5px;
    height: 5px;
    overflow: hidden;
}

.quiz-demo__progress span {
    background: linear-gradient(90deg, #22d3ff, #0d8dff);
    border-radius: inherit;
    display: block;
    height: 100%;
}

.quiz-demo__preview > small {
    color: #7e8b9e;
    display: block;
    font-size: 8px;
    margin-top: 14px;
}

.quiz-demo__preview h3 {
    font-size: 16px;
    margin: 5px 0 14px;
}

.quiz-demo__answers {
    display: grid;
    gap: 7px;
    grid-template-columns: repeat(3, 1fr);
}

.quiz-demo__answers button {
    background: #f7f9fc;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    color: #5f6c7f;
    display: grid;
    font-size: 8px;
    gap: 5px;
    padding: 10px 5px;
}

.quiz-demo__answers button i { color: #8b9aae; font-size: 13px; }

.quiz-demo__answers button.active {
    background: #eaf7ff;
    border-color: #36b4ff;
    color: #087cc8;
}

.quiz-demo__answers button.active i { color: #0d8dff; }

.quiz-demo__next {
    background: #0d8dff;
    border: 0;
    border-radius: 9px;
    color: #fff;
    display: block;
    font-size: 9px;
    font-weight: 800;
    margin-left: auto;
    margin-top: 15px;
    padding: 9px 13px;
}

.quiz-demo__next i { margin-left: 6px; }

.quiz-demo__result {
    align-items: center;
    background: #fff;
    border: 1px solid #dce8f2;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(24, 74, 120, .1);
    display: grid;
    gap: 9px;
    grid-template-columns: 32px 1fr auto;
    margin: 14px auto 0;
    max-width: 350px;
    padding: 10px 12px;
}

.quiz-demo__result > div {
    align-items: center;
    background: #def7eb;
    border-radius: 50%;
    color: #23a36f;
    display: flex;
    height: 32px;
    justify-content: center;
    width: 32px;
}

.quiz-demo__result span,
.quiz-demo__result b,
.quiz-demo__result small { display: block; }
.quiz-demo__result b { font-size: 9px; }
.quiz-demo__result small { color: #7d8a9a; font-size: 7px; margin-top: 3px; }
.quiz-demo__result em { background: #edf7ff; border-radius: 12px; color: #0d8dff; font-size: 7px; font-style: normal; font-weight: 800; padding: 5px 7px; }

.mobile-demo {
    background:
        radial-gradient(circle at 30% 25%, rgba(34, 211, 255, .22), transparent 30%),
        linear-gradient(145deg, #e8f6ff, #f6f9ff);
    min-height: 386px;
    overflow: hidden;
    position: relative;
}

.mobile-demo__phone {
    background: #fff;
    border: 5px solid #11233f;
    border-radius: 27px;
    box-shadow: 0 20px 42px rgba(23, 48, 80, .22);
    height: 335px;
    overflow: hidden;
    position: absolute;
    top: 26px;
    width: 190px;
}

.mobile-demo__phone--back { left: 75px; transform: rotate(-5deg); }
.mobile-demo__phone--front { right: 70px; transform: rotate(5deg); z-index: 2; }

.mobile-demo__speaker {
    background: #11233f;
    border-radius: 0 0 8px 8px;
    height: 11px;
    left: 50%;
    position: absolute;
    top: -1px;
    transform: translateX(-50%);
    width: 58px;
    z-index: 3;
}

.mobile-demo__phone header {
    align-items: center;
    background: #f7f9fc;
    border-bottom: 1px solid #e6ebf2;
    display: flex;
    gap: 7px;
    min-height: 52px;
    padding: 15px 10px 7px;
}

.mobile-demo__phone header img {
    height: 24px;
    object-fit: contain;
    width: 24px;
}

.mobile-demo__phone header span,
.mobile-demo__phone header b,
.mobile-demo__phone header small { display: block; }
.mobile-demo__phone header b { font-size: 8px; }
.mobile-demo__phone header small { color: #8290a2; font-size: 6px; margin-top: 2px; }
.mobile-demo__phone header > i { color: #78879a; font-size: 8px; }

.mobile-demo__date {
    color: #7b899b;
    font-size: 7px;
    padding: 12px 11px 6px;
}

.mobile-demo__lesson {
    align-items: center;
    border-bottom: 1px solid #edf1f5;
    display: grid;
    gap: 8px;
    grid-template-columns: 30px 1fr;
    margin: 0 10px;
    padding: 10px 0;
}

.mobile-demo__lesson time { color: #0d8dff; font-size: 7px; font-weight: 800; }
.mobile-demo__lesson span,
.mobile-demo__lesson b,
.mobile-demo__lesson small { display: block; }
.mobile-demo__lesson b { font-size: 7px; }
.mobile-demo__lesson small { color: #8a97a7; font-size: 6px; margin-top: 3px; }

.mobile-demo__mobile-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 215px;
    padding: 20px 10px;
}

.mobile-demo__mobile-thread .bubble { font-size: 7px; padding: 8px; }

.mobile-demo__input {
    border: 1px solid #e0e6ed;
    border-radius: 8px;
    bottom: 11px;
    color: #9aa6b4;
    font-size: 7px;
    left: 10px;
    padding: 8px;
    position: absolute;
    right: 10px;
}

.mobile-demo__input i { color: #0d8dff; float: right; }

.mobile-demo__push {
    align-items: center;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(212, 225, 238, .9);
    border-radius: 12px;
    bottom: 24px;
    box-shadow: 0 14px 28px rgba(23, 48, 80, .2);
    display: flex;
    gap: 9px;
    left: 50%;
    padding: 9px 12px;
    position: absolute;
    transform: translateX(-50%);
    width: 245px;
    z-index: 4;
}

.mobile-demo__push > i {
    align-items: center;
    background: #e8f6ff;
    border-radius: 8px;
    color: #0d8dff;
    display: flex;
    height: 29px;
    justify-content: center;
    width: 29px;
}

.mobile-demo__push span,
.mobile-demo__push b,
.mobile-demo__push small { display: block; }
.mobile-demo__push b { font-size: 8px; }
.mobile-demo__push small { color: #788698; font-size: 7px; margin-top: 2px; }

.solution-comparison {
    background: #fff;
    padding-bottom: 40px;
    padding-top: 40px;
}

.solution-comparison__inner {
    align-items: center;
    background:
        radial-gradient(circle at 85% 15%, rgba(34, 211, 255, .12), transparent 30%),
        linear-gradient(135deg, #071933, #0c2549);
    border-radius: 22px;
    color: #fff;
    display: grid;
    gap: 50px;
    grid-template-columns: 1.1fr .9fr;
    padding: 48px 52px;
}

.solution-comparison__label,
.solution-stores__inner > div > span,
.solution-more > .container > span {
    color: #22d3ff;
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.solution-comparison h2 {
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 14px;
}

.solution-comparison p {
    color: rgba(255, 255, 255, .68);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.solution-comparison ul {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.solution-comparison li {
    align-items: center;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 11px;
    display: flex;
    font-size: 13px;
    gap: 10px;
    line-height: 1.5;
    padding: 12px 14px;
}

.solution-comparison li i {
    align-items: center;
    background: rgba(34, 211, 255, .14);
    border-radius: 50%;
    color: #22d3ff;
    display: flex;
    flex: 0 0 24px;
    height: 24px;
    justify-content: center;
}

.solution-stores {
    background: #eef6ff;
    padding: 52px 0;
}

.solution-stores__inner {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.solution-stores h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
}

.solution-stores__links {
    display: flex;
    gap: 12px;
}

.solution-stores__links a {
    align-items: center;
    background: #071933;
    border-radius: 11px;
    color: #fff;
    display: flex;
    gap: 10px;
    min-width: 165px;
    padding: 10px 15px;
}

.solution-stores__links a:hover,
.solution-stores__links a:focus {
    background: #0d8dff;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.solution-stores__links i { font-size: 23px; }
.solution-stores__links span,
.solution-stores__links small { display: block; }
.solution-stores__links span { font-size: 14px; font-weight: 800; line-height: 1.15; }
.solution-stores__links small { font-size: 8px; font-weight: 400; margin-bottom: 2px; opacity: .7; }

.solution-more {
    background: #f4f8fd;
    padding: 42px 0;
}

.solution-more > .container > span {
    color: #60708c;
    text-align: center;
}

.solution-more__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.solution-more__links a {
    background: #fff;
    border: 1px solid #dce5f2;
    border-radius: 11px;
    color: #17233b;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 16px;
}

.solution-more__links a:hover,
.solution-more__links a:focus {
    border-color: #0d8dff;
    color: #0d8dff;
    text-decoration: none;
    transform: translateY(-2px);
}

.solution-more__links i { color: #0d8dff; margin-right: 6px; }

@media (max-width: 1199px) {
    .solution-page .solution-hero .seo-hero__inner {
        gap: 34px;
        grid-template-columns: minmax(0, .9fr) minmax(465px, 1.1fr);
    }

    .mobile-demo__phone--back { left: 44px; }
    .mobile-demo__phone--front { right: 40px; }
}

@media (max-width: 991px) {
    .solution-page .solution-hero .seo-hero__inner {
        grid-template-columns: 1fr;
    }

    .solution-mockup {
        transform: none;
    }

    .solution-comparison__inner {
        gap: 34px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .solution-page .solution-hero h1 {
        font-size: 39px;
    }

    .solution-mockup {
        min-height: 390px;
    }

    .message-demo {
        grid-template-columns: 118px minmax(0, 1fr);
    }

    .message-demo__inbox { padding: 10px 7px; }
    .message-demo__tabs { grid-template-columns: 1fr; }
    .message-demo__tabs span { display: none; }
    .message-demo__contact { gap: 5px; grid-template-columns: 27px minmax(0, 1fr); padding: 8px 3px; }
    .message-demo__contact > i { height: 27px; width: 27px; }
    .message-demo__contact time { display: none; }
    .message-demo__contact b { font-size: 8px; }
    .message-demo__contact small { font-size: 7px; }
    .message-demo__chat > header { padding: 10px; }
    .message-demo__thread { padding: 12px 8px; }
    .bubble { font-size: 8px; max-width: 94%; }
    .message-demo__composer { padding: 7px; }

    .ai-demo { padding: 16px 12px; }
    .ai-demo__head em { display: none; }
    .ai-demo__draft { margin-left: 0; }
    .ai-demo__thinking { margin-left: 0; }

    .quiz-demo { padding: 18px 12px; }
    .quiz-demo__preview { padding: 18px 14px; }

    .mobile-demo__phone { height: 320px; width: 174px; }
    .mobile-demo__phone--back { left: 5%; }
    .mobile-demo__phone--front { right: 5%; }

    .solution-comparison { padding: 22px 0; }
    .solution-comparison__inner { border-radius: 0; padding: 40px 24px; }
    .solution-comparison h2 { font-size: 29px; }

    .solution-stores__inner { align-items: flex-start; flex-direction: column; gap: 24px; }
    .solution-stores__links { flex-direction: column; width: 100%; }
    .solution-stores__links a { justify-content: center; width: 100%; }
}

@media (max-width: 420px) {
    .solution-page .solution-hero h1 { font-size: 34px; }
    .solution-mockup { min-height: 370px; }
    .solution-mockup__bar { height: 38px; }
    .message-demo { min-height: 332px; }
    .message-demo__thread .bubble:nth-child(3) { display: none; }
    .ai-demo { min-height: 332px; }
    .ai-demo__safety { margin-top: 10px; }
    .quiz-demo { min-height: 332px; }
    .quiz-demo__answers { grid-template-columns: 1fr; }
    .quiz-demo__answers button { display: flex; justify-content: center; }
    .quiz-demo__answers button:not(.active) { display: none; }
    .mobile-demo { min-height: 332px; }
    .mobile-demo__phone { height: 285px; top: 24px; width: 155px; }
    .mobile-demo__phone--back { left: -2%; }
    .mobile-demo__phone--front { right: -2%; }
    .mobile-demo__lesson:nth-child(5) { display: none; }
    .mobile-demo__push { bottom: 15px; width: 220px; }
}
