body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: linear-gradient(180deg, #f9fbff 0%, #f4f7fc 100%);
    color: #1d2636;
}

.container {
    width: min(1140px, calc(100% - 2.5rem));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid #e5e9f2;
    backdrop-filter: blur(12px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header--scrolled {
    box-shadow: 0 10px 24px rgba(25, 40, 77, 0.14);
}

.header--hidden {
    transform: translateY(-100%);
}

.nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #122648;
}

.nav__logo-text {
    font-size: 1.3rem;
    font-weight: 800;
}

.nav__logo-text--primary {
    color: #0e1e44;
}

.nav__logo-text--secondary {
    color: #3563e9;
}

.nav__logo-badge {
    font-size: 0.74rem;
    color: #fff;
    background: linear-gradient(135deg, #304ecc 0%, #396ff8 100%);
    border-radius: 999px;
    padding: 0.28rem 0.58rem;
}

.nav__list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__link {
    color: #637089;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.65rem;
    border-radius: 10px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.nav__link:hover,
.nav__link--active {
    color: #3563e9;
    background-color: #ecf2ff;
}

.nav__item--auth {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.nav__toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #dbe3f4;
    border-radius: 10px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav__toggle-bar {
    width: 18px;
    height: 2px;
    border-radius: 4px;
    background: #263045;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle--active .nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle--active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav__toggle--active .nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 12px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: linear-gradient(135deg, #3563e9 0%, #2f54c4 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(53, 99, 233, 0.25);
}

.btn--secondary {
    background: #fff;
    color: #3563e9;
    border-color: #d6dff1;
}

.btn--sm {
    min-height: 38px;
    padding: 0.5rem 0.95rem;
    font-size: 0.86rem;
}

.btn--lg {
    min-height: 48px;
    padding: 0.8rem 1.35rem;
    font-size: 0.95rem;
}

.btn--full {
    width: 100%;
}

.section-badge {
    display: inline-block;
    background: #edf3ff;
    color: #2f54c4;
    border: 1px solid #d8e5ff;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    margin-bottom: 0.65rem;
    color: #12284e;
}

.section-title span {
    color: #3563e9;
}

.section-subtitle {
    color: #637089;
    max-width: 740px;
    margin-inline: auto;
}

.footer {
    background: #0e1730;
    color: #e2e8f8;
    padding: 3rem 0 1.2rem;
}

.footer a {
    color: #c6d3f5;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 1.2rem;
}

.footer__description {
    color: #99abd7;
    margin: 0.8rem 0;
}

.footer__links-title {
    color: #f3f6ff;
    margin-bottom: 0.6rem;
    font-size: 0.98rem;
}

.footer__links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer__links li {
    margin: 0.45rem 0;
}

.footer__bottom {
    margin-top: 1.35rem;
    border-top: 1px solid rgba(208, 220, 248, 0.16);
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    color: #9fb0da;
}

@media (max-width: 900px) {
    .nav__toggle {
        display: inline-flex;
    }

    .nav__list {
        position: absolute;
        left: 1rem;
        right: 1rem;
        top: calc(100% + 0.55rem);
        padding: 0.9rem;
        border: 1px solid #dbe3f4;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 18px 34px rgba(14, 30, 66, 0.16);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0.3rem;
    }

    .nav__list--open {
        display: flex;
    }

    .nav__item--auth {
        margin-top: 0.3rem;
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 760px) {
    .footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(1140px, calc(100% - 1.4rem));
    }
}
