:root {
    --sp-primary: #2185d0;
    --sp-primary-rgb: 33, 133, 208;
    --sp-primary-dark: #1769a6;
    --sp-accent: #12b886;
    --bs-primary: var(--sp-primary);
    --bs-primary-rgb: var(--sp-primary-rgb);
    --bs-link-color: var(--sp-primary);
    --bs-link-hover-color: var(--sp-primary-dark);
    --bs-border-radius: 0.5rem;
    --bs-body-font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background:
        radial-gradient(circle at 12% 8%, rgba(var(--sp-primary-rgb), 0.16), transparent 26rem),
        radial-gradient(circle at 86% 2%, rgba(18, 184, 134, 0.13), transparent 24rem),
        linear-gradient(180deg, #edf6ff 0%, #f3f8fc 42%, #eaf1f7 100%);
    color: #152238;
    min-height: 100vh;
}

a {
    text-decoration: none;
}

.btn-primary,
.btn-blue,
.btn.primary,
.button.primary,
.button.blue {
    --bs-btn-bg: var(--sp-primary);
    --bs-btn-border-color: var(--sp-primary);
    --bs-btn-hover-bg: var(--sp-primary-dark);
    --bs-btn-hover-border-color: var(--sp-primary-dark);
    --bs-btn-active-bg: var(--sp-primary-dark);
    --bs-btn-active-border-color: var(--sp-primary-dark);
}

.btn-outline-primary,
.button.basic.blue,
.button.basic.primary {
    --bs-btn-color: var(--sp-primary);
    --bs-btn-border-color: rgba(var(--sp-primary-rgb), 0.35);
    --bs-btn-hover-bg: var(--sp-primary);
    --bs-btn-hover-border-color: var(--sp-primary);
}

.site-shell {
    min-height: 100vh;
}

.site-navbar {
    min-height: 4.15rem;
    padding: 0.65rem 0;
    background: transparent;
    border: 0;
    border-radius: 0 !important;
    box-shadow: none;
}

.site-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    min-height: 2.55rem;
    padding: 0 0.65rem;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-shadow: 0 0.6rem 1.3rem rgba(0, 0, 0, 0.16);
}

.site-navbar .navbar-brand::before {
    width: 0.62rem;
    height: 0.62rem;
    margin-right: 0.65rem;
    content: "";
    background: var(--sp-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0.35rem rgba(18, 184, 134, 0.14);
}

.site-navbar .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-height: 2.35rem;
    padding: 0.5rem 0.62rem !important;
    color: rgba(255, 255, 255, 0.76);
    font-weight: 600;
    border: 0;
    border-radius: 0;
    transition: color 0.18s ease, transform 0.18s ease;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: #fff;
}

.site-navbar .nav-link:hover {
    transform: translateY(-1px);
}

.site-navbar .nav-link::after {
    position: absolute;
    right: 0.62rem;
    bottom: 0.16rem;
    left: 0.62rem;
    height: 0.16rem;
    content: "";
    background: transparent;
    border-radius: 999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: background-color 0.18s ease, transform 0.18s ease;
}

.site-navbar .nav-link:hover::after {
    background: rgba(255, 255, 255, 0.42);
    transform: scaleX(1);
}

.site-navbar .nav-link.active {
    font-weight: 800;
}

.site-navbar .nav-link.active::after {
    background: #fff;
    box-shadow: 0 0 0.85rem rgba(255, 255, 255, 0.55);
    transform: scaleX(1);
}

.site-navbar .nav-link i {
    margin-right: 0.1rem !important;
    opacity: 0.92;
}

.site-navbar .navbar-toggler {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2) !important;
    border-radius: 999px;
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse {
        margin-top: 0.65rem;
        padding: 0.65rem 0.75rem;
        background: rgba(7, 24, 39, 0.34);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 0.9rem;
        backdrop-filter: blur(16px);
    }

    .site-navbar .nav-link {
        width: 100%;
        padding-right: 0.25rem !important;
        padding-left: 0.25rem !important;
    }

    .site-navbar .nav-link::after {
        right: auto;
        bottom: 0.2rem;
        left: 0.25rem;
        width: 2rem;
    }
}

