* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-page-bg);
    color: var(--color-default);
    font-family: "Lato", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    font-size: 16px;
    line-height: 1.6;
}

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

.section {
    padding: 96px 0;
}

.section-light {
    background: var(--color-panel-bg);
}

.subtitle {
    margin-bottom: 14px;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.lead {
    color: var(--color-gray2);
    font-size: 19px;
    line-height: 1.75;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 16px;
    font-size: 15px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 16px 34px rgba(113, 71, 255, .25);
}

.btn-secondary {
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-primary);
}

.bx-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: var(--color-header-bg);
    border-bottom: 1px solid var(--color-border-light);
    backdrop-filter: blur(14px);
}

.bx-header .i-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
}

.bx-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
}

.bx-logo .i-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border-radius: 13px;
    background: var(--color-primary);
    box-shadow: 0 12px 24px rgba(113, 71, 255, .2);
}

.bx-logo .i-mark img {
    width: 42px;
    height: 42px;
}

.bx-logo .i-text {
    font-size: 20px;
}

.bx-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

.bx-nav a {
    color: var(--color-gray);
    font-size: 16px;
    font-weight: 700;
}

.bx-nav a:hover,
.bx-nav a.is-active {
    color: var(--color-primary);
}

.bx-nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-white);
}

.bx-nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: var(--color-dark);
    transition: opacity .2s ease, transform .2s ease;
}

.bx-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.bx-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.bx-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.bx-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 8%, rgba(113, 71, 255, .13), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f7f7fb 100%);
}

.bx-hero .row {
    min-height: 690px;
}

.bx-hero h1,
.bx-page-header h1 {
    max-width: 760px;
    font-size: 58px;
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: 0;
}

.bx-hero .lead {
    max-width: 650px;
    margin-top: 24px;
}

.bx-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.bx-hero-visual::before {
    content: "";
    position: absolute;
    top: 12%;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: var(--color-primary-soft);
}

.bx-hero-visual img {
    position: relative;
    width: min(390px, 78vw);
    border-radius: 34px;
    box-shadow: var(--shadow-default);
}

.bx-screen-link {
    display: block;
    cursor: zoom-in;
}

.bx-section-title {
    max-width: 760px;
    margin-bottom: 42px;
}

.bx-section-title h2,
.bx-text-section .i-title,
.bx-download h2 {
    color: var(--color-heading);
    font-size: 40px;
    font-weight: 900;
    line-height: 1.16;
}

.bx-feature {
    height: calc(100% - 30px);
    min-height: 238px;
    margin-bottom: 30px;
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: 18px;
    background: var(--color-white);
    box-shadow: 0 16px 36px rgba(18, 22, 37, .05);
}

.bx-feature .i-title {
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 900;
}

.bx-feature .i-text,
.bx-text-section .i-text,
.bx-download p,
.bx-footer p {
    color: var(--color-gray2);
    line-height: 1.75;
}

.bx-text-section {
    max-width: 760px;
}

.bx-text-section .i-text {
    margin-top: 20px;
    font-size: 18px;
}

.bx-screens {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
}

.bx-screens .bx-screen-link {
    border-radius: 26px;
}

.bx-screens img {
    border-radius: 26px;
    box-shadow: 0 18px 42px rgba(18, 22, 37, .14);
}

.bx-screens .bx-screen-link:nth-child(2) {
    transform: translateY(-32px);
}

.bx-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 42px;
    border: 1px solid var(--color-border);
    border-radius: 28px;
    background: var(--color-white);
    box-shadow: 0 20px 50px rgba(18, 22, 37, .07);
}

.bx-download p {
    max-width: 620px;
    margin-top: 14px;
    font-size: 18px;
}

.bx-store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.bx-store {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-width: 190px;
    min-height: 72px;
    padding: 13px 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0)),
        var(--color-dark);
    color: var(--color-white);
    box-shadow: 0 18px 34px rgba(18, 22, 37, .18);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}


.bx-store .i-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .1);
}

.bx-store svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.bx-store small {
    display: block;
    color: rgba(255, 255, 255, .68);
    font-size: 12px;
    font-weight: 800;
}

.bx-store strong {
    display: block;
    margin-top: 1px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.1;
}

.bx-store.is-disabled {
    cursor: default;
    opacity: .86;
}

.bx-store.is-disabled:hover {
    transform: none;
    box-shadow: 0 18px 34px rgba(18, 22, 37, .18);
}

.bx-footer {
    padding: 36px 0;
    border-top: 1px solid var(--color-border-light);
}

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

.bx-footer strong {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
}

.bx-footer .i-links {
    display: flex;
    gap: 22px;
}

.bx-footer .i-links a {
    color: var(--color-gray);
    font-size: 14px;
    font-weight: 800;
}

.bx-footer .i-links a:hover {
    color: var(--color-primary);
}

@media (max-width: 991px) {
    .section {
        padding: 72px 0;
    }

    .bx-hero .row {
        min-height: auto;
    }

    .bx-hero h1,
    .bx-page-header h1 {
        font-size: 44px;
    }

    .bx-hero-visual {
        margin-top: 54px;
        justify-content: flex-start;
    }

    .bx-download {
        display: block;
    }

    .bx-store-buttons {
        justify-content: flex-start;
        margin-top: 28px;
    }
}

@media (max-width: 767px) {
    body.is-mobile-menu-open {
        overflow: hidden;
    }

    .bx-header {
        z-index: 100;
    }

    .bx-header .i-inner {
        position: relative;
        z-index: 2;
        min-height: 68px;
    }

    .bx-logo {
        position: relative;
        z-index: 2;
    }

    .bx-nav-toggle {
        position: relative;
        z-index: 3;
        display: block;
    }

    .bx-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        padding: 104px 28px 36px;
        background: var(--color-white);
        overflow-y: auto;
    }

    .bx-nav.is-open {
        display: flex;
        flex-direction: column;
    }

    .bx-nav ul {
        display: flex;
        min-height: 0;
        flex: 1;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }

    .bx-nav li + li {
        margin-top: 0;
    }

    .bx-nav a {
        display: block;
        padding: 12px 0;
        color: var(--color-heading);
        font-size: 30px;
        font-weight: 900;
        line-height: 1.15;
    }

    .bx-hero h1,
    .bx-page-header h1 {
        font-size: 35px;
    }

    .lead {
        font-size: 17px;
    }

    .bx-section-title h2,
    .bx-text-section .i-title,
    .bx-download h2 {
        font-size: 30px;
    }

    .bx-screens {
        grid-template-columns: 1fr;
        margin-top: 36px;
    }

    .bx-screens img {
        width: min(320px, 84vw);
    }

    .bx-screens .bx-screen-link:nth-child(2) {
        transform: none;
    }

    .bx-download {
        padding: 28px;
        border-radius: 22px;
    }

    .bx-store {
        width: 100%;
    }

    .bx-footer .i-inner {
        display: block;
    }

    .bx-footer .i-links {
        flex-wrap: wrap;
        margin-top: 20px;
    }
}
