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

:root {
    --graphite: #242424;
    --graphite-dark: #111111;

    --text: #151515;
    --muted: #777777;

    --border: #e8e8e8;

    --ozon: #008cff;
    --ozon-light: #63b7ff;

    --wb: #917cff;
    --wb-light: #ff7cfb;

    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow: hidden;

    color: var(--text);

    background: #fff;
}


/* =========================================================
   NAVIGATION
========================================================= */

nav {
    position: fixed;

    top: 24px;
    left: 50%;

    transform: translateX(-50%);

    width: calc(100% - 60px);
    max-width: 1180px;

    height: 72px;

    padding: 0 28px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(255,255,255,.78);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    border: 1px solid rgba(0,0,0,.07);

    border-radius: 20px;

    box-shadow:
        0 15px 50px rgba(0,0,0,.06);

    z-index: 50;
}

.logo {
    font-size: 20px;
    font-weight: 800;

    letter-spacing: -.7px;

    color: #171717;
}

.logo span {
    color: #777;
}

.links {
    display: flex;
    align-items: center;
    gap: 34px;
}

.links a {
    position: relative;

    text-decoration: none;

    color: #666;

    font-size: 14px;
    font-weight: 500;

    transition: .25s ease;
}

.links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: linear-gradient(135deg, #a4b4db 0%, #c9d5f2 100%);

    transition: .25s ease;
}

.links a:hover {
    color: #111;
}

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


/* =========================================================
   BACKGROUND
========================================================= */

.geometry {
    position: fixed;

    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: 0;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(0,140,255,.055),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 75%,
            rgba(110,70,255,.055),
            transparent 32%
        ),
        #fff;
}

/* =========================================================
   HERO LOGO
========================================================= */

.hero-logo {
    width: 60px;
    height: 60px;

    margin: 0 auto 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #c56cb996;

    position: relative;

    animation: logoFloat 4s ease-in-out infinite;
}

.hero-logo svg {
    width: 85px;
    height: 85px;

    stroke-width: 1.8;
}

@keyframes logoFloat {

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

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

}
/* =========================================================
   AMBIENT LIGHT
========================================================= */

.ambient {
    position: absolute;

    border-radius: 50%;

    filter: blur(90px);

    opacity: .6;

    animation:
        ambientMove 18s ease-in-out infinite alternate;
}

.ambient-1 {
    width: 450px;
    height: 450px;

    left: -180px;
    top: 15%;

    background: rgba(0,145,255,.10);
}

.ambient-2 {
    width: 520px;
    height: 520px;

    right: -220px;
    top: 0;

    background: rgba(100,75,255,.09);

    animation-delay: 3s;
}

.ambient-3 {
    width: 400px;
    height: 400px;

    left: 42%;
    bottom: -230px;

    background: rgba(0,170,255,.055);

    animation-delay: 7s;
}

@keyframes ambientMove {

    0% {
        transform: translate(0,0) scale(1);
    }

    50% {
        transform: translate(70px,-40px) scale(1.12);
    }

    100% {
        transform: translate(-40px,60px) scale(.95);
    }
}


/* =========================================================
   GRID
========================================================= */

.grid {
    position: absolute;

    inset: -100px;

    background-image:
        linear-gradient(
            rgba(0,0,0,.024) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0,0,0,.024) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black 0%,
            transparent 70%
        );

    -webkit-mask-image:
        radial-gradient(
            ellipse at center,
            black 0%,
            transparent 70%
        );

    animation: gridMove 28s linear infinite;
}

@keyframes gridMove {

    from {
        transform: translate(0,0);
    }

    to {
        transform: translate(70px,70px);
    }
}


/* =========================================================
   TRANSPARENT OZON / WB TEXT
========================================================= */

.brand-text {
    position: absolute;

    font-weight: 800;

    line-height: .8;

    letter-spacing: -12px;

    white-space: nowrap;

    user-select: none;

    color: transparent;

    -webkit-text-stroke: 1px rgba(0,0,0,.055);

    opacity: .8;

    animation:
        brandFloat 22s ease-in-out infinite alternate;
}

