@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700;900&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
    --navy: #0B1026;
    --navy-2: #0F1733;
    --navy-3: #131C42;
    --purple: #6C2BD9;
    --cyan: #1ED6FF;
    --magenta: #FF4FD8;
    --green: #39FF88;
    --amber: #FFB547;
    --text: #DDE3FF;
    --text-dim: #97A0CC;
    --white: #F4F7FF;
    --grad-cta: linear-gradient(120deg, #6C2BD9 0%, #FF4FD8 60%, #FFB547 100%);
    --grad-cyan: linear-gradient(120deg, #1ED6FF 0%, #6C2BD9 100%);
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --maxw: 1200px;
    --header-h: 80px;
}

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

html.hide .preloader {
    display: none;
}

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--text);
    font-size: 18px;
    line-height: 1.6;
    overflow-x: hidden;
}

body.fixed {
    overflow: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--grad-cta);
    padding: 16px 34px;
    border-radius: 50px;
    border: 0;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
    box-shadow: 0 8px 30px rgba(108, 43, 217, .45), 0 0 0 1px rgba(255, 79, 216, .25) inset;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(255, 79, 216, .5);
    filter: brightness(1.08);
}

.btn--ghost {
    background: transparent;
    box-shadow: 0 0 0 2px rgba(30, 214, 255, .5) inset;
}

.btn--ghost:hover {
    box-shadow: 0 0 0 2px var(--cyan) inset;
}

.btn--sm {
    padding: 11px 24px;
    font-size: 13px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 16px;
    padding: 6px 14px;
    border: 1px solid rgba(30, 214, 255, .35);
    border-radius: 40px;
    background: rgba(30, 214, 255, .07);
}

.section__title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 22px;
}

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

.section:nth-child(even) {
    background: var(--navy-2);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 100;
    display: flex;
    align-items: center;
    transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}

.header.scrolled {
    background: rgba(11, 16, 38, .85);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(30, 214, 255, .15), 0 10px 40px rgba(0, 0, 0, .4);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo img {
    height: 48px;
    width: auto;
}

.nav__list {
    display: flex;
    gap: 30px;
}

.nav__list a {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-dim);
    position: relative;
    transition: color .25s ease;
}

.nav__list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: var(--grad-cyan);
    transition: width .25s ease;
}

.nav__list a:hover {
    color: var(--white);
}

.nav__list a:hover::after {
    width: 100%;
}

.burger-btn {
    display: none;
    background: transparent;
    border: 0;
    width: 42px;
    height: 42px;
    cursor: pointer;
    position: relative;
    z-index: 120;
}

.burger-btn span {
    display: block;
    width: 26px;
    height: 2px;
    margin: 6px auto;
    background: var(--cyan);
    transition: transform .3s ease, opacity .3s ease;
}

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

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

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

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 110;
    background: rgba(11, 16, 38, .97);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}

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

.mobile-menu__nav ul {
    display: flex;
    flex-direction: column;
    gap: 28px;
    text-align: center;
}

.mobile-menu__nav a {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
}

.mobile-menu__nav a:hover {
    color: var(--cyan);
}

.menu-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 46px;
    height: 46px;
    background: transparent;
    border: 1px solid rgba(30, 214, 255, .35);
    border-radius: 50%;
    cursor: pointer;
    transition: border-color .25s ease, transform .25s ease;
}

.menu-close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 2px;
    background: var(--cyan);
}

.menu-close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-close:hover {
    border-color: var(--cyan);
    transform: rotate(90deg);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 60px) 0 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: url('../img/hero-bg.webp') center/cover no-repeat;
    opacity: .35;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(108, 43, 217, .35), transparent 55%),
    linear-gradient(180deg, rgba(11, 16, 38, .65) 0%, rgba(11, 16, 38, .95) 100%);
    z-index: 1;
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 50px;
}

.hero__title {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: clamp(34px, 5.2vw, 62px);
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 26px;
    text-shadow: 0 0 40px rgba(108, 43, 217, .6);
}

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

.hero__text p {
    margin-bottom: 14px;
}

.hero__visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.hero__visual::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 79, 216, .45), transparent 70%);
    filter: blur(40px);
    z-index: -1;
}

.hero__char {
    width: 100%;
    max-width: 420px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6));
    animation: float 5s ease-in-out infinite;
}

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

.hero__content .btn {
    position: relative;
    animation: ctaPulse 2.2s ease-in-out infinite;
    background-size: 200% 200%;
}

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

