:root {
    --bg: #080a14;
    --panel: #121729;
    --panel2: #171d33;
    --line: #2a3150;
    --text: #f4f5ff;
    --muted: #a4abc4;
    --purple: #8d6bff;
    --blue: #54a9ff;
    --green: #52e3a0;
    --max: 1160px;
}

/* =========================================================
   BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at 85% 8%,
            #23204d 0,
            transparent 28%
        ),
        radial-gradient(
            circle at 12% 25%,
            #121b3a 0,
            transparent 34%
        ),
        var(--bg);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

/* =========================================================
   LAYOUT
========================================================= */

.wrap {
    width: min(var(--max), calc(100% - 48px));
    margin-inline: auto;
}

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

.nav {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ffffff12;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.brand-mark,
.window-logo {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: linear-gradient(
        135deg,
        var(--purple),
        var(--blue)
    );
    font-weight: 900;
    box-shadow: 0 8px 22px #7156e855;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a,
.text-link {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
}

.nav-links a:hover,
.text-link:hover {
    color: #fff;
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border-radius: 11px;
    font-weight: 800;
    font-size: 14px;
}

.nav-cta {
    padding: 10px 16px;
    color: #fff;
    background: #ffffff0d;
    border: 1px solid var(--line);
}

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

.hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
    padding: 92px 0 106px;
}

.kicker {
    margin: 0 0 16px;
    color: #a99aff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.hero h1,
.section h2,
.mods-section h2,
.download h2 {
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.02;
    letter-spacing: -0.065em;
    margin: 0;
}

.hero h1 span,
.section h2 span,
.mods-section h2 span,
.download h2 span {
    color: var(--purple);
}

.lead {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
    max-width: 560px;
    margin: 24px 0 28px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.button {
    padding: 14px 20px;
}

.button.primary {
    background: linear-gradient(
        135deg,
        var(--purple),
        #5d8eff
    );
    color: white;
    box-shadow: 0 14px 35px #6f5eff44;
}

.button.light {
    background: #fff;
    color: #101323;
}

.trust {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #737b9b;
    font-size: 12px;
    margin-top: 30px;
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 16px var(--green);
}

.dot {
    color: #444b68;
}

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

.hero-visual {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
}

.glow {
    position: absolute;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        #785eff55,
        transparent 65%
    );
    filter: blur(18px);
}

.window-card {
    width: min(480px, 100%);
    position: relative;
    z-index: 1;
    border: 1px solid #ffffff22;
    border-radius: 20px;
    background: #11162aeb;
    box-shadow: 0 30px 90px #0008;
    overflow: hidden;
    transform: rotate(2deg);
}

.window-top {
    height: 58px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid #ffffff12;
    color: #c1c7dc;
    font-size: 12px;
}

.window-logo {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 12px;
}

.window-dots {
    margin-left: auto;
    color: #69718e;
    letter-spacing: 3px;
}

.window-body {
    display: flex;
    min-height: 295px;
}

/* =========================================================
   HERO SIDEBAR / DASHBOARD
========================================================= */

.side-mini {
    width: 58px;
    padding: 22px 0;
    display: grid;
    align-content: start;
    gap: 17px;
    justify-items: center;
    border-right: 1px solid #ffffff10;
}

.side-mini i {
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 5px;
    background: #303852;
}

.side-mini i.active {
    background: var(--purple);
    box-shadow: 0 0 16px #8d6bff99;
}

.dashboard {
    padding: 34px 32px;
}

.mini-kicker {
    color: #7e87a5;
    font-size: 10px;
    letter-spacing: 0.16em;
    margin: 0 0 12px;
    font-weight: 800;
}

.dashboard h3 {
    font-size: 32px;
    line-height: 1.05;
    letter-spacing: -0.05em;
    margin: 0;
}

.dashboard h3 em {
    font-style: normal;
    color: #9d82ff;
}

.tiny {
    font-size: 12px;
    color: #8d96b4;
    margin: 14px 0 24px;
}

.play-pill {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    padding: 10px 18px;
    background: #8d6bff;
    color: #fff;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 10px 24px #8d6bff55;
}

.stat-row {
    display: flex;
    gap: 17px;
    margin-top: 31px;
    color: #78819f;
    font-size: 10px;
}

.stat-row b {
    display: block;
    color: #dce0f0;
    font-size: 14px;
}

/* =========================================================
   FLOATING CHIPS
========================================================= */

.floating-chip {
    position: absolute;
    z-index: 2;
    background: #19203aee;
    border: 1px solid #ffffff24;
    box-shadow: 0 16px 40px #0008;
    border-radius: 13px;
    padding: 11px 14px;
    font-size: 13px;
}

.floating-chip b,
.floating-chip small {
    display: block;
}

.floating-chip small {
    color: #8b95b6;
    font-size: 11px;
    margin-top: 2px;
}

.chip-one {
    top: 38px;
    right: 0;
    color: #9c86ff;
}

.chip-two {
    bottom: 39px;
    left: 0;
    color: #5ee9ae;
}

/* =========================================================
   GENERAL SECTION
========================================================= */

.section {
    padding: 100px 0;
}

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

.section h2,
.mods-section h2,
.download h2 {
    font-size: clamp(36px, 4vw, 54px);
}

/* =========================================================
   FEATURE CARDS
========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 16px;
}

.feature-card {
    background: linear-gradient(
        150deg,
        #141a30,
        #101526
    );
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 27px;
    min-height: 300px;
}

.feature-card.large {
    background: linear-gradient(
        145deg,
        #1c1b45,
        #14172b
    );
}

.icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    font-size: 21px;
    margin-bottom: 30px;
}

.icon.purple {
    background: #8d6bff25;
    color: #a993ff;
}

.icon.blue {
    background: #54a9ff22;
    color: #6bb8ff;
}

.icon.green {
    background: #52e3a022;
    color: #62e9ad;
}

.feature-card h3 {
    font-size: 20px;
    margin: 0 0 11px;
    letter-spacing: -0.03em;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

/* =========================================================
   FEATURE DEMOS
========================================================= */

.instance-stack {
    display: grid;
    gap: 7px;
    margin-top: 24px;
}

.instance-stack span,
.perf-tags span {
    display: inline-block;
    color: #adb6d2;
    font-size: 11px;
    border: 1px solid #3b4160;
    border-radius: 7px;
    padding: 5px 8px;
    background: #ffffff06;
}

.progress-demo {
    margin-top: 28px;
    color: #8490b1;
    font-size: 11px;
}

.progress-demo b {
    float: right;
    color: #fff;
}

.progress-demo i {
    display: block;
    height: 7px;
    border-radius: 99px;
    background: #292f48;
    margin-top: 9px;
    overflow: hidden;
}

.progress-demo em {
    display: block;
    width: 87%;
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--blue),
        var(--purple)
    );
    border-radius: inherit;
}

