:root {
    --black: #020813;
    --black-soft: #071326;
    --blue: #67d8ff;
    --blue-soft: #a9ecff;
    --blue-deep: #0b7fc7;
    --blue-muted: #76bfe2;
    --line: rgba(103, 216, 255, 0.28);
    --glow: 0 0 34px rgba(103, 216, 255, 0.34);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% 10%, rgba(103, 216, 255, 0.22), transparent 28rem),
        radial-gradient(circle at 85% 25%, rgba(11, 127, 199, 0.18), transparent 24rem),
        linear-gradient(135deg, #020813 0%, #061529 48%, #020813 100%);
    color: var(--blue-soft);
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(103, 216, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 216, 255, 0.045) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a {
    color: var(--blue);
    text-decoration: none;
}

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

.container {
    width: min(1120px, calc(100% - 32px));
    margin-inline: auto;
}

body > .container {
    position: relative;
    z-index: 1;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 18px 0;
    background: rgba(2, 8, 19, 0.86);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar-brand {
    font-size: 1.2rem;
    color: var(--blue);
    text-shadow: 0 0 22px rgba(103, 216, 255, 0.62);
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-link {
    display: inline-flex;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--blue-soft);
    transition: color 180ms ease, border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link:hover {
    color: #020813 !important;
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.navbar-toggler {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(103, 216, 255, 0.08);
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.navbar-toggler:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-2px);
}

.navbar-toggler:hover .navbar-toggler-icon,
.navbar-toggler:hover .navbar-toggler-icon::before,
.navbar-toggler:hover .navbar-toggler-icon::after {
    background: var(--black);
}

.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    display: block;
    width: 20px;
    height: 2px;
    margin: auto;
    background: var(--blue);
    border-radius: 999px;
    content: "";
}

.navbar-toggler-icon {
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    position: absolute;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -7px;
}

.navbar-toggler-icon::after {
    top: 7px;
}

.py-5 {
    padding-top: 72px;
    padding-bottom: 72px;
}

.py-4 {
    padding-top: 28px;
    padding-bottom: 28px;
}

.text-center {
    text-align: center;
}

.row {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-end {
    justify-content: flex-end;
}

.row.justify-content-center > .col-md-6 {
    grid-column: 4 / span 6;
}

.col-md-4 {
    grid-column: span 4;
}

.col-md-6 {
    grid-column: span 6;
}

.col-md-8 {
    grid-column: span 8;
}

.g-4 {
    gap: 28px;
}

.display-4 {
    font-size: clamp(3.2rem, 9vw, 7.8rem);
    line-height: 0.9;
}

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

h1,
h2,
h5,
.fw-bold {
    font-weight: 800;
}

h1,
h2 {
    color: var(--blue);
    text-shadow: 0 0 32px rgba(103, 216, 255, 0.42);
}

h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

h5 {
    font-size: 1.2rem;
    color: var(--blue);
}

p {
    color: var(--blue-soft);
    line-height: 1.75;
}

.lead {
    max-width: 680px;
    margin-inline: auto;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    color: var(--blue-soft);
}

.mb-1 {
    margin-bottom: 6px;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-2 {
    margin-bottom: 12px;
}

.mb-3 {
    margin-bottom: 18px;
}

.mb-4 {
    margin-bottom: 24px;
}

.mb-5 {
    margin-bottom: 42px;
}

.mt-2 {
    margin-top: 14px;
}

.mt-3 {
    margin-top: 18px;
}

.mt-4 {
    margin-top: 28px;
}

.me-2 {
    margin-right: 10px;
}

.m-1 {
    margin: 6px;
}

.m-2 {
    margin: 8px;
}

.p-2 {
    padding: 8px 12px;
}

.p-4 {
    padding: 28px;
}

.bg-black,
.card,
section.bg-black {
    background:
        linear-gradient(145deg, rgba(103, 216, 255, 0.14), rgba(2, 8, 19, 0.92) 48%),
        var(--black);
}

section.bg-black,
section.border,
.card,
.p-4.bg-black {
    border: 1px solid var(--line);
    box-shadow: var(--glow), 0 24px 60px rgba(0, 0, 0, 0.38);
}

section.border {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: grid;
    place-items: center;
}

section.border::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(103, 216, 255, 0.18);
    border-radius: 24px;
    pointer-events: none;
}

.rounded {
    border-radius: 30px;
}

.rounded-circle {
    border-radius: 50%;
}

.shadow {
    box-shadow: var(--glow), 0 24px 60px rgba(0, 0, 0, 0.34);
}

.border-primary {
    border-color: var(--line) !important;
}

.text-primary,
.text-light,
.text-white-50 {
    color: var(--blue) !important;
}

.text-white-50 {
    opacity: 0.7;
}

.img-fluid {
    height: auto;
}

.rounded-circle {
    aspect-ratio: 1;
    object-fit: cover;
    padding: 7px;
    background: rgba(103, 216, 255, 0.08);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid var(--blue);
    border-radius: 999px;
    font-weight: 700;
    color: var(--black);
    background: var(--blue);
    box-shadow: 0 0 24px rgba(103, 216, 255, 0.28);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 34px rgba(103, 216, 255, 0.5);
    background: var(--blue-soft);
}

.btn-outline-light,
.btn-outline-primary {
    color: var(--blue);
    background: transparent;
}

.btn-outline-light:hover,
.btn-outline-primary:hover {
    color: var(--black);
    background: var(--blue);
}

.btn-sm {
    min-height: 40px;
    padding: 9px 16px;
    font-size: 0.95rem;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.small {
    font-size: 0.9rem;
}

.card {
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: var(--blue) !important;
    box-shadow: 0 0 46px rgba(103, 216, 255, 0.44), 0 26px 70px rgba(0, 0, 0, 0.45);
}

.card-img-top {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-bottom: 1px solid var(--line);
    filter: saturate(1.15) contrast(1.02);
}

.card-body {
    padding: 24px;
}

.d-flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.badge {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--black);
    background: var(--blue);
    box-shadow: 0 0 18px rgba(103, 216, 255, 0.28);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--blue);
    font-weight: 700;
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--blue-soft);
    background: rgba(2, 8, 19, 0.78);
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-control::placeholder {
    color: rgba(169, 236, 255, 0.58);
}

.form-control:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(103, 216, 255, 0.16);
    background: var(--black);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.card + .text-center.mt-4 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 36px;
}

.card + .text-center.mt-4 p {
    flex: 0 0 100%;
}

.card + .text-center.mt-4 .btn {
    min-width: 112px;
    margin: 0;
}

footer {
    position: relative;
    z-index: 1;
    margin-top: 36px;
    background: rgba(2, 8, 19, 0.92);
    border-top: 1px solid var(--line);
}

section,
.card,
.p-4.bg-black {
    animation: fadeUp 650ms ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 820px) {
    body {
        background:
            radial-gradient(circle at 50% 0%, rgba(103, 216, 255, 0.24), transparent 18rem),
            linear-gradient(160deg, #020813 0%, #061529 52%, #020813 100%);
    }

    .container {
        width: min(100% - 24px, 720px);
    }

    body > .container {
        padding-top: 28px;
        padding-bottom: 36px;
    }

    .navbar {
        padding: 12px 0;
    }

    .navbar .container {
        flex-wrap: wrap;
        gap: 12px;
    }

    .navbar-brand {
        max-width: calc(100% - 60px);
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .navbar-toggler {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
    }

    .navbar-collapse {
        display: none;
        width: 100%;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 20px;
        background: rgba(2, 8, 19, 0.94);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
    }

    .navbar-collapse.show {
        display: block;
        animation: fadeUp 220ms ease both;
    }

    .navbar-nav {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .nav-link {
        justify-content: center;
        width: 100%;
        padding: 12px 16px;
    }

    .row {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .col-md-4,
    .col-md-6,
    .col-md-8 {
        grid-column: span 1;
    }

    .row.justify-content-center > .col-md-6 {
        grid-column: span 1;
    }

    .py-5 {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    section.border {
        min-height: 360px;
    }
}

@media (max-width: 560px) {
    body::before {
        background-size: 38px 38px;
        opacity: 0.8;
    }

    .container {
        width: min(100% - 18px, 440px);
    }

    body > .container {
        padding-top: 22px;
        padding-bottom: 28px;
    }

    .py-5 {
        padding-top: 38px;
        padding-bottom: 38px;
    }

    .py-4 {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    section.border {
        min-height: auto;
        padding: 56px 12px;
        border-radius: 22px;
    }

    section.border::after {
        inset: 10px;
        border-radius: 16px;
    }

    .display-4 {
        font-size: clamp(2.45rem, 17vw, 4.2rem);
        line-height: 0.96;
        overflow-wrap: anywhere;
    }

    h1 {
        font-size: clamp(2.15rem, 12vw, 3.2rem);
        line-height: 1.05;
    }

    h2 {
        font-size: clamp(1.85rem, 10vw, 2.6rem);
        line-height: 1.08;
    }

    h5 {
        font-size: 1.08rem;
    }

    p,
    .lead {
        font-size: 1rem;
        line-height: 1.65;
    }

    .mt-4 {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .me-2 {
        margin-right: 0;
    }

    .btn {
        width: 100%;
        min-height: 48px;
        padding: 12px 16px;
    }

    .card,
    .p-4.bg-black {
        border-radius: 20px;
    }

    .card-body,
    .p-4 {
        padding: 20px;
    }

    .card:hover {
        transform: translateY(-4px);
    }

    .rounded-circle {
        max-width: 230px;
        margin-inline: auto;
    }

    .badge {
        margin: 5px;
        padding: 8px 10px;
        font-size: 0.9rem;
    }

    .form-control {
        min-height: 50px;
        border-radius: 14px;
        font-size: 1rem;
    }

    .card + .text-center.mt-4 {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 56px;
        padding-bottom: 18px;
    }

    .card + .text-center.mt-4 .btn {
        width: min(100%, 280px);
    }

    textarea.form-control {
        min-height: 130px;
    }

    .mb-5 {
        margin-bottom: 30px;
    }

    footer {
        clear: both;
        margin-top: 42px;
        padding-inline: 12px;
    }
}

@media (max-width: 360px) {
    .container {
        width: min(100% - 14px, 340px);
    }

    .navbar-brand {
        font-size: 0.95rem;
    }

    .navbar-toggler {
        width: 40px;
        height: 40px;
    }

    .display-4 {
        font-size: 2.25rem;
    }

    h1 {
        font-size: 2rem;
    }
}
