/* Переменные дизайна */
:root {
    --blue: #229ed9;
    --blue-dark: #087cb5;
    --ink: #182d40;
    --muted: #5b7183;
    --line: #e0ebf2;
    --pale: #f1f8fd;
    --white: #fff;
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: white;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--blue-dark);
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

img, video {
    display: block;
    max-width: 100%;
}

button:focus-visible, a:focus-visible, summary:focus-visible {
    outline: 3px solid #edb646;
    outline-offset: 4px;
}

.wrap {
    width: min(1180px, calc(100% - 56px));
    margin-inline: auto;
}

/* Шапка и меню */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fffffff2;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}

.nav {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    font-weight: 750;
    font-size: 19px;
    line-height: 1.15;
    white-space: nowrap;
}

.brand-sub {
    display: block;
    font-size: 10px;
    color: var(--muted);
    letter-spacing: .03em;
    font-weight: 500;
    margin-top: 4px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: #40576b;
    font-size: 14px;
    font-weight: 600;
}

nav a:hover {
    color: var(--blue-dark);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 0;
    border-radius: 13px;
    background: var(--blue-dark);
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 24px;
    box-shadow: 0 8px 20px #087cb523;
    transition: transform .2s, background .2s, box-shadow .2s;
    text-align: center;
}

.btn:hover {
    background: #06699c;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px #087cb53b;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-main {
    font-size: 17px;
    padding: 19px 24px;
    border-radius: 15px;
    text-align: left;
}

.btn-main svg {
    width: 27px;
    height: 27px;
    flex: none;
}

.btn-main small {
    display: block;
    font-weight: 450;
    font-size: 12px;
    opacity: .9;
    margin-top: 2px;
}

.btn-main > span:last-child {
    margin-left: 6px;
    font-size: 23px;
}

.menu {
    display: none;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 24px;
}

/* Первый экран */
.hero {
    background: radial-gradient(ellipse at 82% 30%, #d5f0ff 0, transparent 51%), linear-gradient(135deg, #f7fcff, #eaf6ff);
    overflow: hidden;
    padding: 100px 0 88px;
}

.hero-grid {
    display: grid;
    grid-template-columns: .93fr 1.07fr;
    align-items: center;
    gap: 44px;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-weight: 750;
    color: var(--blue-dark);
}

.hero .eyebrow {
    background: #e0f2fc;
    border: 1px solid #cfe9f7;
    border-radius: 30px;
    padding: 7px 12px;
    letter-spacing: .04em;
    text-transform: none;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #30ae8a;
    border-radius: 50%;
}

h1,h2,h3,p {
    margin-top: 0;
}

h1 {
    font-size: clamp(44px, 5.1vw, 72px);
    line-height: 1.06;
    letter-spacing: -.055em;
    margin: 21px 0 22px;
}

h1 span {
    color: var(--blue-dark);
}

.lead {
    font-size: 19px;
    color: var(--muted);
    max-width: 490px;
    margin-bottom: 29px;
}

.trust {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 18px;
    font-size: 13px;
    color: #4c6475;
}

.independent {
    font-size: 12px;
    color: #647b8b;
    margin: 14px 0 0;
}

.hero-visual {
    position: relative;
    padding: 48px 0 32px;
    isolation: isolate;
}

.screen {
    position: relative;
    background: white;
    padding: 8px;
    border-radius: 15px;
    box-shadow: 0 28px 70px #326b9a35;
    transform: rotate(-2deg);
    border: 1px solid #d8eaf4;
}

.screen img {
    width: 100%;
    height: auto;
    border-radius: 9px;
}

.orbit {
    position: absolute;
    border: 1px solid #9bd5f2;
    border-radius: 50%;
    z-index: -1;
    opacity: .5;
}

.orbit-one {
    inset: 0 -42px;
}

.orbit-two {
    inset: -34px -75px;
}

.floating {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e4edf4;
    border-radius: 15px;
    padding: 13px 17px;
    box-shadow: 0 12px 30px #326b9a20;
    z-index: 2;
    animation: float 5s ease-in-out infinite;
}

.float-top {
    top: 0;
    right: 0;
}

.float-bottom {
    bottom: 3px;
    left: -12px;
    animation-delay: -2.5s;
}

.float-icon {
    background: #e4f4ff;
    color: #168dcb;
    border-radius: 12px;
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    font-size: 24px;
}

.float-icon.green {
    background: #e6f7ef;
    color: #218b67;
}

.floating b,.floating small {
    display: block;
}

.floating b {
    font-size: 13px;
}

.floating small {
    font-size: 11px;
    color: var(--muted);
}

.mock-label {
    position: absolute;
    right: 0;
    bottom: -13px;
    color: #607a8c;
    font-size: 11px;
}

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }

}

