:root {
    --bg: #030609;
    --bg-soft: #070c12;
    --bg-elevated: #0a1119;
    --surface: rgba(10, 18, 27, 0.78);
    --surface-strong: #0b131d;

    --blue: #00a8ff;
    --blue-bright: #27c2ff;
    --blue-deep: #0067ff;
    --blue-soft: rgba(0, 168, 255, 0.12);
    --blue-border: rgba(39, 194, 255, 0.22);

    --white: #f5f8fb;
    --text: #dce5ec;
    --text-soft: #8d9aa6;
    --text-muted: #5e6c78;

    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --danger: #ff4b5c;
    --success: #29d391;

    --font-body: "Inter", sans-serif;
    --font-display: "Montserrat", sans-serif;

    --container: 1240px;

    --header-height: 84px;

    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-xl: 42px;

    --shadow-blue:
        0 0 40px rgba(0, 168, 255, 0.13);

    --transition: 220ms ease;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    min-width: 320px;

    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(0, 119, 255, 0.08),
            transparent 32%
        ),
        var(--bg);

    color: var(--text);

    font-family: var(--font-body);

    line-height: 1.5;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

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

svg {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin-top: 0;
}

::selection {
    background: var(--blue);
    color: #00101a;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #020406;
}

::-webkit-scrollbar-thumb {
    background: #162330;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #203447;
}


/* =========================================================
   GLOBAL
========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}

.section {
    position: relative;

    padding:
        clamp(80px, 10vw, 150px)
        0;
}

main {
    min-height: 100vh;
}

.hidden {
    display: none !important;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
    margin-bottom:
        clamp(40px, 6vw, 72px);
}

.section-heading--center {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.section-heading--split {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 420px);

    gap: 60px;

    align-items: end;
}

.section-heading__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 18px;

    color: var(--blue-bright);

    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-heading__eyebrow::before {
    content: "";

    width: 24px;
    height: 1px;

    background: var(--blue);
}

.section-heading h2 {
    margin-bottom: 0;

    color: var(--white);

    font-family: var(--font-display);

    font-size:
        clamp(2rem, 5vw, 4.4rem);

    font-weight: 800;

    letter-spacing: -0.055em;
    line-height: 0.98;
}

.section-heading h2 span {
    color: transparent;

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

.section-heading p {
    margin:
        22px auto 0;

    max-width: 610px;

    color: var(--text-soft);

    font-size:
        clamp(0.92rem, 1.6vw, 1.05rem);

    line-height: 1.8;
}

.section-heading__side p {
    margin: 0 0 25px;

    color: var(--text-soft);

    line-height: 1.8;
}


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

.button {
    position: relative;

    display: inline-flex;

    min-height: 52px;

    padding: 0 23px;

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

    gap: 10px;

    border: 1px solid transparent;

    border-radius: 999px;

    font-family: var(--font-display);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.03em;

    cursor: pointer;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition),
        color var(--transition);
}

.button svg {
    width: 17px;
    height: 17px;

    transition: transform var(--transition);
}

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

.button:hover svg {
    transform: translate(2px, -2px);
}

.button--primary {
    background:
        linear-gradient(
            135deg,
            var(--blue-bright),
            var(--blue-deep)
        );

    color: #001019;

    box-shadow:
        0 12px 35px
        rgba(0, 130, 255, 0.22);
}

.button--primary:hover {
    box-shadow:
        0 16px 42px
        rgba(0, 168, 255, 0.34);
}

.button--glass {
    border-color: var(--border-strong);

    background:
        rgba(255, 255, 255, 0.045);

    color: var(--white);

    backdrop-filter: blur(12px);
}

.button--glass:hover {
    border-color:
        rgba(39, 194, 255, 0.34);

    background:
        rgba(39, 194, 255, 0.07);
}

.button--ghost {
    border-color: var(--border);

    background: transparent;

    color: var(--text);
}

.button--ghost:hover {
    border-color: var(--blue-border);
    color: var(--blue-bright);
}

.button--small {
    min-height: 42px;
    padding: 0 19px;

    font-size: 0.72rem;
}

.button--full {
    width: 100%;
}


/* =========================================================
   TEXT LINKS
========================================================= */

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: var(--white);

    font-family: var(--font-display);

    font-size: 0.76rem;
    font-weight: 700;

    letter-spacing: 0.04em;

    transition: color var(--transition);
}

.text-link svg {
    width: 17px;

    transition: transform var(--transition);
}

.text-link:hover {
    color: var(--blue-bright);
}

.text-link:hover svg {
    transform: translateX(4px);
}


/* =========================================================
   PAGE LOADER
========================================================= */

