@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@500;600;700;800&family=Nunito:wght@400;600;700&display=swap');

:root {
    --bg: #0b0f2b;
    --bg-alt: #101642;
    --card: #182155;
    --card-2: #1d2765;
    --line: rgba(255, 255, 255, .09);
    --text: #e9ecff;
    --muted: #99a4d8;
    --accent: #ffb020;
    --accent-2: #ff3d8b;
    --accent-3: #2fd8ff;
    --grad: linear-gradient(135deg, #ffc247 0%, #ffb020 40%, #ff3d8b 100%);
    --font-head: 'Baloo 2', 'Trebuchet MS', sans-serif;
    --font-body: 'Nunito', 'Helvetica Neue', Arial, sans-serif;
    --header-h: 76px;
    --radius: 22px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html:not(.hide) body {
    overflow: hidden;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

body.fixed {
    overflow: hidden;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3 {
    font-family: var(--font-head);
    font-weight: 800;
    line-height: 1.15;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
}

.preloader img {
    width: 64px;
    height: 64px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border: 0;
    border-radius: 100px;
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .3px;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s, filter .25s;
}

.btn--grad {
    background: var(--grad);
    color: #1b0f00;
    box-shadow: 0 12px 28px rgba(255, 61, 139, .28);
}

.btn--grad:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(255, 61, 139, .38);
}

.btn--lg {
    padding: 18px 42px;
    font-size: 20px;
}

@keyframes levitate {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.btn--float {
    animation: levitate 3s ease-in-out infinite;
}

.btn--float:hover {
    animation-play-state: paused;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--header-h);
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

.header.scrolled {
    background: rgba(11, 15, 43, .88);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 var(--line);
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

.logo__text {
    font-family: var(--font-head);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .2px;
}

.nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
}

.nav a {
    position: relative;
    font-weight: 700;
    font-size: 16px;
    color: var(--muted);
    transition: color .25s;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -6px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
    transition: right .25s;
}

.nav a:hover {
    color: var(--text);
}

.nav a:hover::after {
    right: 0;
}

.burger-btn {
    display: none;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    margin-left: auto;
}

.burger-btn span {
    display: block;
    height: 3px;
    width: 26px;
    margin: 0 auto;
    border-radius: 3px;
    background: var(--text);
    transition: transform .3s, opacity .3s;
}

.burger-btn.act span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.burger-btn.act span:nth-child(2) {
    opacity: 0;
}

.burger-btn.act span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

#mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 11, 33, .97);
    backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

#mobile-menu.opened {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    text-align: center;
}

.mobile-nav a.nav-link {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
}

.mobile-nav .btn {
    margin-top: 10px;
}

.phone {
    position: relative;
    width: 300px;
    max-width: 100%;
    padding: 13px;
    border-radius: 46px;
    background: linear-gradient(150deg, #3b4487 0%, #171d47 45%, #2b336d 100%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .07) inset, 0 30px 70px rgba(0, 0, 0, .55);
}

.phone::before,
.phone::after {
    content: '';
    position: absolute;
    right: -3px;
    width: 3px;
    border-radius: 3px;
    background: #3d4894;
}

.phone::before {
    top: 120px;
    height: 56px;
}

.phone::after {
    top: 190px;
    height: 34px;
}

.phone__notch {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 82px;
    height: 9px;
    border-radius: 100px;
    background: rgba(0, 0, 0, .55);
}

.phone__screen {
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    background: #050716;
}

.phone__screen img {
    width: 100%;
    height: auto;
}

.phone--sm {
    width: 240px;
    border-radius: 38px;
    padding: 11px;
}

.phone--sm .phone__screen {
    border-radius: 28px;
}

.hero__media {
    transform: rotate(-3deg);
}

.final .split__media {
    transform: rotate(3deg);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-h) + 80px) 0 100px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -240px;
    left: -180px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 176, 32, .20), transparent 68%);
}

.hero::after {
    content: '';
    position: absolute;
    right: -220px;
    bottom: -300px;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 61, 139, .22), transparent 68%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero__content {
    flex: 1 1 auto;
}

.hero__title {
    font-size: clamp(42px, 6vw, 70px);
    margin-bottom: 22px;
}

.hero__lead {
    font-size: 20px;
    max-width: 560px;
    margin-bottom: 14px;
}

.hero__text {
    color: var(--muted);
    max-width: 540px;
    margin-bottom: 34px;
}

.hero__media {
    flex: 0 0 auto;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
}