/* Преимущества */
.benefits {
    border-bottom: 1px solid var(--line);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    padding: 24px 0;
}

.benefit-grid div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0 17px;
    border-right: 1px solid var(--line);
    font-size: 14px;
    font-weight: 650;
}

.benefit-grid div:first-child {
    padding-left: 0;
}

.benefit-grid div:last-child {
    border: 0;
}

.benefit-grid b {
    color: var(--blue-dark);
    font-size: 12px;
}

/* Общие секции */
.section {
    padding-block: 90px;
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 42px;
}

.section-head h2, .final-inner h2 {
    font-size: clamp(32px, 4vw, 48px);
    letter-spacing: -.04em;
    line-height: 1.14;
    margin: 12px 0 15px;
}

.section-head p {
    font-size: 17px;
    color: var(--muted);
    margin-bottom: 0;
}

.features-grid,.reviews-grid,.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature,/* Отзывы */
.review {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    transition: transform .25s, box-shadow .25s;
}

.feature:hover,.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px #25597912;
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 53px;
    height: 53px;
    border-radius: 15px;
    background: #e7f5fe;
    color: var(--blue-dark);
    font-size: 26px;
    margin-bottom: 18px;
}

.feature h3,.step h3 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.feature p,.step p,.review p {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 0;
}

/* Галерея и установка */
.showcase,.install {
    background: var(--pale);
}

.gallery {
    max-width: 900px;
    margin-inline: auto;
}

.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
}

.tabs button {
    border: 1px solid #d3e5ef;
    border-radius: 30px;
    padding: 9px 19px;
    background: white;
    color: var(--muted);
    font-weight: 650;
}

.tabs button[aria-pressed=true] {
    background: var(--blue-dark);
    color: white;
    border-color: var(--blue-dark);
}

.gallery-frame {
    position: relative;
    padding: 10px;
    border: 1px solid #d5e6f0;
    border-radius: 18px;
    background: white;
    box-shadow: 0 20px 45px #2e5b771b;
}

.zoom {
    display: block;
    border: 0;
    padding: 0;
    background: none;
    width: 100%;
    cursor: zoom-in;
}

.zoom img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 43px;
    height: 43px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: white;
    color: var(--blue-dark);
    font-size: 30px;
    line-height: 1;
    box-shadow: 0 5px 20px #17344b22;
}

.prev {
    left: -22px;
}

.next {
    right: -22px;
}

.gallery-caption {
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    margin: 16px 0 0;
}

.video-panel {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    align-items: center;
    gap: 30px;
    margin: 42px auto 0;
    max-width: 900px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px;
}

.video-panel h3 {
    margin: 8px 0;
    font-size: 24px;
}

.video-panel p {
    color: var(--muted);
    margin: 0;
}

.video-wrap video {
    width: 100%;
    border-radius: 12px;
    background: #e4f0fa;
}

.review {
    display: flex;
    flex-direction: column;
}

.review-mark {
    color: var(--blue);
    font-size: 58px;
    font-family: Georgia,serif;
    line-height: 1;
}

.review p {
    flex: 1;
}

.review-source {
    margin-top: 24px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    font-size: 13px;
}

.review-source b,.review-source a {
    display: block;
}

.review-source a {
    margin-top: 4px;
}

.steps {
    gap: 24px;
}

.step {
    text-align: center;
    padding: 26px 20px;
}

.step > span {
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    width: 57px;
    height: 57px;
    border-radius: 50%;
    background: #d8eefc;
    color: var(--blue-dark);
    font-weight: 750;
    font-size: 20px;
}

.center {
    text-align: center;
    margin-top: 34px;
}

.faq {
    max-width: 820px;
    margin-inline: auto;
}

.faq details {
    border-bottom: 1px solid var(--line);
}

.faq summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 650;
    padding: 21px 0;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    color: var(--blue-dark);
    font-size: 25px;
    line-height: 1;
}

.faq details[open] summary::after {
    content: "−";
}

.faq details p {
    color: var(--muted);
    padding-right: 22px;
}

