html,
body {
    background: #080914;
}

/* =========================================
   HOME PAGE
========================================= */

.home-page {
    --home-bg: #080914;
    --home-surface: rgba(255, 255, 255, 0.08);
    --home-surface-strong: rgba(255, 255, 255, 0.12);
    --home-header: rgba(63, 70, 82, 0.92);

    --home-text: #ffffff;
    --home-title: #ffffff;
    --home-muted: rgba(255, 255, 255, 0.72);
    --home-muted-soft: rgba(255, 255, 255, 0.58);

    --home-primary: #0bc28c;
    --home-primary-dark: #09a979;
    --home-secondary: #1edd7f;

    --home-dark: #3f4652;
    --home-dark-strong: #2f3642;

    --home-border-light: rgba(255, 255, 255, 0.12);
    --home-border-dark: rgba(15, 23, 42, 0.08);

    min-height: 100vh;

    padding: 28px;

    background:
        radial-gradient(circle at top left, rgba(11, 194, 140, .18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(30, 221, 127, .14), transparent 34%),
        linear-gradient(135deg, #080914 0%, #111827 55%, #0f172a 100%);

    color: var(--home-text);
}

/* =========================================
   HEADER
========================================= */

.home-header {
    position: fixed;

    top: 18px;
    left: 50%;

    transform: translateX(-50%);

    z-index: 80;

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

    padding: 14px 22px;

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

    gap: 24px;

    border: 1px solid var(--home-border-light);

    border-radius: 24px;

    background: var(--home-header);

    backdrop-filter: blur(18px);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .22);
}

.home-brand {
    display: flex;
    align-items: center;

    gap: 12px;

    color: #ffffff;

    font-weight: 900;
    font-size: 1.05rem;
}

.home-brand img {
    width: 44px;
    height: 44px;

    border-radius: 14px;
}

.home-nav {
    display: flex;
    align-items: center;

    gap: 20px;

    color: rgba(255, 255, 255, .72);

    font-weight: 800;
}

.home-nav a {
    transition:
        color .2s ease,
        opacity .2s ease;
}

.home-nav a:hover {
    color: #ffffff;
}

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

.home-hero {
    max-width: 1180px;

    margin: 170px auto 0;

    display: grid;
    grid-template-columns: 1.1fr .9fr;

    align-items: center;

    gap: 60px;
}

.home-label {
    display: inline-flex;

    margin-bottom: 18px;

    color: var(--home-primary);

    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: .08em;

    font-size: .8rem;
}

.home-hero h1 {
    margin: 0;

    max-width: 620px;

    font-size: clamp(3rem, 6vw, 5.4rem);

    line-height: .95;
    letter-spacing: -.08em;

    color: var(--home-title);
}

.home-hero h1 span {
    display: block;

    line-height: 1.12;

    margin-top: -0.28em;
    padding-bottom: .08em;

    background:
        linear-gradient(135deg,
            var(--home-primary),
            var(--home-secondary));

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

.home-hero p {
    margin-top: 28px;

    max-width: 520px;

    font-size: 1.08rem;
    line-height: 1.7;

    color: var(--home-muted);
}

.home-actions {
    margin-top: 34px;

    display: flex;
    align-items: center;

    gap: 18px;

    flex-wrap: wrap;
}

.home-login-link {
    color: rgba(255, 255, 255, .78);

    font-weight: 900;

    transition: color .2s ease;
}

.home-login-link:hover {
    color: #ffffff;
}

/* =========================================
   BUTTONS HOME
========================================= */

.home-page .btn,
.home-page .btn-primary {
    border: 0;

    color: #ffffff;

    background:
        linear-gradient(135deg,
            var(--home-primary),
            var(--home-secondary));

    box-shadow:
        0 18px 42px rgba(11, 194, 140, .24);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.home-page .btn:hover,
.home-page .btn-primary:hover {
    transform: translateY(-1px);

    filter: brightness(1.03);

    box-shadow:
        0 22px 52px rgba(11, 194, 140, .30);
}

/* =========================================
   PREVIEW
========================================= */

.home-preview {
    display: flex;
    justify-content: flex-end;
}

.preview-card {
    width: 100%;
    max-width: 380px;
    min-height: 520px;

    padding: 34px 24px;

    border-radius: 34px;

    text-align: center;

    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, .10),
            rgba(255, 255, 255, .04));

    border: 1px solid rgba(255, 255, 255, .14);

    box-shadow:
        0 30px 90px rgba(0, 0, 0, .35);

    backdrop-filter: blur(18px);

    color: #ffffff;
}

.preview-avatar {
    width: 88px;
    height: 88px;

    margin: 0 auto 20px;

    border-radius: 28px;

    display: grid;
    place-items: center;

    color: #ffffff;

    font-size: 2rem;
    font-weight: 900;

    background:
        linear-gradient(135deg,
            var(--home-primary),
            var(--home-secondary));
}

.preview-card h2 {
    margin: 0 0 10px;

    color: #ffffff;
}

.preview-card p {
    margin: 0 auto 28px;

    max-width: 290px;

    color: rgba(255, 255, 255, .68);

    font-size: .95rem;
    line-height: 1.6;
}

.preview-links {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.preview-links span {
    padding: 15px 18px;

    border-radius: 999px;

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

    gap: 12px;

    color: #ffffff;

    background:
        linear-gradient(135deg,
            var(--home-primary),
            var(--home-secondary));

    font-weight: 900;

    box-shadow:
        0 12px 28px rgba(11, 194, 140, .18);
}

.preview-links span img {
    width: 20px;
    height: 20px;

    object-fit: contain;

    filter: brightness(0) invert(1);
}

/* =========================================
   FEATURES
========================================= */

.home-section {
    max-width: 1180px;

    margin: 90px auto 0;
}

.home-section-title span {
    color: var(--home-primary);

    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: .08em;

    font-size: .78rem;
}

.home-section-title h2 {
    margin: 8px 0 24px;

    color: var(--home-title);

    font-size: 2.2rem;
    letter-spacing: -.05em;
}

.home-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.home-features article {
    padding: 26px;

    border-radius: 26px;

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

    border: 1px solid rgba(255, 255, 255, .10);
}

.home-features strong {
    display: block;

    margin-bottom: 10px;

    color: #ffffff;

    font-size: 1.1rem;
}

.home-features p {
    margin: 0;

    color: rgba(255, 255, 255, .64);

    line-height: 1.6;
}

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

.home-menu-toggle,
.home-menu-overlay,
.home-offcanvas {
    display: none;
}

@media (max-width: 760px) {

    .home-header {
        top: 14px;

        width: calc(100% - 24px);

        padding: 12px 16px;

        border-radius: 20px;
    }

    .home-nav {
        display: none;
    }

    .home-menu-toggle {
        display: grid;
        place-items: center;

        width: 46px;
        height: 46px;

        border: 0;
        border-radius: 14px;

        color: #ffffff;

        background:
            linear-gradient(135deg,
                var(--home-primary),
                var(--home-secondary));

        font-size: 1.4rem;
        font-weight: 900;

        cursor: pointer;
    }

    .home-menu-overlay {
        display: block;

        position: fixed;
        inset: 0;

        z-index: 90;

        background: rgba(0, 0, 0, .55);

        opacity: 0;
        pointer-events: none;

        transition: .25s ease;
    }

    .home-offcanvas {
        display: flex;
        flex-direction: column;

        gap: 14px;

        position: fixed;
        top: 0;
        right: 0;

        z-index: 100;

        width: min(82vw, 320px);
        height: 100vh;

        padding: 26px;

        background: var(--home-dark-strong);

        border-left:
            1px solid rgba(255, 255, 255, .08);

        transform: translateX(105%);

        transition: transform .25s ease;
    }

    body.home-menu-open {
        overflow: hidden;
    }

    body.home-menu-open .home-menu-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    body.home-menu-open .home-offcanvas {
        transform: translateX(0);
    }

    .home-menu-close {
        align-self: flex-end;

        width: 42px;
        height: 42px;

        border: 0;
        border-radius: 12px;

        color: #ffffff;

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

        font-size: 1.8rem;

        cursor: pointer;
    }

    .home-offcanvas a {
        padding: 14px 0;

        color: #ffffff;

        font-weight: 900;

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

    .home-offcanvas .btn {
        margin-top: 10px;

        text-align: center;

        border-bottom: 0;

        padding: 14px 22px;
    }
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .home-hero {
        grid-template-columns: 1fr;

        margin-top: 120px;
    }

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

@media (max-width: 520px) {

    .home-page {
        padding: 20px;
    }

    .home-hero {
        gap: 38px;

        margin-top: 110px;
    }

    .home-hero h1 {
        font-size: 3rem;
    }

    .home-preview {
        justify-content: center;
    }

    .preview-card {
        min-height: auto;

        padding: 30px 20px;
    }
}

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

.home-footer {
    max-width: 1180px;

    margin: 50px auto 0;

    padding-top: 38px;
    padding-bottom: 38px;

    border-top:
        1px solid rgba(255, 255, 255, .08);
}

.home-footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 40px;
}

.home-footer-brand {
    display: flex;
    align-items: center;

    gap: 16px;
}

.home-footer-brand img {
    width: 52px;
    height: 52px;

    border-radius: 16px;
}

.home-footer-brand strong {
    display: block;

    color: #ffffff;

    font-size: 1rem;
}

.home-footer-brand span {
    display: block;

    margin-top: 4px;

    color: rgba(255, 255, 255, .58);

    font-size: .92rem;
}

.home-footer-links {
    display: flex;
    align-items: center;

    gap: 22px;

    flex-wrap: wrap;
}

.home-footer-links a {
    color: rgba(255, 255, 255, .68);

    font-weight: 800;

    transition: .2s ease;
}

.home-footer-links a:hover {
    color: #ffffff;
}

.home-footer-bottom {
    margin-top: 34px;
    padding-top: 24px;

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

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

    gap: 18px;

    color: rgba(255, 255, 255, .52);

    font-size: .9rem;
}

.home-footer-dev strong {
    color: var(--home-primary);
}

@media (max-width: 760px) {

    .home-footer {
        margin-top: 70px;

        padding: 34px 0 22px;
    }

    .home-footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;

        gap: 28px;
    }

    .home-footer-brand {
        flex-direction: column;
        align-items: center;

        gap: 12px;
    }

    .home-footer-brand img {
        width: 48px;
        height: 48px;
    }

    .home-footer-brand span {
        max-width: 280px;

        line-height: 1.5;
    }

    .home-footer-links {
        width: 100%;

        justify-content: center;

        gap: 10px;
    }

    .home-footer-links a {
        padding: 10px 14px;

        border-radius: 999px;

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

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

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

        font-size: .88rem;
    }

    .home-footer-links a:hover {
        color: #ffffff;
    }

    .home-footer-bottom {
        margin-top: 28px;
        padding-top: 22px;

        flex-direction: column;
        align-items: center;
        text-align: center;

        gap: 10px;

        font-size: .82rem;
        line-height: 1.5;
    }

}