/* =========================================================
   GRAPHIADDA
   GLOBAL STYLE SHEET
   ========================================================= */


/* =========================================================
   ROOT
   ========================================================= */

:root {

    --bg-main: #060a15;

    --bg-secondary: #0b1120;

    --bg-card: #111a2d;

    --bg-card-soft: rgba(255, 255, 255, 0.035);

    --border:
        rgba(
            255,
            255,
            255,
            0.08
        );

    --text-main: #ffffff;

    --text-secondary: #cbd5e1;

    --text-muted: #64748b;

    --purple: #6d5dfc;

    --purple-light: #9b8dff;

    --blue: #24baf2;

    --danger: #ef4444;

    --success: #22c55e;

    --radius-sm: 8px;

    --radius-md: 12px;

    --radius-lg: 16px;

    --radius-xl: 20px;

    --transition:
        0.2s ease;

}


/* =========================================================
   RESET
   ========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    min-height: 100vh;

    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(
                109,
                93,
                252,
                0.12
            ),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(
                36,
                186,
                242,
                0.07
            ),
            transparent 30%
        ),
        var(--bg-main);

    color:
        var(--text-main);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    line-height:
        1.5;

}


/* =========================================================
   LINKS
   ========================================================= */

a {

    color:
        inherit;

    text-decoration:
        none;

}


button,
input,
textarea,
select {

    font:
        inherit;

}


/* =========================================================
   IMAGES
   ========================================================= */

img {

    max-width:
        100%;

    display:
        block;

}


/* =========================================================
   BUTTON RESET
   ========================================================= */

button {

    border:
        none;

    outline:
        none;

}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {

    width:
        min(
            1180px,
            calc(
                100% - 28px
            )
        );

    margin:
        0 auto;

}


/* =========================================================
   GLOBAL NAVBAR
   ========================================================= */

.navbar {

    position:
        sticky;

    top:
        0;

    z-index:
        1000;

    width:
        100%;

    border-bottom:
        1px solid
        var(--border);

    background:
        rgba(
            6,
            10,
            21,
            0.84
        );

    backdrop-filter:
        blur(18px);

}


.nav-inner {

    width:
        min(
            1180px,
            calc(
                100% - 28px
            )
        );

    min-height:
        68px;

    margin:
        0 auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        14px;

}


/* =========================================================
   BRAND
   ========================================================= */

.brand {

    display:
        inline-flex;

    align-items:
        center;

    gap:
        10px;

    color:
        var(--text-main);

    text-decoration:
        none;

}


.brand-icon {

    width:
        40px;

    height:
        40px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        var(--radius-md);

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    box-shadow:
        0 10px 25px
        rgba(
            109,
            93,
            252,
            0.18
        );

}


.brand-name {

    font-size:
        18px;

    font-weight:
        900;

    letter-spacing:
        -0.02em;

}


.brand-name span {

    color:
        var(--purple-light);

}


/* =========================================================
   NAV LINKS
   ========================================================= */

.nav-links {

    display:
        flex;

    align-items:
        center;

    gap:
        5px;

}


.nav-link {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        6px;

    min-height:
        34px;

    padding:
        0 11px;

    border-radius:
        var(--radius-sm);

    color:
        #94a3b8;

    font-size:
        9px;

    font-weight:
        750;

    transition:
        color var(--transition),
        background var(--transition);

}


.nav-link:hover,
.nav-link.active {

    color:
        var(--text-main);

    background:
        rgba(
            109,
            93,
            252,
            0.12
        );

}


/* =========================================================
   PRIMARY BUTTON
   ========================================================= */

.btn-primary {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    min-height:
        40px;

    padding:
        0 15px;

    border-radius:
        9px;

    background:
        linear-gradient(
            135deg,
            var(--purple),
            var(--blue)
        );

    color:
        #ffffff;

    font-size:
        9px;

    font-weight:
        850;

    cursor:
        pointer;

    transition:
        transform var(--transition),
        filter var(--transition);

}


.btn-primary:hover {

    transform:
        translateY(-2px);

    filter:
        brightness(1.07);

}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.btn-secondary {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    min-height:
        40px;

    padding:
        0 15px;

    border:
        1px solid
        var(--border);

    border-radius:
        9px;

    background:
        var(--bg-card-soft);

    color:
        var(--text-secondary);

    font-size:
        9px;

    font-weight:
        800;

    cursor:
        pointer;

    transition:
        background var(--transition),
        transform var(--transition);

}


.btn-secondary:hover {

    transform:
        translateY(-1px);

    background:
        rgba(
            255,
            255,
            255,
            0.06
        );

}


/* =========================================================
   PAGE WRAPPER
   ========================================================= */

.page {

    width:
        min(
            1180px,
            calc(
                100% - 28px
            )
        );

    margin:
        0 auto;

    padding:
        50px 0 75px;

}


/* =========================================================
   SECTION
   ========================================================= */

.section {

    padding:
        30px 0;

}


.section-title {

    margin-bottom:
        20px;

}


.section-title h2 {

    margin:
        0 0 7px;

    font-size:
        clamp(
            22px,
            4vw,
            32px
        );

    line-height:
        1.1;

    letter-spacing:
        -0.04em;

    font-weight:
        900;

}


.section-title p {

    max-width:
        700px;

    margin:
        0;

    color:
        var(--text-muted);

    font-size:
        10px;

    line-height:
        1.7;

}


/* =========================================================
   BADGE
   ========================================================= */