/* Финальная кнопка и подвал */
.final-cta {
    background: linear-gradient(130deg,#066fa7,#179ed7);
    color: white;
    padding: 75px 0;
    text-align: center;
}

.final-inner img {
    margin: 0 auto 24px;
    border: 2px solid #ffffff80;
    border-radius: 50%;
}

.final-inner p {
    color: #eefaff;
    font-size: 18px;
}

.btn-white {
    background: white;
    color: #096fa5;
}

.btn-white:hover {
    background: #e8f7ff;
}

.final-inner small {
    display: block;
    margin-top: 14px;
    color: #e4f5ff;
}

.footer {
    padding: 28px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
}

.footer-inner p {
    max-width: 500px;
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.footer-inner > a:last-child {
    font-size: 13px;
    white-space: nowrap;
}

/* Модальное окно */
dialog {
    width: min(1100px,94vw);
    border: 0;
    border-radius: 16px;
    padding: 18px;
    background: #fff;
    overflow: visible;
}

dialog::backdrop {
    background: #0d243bd9;
    backdrop-filter: blur(5px);
}

dialog img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.close {
    position: absolute;
    right: -8px;
    top: -15px;
    border: 0;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    font-size: 27px;
    color: var(--ink);
    box-shadow: 0 3px 12px #0003;
}

.mobile-cta {
    display: none;
}

/* Анимации при прокрутке */
.js .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s, transform .55s;
}

.js .reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Адаптивность */
@media (max-width: 900px) {
    .nav nav {
        gap: 15px;
    }

    .hero {
        padding: 65px 0;
    }

    .hero-grid {
        gap: 25px;
    }

    .hero .btn-main {
        font-size: 14px;
        padding: 15px;
    }

    .floating {
        padding: 9px;
    }

    .float-icon {
        width: 32px;
        height: 32px;
    }

    .floating small {
        font-size: 10px;
    }

    .benefit-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 15px;
    }

    .benefit-grid div {
        padding: 0;
        border: 0;
    }

    .features-grid,.reviews-grid {
        gap: 14px;
    }

    .feature,.review {
        padding: 21px;
    }

    .footer-inner {
        flex-wrap: wrap;
    }

}

@media (max-width: 700px) {
    .wrap {
        width: calc(100% - 36px);
    }

    .nav {
        height: 66px;
    }

    .nav .btn-small {
        display: none;
    }

    .menu {
        display: block;
    }

    .nav nav {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        flex-direction: column;
        border-bottom: 1px solid var(--line);
    }

    .nav nav.open {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero {
        padding: 45px 0 58px;
    }

    .hero h1 {
        font-size: clamp(42px, 11vw, 62px);
    }

    .hero .lead {
        font-size: 17px;
    }

    .hero .btn-main {
        width: 100%;
        max-width: 420px;
        font-size: 15px;
    }

    .hero-visual {
        padding-top: 42px;
    }

    .screen {
        transform: none;
    }

    .float-bottom {
        left: 0;
    }

    .mock-label {
        bottom: -20px;
    }

    .section {
        padding-block: 58px;
    }

    .section-head {
        margin-bottom: 28px;
    }

    .section-head p {
        font-size: 15px;
    }

    .features-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 12px;
    }

    .feature {
        padding: 18px;
    }

    .feature h3 {
        font-size: 17px;
    }

    .feature p {
        font-size: 14px;
    }

    .reviews-grid,.steps,.video-panel {
        grid-template-columns: 1fr;
    }

    .steps {
        gap: 0;
    }

    .step {
        padding: 15px;
    }

    .step > span {
        margin-bottom: 10px;
    }

    .gallery-frame {
        padding: 5px;
    }

    .arrow {
        width: 34px;
        height: 34px;
        font-size: 23px;
    }

    .prev {
        left: -12px;
    }

    .next {
        right: -12px;
    }

    .video-panel {
        padding: 20px;
        gap: 15px;
    }

    .footer-inner {
        display: grid;
        gap: 14px;
    }

    .footer {
        padding-bottom: 100px;
    }

    .mobile-cta {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9;
        background: #fffffff2;
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--line);
        padding: 10px 18px max(10px,env(safe-area-inset-bottom));
    }

    .mobile-cta .btn {
        width: 100%;
    }

    .final-cta {
        padding: 55px 0;
    }

}