.page-loader {
    position: fixed;
    inset: 0;

    z-index: 9999;

    display: grid;
    place-items: center;

    background: #020507;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 500ms ease,
        visibility 500ms ease;
}

.page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;

    pointer-events: none;
}

.page-loader__content {
    width: min(210px, 55vw);

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 24px;
}

.page-loader__logo {
    width: 130px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 24px
            rgba(0, 168, 255, 0.22)
        );
}

.page-loader__line {
    width: 100%;
    height: 2px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.07);
}

.page-loader__line span {
    display: block;

    width: 45%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--blue-bright),
            transparent
        );

    animation:
        loaderLine 1.1s ease-in-out infinite;
}

@keyframes loaderLine {
    from {
        transform: translateX(-120%);
    }

    to {
        transform: translateX(260%);
    }
}


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

.site-header {
    position: fixed;

    top: 0;
    left: 0;

    z-index: 1000;

    width: 100%;

    border-bottom:
        1px solid transparent;

    transition:
        background var(--transition),
        border-color var(--transition),
        backdrop-filter var(--transition);
}

.site-header.is-scrolled {
    background:
        rgba(3, 7, 11, 0.82);

    border-color: var(--border);

    backdrop-filter:
        blur(20px) saturate(140%);
}

.site-header__inner {
    min-height: var(--header-height);

    display: flex;
    align-items: center;

    justify-content: space-between;

    gap: 30px;
}

.brand {
    flex: 0 0 auto;
}

.brand__logo {
    width: 90px;
    max-height: 62px;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 15px
            rgba(0, 168, 255, 0.08)
        );
}

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

    gap: 32px;

    margin-left: auto;
}

.desktop-nav__link {
    position: relative;

    padding: 12px 0;

    color: #9ba7b1;

    font-size: 0.78rem;
    font-weight: 600;

    transition: color var(--transition);
}

.desktop-nav__link::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 3px;

    width: 0;
    height: 1px;

    background: var(--blue-bright);

    transform: translateX(-50%);

    transition: width var(--transition);
}

.desktop-nav__link:hover,
.desktop-nav__link.is-active {
    color: var(--white);
}

.desktop-nav__link:hover::after,
.desktop-nav__link.is-active::after {
    width: 18px;
}

.site-header__actions {
    display: flex;
    align-items: center;

    gap: 10px;
}

.account-button,
.menu-button {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    flex: 0 0 auto;

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

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.035);

    color: var(--white);

    cursor: pointer;

    transition:
        background var(--transition),
        border-color var(--transition),
        color var(--transition),
        transform var(--transition);
}

.account-button:hover,
.menu-button:hover {
    border-color: var(--blue-border);

    background: var(--blue-soft);

    color: var(--blue-bright);

    transform: translateY(-1px);
}

.account-button svg {
    width: 18px;
    height: 18px;
}

.menu-button {
    display: none;

    position: relative;
}

.menu-button span {
    position: absolute;

    width: 17px;
    height: 1px;

    background: currentColor;

    transition:
        transform var(--transition),
        top var(--transition);
}

.menu-button span:first-child {
    top: 17px;
}

.menu-button span:last-child {
    top: 23px;
}


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

.mobile-menu {
    position: fixed;
    inset: 0;

    z-index: 1500;

    visibility: hidden;

    pointer-events: none;
}

.mobile-menu.is-open {
    visibility: visible;

    pointer-events: auto;
}

.mobile-menu__backdrop {
    position: absolute;
    inset: 0;

    background:
        rgba(0, 0, 0, 0.72);

    opacity: 0;

    backdrop-filter: blur(8px);

    transition: opacity 300ms ease;
}

.mobile-menu.is-open
.mobile-menu__backdrop {
    opacity: 1;
}

.mobile-menu__panel {
    position: absolute;

    top: 0;
    right: 0;

    width: min(430px, 92vw);
    height: 100%;

    padding: 26px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(
            180deg,
            #08111a,
            #030609
        );

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

    transform: translateX(102%);

    transition:
        transform 380ms
        cubic-bezier(.22, .61, .36, 1);
}

.mobile-menu.is-open
.mobile-menu__panel {
    transform: translateX(0);
}

.mobile-menu__top {
    display: flex;

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

    padding-bottom: 25px;

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

.mobile-menu__logo {
    width: 94px;
}

.mobile-menu__close {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

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

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.03);

    color: var(--white);

    cursor: pointer;
}

.mobile-menu__close svg {
    width: 18px;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;

    margin-top: 28px;
}

.mobile-menu__nav a {
    display: flex;
    align-items: center;

    gap: 17px;

    padding: 18px 4px;

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

    color: var(--white);

    font-family: var(--font-display);

    font-size:
        clamp(1.05rem, 4vw, 1.35rem);

    font-weight: 700;

    transition:
        color var(--transition),
        padding-left var(--transition);
}

