:root {
    --bg: #090b0c;
    --surface: #111416;
    --surface-soft: #171b1d;

    --text: #f5f7f2;
    --text-soft: #a8b0aa;
    --text-dark: #111311;

    --green: #9cff80;

    --border: rgba(255, 255, 255, 0.10);

    --max-width: 1100px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background:
        radial-gradient(
            circle at top right,
            rgba(85, 255, 110, 0.10),
            transparent 25rem
        ),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

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

a {
    color: inherit;
}


/* =========================
   TOP BAR
   ========================= */

.topbar {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 100;

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

    padding:
        14px
        max(4vw, 20px);

    background: rgba(9, 11, 12, 0.80);

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

    border-bottom: 1px solid var(--border);
}

.brand {
    font-size: 0.9rem;
    font-weight: 900;

    letter-spacing: 0.16em;

    text-decoration: none;
}

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

    gap: 20px;
}

.topbar nav a {
    text-decoration: none;

    color: var(--text-soft);

    font-size: 0.82rem;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.topbar nav a:hover {
    color: var(--text);
}

.topbar .nav-button {
    padding:
        7px
        13px;

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

    border-radius: 999px;

    color: var(--text);
}


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

.hero {
    position: relative;

    width: min(
        var(--max-width),
        90%
    );

    min-height: 78vh;

    margin: 0 auto;

    padding:
        105px
        0
        45px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(260px, 0.75fr);

    align-items: center;

    gap: 45px;
}

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(90px);

    pointer-events: none;

    opacity: 0.36;
}

.glow-one {
    width: 320px;
    height: 320px;

    background:
        rgba(
            108,
            255,
            112,
            0.20
        );

    right: 6%;
    top: 25%;
}

.glow-two {
    width: 250px;
    height: 250px;

    background:
        rgba(
            67,
            166,
            255,
            0.11
        );

    left: -5%;
    bottom: 8%;
}


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

.hero-content {
    position: relative;

    z-index: 2;
}

.eyebrow {
    margin:
        0
        0
        14px;

    font-size: 0.66rem;

    font-weight: 800;

    letter-spacing: 0.18em;

    color: var(--green);
}

.hero h1 {
    max-width: 650px;

    margin:
        0
        0
        22px;

    font-size: clamp(
        3.4rem,
        7vw,
        6.2rem
    );

    line-height: 0.9;

    letter-spacing: -0.055em;

    font-weight: 900;
}

.hero h1 span {
    display: block;

    color: transparent;

    -webkit-text-stroke:
        1px
        rgba(
            255,
            255,
            255,
            0.38
        );
}

.hero-description {
    max-width: 580px;

    margin: 0;

    color: var(--text-soft);

    font-size: clamp(
        0.95rem,
        1.4vw,
        1.08rem
    );
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 24px;
}

.button {
    display: inline-flex;

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

    min-height: 44px;

    padding:
        0
        18px;

    border-radius: 999px;

    font-size: 0.84rem;

    font-weight: 800;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--green);

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

.button-secondary {
    border: 1px solid var(--border);

    color: var(--text);
}

.tech-row {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 22px;
}

.tech-row span {
    padding:
        5px
        9px;

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

    border-radius: 999px;

    color: var(--text-soft);

    font-size: 0.7rem;
}


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

.hero-phone {
    position: relative;

    z-index: 2;

    display: flex;

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

.phone-shell {
    width: min(
        250px,
        70vw
    );

    padding: 8px;

    background:
        linear-gradient(
            160deg,
            #2b3032,
            #0e1011
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.18
        );

    border-radius: 36px;

    box-shadow:
        0 30px 70px
        rgba(
            0,
            0,
            0,
            0.50
        );
}

.phone-shell img {
    width: 100%;

    border-radius: 28px;
}

.floating-card {
    position: absolute;

    display: flex;
    flex-direction: column;

    min-width: 120px;

    padding:
        9px
        12px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.13
        );

    border-radius: 12px;

    background:
        rgba(
            18,
            22,
            22,
            0.82
        );

    backdrop-filter: blur(14px);

    box-shadow:
        0 15px 35px
        rgba(
            0,
            0,
            0,
            0.30
        );
}

.floating-card span {
    font-size: 0.8rem;
    font-weight: 900;
}

.floating-card small {
    margin-top: 2px;

    color: var(--text-soft);

    font-size: 0.68rem;
}

.floating-card-xp {
    left: -55px;

    top: 22%;
}