@media (max-width: 360px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .benefit-grid {
        grid-template-columns: 1fr;
    }

    .hero .btn-main {
        font-size: 13px;
        gap: 8px;
    }

}

@media (prefers-reduced-motion:reduce) {
    *,*::before,*::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
    }

}

/* Единое оформление кнопок скачивания */
.download-btn {
    background: #087bb6;
    color: #fff;
    min-height: 54px;
    font-size: 17px;
    font-weight: 750;
    border-radius: 14px;
    box-shadow: 0 7px 0 #075c87, 0 12px 24px #087bb62b;
    transition: background .18s, transform .18s, box-shadow .18s;
}

.download-btn:hover {
    background: #066ba2;
    transform: translateY(-2px);
    box-shadow: 0 9px 0 #075c87, 0 16px 28px #087bb63d;
}

.download-btn:active {
    transform: translateY(5px);
    box-shadow: 0 2px 0 #075c87, 0 4px 10px #087bb622;
}

.download-icon {
    flex: none;
    width: 24px;
    height: 24px;
}

.nav .download-btn {
    min-height: 44px;
    padding: 10px 20px;
    font-size: 15px;
    box-shadow: 0 3px 0 #075c87;
}

.nav .download-icon {
    width: 20px;
    height: 20px;
}

.hero-download {
    max-width: 440px;
}

.hero-button {
    width: 100%;
    min-height: 86px;
    padding: 15px 24px;
    gap: 17px;
    text-align: left;
    font-size: clamp(23px, 2.45vw, 31px);
    line-height: 1.18;
}

.hero-button .download-icon {
    width: 35px;
    height: 35px;
}

.hero-button small {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-top: 6px;
    opacity: .95;
}

.hero-button .cta-arrow {
    margin-left: auto;
    font-size: 27px;
    transition: transform .2s;
}

.hero-button:hover .cta-arrow {
    transform: translateX(3px);
}

.download-note {
    text-align: center;
    margin: 15px 0 0;
    font-size: 12px;
    color: #526c7e;
}

.hero .trust {
    gap: 12px;
    font-size: 12px;
    margin-top: 20px;
}

.download-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 26px 30px;
    margin-top: 34px;
    border: 1px solid #d2e8f6;
    border-radius: 20px;
    background: #f1f8fd;
}

.showcase .download-band {
    background: #fff;
}

.download-band h3 {
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -.025em;
    margin: 0 0 6px;
}

.download-band p {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
}

.download-action {
    flex: none;
    text-align: center;
}

.download-action .btn {
    min-width: 230px;
}

.download-action small {
    display: block;
    margin-top: 13px;
    font-size: 11px;
    color: #526c7e;
}

.final-inner .download-btn {
    background: #fff;
    color: #076a9c;
    min-width: min(340px,100%);
    min-height: 68px;
    font-size: 22px;
    box-shadow: 0 6px 0 #b4dfef, 0 12px 30px #004a7650;
}

.final-inner .download-btn:hover {
    background: #e8f7ff;
}

.final-inner small {
    margin-top: 22px;
}

.mobile-cta small {
    display: block;
    text-align: center;
    font-size: 10px;
    color: #526c7e;
    margin-top: 8px;
}

@media (max-width:900px) {
    .nav {
        gap: 12px;
    }

    .nav .download-btn {
        padding-inline: 14px;
    }

}

@media (max-width:700px) {
    .hero {
        padding-top: 31px;
    }

    .hero h1 {
        margin-block: 15px;
    }

    .hero .lead {
        margin-bottom: 20px;
    }

    .hero-button {
        min-height: 78px;
        padding: 14px 17px;
        font-size: 24px;
    }

    .hero-button .download-icon {
        width: 29px;
        height: 29px;
    }

    .hero-button small {
        font-size: 12px;
    }

    .download-band {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 18px;
        padding: 22px 18px;
        margin-top: 26px;
    }

    .download-action .btn {
        width: 100%;
        min-width: 0;
    }

    .mobile-cta .download-btn {
        min-height: 49px;
        font-size: 15px;
        padding: 10px;
        gap: 9px;
        box-shadow: 0 3px 0 #075c87;
    }

    .footer {
        padding-bottom: 128px;
    }

}

@media (max-width:360px) {
    .hero-button {
        font-size: 20px;
        gap: 11px;
    }

    .hero-button .cta-arrow {
        font-size: 20px;
    }

}