@keyframes ctaPulse {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(108, 43, 217, .45), 0 0 0 0 rgba(255, 79, 216, .55);
        background-position: 0% 50%;
    }
    50% {
        box-shadow: 0 12px 38px rgba(255, 79, 216, .5), 0 0 0 14px rgba(255, 79, 216, 0);
        background-position: 100% 50%;
    }
}

/* ===== Split sections ===== */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 64px;
}

.split--reverse .split__media {
    order: 2;
}

.split__media {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
    border: 1px solid rgba(30, 214, 255, .2);
}

.split__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(108, 43, 217, .15), transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.split__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lead {
    font-size: 21px;
    color: var(--cyan);
    font-weight: 600;
    margin-bottom: 16px;
}

.split__content p {
    margin-bottom: 14px;
}

.muted {
    color: var(--text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-top: 8px;
}

.feature-list {
    margin: 16px 0 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 12px;
    font-weight: 500;
    transition: border-color .25s ease, transform .25s ease;
}

.feature-list li:hover {
    border-color: rgba(30, 214, 255, .5);
    transform: translateX(6px);
}

.feature-list__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 20px;
    color: var(--navy);
    background: var(--grad-cyan);
    box-shadow: 0 0 18px rgba(30, 214, 255, .4);
}

.accent-line {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 18px;
    color: var(--white);
    padding-left: 18px;
    border-left: 3px solid var(--magenta);
    margin-top: 8px;
}

/* ===== FAQ ===== */
.section__head {
    text-align: center;
    margin-bottom: 50px;
}

.faq__list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq__item {
    display: flex;
    gap: 24px;
    padding: 26px 30px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.faq__item:hover {
    border-color: rgba(255, 79, 216, .45);
    background: rgba(108, 43, 217, .08);
    transform: translateY(-3px);
}

.faq__num {
    font-family: var(--font-head);
    font-weight: 900;
    font-size: 26px;
    color: transparent;
    -webkit-text-stroke: 1px var(--cyan);
    line-height: 1;
    flex-shrink: 0;
}

.faq__body h3 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 19px;
    color: var(--white);
    margin-bottom: 8px;
}

.faq__body p {
    color: var(--text-dim);
    font-size: 17px;
}

/* ===== Contact ===== */
.contact {
    text-align: center;
}

.contact::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(108, 43, 217, .25), transparent 60%);
    pointer-events: none;
}

.contact__inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.contact__text {
    color: var(--text);
    margin-bottom: 32px;
    font-size: 19px;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    padding: 60px 0 40px;
    overflow: hidden;
    background: var(--navy-3);
}

.footer__bg {
    position: absolute;
    inset: 0;
    background: url('../img/footer-bg.webp') center/cover no-repeat;
    opacity: .12;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--navy) 0%, rgba(19, 28, 66, .9) 100%);
}

.footer__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__brand {
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.footer__copy {
    color: var(--text-dim);
    font-size: 15px;
}

.footer__links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer__links a {
    color: var(--text-dim);
    font-weight: 500;
    transition: color .25s ease;
}

.footer__links a:hover {
    color: var(--cyan);
}

.footer__links .sep {
    color: rgba(255, 255, 255, .2);
}

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

.legal-content {
    max-width: 860px;
    margin: 0 auto;
}

.legal-content h1 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(30px, 4vw, 46px);
    color: var(--white);
    margin-bottom: 30px;
}

.legal-content h3 {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 21px;
    color: var(--cyan);
    margin: 34px 0 12px;
}

.legal-content p {
    margin-bottom: 14px;
    color: var(--text-dim);
}

.legal-content ol {
    margin: 0 0 16px 22px;
    color: var(--text-dim);
}

.legal-content ol li {
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--cyan);
}

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

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

    .burger-btn {
        display: block;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

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

    .hero__visual {
        order: -1;
        width: 70%;
        margin: 0 auto
    }

    .hero__char {
        max-width: 320px;
    }

    .split {
        gap: 40px;
    }
}

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

    .section {
        padding: 80px 0;
    }

    .split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .split--reverse .split__media {
        order: -1;
    }

    .split__media {
        order: -1;
        max-width: 340px;
        margin: 0 auto;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }
    .hero {
        padding: calc(var(--header-h) + 30px) 0 80px;
    }
}

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

    .hero__title {
        font-size: 32px;
    }

    .split__media {
        max-width: 280px;
    }

    .btn {
        width: 100%;
    }

    .faq__item {
        flex-direction: column;
        gap: 10px;
        padding: 22px;
    }

    .contact__inner .btn {
        width: auto;
    }
}
