* {
    box-sizing: border-box;
}

/* vietnamese */
@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/assets/fonts/7cHpv4kjgoGqM7E_A8s5ynghnQci.woff2) format("woff2");
    unicode-range:
        U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
        U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
        U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/assets/fonts/7cHpv4kjgoGqM7E_Ass5ynghnQci.woff2) format("woff2");
    unicode-range:
        U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/assets/fonts/7cHpv4kjgoGqM7E_DMs5ynghnQ.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin bold */
@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(/assets/fonts/7cHqv4kjgoGqM7E30-8s51ostz0rdg.woff2) format("woff2");
    unicode-range:
        U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
        U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    color: #fff;
}

html {
    background-color: rgb(14, 20, 27);
    background-image: url("/assets/img/noise-lite.png");
    background-repeat: repeat;
}

.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #fff;
    background-image: url("/assets/img/logo-bg.svg");
    background-size: 60vw auto;
    background-position: top right;
    background-repeat: no-repeat;
    background-color: #1f262f;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/assets/img/noise-lite.png");
    background-repeat: repeat;
}

.hero::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgb(14, 20, 27), transparent);
}

.hero main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding: 2rem;
}

h1 {
    font-size: 4.5rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    margin: 1rem 0 0 0;
    text-align: center;
}

.hero main p {
    font-size: 1.5rem;
    line-height: 1.5;
    text-align: center;
    color: #a6a6a6;
}

.hero main p strong {
    display: inline-block;
    color: #ed78b4;
}

.hero main .buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.hero main .buttons a {
    padding: 0.75rem 3.875rem;
    background: #1ed2bb;
    border-radius: 100rem;
    font-size: 1.125rem;
    text-decoration: none;
    font-weight: 700;
    color: #000;
}

.hero main .buttons a:hover {
    background: #82eddf;
}

.hero main .buttons a.secondary {
    background: rgba(30, 210, 187, 0.1);
    border: 1px solid #1ed2bb;
    color: rgb(30, 210, 187);
}

.hero main .buttons a.secondary:hover {
    background: rgba(130, 237, 223, 0.1);
    border: 1px solid #82eddf;
    color: #82eddf;
}

.features {
    position: relative;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
    max-width: 50rem;
    min-height: 100vh;
}

.features--row {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1.5rem;
}

.features--row:nth-child(2) {
    margin-top: 7.59375rem;
}

.features--feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    padding: 3rem;

    background: #1f262f;
    border-radius: 0.75rem;

    margin-bottom: 3rem;

    width: 100%;

    position: relative;

    overflow: hidden;

    z-index: 1;
}

.features--feature::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #1f262f;
    z-index: -1;
    border-radius: 0.75rem;
}

.bg {
    position: absolute;
    top: -4rem;
    right: -13rem;
    opacity: 0.05;
    width: 30rem;
    height: auto;
}

.features--feature::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        #fa2921,
        #8bbb25,
        #1ab375,
        #1ba3a0,
        #1e83f7,
        #857ed6,
        #ed79b5,
        #f3516b,
        #fa2921
    );
    z-index: -2;
    border-radius: 0.75rem;
}

.features--feature h2 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin: 0;
    text-align: center;
}

.features--feature p {
    margin: 0;
}

#devices {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
}

.device {
    font-size: 1.5rem;
    white-space: pre;
}

.breakline {
    display: none;
}

footer {
    position: relative;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6rem;
    text-align: center;
    overflow: hidden;
    font-size: 1.5rem;
}

footer::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(/assets/img/logo.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2rem);
    opacity: 0.3;
    z-index: -1;
}

footer a {
    color: #fff;
    text-decoration: none;
}

/* Small */
@media (max-width: 900px) {
    .features {
        padding: 6rem 2rem;
    }
}

/* Mobile */
@media (max-width: 600px) {
    html,
    body {
        font-size: 14px;
    }

    .hero main .buttons {
        flex-direction: column;
    }

    .features {
        padding: 2rem;
        flex-direction: column;
    }
    .features--feature {
        width: 100%;
    }

    .features--row {
        padding: 0;
    }
    .features--row:nth-child(2) {
        margin-top: 0;
    }

    .breakline {
        display: inline;
    }
}