.mobile-menu__nav a span {
    color: var(--blue-bright);

    font-family: var(--font-body);

    font-size: 0.62rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.mobile-menu__nav a:hover {
    padding-left: 8px;

    color: var(--blue-bright);
}

.mobile-menu__actions {
    margin-top: auto;

    display: grid;
    gap: 10px;
}


/* =========================================================
   FLOATING ASSISTANT
========================================================= */

.floating-assistant {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 850;

    min-height: 52px;

    padding: 0 19px;

    display: flex;
    align-items: center;

    gap: 10px;

    border:
        1px solid
        rgba(39, 194, 255, 0.25);

    border-radius: 999px;

    background:
        rgba(7, 16, 24, 0.88);

    color: var(--white);

    box-shadow:
        0 16px 45px
        rgba(0, 0, 0, 0.35),
        0 0 30px
        rgba(0, 168, 255, 0.08);

    backdrop-filter: blur(18px);

    cursor: pointer;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.floating-assistant:hover {
    transform: translateY(-3px);

    border-color:
        rgba(39, 194, 255, 0.55);

    background:
        rgba(8, 25, 37, 0.94);
}

.floating-assistant svg {
    width: 19px;
    height: 19px;

    color: var(--blue-bright);
}

.floating-assistant__status {
    position: absolute;

    top: 2px;
    left: 5px;

    width: 8px;
    height: 8px;

    border: 2px solid #071018;

    border-radius: 50%;

    background: var(--success);

    box-shadow:
        0 0 10px
        rgba(41, 211, 145, 0.8);
}

.floating-assistant__text {
    font-size: 0.74rem;
    font-weight: 600;
}


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

.site-footer {
    position: relative;

    padding:
        80px 0 28px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #05090d,
            #020405
        );

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

.site-footer::before {
    content: "";

    position: absolute;

    width: 550px;
    height: 300px;

    left: -180px;
    bottom: -180px;

    background:
        radial-gradient(
            circle,
            rgba(0, 119, 255, 0.12),
            transparent 70%
        );

    pointer-events: none;
}

.site-footer__top {
    position: relative;

    display: grid;

    grid-template-columns:
        minmax(240px, 1.1fr)
        2fr;

    gap: 90px;

    padding-bottom: 65px;
}

.site-footer__brand img {
    width: 125px;

    margin-bottom: 25px;
}

.site-footer__brand p {
    max-width: 310px;

    color: var(--text-soft);

    line-height: 1.75;
}

.site-footer__columns {
    display: grid;

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

    gap: 35px;
}

.footer-column {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 13px;
}

.footer-column h3 {
    margin-bottom: 9px;

    color: var(--white);

    font-family: var(--font-display);

    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.footer-column a,
.footer-column span {
    color: var(--text-soft);

    font-size: 0.82rem;

    overflow-wrap: anywhere;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--blue-bright);
}

.site-footer__bottom {
    position: relative;

    padding-top: 25px;

    display: flex;

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

    gap: 20px;

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

    color: var(--text-muted);

    font-size: 0.7rem;
}


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

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 21px;
    }

    .desktop-nav__link {
        font-size: 0.72rem;
    }

    .site-footer__top {
        gap: 50px;
    }

}


@media (max-width: 900px) {

    :root {
        --header-height: 74px;
    }

    .desktop-nav,
    .desktop-agenda {
        display: none;
    }

    .menu-button {
        display: grid;
    }

    .section-heading--split {
        grid-template-columns: 1fr;

        gap: 24px;
    }

    .section-heading__side {
        max-width: 560px;
    }

    .site-footer__top {
        grid-template-columns: 1fr;

        gap: 50px;
    }

}


@media (max-width: 680px) {

    .container {
        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }

    .section {
        padding:
            78px 0;
    }

    .brand__logo {
        width: 76px;
    }

    .site-header__actions {
        gap: 7px;
    }

    .account-button,
    .menu-button {
        width: 40px;
        height: 40px;
    }

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

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

    .section-heading__eyebrow {
        font-size: 0.62rem;
    }

    .site-footer {
        padding-top: 65px;
    }

    .site-footer__columns {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        row-gap: 40px;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;

        gap: 8px;
    }

    .floating-assistant {
        right: 14px;
        bottom: 14px;

        width: 50px;
        min-height: 50px;

        padding: 0;

        justify-content: center;
    }

    .floating-assistant__text {
        display: none;
    }

}


@media (max-width: 430px) {

    .site-footer__columns {
        grid-template-columns: 1fr;
    }

    .mobile-menu__panel {
        padding:
            22px 18px;
    }

}