.site-hero,
.masthead {
    background:
        radial-gradient(circle at 18% 24%, rgba(33, 133, 208, 0.34), transparent 32%),
        linear-gradient(135deg, #071827 0%, #0f3455 52%, #1769a6 100%);
    color: #fff;
    padding: 1.25rem 0 4.5rem;
}

.hero-content {
    padding: 4rem 0 0;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4.6rem);
    font-weight: 800;
    line-height: 1;
}

.hero-lead,
.lead.centered {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.15rem;
}

.hero-product {
    display: block;
    width: min(100%, 920px);
    margin: 3rem auto -7rem;
    border-radius: 1rem;
    box-shadow: 0 2rem 4rem rgba(5, 18, 32, 0.38);
}

.section {
    padding: 5rem 0;
}

.section-muted {
    background: #eef5fb;
}

.feature-card,
.segment,
.card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 0.85rem;
    box-shadow: 0 1.25rem 2.75rem rgba(21, 34, 56, 0.1);
    backdrop-filter: blur(10px);
}

.feature-card {
    height: 100%;
    padding: 1.5rem;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    color: var(--sp-primary);
    background: rgba(var(--sp-primary-rgb), 0.12);
    border-radius: 0.85rem;
}

.site-footer,
.footer.vertical {
    background: #081724;
    color: rgba(255, 255, 255, 0.72);
    padding: 3.5rem 0;
}

.site-footer h5,
.footer.vertical h5 {
    color: #fff;
}

.site-footer a,
.footer.vertical a {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.35rem;
}

.site-footer a:hover,
.footer.vertical a:hover {
    color: #fff;
}

.page-header-band {
    background:
        radial-gradient(circle at 18% 10%, rgba(33, 133, 208, 0.38), transparent 30rem),
        linear-gradient(135deg, #061727 0%, #0b2e4f 48%, #1769a6 100%);
    color: #fff;
    padding: 1rem 0 1.35rem;
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.page-main {
    position: relative;
    padding: 3rem 0 4rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0) 18rem),
        radial-gradient(circle at 84% 4rem, rgba(var(--sp-primary-rgb), 0.12), transparent 22rem),
        radial-gradient(circle at 12% 14rem, rgba(18, 184, 134, 0.1), transparent 20rem);
}

.page-main::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8rem;
    content: "";
    background: linear-gradient(180deg, rgba(7, 24, 39, 0.08), rgba(7, 24, 39, 0));
    pointer-events: none;
}

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

.sidebar-panel {
    position: sticky;
    top: 1rem;
    padding: 0.25rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.36);
    box-shadow: 0 1rem 2.5rem rgba(21, 34, 56, 0.06);
    backdrop-filter: blur(10px);
}

.sidebar-panel .list-group,
.sidebar-panel .btn {
    box-shadow: 0 0.45rem 1rem rgba(21, 34, 56, 0.04);
}

.list-group {
    border-radius: 0.75rem;
    box-shadow: 0 1rem 2rem rgba(21, 34, 56, 0.06);
}

.list-group-item {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(21, 34, 56, 0.08);
}

.social-links .btn {
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 0.5rem;
}

.accordion-button {
    font-weight: 700;
}

.accordion-button:not(.collapsed) {
    color: var(--sp-primary-dark);
    background: rgba(var(--sp-primary-rgb), 0.08);
}

.list-group-item-action:hover {
    color: var(--sp-primary-dark);
    background: rgba(var(--sp-primary-rgb), 0.07);
}

.divider {
    border-top: 1px solid var(--bs-border-color);
    margin: 1rem 0;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    font-weight: 600;
    color: var(--bs-body-color);
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.45rem;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
    color: var(--sp-primary-dark);
    border-color: rgba(var(--sp-primary-rgb), 0.35);
}

.button.primary,
.button.blue {
    color: #fff;
    background: var(--sp-primary);
    border-color: var(--sp-primary);
}

.button.green,
.button.positive {
    color: #fff;
    background: #198754;
    border-color: #198754;
}