.brand-ozon {
    font-size: clamp(150px,22vw,330px);

    left: -40px;
    top: 13%;

    transform: rotate(-8deg);
}

.brand-wb {
    font-size: clamp(180px,27vw,400px);

    right: -100px;
    bottom: 4%;

    transform: rotate(8deg);

    -webkit-text-stroke:
        1px rgba(110,75,255,.07);

    animation-delay: 4s;
}

.brand-ozon-2 {
    font-size: 130px;

    right: 14%;
    top: 16%;

    opacity: .25;

    -webkit-text-stroke:
        1px rgba(0,140,255,.06);

    animation-delay: 8s;
}

@keyframes brandFloat {

    0% {
        transform:
            translate3d(0,0,0)
            rotate(-8deg);
    }

    50% {
        transform:
            translate3d(35px,-25px,0)
            rotate(-5deg);
    }

    100% {
        transform:
            translate3d(-20px,35px,0)
            rotate(-10deg);
    }
}


/* =========================================================
   FIGURES
========================================================= */

.shape {
    position: absolute;

    pointer-events: none;
}


/* CIRCLES */

.circle {
    border-radius: 50%;

    border: 1px solid rgba(0,0,0,.07);

    background:
        radial-gradient(
            circle at 35% 30%,
            rgba(255,255,255,.8),
            rgba(0,0,0,.025)
        );

    box-shadow:
        0 30px 80px rgba(0,0,0,.04);

    animation:
        shapeFloat 15s ease-in-out infinite alternate;
}

.circle-1 {
    width: 180px;
    height: 180px;

    right: 27%;
    top: 14%;
}

.circle-2 {
    width: 110px;
    height: 110px;

    left: 17%;
    bottom: 19%;

    animation-delay: 3s;
}


/* RINGS */

.ring {
    border-radius: 50%;

    border: 1px solid rgba(0,0,0,.08);

    animation:
        ringRotate 25s linear infinite;
}

.ring::before {
    content: "";

    position: absolute;

    inset: 14px;

    border-radius: 50%;

    border: 1px dashed rgba(0,130,255,.12);
}

.ring-1 {
    width: 260px;
    height: 260px;

    left: -90px;
    top: 55%;
}

.ring-2 {
    width: 190px;
    height: 190px;

    right: 5%;
    top: 28%;

    animation-direction: reverse;

    animation-duration: 32s;
}

@keyframes ringRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* SQUARES */

.square {
    width: 130px;
    height: 130px;

    border: 1px solid rgba(0,0,0,.065);

    background:
        linear-gradient(
            135deg,
            rgba(0,145,255,.035),
            rgba(110,70,255,.015)
        );

    transform: rotate(35deg);

    animation:
        squareFloat 17s ease-in-out infinite alternate;
}

.square-1 {
    right: 15%;
    top: 42%;
}

.square-2 {
    width: 75px;
    height: 75px;

    left: 10%;
    top: 20%;

    animation-delay: 5s;
}

@keyframes squareFloat {

    0% {
        transform:
            translate(0,0)
            rotate(35deg);
    }

    50% {
        transform:
            translate(30px,-30px)
            rotate(65deg);
    }

    100% {
        transform:
            translate(-20px,30px)
            rotate(100deg);
    }
}


/* =========================================================
   LIGHT ORBS
========================================================= */

.orb {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 0 0 5px rgba(0,130,255,.04),
        0 0 25px rgba(0,130,255,.22);

    animation:
        orbMove 10s ease-in-out infinite alternate;
}

.orb-1 {
    left: 27%;
    top: 23%;
}

.orb-2 {
    right: 31%;
    bottom: 25%;

    animation-delay: 4s;

    box-shadow:
        0 0 0 5px rgba(110,70,255,.04),
        0 0 25px rgba(110,70,255,.2);
}