.pill {
    padding: 8px 18px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    font-size: 15px;
    font-weight: 700;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pillIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes phoneIn {
    from {
        opacity: 0;
        transform: translateY(46px) scale(.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes orbPulse {
    0%, 100% {
        opacity: .75;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.12);
    }
}

.hero__title {
    animation: fadeUp .8s ease-out .9s both;
}

.hero__lead {
    animation: fadeUp .8s ease-out 1s both;
}

.hero__text {
    animation: fadeUp .8s ease-out 1.1s both;
}

.hero .btn--float {
    animation: fadeIn .7s ease-out 1.2s both, levitate 3s ease-in-out 1.9s infinite;
}

.hero .btn--float:hover {
    animation-play-state: paused;
}

.pill {
    animation: pillIn .6s ease-out both;
}

.pill:nth-child(1) { animation-delay: 1.3s; }
.pill:nth-child(2) { animation-delay: 1.38s; }
.pill:nth-child(3) { animation-delay: 1.46s; }
.pill:nth-child(4) { animation-delay: 1.54s; }

.hero__media .phone {
    animation: phoneIn 1s cubic-bezier(.2, .8, .2, 1) .95s both, phoneFloat 6s ease-in-out 1.95s infinite;
}

.hero::before,
.hero::after {
    animation: orbPulse 9s ease-in-out infinite;
}

.hero::after {
    animation-delay: -4.5s;
}

@media (prefers-reduced-motion: reduce) {
    .hero__title,
    .hero__lead,
    .hero__text,
    .hero .btn--float,
    .pill,
    .hero__media .phone,
    .hero::before,
    .hero::after {
        animation: none;
    }
}

.section {
    position: relative;
    padding: 100px 0;
}

.section--alt {
    background: var(--bg-alt);
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--accent);
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.section__title {
    font-size: clamp(30px, 3.6vw, 44px);
    margin-bottom: 22px;
}

.section__head {
    max-width: 780px;
    margin-bottom: 54px;
}

.section__head p {
    color: var(--muted);
    margin-bottom: 14px;
}

.split {
    display: flex;
    align-items: center;
    gap: 70px;
}

.split--rev {
    flex-direction: row-reverse;
}

.split__media {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.split__content {
    flex: 1 1 auto;
}

.split__content p {
    color: var(--muted);
    margin-bottom: 14px;
}

.split__content .btn {
    margin-top: 26px;
}

.minor-title {
    margin: 30px 0 16px;
    font-size: 21px;
    font-weight: 700;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: var(--muted);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 12px;
    border-radius: 4px;
    background: var(--grad);
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

.card {
    flex: 0 1 calc(33.333% - 15px);
    padding: 30px 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(160deg, var(--card) 0%, var(--card-2) 100%);
    transition: transform .3s, border-color .3s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 176, 32, .45);
}

.card__num {
    display: block;
    margin-bottom: 14px;
    font-family: var(--font-head);
    font-size: 30px;
    font-weight: 800;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card p {
    font-weight: 600;
}

.shots {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 64px;
}

.specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.specs li {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
}

.specs span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.specs b {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 700;
}

.final {
    position: relative;
    overflow: hidden;
}

.final::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -420px;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 216, 255, .16), transparent 66%);
}

.final .container {
    position: relative;
    z-index: 1;
}

.footer {
    border-top: 1px solid var(--line);
    background: var(--bg-alt);
    padding: 64px 0 28px;
}

.footer__inner {
    display: flex;
    gap: 60px;
}

.footer__brand {
    flex: 1 1 40%;
}

.footer__brand p {
    margin-top: 18px;
    max-width: 380px;
    color: var(--muted);
    font-size: 16px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__nav a {
    color: var(--muted);
    font-weight: 600;
    transition: color .25s;
}

.footer__nav a:hover {
    color: var(--accent);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__contact span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.footer__contact a {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 700;
    color: var(--accent);
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 30px;
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.footer__bottom p {
    color: var(--muted);
    font-size: 15px;
}

.footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.footer__legal a {
    color: var(--muted);
    font-size: 15px;
    font-weight: 600;
    transition: color .25s;
}

.footer__legal a:hover {
    color: var(--accent);
}

.legal-page {
    padding: calc(var(--header-h) + 70px) 0 90px;
}

.legal-content h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 30px;
}

.legal-content h3 {
    margin: 34px 0 14px;
    font-size: 22px;
    color: var(--accent);
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--muted);
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 16px 22px;
    color: var(--muted);
}

.legal-content ul li,
.legal-content ol li {
    margin-bottom: 8px;
    list-style: disc;
}

.legal-content ol li {
    list-style: decimal;
}

.legal-content li p {
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--text);
}

.legal-content .name,
.legal-content .app-domain,
.legal-content .domain,
.legal-content .date {
    color: var(--text);
    font-weight: 700;
}

.legal-content a .domain {
    color: inherit;
}

.legal-content a {
    color: var(--accent-3);
    word-break: break-word;
}

.legal-content a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .nav {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    .hero {
        padding: calc(var(--header-h) + 56px) 0 80px;
    }

    .hero__inner,
    .split,
    .split--rev {
        flex-direction: column;
        gap: 48px;
        text-align: center;
    }

    .hero__lead,
    .hero__text {
        margin-left: auto;
        margin-right: auto;
    }

    .pills {
        justify-content: center;
    }

    .feature-list {
        display: inline-block;
        text-align: left;
    }

    .section__head {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .footer__inner {
        flex-direction: column;
        gap: 36px;
    }

    .footer__brand p {
        max-width: none;
    }

    .footer__nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card {
        flex: 0 1 calc(50% - 11px);
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .section {
        padding: 72px 0;
    }

    .hero__lead {
        font-size: 18px;
    }

    .shots {
        gap: 22px;
    }

    .phone--sm {
        width: 200px;
    }

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

@media (max-width: 640px) {
    .container {
        padding: 0 18px;
    }

    .logo img {
        width: 36px;
        height: 36px;
    }

    .logo__text {
        font-size: 18px;
    }

    .phone {
        width: 260px;
        padding: 11px;
        border-radius: 40px;
    }

    .phone__screen {
        border-radius: 30px;
    }

    .hero__media,
    .final .split__media {
        transform: none;
    }

    .shots {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .phone--sm {
        width: 240px;
    }

    main .btn {
        width: 100%;
    }

    .btn--lg {
        padding: 15px 30px;
        font-size: 18px;
    }

    .mobile-nav a.nav-link {
        font-size: 24px;
    }

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

    .footer__bottom {
        justify-content: center;
        text-align: center;
    }

    .footer__legal {
        justify-content: center;
    }

    .card {
        flex: 1 1 100%;
    }
}