.badge {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    padding:
        7px 11px;

    border:
        1px solid
        rgba(
            139,
            124,
            255,
            0.25
        );

    border-radius:
        999px;

    background:
        rgba(
            109,
            93,
            252,
            0.07
        );

    color:
        #b9b1ff;

    font-size:
        8px;

    font-weight:
        850;

    letter-spacing:
        0.04em;

    text-transform:
        uppercase;

}


/* =========================================================
   GRADIENT TEXT
   ========================================================= */

.gradient-text {

    background:
        linear-gradient(
            90deg,
            #9b8dff,
            #5eafff,
            #24baf2
        );

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color:
        transparent;

}


/* =========================================================
   CARD
   ========================================================= */

.card {

    border:
        1px solid
        var(--border);

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(
                17,
                26,
                45,
                0.97
            ),
            rgba(
                9,
                15,
                29,
                0.97
            )
        );

    box-shadow:
        0 20px 50px
        rgba(
            0,
            0,
            0,
            0.14
        );

}


/* =========================================================
   FORM GROUP
   ========================================================= */

.form-group {

    margin-bottom:
        14px;

}


.form-group label {

    display:
        block;

    margin-bottom:
        6px;

    color:
        #b9c4d4;

    font-size:
        9px;

    font-weight:
        750;

}


/* =========================================================
   FORM INPUT
   ========================================================= */

.form-control {

    width:
        100%;

    min-height:
        42px;

    padding:
        10px 12px;

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.09
        );

    border-radius:
        9px;

    outline:
        none;

    background:
        rgba(
            255,
            255,
            255,
            0.025
        );

    color:
        #ffffff;

    font-size:
        10px;

    transition:
        border-color var(--transition),
        box-shadow var(--transition);

}


.form-control::placeholder {

    color:
        #536078;

}


.form-control:focus {

    border-color:
        rgba(
            109,
            93,
            252,
            0.58
        );

    box-shadow:
        0 0 0 3px
        rgba(
            109,
            93,
            252,
            0.08
        );

}


/* =========================================================
   TEXTAREA
   ========================================================= */

textarea.form-control {

    min-height:
        130px;

    resize:
        vertical;

    line-height:
        1.6;

}


/* =========================================================
   MESSAGE
   ========================================================= */

.message {

    display:
        none;

    margin-top:
        12px;

    padding:
        10px 11px;

    border-radius:
        8px;

    font-size:
        8px;

    line-height:
        1.6;

}


.message.show {

    display:
        block;

}


.message.success {

    color:
        #86efac;

    border:
        1px solid
        rgba(
            34,
            197,
            94,
            0.18
        );

    background:
        rgba(
            34,
            197,
            94,
            0.08
        );

}


.message.error {

    color:
        #fca5a5;

    border:
        1px solid
        rgba(
            239,
            68,
            68,
            0.18
        );

    background:
        rgba(
            239,
            68,
            68,
            0.08
        );

}


/* =========================================================
   LOADING
   ========================================================= */

.loading {

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        7px;

    color:
        var(--text-muted);

    font-size:
        9px;

}


.loading-icon {

    animation:
        spin 1s linear infinite;

}


@keyframes spin {

    from {
        transform:
            rotate(0deg);
    }

    to {
        transform:
            rotate(360deg);
    }

}


/* =========================================================
   GRID SYSTEM
   ========================================================= */

.grid-2 {

    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(
                0,
                1fr
            )
        );

    gap:
        12px;

}


.grid-3 {

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(
                0,
                1fr
            )
        );

    gap:
        12px;

}


.grid-4 {

    display:
        grid;

    grid-template-columns:
        repeat(
            4,
            minmax(
                0,
                1fr
            )
        );

    gap:
        10px;

}


/* =========================================================
   FLEX HELPERS
   ========================================================= */

.flex {

    display:
        flex;

}


.flex-center {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

}


.flex-between {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

}


.align-center {

    align-items:
        center;

}


.justify-center {

    justify-content:
        center;

}


.flex-wrap {

    flex-wrap:
        wrap;

}


/* =========================================================
   TEXT HELPERS
   ========================================================= */

.text-center {

    text-align:
        center;

}


.text-muted {

    color:
        var(--text-muted);

}


.text-secondary {

    color:
        var(--text-secondary);

}


/* =========================================================
   HIDDEN
   ========================================================= */

.hidden {

    display:
        none !important;

}


/* =========================================================
   FOOTER
   ========================================================= */

footer {

    width:
        min(
            1180px,
            calc(
                100% - 28px
            )
        );

    margin:
        35px auto 0;

    padding:
        20px 0 10px;

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.06
        );

    text-align:
        center;

    color:
        #3f4a5e;

    font-size:
        8px;

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .grid-4 {

        grid-template-columns:
            repeat(
                3,
                minmax(
                    0,
                    1fr
                )
            );

    }


    .grid-3 {

        grid-template-columns:
            repeat(
                2,
                minmax(
                    0,
                    1fr
                )
            );

    }

}


@media (max-width: 700px) {

    .nav-link {

        display:
            none;

    }


    .grid-2,
    .grid-3,
    .grid-4 {

        grid-template-columns:
            1fr;

    }


    .page {

        width:
            calc(
                100% - 18px
            );

        padding-top:
            35px;

    }

}


@media (max-width: 450px) {

    .brand-name {

        font-size:
            16px;

    }


    .brand-icon {

        width:
            36px;

        height:
            36px;

    }


    .btn-primary,
    .btn-secondary {

        width:
            100%;

    }


    .flex-mobile-column {

        flex-direction:
            column;

    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

:focus-visible {

    outline:
        2px solid
        var(--purple-light);

    outline-offset:
        2px;

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        scroll-behavior:
            auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

    }

}