.floating-card-level {
    right: -55px;

    bottom: 18%;
}


/* =========================
   VALUE STRIP
   ========================= */

.value-strip {
    width: 100%;

    display: grid;

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

    border-top:
        1px
        solid
        var(--border);

    border-bottom:
        1px
        solid
        var(--border);
}

.value-strip div {
    display: flex;

    flex-direction: column;

    align-items: center;

    padding:
        18px
        14px;

    border-right:
        1px
        solid
        var(--border);
}

.value-strip div:last-child {
    border-right: 0;
}

.value-strip strong {
    font-size: 0.7rem;

    letter-spacing: 0.15em;

    color: var(--green);
}

.value-strip span {
    margin-top: 3px;

    color: var(--text-soft);

    font-size: 0.8rem;
}


/* =========================
   GENERAL SECTIONS
   ========================= */

.section {
    width: min(
        var(--max-width),
        90%
    );

    margin: 0 auto;

    padding:
        85px
        0;
}

.section-heading {
    max-width: 700px;

    margin-bottom: 38px;
}

.section-heading.centered {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}

.section-heading h2 {
    margin:
        0
        0
        14px;

    font-size: clamp(
        2.1rem,
        4.5vw,
        3.8rem
    );

    line-height: 1;

    letter-spacing: -0.04em;
}

.section-heading p:last-child {
    margin: 0;

    color: var(--text-soft);

    font-size: 0.95rem;
}


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

.feature-grid {
    display: grid;

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

    gap: 14px;
}

.feature-card {
    position: relative;

    min-height: 205px;

    padding: 21px;

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

    border-radius: 18px;

    background:
        linear-gradient(
            160deg,
            rgba(
                255,
                255,
                255,
                0.045
            ),
            rgba(
                255,
                255,
                255,
                0.018
            )
        );

    overflow: hidden;

    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.feature-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(
            156,
            255,
            128,
            0.4
        );
}

.feature-card::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    background:
        rgba(
            156,
            255,
            128,
            0.05
        );

    right: -40px;
    bottom: -60px;

    filter: blur(10px);
}

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

    display: grid;

    place-items: center;

    margin-bottom: 26px;

    border-radius: 12px;

    background:
        rgba(
            156,
            255,
            128,
            0.10
        );

    color: var(--green);

    font-weight: 900;
}

.feature-card h3 {
    margin:
        0
        0
        8px;

    font-size: 1.1rem;
}

.feature-card p {
    margin: 0;

    color: var(--text-soft);

    font-size: 0.88rem;
}


/* =========================
   THEMES
   ========================= */

.themes-section {
    border-top:
        1px
        solid
        var(--border);
}

.theme-showcase {
    display: flex;

    flex-direction: column;

    gap: 70px;
}

.theme-block {
    display: grid;

    grid-template-columns:
        minmax(
            0,
            1.05fr
        )
        minmax(
            240px,
            0.8fr
        );

    gap: 45px;

    align-items: center;
}

.theme-block.reverse {
    grid-template-columns:
        minmax(
            240px,
            0.8fr
        )
        minmax(
            0,
            1.05fr
        );
}

.theme-block.reverse .theme-images {
    order: 2;
}

.theme-block.reverse .theme-copy {
    order: 1;
}

.theme-images {
    display: flex;

    align-items: flex-end;

    justify-content: center;

    gap: 16px;
}

.theme-images img {
    width: min(
        210px,
        42%
    );

    border-radius: 20px;

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

    box-shadow:
        0 22px 50px
        rgba(
            0,
            0,
            0,
            0.30
        );
}

.theme-images img:nth-child(2) {
    transform:
        translateY(28px);
}

.theme-number {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 0.72rem;

    letter-spacing: 0.16em;

    color: var(--green);
}

.theme-copy h3 {
    margin:
        0
        0
        12px;

    font-size: clamp(
        1.9rem,
        4vw,
        3.2rem
    );

    letter-spacing: -0.035em;

    line-height: 1;
}

.theme-copy p {
    margin: 0;

    max-width: 440px;

    color: var(--text-soft);

    font-size: 0.92rem;
}


/* =========================
   VIDEO
   ========================= */

.demo-section {
    border-top:
        1px
        solid
        var(--border);
}

.video-container {
    position: relative;

    overflow: hidden;

    max-width: 760px;

    margin:
        0
        auto;

    padding: 6px;

    border-radius: 22px;

    background:
        linear-gradient(
            140deg,
            rgba(
                156,
                255,
                128,
                0.45
            ),
            rgba(
                255,
                255,
                255,
                0.07
            )
        );
}