.perf-tags {
    display: flex;
    gap: 6px;
    margin-top: 26px;
}

/* =========================================================
   MODS SECTION
========================================================= */

.mods-section {
    padding: 105px 0;
    background: linear-gradient(
        110deg,
        #161634,
        #131c36
    );
    border-block: 1px solid #ffffff12;
}

.mods-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.mods-section .lead {
    font-size: 16px;
}

/* =========================================================
   MOD PANEL
========================================================= */

.mod-panel {
    background: #0b1020cc;
    border: 1px solid #394263;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 30px 70px #0006;
}

.mod-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 20px;
}

.mod-panel-top small {
    color: #8f9ab9;
    font-size: 10px;
    letter-spacing: 0.13em;
}

.mod-panel-top h3 {
    font-size: 19px;
    margin: 5px 0 0;
}

.search-icon {
    font-size: 27px;
    color: #8994b7;
}

.mod-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid #ffffff12;
}

.mod-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
}

.mod-icon.orange {
    background: #d47743;
}

.mod-icon.violet {
    background: #7957d2;
}

.mod-icon.teal {
    background: #329d91;
}

.mod-row div {
    flex: 1;
}

.mod-row b,
.mod-row small {
    display: block;
}

.mod-row b {
    font-size: 13px;
}

.mod-row small {
    color: #7f89a8;
    font-size: 11px;
    margin-top: 2px;
}

.mod-row button {
    border: 1px solid #485173;
    border-radius: 7px;
    background: #ffffff08;
    color: #c9d0e8;
    padding: 7px 10px;
    font-size: 11px;
}

/* =========================================================
   STEPS
========================================================= */

.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.step-grid > div {
    padding: 25px 0;
    border-top: 1px solid var(--line);
}

.step-grid b {
    color: var(--purple);
    font-size: 13px;
    letter-spacing: 0.1em;
}

.step-grid h3 {
    font-size: 20px;
    margin: 21px 0 8px;
}

.step-grid p {
    color: var(--muted);
    font-size: 14px;
    max-width: 260px;
}

/* =========================================================
   DOWNLOAD
========================================================= */

.download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 70px;
    padding: 48px 54px;
    border-radius: 24px;
    background: linear-gradient(
        120deg,
        #754cff,
        #3e91ff
    );
    box-shadow: 0 22px 60px #4c72f044;
}

.download .kicker {
    color: #e3dcff;
}

.download h2 {
    font-size: 40px;
}

.download h2 span {
    color: #d8cbff;
}

.download p {
    color: #e1e4ff;
    margin: 18px 0 0;
}

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

.footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 0 34px;
    border-top: 1px solid #ffffff12;
    color: #6f7894;
    font-size: 11px;
}

.footer span:last-child {
    text-align: right;
    max-width: 600px;
}

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

@media (max-width: 900px) {
    .hero,
    .mods-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding: 70px 0 80px;
    }

    .hero-visual {
        min-height: 390px;
    }

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

    .feature-card.large {
        grid-column: 1 / -1;
    }

    .nav-links {
        display: none;
    }
}

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

@media (max-width: 620px) {
    .wrap {
        width: min(var(--max), calc(100% - 32px));
    }

    .nav {
        height: 70px;
    }

    .nav-cta {
        padding: 9px 11px;
        font-size: 12px;
    }

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

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .trust {
        align-items: flex-start;
        flex-wrap: wrap;
    }

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

    .feature-card.large {
        grid-column: auto;
    }

    .mods-section {
        padding: 75px 0;
    }

    .download {
        align-items: flex-start;
        flex-direction: column;
        padding: 32px 25px;
    }

    .download h2 {
        font-size: 34px;
    }

    .footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer span:last-child {
        text-align: left;
    }
}