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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 72% 40%,
            rgba(110, 96, 180, 0.10),
            transparent 30%
        ),
        #1b1d20;

    color: #f2f2f2;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
}

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


/* HEADER */

.header {
    height: 100px;

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

    max-width: 1450px;
    margin: auto;

    padding: 0 55px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;

    font-weight: 700;
    font-size: 23px;
    letter-spacing: 5px;
}

.logo-icon {
    width: 44px;
    height: 40px;

    display: block;
    object-fit: contain;
}


.nav {
    display: flex;
    gap: 55px;
}

.nav a {
    color: #b9b9bd;
    transition: 0.2s;
}

.nav a:hover {
    color: white;
}

.header-actions {
    display: flex;
    gap: 14px;
}


/* BUTTONS */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 115px;

    padding: 13px 24px;

    border-radius: 9px;

    transition: 0.2s;
}

.btn-primary {
    background: #7768d9;
    color: white;
}

.btn-primary:hover {
    background: #8375e4;
    transform: translateY(-1px);
}

.btn-secondary {
    border: 1px solid #4b4d52;
    color: #ececef;
}

.btn-secondary:hover {
    border-color: #74767d;
    background: rgba(255, 255, 255, 0.025);
}

.btn-large {
    padding: 16px 32px;
    min-width: 175px;
}


/* HERO */

.hero {
    max-width: 1370px;

    margin: auto;

    min-height: 650px;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    padding: 40px 60px 30px;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: clamp(55px, 5.5vw, 84px);
    line-height: 1.03;

    letter-spacing: -3px;

    font-weight: 650;
}

.hero h1 span {
    color: #9487e4;
}

.hero p {
    margin-top: 32px;

    max-width: 560px;

    color: #b9b9bd;

    font-size: 20px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    gap: 18px;

    margin-top: 40px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;
}

.hero-image::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    background: rgba(111, 96, 190, 0.11);

    filter: blur(70px);
}

.hero-image img {
    position: relative;

    width: min(100%, 500px);

    object-fit: contain;
}


/* FEATURES */

.features {
    max-width: 1370px;

    margin: auto;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid rgba(255, 255, 255, 0.07);

    padding: 38px 60px 55px;
}

.feature {
    display: flex;

    gap: 24px;

    padding: 10px 40px;

    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.feature:first-child {
    padding-left: 0;
}

.feature:last-child {
    border-right: none;
}

.feature-icon {
    width: 65px;
    height: 65px;

    flex-shrink: 0;

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

    border-radius: 16px;

    background: rgba(255, 255, 255, 0.035);

    color: #9d8eed;

    font-size: 28px;
}

.feature h3 {
    margin-top: 4px;
    margin-bottom: 10px;

    font-size: 18px;
}

.feature p {
    max-width: 270px;

    color: #9d9da2;

    line-height: 1.55;
}


/* FOOTER */

footer {
    max-width: 1450px;

    margin: auto;

    padding: 30px 55px 45px;

    display: flex;
    justify-content: space-between;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    color: #77797f;

    font-size: 14px;
}

footer div {
    display: flex;
    gap: 32px;
}

footer a:hover {
    color: #bbb;
}


/* MOBILE */

@media (max-width: 850px) {

    .header {
        height: 78px;
        padding: 0 22px;
    }

    .nav {
        display: none;
    }

    .header-actions .btn-secondary {
        display: none;
    }

    .logo {
        font-size: 18px;
    }

    .hero {
        min-height: auto;

        display: flex;
        flex-direction: column;

        padding: 70px 25px 40px;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero p {
        font-size: 17px;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn {
        flex: 1;
        min-width: 0;
    }

    .hero-image {
        margin-top: 40px;
    }

    .hero-image img {
        width: 330px;
        max-width: 90vw;
    }

    .features {
        grid-template-columns: 1fr;

        padding: 20px 25px 40px;
    }

    .feature {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);

        padding: 28px 0;
    }

    .feature:last-child {
        border-bottom: none;
    }

    footer {
        padding: 30px 25px;

        flex-direction: column;
        gap: 25px;
    }

    footer div {
        flex-wrap: wrap;
        gap: 18px;
    }
}