.video-container video {
    width: 100%;

    max-height: 580px;

    border-radius: 17px;

    background: #000;
}


/* =========================
   CTA
   ========================= */

.cta-section {
    width: min(
        var(--max-width),
        90%
    );

    margin:
        0
        auto
        65px;

    padding:
        44px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 35px;

    border-radius: 24px;

    background:
        linear-gradient(
            140deg,
            #6fff6c,
            #b3ff7e
        );

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

.cta-section > div:first-child {
    max-width: 650px;
}

.cta-section .eyebrow {
    color:
        rgba(
            17,
            19,
            17,
            0.55
        );
}

.cta-section h2 {
    margin:
        0
        0
        12px;

    font-size: clamp(
        2rem,
        4vw,
        3.5rem
    );

    line-height: 1;

    letter-spacing: -0.04em;
}

.cta-section p {
    margin: 0;

    color:
        rgba(
            17,
            19,
            17,
            0.72
        );

    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;

    flex-direction: column;

    gap: 10px;

    flex-shrink: 0;
}

.button-light {
    background: var(--text-dark);

    color: white;
}

.button-outline-light {
    border:
        1px solid
        rgba(
            17,
            19,
            17,
            0.22
        );

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


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

footer {
    width: min(
        var(--max-width),
        90%
    );

    margin: 0 auto;

    padding:
        24px
        0
        35px;

    display: flex;

    justify-content: space-between;

    gap: 20px;

    border-top:
        1px
        solid
        var(--border);

    color: var(--text-soft);

    font-size: 0.76rem;
}


/* =========================
   TABLET
   ========================= */

@media (
    max-width: 950px
) {

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

        min-height: auto;

        padding-top: 130px;

        text-align: center;
    }

    .hero-content {
        display: flex;

        flex-direction: column;

        align-items: center;
    }

    .hero h1 {
        max-width: 700px;
    }

    .hero-phone {
        margin-top: 20px;
    }

    .floating-card-xp {
        left: 5%;
    }

    .floating-card-level {
        right: 5%;
    }

    .feature-grid {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }

    .theme-block,
    .theme-block.reverse {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .theme-block.reverse .theme-images,
    .theme-block.reverse .theme-copy {
        order: initial;
    }

    .theme-copy {
        max-width: 620px;
    }

    .cta-section {
        flex-direction: column;

        align-items: flex-start;
    }

    .cta-buttons {
        flex-direction: row;

        flex-wrap: wrap;
    }

}


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

@media (
    max-width: 680px
) {

    .topbar {
        padding:
            13px
            16px;
    }

    .topbar nav a:not(.nav-button) {
        display: none;
    }

    .hero {
        width: 92%;

        padding-top: 110px;

        gap: 35px;
    }

    .hero h1 {
        font-size: clamp(
            3rem,
            16vw,
            4.8rem
        );
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        width: 100%;

        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .phone-shell {
        width: min(
            235px,
            74vw
        );
    }

    .floating-card {
        display: none;
    }

    .value-strip {
        grid-template-columns:
            repeat(
                2,
                1fr
            );
    }

    .value-strip div:nth-child(2) {
        border-right: 0;
    }

    .value-strip div:nth-child(-n + 2) {
        border-bottom:
            1px
            solid
            var(--border);
    }

    .section {
        width: 92%;

        padding:
            65px
            0;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2 {
        font-size: clamp(
            2rem,
            10vw,
            3rem
        );
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .theme-showcase {
        gap: 60px;
    }

    .theme-images {
        gap: 10px;
    }

    .theme-images img {
        width: 47%;

        border-radius: 16px;
    }

    .theme-images img:nth-child(2) {
        transform:
            translateY(16px);
    }

    .theme-copy h3 {
        font-size: 2.1rem;
    }

    .cta-section {
        width: 92%;

        padding:
            34px
            22px;

        margin-bottom: 50px;

        border-radius: 20px;
    }

    .cta-buttons {
        width: 100%;

        flex-direction: column;
    }

    .cta-buttons .button {
        width: 100%;
    }

    footer {
        width: 92%;

        flex-direction: column;
    }

}


/* =========================
   VERY SMALL SCREENS
   ========================= */

@media (
    max-width: 430px
) {

    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .eyebrow {
        font-size: 0.62rem;
    }

    .theme-images {
        align-items: center;
    }

    .theme-images img {
        border-radius: 14px;
    }

}