:root {
    --bg-top: #dff1ff;
    --bg-bottom: #6ab9ff;
    --surface: rgba(255, 255, 255, 0.86);
    --surface-line: rgba(36, 107, 254, 0.12);
    --text: #12315f;
    --muted: #5b78a7;
    --primary: #246bfe;
    --primary-dark: #1146bf;
    --content-width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-width: none;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 20rem),
        radial-gradient(circle at 85% 8%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 18rem),
        linear-gradient(180deg, var(--bg-top) 0%, #9cd3ff 46%, var(--bg-bottom) 100%);
    overflow-x: hidden;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08)),
        url("/static/bgs/1.png") center top / cover no-repeat;
    opacity: 0.24;
    pointer-events: none;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.tap-bounce {
    -webkit-tap-highlight-color: transparent;
}

.tap-bounce:focus-visible {
    outline: 2px solid rgba(36, 107, 254, 0.3);
    outline-offset: 3px;
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(var(--content-width), calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 48px;
}

.hero h1,
.details-section h2 {
    font-family: "Baloo 2", "Manrope", sans-serif;
}

.lang-switch,
.info-card {
    border: 1px solid var(--surface-line);
    background: var(--surface);
    backdrop-filter: blur(18px);
}

.lang-switch {
    display: inline-flex;
    padding: 4px;
    border-radius: 999px;
}

.lang-btn {
    min-width: 54px;
    border: 0;
    border-radius: 999px;
    padding: 10px 14px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-weight: 800;
    transition: transform 140ms ease, background 160ms ease, color 160ms ease;
}

.lang-btn.is-active {
    background: linear-gradient(180deg, #4f92ff 0%, var(--primary) 100%);
    color: #fff;
}

.lang-btn.tap-bounce.is-tapping {
    transform: scale(0.93);
}

.hero,
.details-section {
    margin-top: 40px;
}

.hero {
    display: grid;
    width: min(1040px, 100%);
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
    gap: 28px;
    align-items: center;
}

.hero-copy {
    padding: 26px 6px 26px 4px;
}

.hero-topline {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    grid-column: 1 / -1;
    width: 100%;
    margin-bottom: 16px;
    min-height: 128px;
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    transition: transform 140ms ease, filter 140ms ease;
}

.hero-brand.tap-bounce.is-tapping {
    transform: scale(0.96);
    filter: brightness(0.98);
}

.hero-brand-logo {
    width: clamp(150px, 18vw, 220px);
    height: auto;
    animation: loginLogoFloat 2.8s ease-in-out infinite;
    will-change: transform;
}

.hero-top-controls {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-lang-switch .lang-btn {
    min-width: 46px;
    padding: 8px 12px;
    font-size: 0.95rem;
}

.video-play-toggle {
    position: absolute;
    inset: 50% auto auto 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 160ms ease, opacity 160ms ease, visibility 160ms ease;
}

.video-play-toggle:hover {
    transform: translate(-50%, -50%) scale(1.04);
}

.video-play-toggle.tap-bounce.is-tapping {
    transform: translate(-50%, -50%) scale(0.94);
}

.video-play-toggle:focus-visible {
    outline: 2px solid rgba(36, 107, 254, 0.35);
    outline-offset: 4px;
}

.video-play-icon {
    display: block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 28px solid var(--primary);
}

.phone-screen.is-playing .video-play-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.eyebrow {
    margin: 0 0 8px;
    font-size: 0.78rem;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-dark);
    font-weight: 800;
}

.hero h1 {
    margin: 0;
    max-width: 10ch;
    font-size: clamp(2.8rem, 5.2vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: #0c3f97;
    text-wrap: balance;
}

.hero-text,
.section-text,
.module-copy p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.7;
}

.hero-text {
    max-width: 480px;
    margin: 12px 0 0;
    font-size: 0.96rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    margin-top: 24px;
}

.hero-actions .btn {
    min-width: 210px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 24px;
    border-radius: 18px;
    font-weight: 800;
    transition: transform 160ms ease, background 160ms ease;
}

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

.btn.tap-bounce.is-tapping {
    transform: translateY(0) scale(0.96);
}

.btn.primary {
    color: #fff;
    background: linear-gradient(180deg, #58a4ff 0%, var(--primary) 100%);
}

.btn.secondary {
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(17, 70, 191, 0.16);
}

.download-cta {
    position: relative;
    gap: 13px;
    background: linear-gradient(180deg, #ffffff, #f6faff);
    color: #1d2a53;
    font-weight: 700;
}

.download-cta::before {
    content: "";
    width: 28px;
    height: 28px;
    display: block;
    border-radius: 9px;
    background: url("/static/icons/ico.png") center / cover no-repeat;
    flex: 0 0 auto;
}

.hero-benefits {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    max-width: 430px;
}

.hero-benefit {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    padding: 8px 12px;
    border-radius: 18px;
    min-height: 42px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(17, 70, 191, 0.1);
    backdrop-filter: blur(10px);
    color: var(--primary-dark);
    font-size: 0.88rem;
    font-weight: 700;
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.97);
    transition:
        opacity 0.56s cubic-bezier(.22, .61, .36, 1),
        transform 0.56s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}

.hero-benefit.is-visible,
.hero-benefit.aos-animate {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.hero-benefit-icon {
    width: 24px;
    height: 34px;
    background: url("/static/promo/7.png") center / contain no-repeat;
    flex: 0 0 auto;
}

.hero-benefit-text {
    line-height: 1.25;
}

.hero-stage {
    position: relative;
    min-height: 760px;
    display: grid;
    place-items: center;
}

.floating-icon {
    position: absolute;
    display: grid;
    place-items: center;
    width: 128px;
    height: 128px;
    padding: 0;
    background: transparent;
    border: 0;
    animation: floatIcon 7.2s ease-in-out infinite;
    pointer-events: none;
}

.floating-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.floating-icon-left {
    top: 24%;
    left: -4%;
}

.floating-icon-top {
    top: -6%;
    right: 1%;
    animation-delay: -1.3s;

}

.floating-icon-right {
    top: 47%;
    right: -2%;
    animation-delay: -2.8s;
}

.floating-icon-bottom {
bottom: 17%;
    left: -2%;
    animation-delay: -4.1s;
}

.phone-shell {
    position: relative;
    width: min(100%, 390px);
    padding: 18px;
    border-radius: 46px;
    background: linear-gradient(145deg, rgba(23, 63, 155, 0.92), rgba(73, 153, 255, 0.98));
}

.phone-shell::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 38px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.phone-screen {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: linear-gradient(180deg, rgba(219, 238, 255, 0.95), rgba(240, 248, 255, 0.9));
}

.phone-video {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 19.5;
    object-fit: cover;
    background: transparent;
    cursor: pointer;
}

.details-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(1040px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.details-section h2 {
    margin: 4px 0 0;
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1;
    color: var(--primary-dark);
}

.info-card {
    border-radius: 32px;
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
        opacity 560ms ease-out,
        transform 560ms ease-out;
    transition-delay: var(--aos-delay, 0ms);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.modules-lead {
    padding: 30px 30px 34px;
}

.modules-intro {
    max-width: 760px;
}

.module-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 26px 28px 28px;
}

.module-icon {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.module-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    column-gap: 26px;
    row-gap: 10px;
    align-items: center;
}

.module-copy h3 {
    margin: 0 0 6px;
    grid-column: 1;
    font-size: 1.34rem;
    line-height: 1.14;
    color: var(--primary-dark);
}

.module-copy p {
    margin: 0;
    grid-column: 1;
    line-height: 1.55;
}

.module-preview {
    width: 100%;
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
    border-radius: 18px;
    object-fit: cover;
    align-self: stretch;
}

.site-footer {
    width: min(1040px, 100%);
    margin: 30px auto 0;
}

.legal-page-title {
    margin: 4px 0 0;
    font-family: "Baloo 2", "Manrope", sans-serif;
    font-size: clamp(1.9rem, 3vw, 2.9rem);
    line-height: 0.98;
    color: var(--primary-dark);
}

.legal-page-text,
.legal-page-list {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.legal-page-section h2 {
    margin: 0 0 12px;
    color: var(--primary-dark);
    font-size: 1.08rem;
    line-height: 1.2;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    width: 100%;
    padding: 18px 22px;
    border: 1px solid var(--surface-line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(18px);
}

.footer-link,
.legal-link {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(17, 70, 191, 0.14);
    background: transparent;
    color: var(--primary-dark);
    font-weight: 800;
    text-align: center;
    transition: transform 140ms ease, background 160ms ease, color 160ms ease;
}

.footer-link.tap-bounce.is-tapping,
.legal-link.tap-bounce.is-tapping {
    transform: scale(0.97);
}

.legal-page-list {
    margin: 0;
    padding-left: 18px;
}

.legal-page-body {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 20rem),
        radial-gradient(circle at 85% 8%, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 18rem),
        linear-gradient(180deg, var(--bg-top) 0%, #9cd3ff 46%, var(--bg-bottom) 100%);
}

.legal-page-shell {
    width: min(1040px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 48px;
}

.legal-page-card {
    border: 1px solid var(--surface-line);
    border-radius: 32px;
    padding: 28px 30px 34px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
}

.legal-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.legal-breadcrumbs a {
    color: var(--primary-dark);
    font-weight: 700;
}

.legal-page-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.legal-page-brand {
    font-weight: 800;
    color: var(--primary-dark);
}

.legal-page-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    width: min(420px, 100%);
}

.legal-page-text {
    margin: 14px 0 0;
    max-width: 70ch;
}

.legal-page-sections {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.legal-page-section {
    padding: 20px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 70, 191, 0.08);
}

.legal-page-section h2 {
    font-family: "Baloo 2", "Manrope", sans-serif;
    font-size: 1.5rem;
}

.legal-page-section p,
.legal-page-section li {
    color: var(--muted);
    line-height: 1.65;
}

.legal-page-section p {
    margin: 0;
}

.legal-page-section a {
    color: var(--primary-dark);
    font-weight: 700;
}

@keyframes loginLogoFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes floatIcon {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(-4deg) scale(1);
    }
    25% {
        transform: translate3d(6px, -12px, 0) rotate(3deg) scale(1.04);
    }
    50% {
        transform: translate3d(-4px, -20px, 0) rotate(-2deg) scale(1.08);
    }
    75% {
        transform: translate3d(8px, -10px, 0) rotate(4deg) scale(1.03);
    }
}

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

    .hero-topline {
        order: 0;
    }

    .hero-stage {
        order: 1;
    }

    .hero-copy {
        order: 2;
        padding-top: 0;
    }

    .hero-stage {
        min-height: 660px;
    }
}

@media (max-width: 820px) {
    .page-shell {
        width: min(100% - 20px, var(--content-width));
        padding-top: 14px;
    }

    .hero-copy {
        padding: 10px 0 0;
    }

    .hero-topline {
        margin-bottom: 12px;
        min-height: 110px;
    }

    .hero-brand-logo {
        width: 146px;
    }

    .module-copy {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    }

}

@media (max-width: 640px) {
    .hero,
    .details-section,
    .site-footer {
        width: 100%;
        justify-items: center;
    }

    .hero h1 {
        font-size: clamp(2.4rem, 13vw, 4rem);
        max-width: none;
    }

    .hero-copy {
        width: 100%;
        max-width: 100%;
        padding: 30px 30px 0 30px;
    }

    .details-section {
        padding: 0 30px;
    }

    .site-footer {
        padding: 0 30px;
    }

    .hero-topline {
        align-items: flex-start;
    }

    .hero-top-controls {
        left: 0;
        bottom: 0;
    }

    .hero-actions {
        flex-wrap: wrap;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        min-width: 0;
    }

    .hero-benefits {
        gap: 8px;
        margin-top: 16px;
        max-width: 100%;
    }

    .hero-benefit {
        width: 100%;
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 8px;
        padding: 8px 10px;
    }

    .hero-stage {
        width: 100%;
        min-height: 620px;
        padding-top: 20px;
    }

    .floating-icon {
        width: 102px;
        height: 102px;
    }

    .floating-icon-left {
        top: 27%;
        left: -3%;
    }

    .floating-icon-top {
top: -10px;
        right: 2%;
    }

    .floating-icon-right {
        top: 52%;
        right: -3%;
    }

    .floating-icon-bottom {
        bottom: 8%;
        left: -10px;
    }

    .phone-shell {
        width: min(100%, 289px);
        margin-left: auto;
        margin-right: auto;
        padding: 14px;
        border-radius: 38px;
    }

    .info-card {
        width: 100%;
        max-width: 100%;
    }

    .modules-lead {
        padding: 24px 20px 26px;
    }

    .details-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .module-card {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 22px 20px 24px;
    }

    .module-icon {
        width: 40px;
        height: 40px;
    }

    .module-copy {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .module-copy h3,
    .module-copy p,
    .module-preview {
        grid-column: auto;
        grid-row: auto;
    }

    .module-preview {
        margin-top: 2px;
    }

    .footer-links,
    .legal-page-card {
        padding: 24px 20px 26px;
    }

    .footer-links,
    .legal-page-card {
        border-radius: 28px;
    }

    .legal-page-shell {
        width: min(100% - 20px, var(--content-width));
        padding-top: 14px;
    }

    .legal-page-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .legal-page-links {
        width: 100%;
    }

    .legal-link {
        width: 100%;
    }

    .module-copy h3 {
        font-size: 1.22rem;
    }

    .phone-shell::before {
        inset: 10px;
        border-radius: 30px;
    }

    .phone-screen {
        border-radius: 26px;
    }
}