.button.red,
.button.negative {
    color: #fff;
    background: #dc3545;
    border-color: #dc3545;
}

.button.orange {
    color: #fff;
    background: #fd7e14;
    border-color: #fd7e14;
}

.button.basic {
    color: var(--bs-body-color);
    background: transparent;
}

.button.basic.blue {
    color: var(--sp-primary);
}

.button.basic.red {
    color: #dc3545;
}

.button.basic.green {
    color: #198754;
}

.button.basic.orange {
    color: #fd7e14;
}

.button.fluid,
.fluid.button {
    display: flex;
    width: 100%;
}

.button.small,
.small.button {
    padding: 0.35rem 0.65rem;
    font-size: 0.875rem;
}

.button.mini,
.mini.button,
.button.tiny,
.tiny.button {
    padding: 0.2rem 0.45rem;
    font-size: 0.75rem;
}

.buttons {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.buttons.two > *,
.buttons.three > * {
    flex: 1 1 auto;
}

.message {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.65rem;
}

.message.warning,
.warning.message,
.message.yellow,
.yellow.message {
    color: #664d03;
    background: #fff3cd;
    border-color: #ffecb5;
}

.message.negative,
.negative.message,
.message.red,
.red.message {
    color: #842029;
    background: #f8d7da;
    border-color: #f5c2c7;
}

.message.green,
.green.message,
.message.positive,
.positive.message {
    color: #0f5132;
    background: #d1e7dd;
    border-color: #badbcc;
}

.message.info,
.info.message,
.message.blue,
.blue.message {
    color: #055160;
    background: #cff4fc;
    border-color: #b6effb;
}

.label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    color: var(--bs-body-color);
    background: var(--bs-tertiary-bg, #f1f3f5);
    border: 1px solid var(--bs-border-color);
    border-radius: 999px;
}

.label.blue {
    color: #fff;
    background: var(--sp-primary);
    border-color: var(--sp-primary);
}

.label.green {
    color: #fff;
    background: #198754;
    border-color: #198754;
}

.label.red,
.label.pink {
    color: #fff;
    background: #dc3545;
    border-color: #dc3545;
}

.label.orange,
.label.yellow,
.label.olive {
    color: #2b1d04;
    background: #ffc107;
    border-color: #ffc107;
}

.label.teal {
    color: #fff;
    background: #0dcaf0;
    border-color: #0dcaf0;
}

.header {
    font-weight: 700;
}

.header.blue {
    color: var(--sp-primary);
}

.header.red {
    color: #dc3545;
}

.header.orange {
    color: #fd7e14;
}

.form .field,
.field {
    margin-bottom: 1rem;
}

.form .field label,
.field label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.form input:not([type="checkbox"]):not([type="radio"]),
.form textarea,
.form select {
    display: block;
    width: 100%;
    padding: 0.55rem 0.75rem;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.45rem;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.step {
    flex: 1 1 12rem;
    padding: 0.85rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.65rem;
}

.statistic {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
}

.statistic .value {
    font-size: 1.5rem;
    font-weight: 800;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1rem;
}

.right.floated,
.right.aligned {
    float: right;
    text-align: right;
}

.centered {
    text-align: center;
}

.loader {
    width: 1.5rem;
    height: 1.5rem;
    border: 0.2rem solid rgba(var(--sp-primary-rgb), 0.22);
    border-top-color: var(--sp-primary);
    border-radius: 50%;
    animation: sp-spin 0.75s linear infinite;
}

.loading {
    position: relative;
    pointer-events: none;
    opacity: 0.68;
}

.loading::after {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 1.25rem;
    height: 1.25rem;
    margin: -0.625rem 0 0 -0.625rem;
    content: "";
    border: 0.18rem solid rgba(var(--sp-primary-rgb), 0.28);
    border-top-color: var(--sp-primary);
    border-radius: 50%;
    animation: sp-spin 0.75s linear infinite;
}

@keyframes sp-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 767.98px) {
    .hero-content {
        padding-top: 2.5rem;
    }

    .hero-product {
        margin-bottom: -4rem;
    }

    .section {
        padding: 3.5rem 0;
    }
}
