@font-face {
    font-family: 'Roboto';
    src: url('../fonts/roboto/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Bold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* cookie */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    left: 20px;
    background: #050821;
    color: #fff;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    z-index: 9999;
    display: none;
    flex-direction: column;
    align-items: end;
    max-width: max-content;
    margin-left: auto;
}

/* Back to top */

.back-to-top {
    position: fixed;
    bottom: 15px;
    left: 20px;
    z-index: 1000;
    padding: 10px;
    border: none;
    background-color: #EDEDFA;
    color: #EDEDFA;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 50%;
}

.back-to-top img {
    width: 30px;
    height: 30px;
}

.back-to-top.show {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #9f9fc0;
}

.kerndigital,
.kerndigital a {
    font-size: 14px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all .3s ease;
}

.kerndigital a:hover {
    color: rgba(255, 255, 255, 0.9);

    transition: all .3s ease;

}

a {
    color: #EDEDFA;
    opacity: 0.7;
    transition: all .3s ease;
}

a:hover {
    opacity: 1;
    transition: all .3s ease;
}



.montserrat {
    font-family: 'Montserrat', sans-serif !important;
}

/* Базовый фон на html — как запасной цвет */
html {
    background: #050b27;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif !important;
    font-style: normal;
    color: #EDEDFA;
    padding: 0;
    margin: 0;
    cursor: default;

    /* Важно: сам body — прозрачный, без градиента */
    background: transparent;
}

/* Фиксированный слой под всем контентом */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;

    /* Твой градиент 1:1 (можно править углы/стопы) */
    background: linear-gradient(100deg, rgba(11, 15, 32, 1) 35%, rgba(41, 59, 126, 1) 89%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    /* ГПУ-композитинг, меньше репейнтов */
    transform: translateZ(0);
    will-change: transform;
}

/* Если у пользователя сниженная анимация — всё статично (и так статично, но на будущее) */
@media (prefers-reduced-motion: reduce) {
    body::before {
        transform: none;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif !important;
}

.container-90 {
    width: 90%;
    margin: 0 auto;
}

.container-70 {
    width: 70%;
    margin: 0 auto;
}

.blur-wrap {
    box-shadow: 0 0 20px #1B2341;
    position: relative;
    padding: 20px;
    border-radius: 16px;
    background: rgba(176, 178, 222, .2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.blue-color {
    color: #444CED;
}


.header-top {
    background-color: #000;
    padding: 10px;
}

header .logo {
    height: 70px;
    transition: all 500ms ease;
}

header .blur-wrap {
    padding: 10px;
}

.mobile-toggle {
    display: none;
}

/* Выезжающее меню */

/* фиксируем шапку */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    transition: background .3s ease, box-shadow .3s ease;
}

/* отступ под высоту шапки */
:root {
    --header-h: 72px;
}

/* дефолт на всякий случай */
body {
    padding-top: var(--header-h);
}

/* мобильное меню, чтобы не «толкало» контент */
.mobile-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow: auto;
    display: none;
    width: 90%;
    margin: 0 auto;
}

/* При открытии */
.mobile-menu.open {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.mobile-menu .menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.btn {
    font-family: 'Montserrat', sans-serif !important;
    padding: 6px 30px;
    opacity: 1 !important;
}

.btn:hover {
    box-shadow: 0 0 10px #3a4463;
}

.btn-primary {
    --bs-btn-color: #EDEDFA;
    --bs-btn-bg: #444CED;
    --bs-btn-border-color: #444CED;
    --bs-btn-hover-color: #EDEDFA;
    --bs-btn-hover-bg: #343bc4;
    --bs-btn-hover-border-color: #343bc4;
    --bs-btn-focus-shadow-rgb: 217, 164, 6;
    --bs-btn-active-color: #EDEDFA;
    --bs-btn-active-bg: #343bc4;
    --bs-btn-active-border-color: #343bc4;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #EDEDFA;
    --bs-btn-disabled-bg: #343bc4;
    --bs-btn-disabled-border-color: #343bc4;
}

.btn-transparent {
    --bs-btn-color: #EDEDFA;
    --bs-btn-bg: rgba(176, 178, 222, .2);
    --bs-btn-border-color: rgba(176, 178, 222, .2);
    --bs-btn-hover-color: #EDEDFA;
    --bs-btn-hover-bg: rgba(109, 113, 186, 0.531);
    --bs-btn-hover-border-color: rgba(109, 113, 186, 0.531);
    --bs-btn-focus-shadow-rgb: 217, 164, 6;
    --bs-btn-active-color: #EDEDFA;
    --bs-btn-active-bg: rgba(109, 113, 186, 0.531);
    --bs-btn-active-border-color: rgba(109, 113, 186, 0.531);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #EDEDFA;
    --bs-btn-disabled-bg: rgba(109, 113, 186, 0.531);
    --bs-btn-disabled-border-color: rgba(109, 113, 186, 0.531);
}

.nav-item {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    color: #EDEDFA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    /* можно заменить на top: 0, если хочешь сверху */
    height: 4px;
    width: 0;
    background: #EDEDFA;
    /* цвет полоски */
    transition: width 0.3s ease;
}

.nav-item.active a {
    opacity: 1;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
}

hr.vertical {
    width: 2px;
    border: none;
    background-color: #EDEDFA;
    height: auto;
    align-self: stretch;
    border-radius: 5px;
}

hr.horizontal {
    width: auto;
    border: none;
    background-color: #EDEDFA;
    height: 2px;
    align-self: stretch;
    border-radius: 5px;
}

/* ---- */

:root {
    --accent: #444CED;
}

.flow {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    align-items: start;
    position: relative;
    padding-bottom: 24px;
}

.dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgb(50 57 92);
    color: #EDEDFA;
    border: 1px solid rgb(50 57 92);
    transition: background .3s, color .3s, border-color .3s, box-shadow .3s;
    font-weight: 700;
}

/* Рельса (база) */
.rail,
.rail-progress {
    position: absolute;
    left: 26px;
    width: 2px;
    border-radius: 2px;
}

.rail {
    background: linear-gradient(#2b2f55, #1e2246);
}

.rail-progress {
    background: var(--accent, #444CED);
    height: 0;
}


/* Активные (заполненные) дотсы наследуют общий цвет */
.dot.filled {
    background: var(--accent);
    color: #EDEDFA;
    border-color: #444CED;
    box-shadow: 0 8px 24px color-mix(in oklab, var(--accent) 55%, transparent);
}



/* ---- */

.dark-blue-bg {
    background: #121833;
    background: linear-gradient(180deg, rgba(18, 24, 51, 1) 0%, rgba(54, 60, 92, 1) 100%);
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: 0 0 40px #7b85ba9b;
}

/* ---- */

footer {
    background-color: #02051b;
}