@keyframes orbMove {

    0% {
        transform: translate(0,0);
        opacity: .3;
    }

    50% {
        transform: translate(50px,-30px);
        opacity: 1;
    }

    100% {
        transform: translate(-20px,40px);
        opacity: .4;
    }
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    position: relative;

    padding: 120px 20px 80px;

    z-index: 2;
}

.content {
    position: relative;

    z-index: 5;

    max-width: 900px;
}


/* =========================================================
   BADGE
========================================================= */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border-radius: 50px;
    background: rgb(255 255 255 / 7%);
    border: 1px solid rgba(0, 0, 0, .08);
    color: #555;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .045);
    backdrop-filter: blur(15px);
}

.badge::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--ozon),
            var(--wb)
        );

    box-shadow:
        0 0 12px rgba(0,130,255,.35);
}


/* =========================================================
   TITLE
========================================================= */

h1 {
    font-size: clamp(52px,8vw,88px);

    line-height: .98;

    letter-spacing: -6px;

    font-weight: 800;

    color: #111111bd;
}

h1 span {
    display: inline-block;
}

h1 span:first-of-type {
    background: linear-gradient(135deg, #5faeff, #5886f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 span:last-of-type {
    background:
        linear-gradient(
            135deg,
            #8f7afb,
            #ff70df
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 i {
    font-style: normal;

    color: #b7b7b7;

    font-weight: 400;

    margin: 0 5px;
}


/* =========================================================
   SUBTITLE
========================================================= */

.subtitle {
    margin-top: 28px;

    font-size: 18px;

    line-height: 1.65;

    color: #777;

    font-weight: 400;
}


/* =========================================================
   BUTTON
========================================================= */

.buttons {
    margin-top: 42px;

    display: flex;

    justify-content: center;

    gap: 15px;
}

.btn {
    border: none;

    outline: none;

    padding: 16px 46px;

    border-radius: 14px;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.login {
    background: linear-gradient(135deg, #9aa0d9, #b6c6ff);
    color: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
}

.login:hover {
    background: #9aa0d9;

    transform: translateY(-3px);

    box-shadow:
        0 20px 45px rgba(0,0,0,.25);
}

.login:active {
    transform: translateY(0);
}


/* =========================================================
   MODAL
========================================================= */

.modal-overlay {
    position: fixed;

    inset: 0;

    background:
        rgba(10,10,10,.38);

    backdrop-filter: blur(12px);

    -webkit-backdrop-filter: blur(12px);

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    z-index: 100;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    width: 100%;

    max-width: 410px;

    background:
        rgba(255,255,255,.97);

    padding: 34px;

    border-radius: 24px;

    border: 1px solid rgba(0,0,0,.08);

    box-shadow:
        0 35px 100px rgba(0,0,0,.18);

    position: relative;

    animation:
        modalShow .25s ease;
}

@keyframes modalShow {

    from {
        opacity: 0;

        transform:
            translateY(15px)
            scale(.98);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}

.modal h2 {
    margin-bottom: 22px;

    font-size: 25px;

    line-height: 1.2;

    font-weight: 700;

    text-align: center;

    color: #171717;
}

.modal form {
    display: flex;

    flex-direction: column;

    gap: 14px;
}


/* INPUT */

.modal input {
    width: 100%;

    padding: 14px 16px;

    border: 1px solid #e2e2e2;

    border-radius: 12px;

    background: #fafafa;

    color: #171717;

    font-size: 14px;

    outline: none;

    transition:
        border .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.modal input::placeholder {
    color: #999;
}

.modal input:focus {
    background: #fff;

    border-color: #444;

    box-shadow:
        0 0 0 3px rgba(0,0,0,.06);
}


/* SUBMIT */

.modal .submit-btn {
    margin-top: 5px;
    background: linear-gradient(135deg, #8ea3d7, #bea6dd);
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .14);
}

.modal .submit-btn:hover {
    background: #8ea3d7;

    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(0,0,0,.2);
}


/* LINKS */

.toggle-auth {
    text-align: center;

    margin-top: 7px;

    font-size: 13px;

    color: #777;

    cursor: pointer;
}

.toggle-auth span {
    color: #222;

    font-weight: 600;
}

.toggle-auth:hover span {
    text-decoration: underline;
}

.forgot-pass {
    text-align: right;

    font-size: 12px;

    color: #888;

    cursor: pointer;

    margin-top: -3px;
}

.forgot-pass:hover {
    color: #222;
}


/* CLOSE */

.close-modal {
    position: absolute;

    top: 17px;
    right: 20px;

    width: 32px;
    height: 32px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 22px;

    line-height: 1;

    color: #999;

    cursor: pointer;

    transition: .2s ease;
}

.close-modal:hover {
    background: #f2f2f2;

    color: #222;
}


/* =========================================================
   ALERTS
========================================================= */

.error-msg {
    background: #faf3f3;

    color: #9a3030;

    padding: 11px 13px;

    border-radius: 11px;

    text-align: center;

    font-size: 13px;

    margin-bottom: 16px;

    border: 1px solid #f0d8d8;
}

.success-msg {
    background: #f2f7f3;

    color: #356b48;

    padding: 11px 13px;

    border-radius: 11px;

    text-align: center;

    font-size: 13px;

    margin-bottom: 16px;

    border: 1px solid #dcebdd;
}
/* ICON */

h1 .title-icon {
    width: 48px;
    height: 48px;

    color: #826afb;

    stroke-width: 2;

    display: inline-block;

    vertical-align: middle;

    margin-right: 8px;

    position: relative;

    top: -5px;
}


/* & */

h1 .ampersand {
    font-style: normal;

    color: #b7b7b7;

    font-weight: 400;

    margin: 0 5px;
}


/* TYPEWRITER */

.typewriter {
    min-height: 60px;
}


/* CURSOR */

.typing-cursor {
    display: inline-block;

    width: 2px;
    height: 21px;

    margin-left: 5px;

    vertical-align: -3px;

    background: #777;

    animation: typingCursorBlink .7s infinite;
}


@keyframes typingCursorBlink {

    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0;
    }

}


/* MOBILE */

@media (max-width: 700px) {

    h1 .title-icon {
        width: 32px;
        height: 32px;

        margin-right: 4px;

        top: -3px;
    }

    .typing-cursor {
        height: 18px;
    }

}

/* =========================================================
   FOOTER
========================================================= */

footer {
    position: fixed;

    bottom: 0;

    width: 100%;

    padding: 20px;

    text-align: center;

    color: #aaa;

    font-size: 12px;

    z-index: 5;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    nav {
        top: 14px;

        width: calc(100% - 28px);

        height: 62px;

        padding: 0 20px;

        border-radius: 17px;
    }

    .logo {
        font-size: 17px;
    }

    .links {
        display: none;
    }

    .hero {
        padding: 100px 18px 70px;
    }

    h1 {
        font-size: 50px;

        letter-spacing: -3.5px;
    }

    .subtitle {
        font-size: 15px;

        margin-top: 22px;
    }

    .badge {
        font-size: 11px;

        padding: 9px 14px;

        margin-bottom: 22px;
    }

    .buttons {
        margin-top: 32px;
    }

    .btn {
        width: 100%;

        max-width: 260px;

        padding: 15px 30px;
    }

    .brand-ozon {
        font-size: 120px;

        left: -40px;
    }

    .brand-wb {
        font-size: 150px;

        right: -60px;
    }

    .brand-ozon-2 {
        font-size: 80px;

        right: 5%;
    }

    .circle-1 {
        width: 100px;
        height: 100px;

        right: 8%;
        top: 20%;
    }

    .ring-2 {
        width: 130px;
        height: 130px;

        right: -40px;
    }

    .square-1 {
        width: 80px;
        height: 80px;

        right: 5%;
    }

    .modal {
        padding: 30px 22px;

        border-radius: 20px;
    }

    footer {
        font-size: 11px;

        padding: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
