﻿:root {
    --bg: #eaf5ff;
    --bg-alt: #d9ecff;
    --panel: rgba(255, 255, 255, 0.72);
    --panel-strong: rgba(245, 251, 255, 0.88);
    --panel-border: rgba(83, 146, 214, 0.22);
    --text: #12314f;
    --muted: #5f7b98;
    --accent: #2979ff;
    --accent-strong: #0e5fe6;
    --accent-soft: #d9ebff;
    --accent-pale: #eff6ff;
    --highlight: #1f7fe8;
    --shadow: 0 22px 50px rgba(41, 94, 153, 0.16);
    --radius-lg: 28px;
    --radius-md: 20px;
}

html {
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    width: 100%;
    max-width: 100%;
    font-family: "Manrope", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(88, 164, 255, 0.24), transparent 28%),
        radial-gradient(circle at left center, rgba(129, 206, 255, 0.22), transparent 26%),
        linear-gradient(180deg, #f6fbff 0%, #ecf6ff 46%, #deefff 100%);
    color: var(--text);
    overflow-x: clip;
}

body.site-is-loading {
    overflow: hidden;
}

main {
    position: relative;
    isolation: isolate;
}

.page-aura {
    position: absolute;
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.55;
    pointer-events: none;
    z-index: -1;
}

.page-aura-one {
    top: 4rem;
    right: -10rem;
    width: 22rem;
    height: 22rem;
    background: radial-gradient(circle, rgba(41, 121, 255, 0.28), transparent 68%);
}

.page-aura-two {
    top: 28rem;
    left: -8rem;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(103, 194, 255, 0.18), transparent 70%);
}

.loading-screen-body {
    min-height: 100vh;
    overflow: hidden;
}

h1, h2, h3, h4, h5, .navbar-brand, .eyebrow {
    font-family: "Space Grotesk", sans-serif;
}

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

a:hover {
    color: #b8e3ff;
}

.loading-screen {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    overflow: hidden;
    padding: 2rem 1rem;
}

.site-loader {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    overflow: hidden;
    padding: 2rem 1rem;
    z-index: 2000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

body.site-is-ready .site-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(41, 121, 255, 0.18), transparent 20%),
        radial-gradient(circle at top right, rgba(103, 194, 255, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(236, 246, 255, 0.98), rgba(222, 239, 255, 0.98));
}

.loader-core {
    position: relative;
    z-index: 2;
    width: 152px;
    height: 152px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.98), rgba(220, 238, 255, 0.9));
    box-shadow: 0 0 64px rgba(41, 121, 255, 0.18);
}

.loader-logo-shell,
.brand-mark,
.hero-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.loader-logo-shell {
    width: 88px;
    height: 88px;
    border-radius: 24px;
}

.loader-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.loader-pulse {
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(103, 194, 255, 0.35);
    border-radius: 50%;
    animation: loaderPulse 2.2s ease-in-out infinite;
}

.loader-orbit {
    position: absolute;
    border: 1px solid rgba(103, 194, 255, 0.18);
    border-radius: 50%;
    z-index: 1;
}

.loader-orbit::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #cbe6ff, #2979ff);
    box-shadow: 0 0 18px rgba(103, 194, 255, 0.72);
}

.loader-orbit-one {
    width: 210px;
    height: 210px;
    animation: loaderSpin 5s linear infinite;
}

.loader-orbit-two {
    width: 270px;
    height: 270px;
    animation: loaderSpinReverse 7s linear infinite;
}

.loader-copy {
    position: relative;
    z-index: 2;
    max-width: 640px;
    padding: 0 1rem;
}

.loader-copy h1,
.loader-copy h2 {
    margin-bottom: 0.65rem;
}

.loader-copy p {
    margin: 0;
    color: var(--muted);
}

.loader-progress-shell {
    position: relative;
    z-index: 2;
    width: min(320px, calc(100% - 3rem));
    height: 10px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.loader-progress-bar {
    height: 100%;
    width: 100%;
    border-radius: inherit;
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(41, 121, 255, 0.24), rgba(103, 194, 255, 0.98), rgba(41, 121, 255, 0.24));
    animation: loaderProgress 2.3s ease-in-out infinite;
}

.loading-hint {
    position: relative;
    z-index: 2;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
}

.sst-navbar {
    background: rgba(238, 247, 255, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(83, 146, 214, 0.18);
}

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

.navbar-brand {
    color: var(--text);
    gap: 0.85rem;
}

.brand-mark {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    flex-shrink: 0;
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-title {
    font-family: "Ethnocentric", "Space Grotesk", sans-serif;
    color: #123e78;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.08;
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-wordmark small {
    font-family: "Manrope", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}

.brand-wordmark span {
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.nav-link {
    color: rgba(18, 49, 79, 0.82) !important;
    position: relative;
    padding-bottom: 0.45rem;
}

.navbar-desktop-links {
    gap: 0.75rem;
}

.navbar-primary-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 0;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(103, 194, 255, 0), rgba(103, 194, 255, 1), rgba(103, 194, 255, 0));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #0d5cc4 !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.navbar-more-toggle {
    border: 1px solid rgba(103, 194, 255, 0.22);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.navbar-more-toggle:hover,
.navbar-more-toggle:focus,
.navbar-more-toggle.show {
    color: #0d5cc4;
    background: rgba(103, 194, 255, 0.12);
    border-color: rgba(103, 194, 255, 0.4);
}

.navbar-more-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(41, 121, 255, 0.18);
}

.navbar-more-dropdown {
    min-width: 15rem;
    padding: 0.55rem;
    border: 1px solid rgba(103, 194, 255, 0.18);
    border-radius: 18px;
    background: rgba(248, 252, 255, 0.98);
    box-shadow: 0 20px 45px rgba(41, 94, 153, 0.16);
}

.navbar-more-dropdown .dropdown-item {
    color: rgba(18, 49, 79, 0.84);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.navbar-more-dropdown .dropdown-item:hover,
.navbar-more-dropdown .dropdown-item:focus,
.navbar-more-dropdown .dropdown-item.active {
    color: #0d5cc4;
    background: rgba(103, 194, 255, 0.14);
}

@media (min-width: 992px) {
    .sst-navbar .navbar-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.35rem;
    }

    .sst-navbar .navbar-nav.navbar-primary-links {
        gap: 0.35rem;
    }

    .sst-navbar #sstNavbar {
        display: none !important;
    }
}

.hero-section,
.inner-hero {
    position: relative;
    overflow: hidden;
}

.hero-section {
    padding: 7rem 0 5rem;
}

.hero-section::before,
.inner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 26%, rgba(41, 121, 255, 0.18), transparent 18%),
        radial-gradient(circle at 16% 10%, rgba(103, 194, 255, 0.12), transparent 16%);
    pointer-events: none;
}

.inner-hero {
    padding: 5.5rem 0 2rem;
}

.hero-brand-chip {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1rem;
    margin-bottom: 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(103, 194, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
}

.hero-brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    flex-shrink: 0;
}

.hero-brand-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-brand-chip strong,
.hero-brand-chip span {
    display: block;
}

.hero-brand-chip span {
    color: var(--muted);
    font-size: 0.92rem;
}

.hero-copy,
.section-copy,
.inner-hero p,
.lead {
    color: var(--muted) !important;
    max-width: 760px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--highlight);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
}

.hero-panel,
.info-card,
.career-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(239, 247, 255, 0.86));
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 1.65rem;
}

.hero-stat + .hero-stat {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(103, 194, 255, 0.12);
}

.hero-stat span,
.card-tag {
    color: var(--muted);
    font-size: 0.9rem;
}

.hero-stat strong {
    display: block;
    margin-top: 0.3rem;
    font-size: 1.1rem;
}

.section-space {
    padding: 2rem 0 5rem;
}

.alt-section {
    background: linear-gradient(180deg, rgba(217, 235, 255, 0.18), rgba(217, 235, 255, 0.48));
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading h2,
.inner-hero h1 {
    max-width: 720px;
}

.info-card,
.career-card {
    padding: 1.5rem;
}

.focus-card {
    position: relative;
}

.card-tag {
    display: inline-flex;
    margin-top: 1rem;
    padding: 0.35rem 0.7rem;
    background: rgba(41, 121, 255, 0.12);
    border: 1px solid rgba(103, 194, 255, 0.14);
    border-radius: 999px;
}

.detail-list {
    padding-left: 1.1rem;
    color: var(--muted);
}

.detail-list li + li {
    margin-top: 0.65rem;
}

.grid-highlight {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.grid-highlight > div {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(103, 194, 255, 0.1);
    border-radius: var(--radius-md);
}

.grid-highlight p,
.footer-copy,
.footer-links,
.info-card p,
.career-card p {
    color: var(--muted);
}

.product-card {
    overflow: hidden;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

.btn-brand,
.btn-success,
#product-form button[type="submit"] {
    background: linear-gradient(135deg, var(--accent) 0%, #4ba2ff 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 14px 32px rgba(41, 121, 255, 0.26);
}

.btn-brand:hover,
.btn-success:hover,
#product-form button[type="submit"]:hover {
    background: linear-gradient(135deg, var(--accent-strong) 0%, #2f8eff 100%);
    color: #ffffff;
}

.btn-outline-brand,
.btn-outline-light,
.btn-outline-success {
    border: 1px solid rgba(103, 194, 255, 0.4);
    color: var(--accent);
    background: rgba(255, 255, 255, 0.75);
}

.btn-outline-brand:hover,
.btn-outline-light:hover,
.btn-outline-success:hover {
    background: rgba(103, 194, 255, 0.12);
    border-color: rgba(103, 194, 255, 0.65);
    color: #0d5cc4;
}

.stack-form .form-control,
.stack-form .form-select,
#product-form .form-control,
#product-form .form-select {
    background-color: rgba(255, 255, 255, 0.82);
    color: var(--text);
    border-color: rgba(103, 194, 255, 0.16);
}

.stack-form .form-control:focus,
#product-form .form-control:focus,
#product-form .form-select:focus {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text);
    border-color: rgba(103, 194, 255, 0.4);
    box-shadow: 0 0 0 0.25rem rgba(41, 121, 255, 0.16);
}

.alert {
    color: var(--text);
}

.alert-secondary {
    background: rgba(223, 238, 255, 0.92);
    color: #1c538d;
}

.alert-success {
    background: rgba(20, 91, 184, 0.28);
    color: #eff6ff;
}

.alert-danger {
    background: rgba(140, 30, 52, 0.3);
    color: #ffe6eb;
}

.sst-footer {
    border-top: 1px solid rgba(103, 194, 255, 0.12);
    background: rgba(233, 244, 255, 0.92);
}

.footer-links li + li {
    margin-top: 0.45rem;
}

.fade-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes loaderSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes loaderSpinReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(0.88); opacity: 0.45; }
    50% { transform: scale(1); opacity: 1; }
}

@keyframes loaderProgress {
    0% { transform: scaleX(0.16); opacity: 0.4; }
    50% { transform: scaleX(0.92); opacity: 1; }
    100% { transform: scaleX(0.22); opacity: 0.55; }
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 5rem;
    }

    .grid-highlight {
        grid-template-columns: 1fr;
    }

    .loader-orbit-one {
        width: 180px;
        height: 180px;
    }

    .loader-orbit-two {
        width: 230px;
        height: 230px;
    }
}

@media (max-width: 575.98px) {
    .brand-mark {
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .brand-title {
        font-size: 0.78rem;
        letter-spacing: 0.08em;
    }

    .brand-wordmark small {
        font-size: 0.62rem;
    }

    .brand-wordmark span {
        font-size: 1rem;
    }

    .hero-brand-chip {
        width: 100%;
        border-radius: 24px;
        align-items: flex-start;
    }

    .hero-brand-mark {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .hero-section,
    .inner-hero,
    .section-space {
        padding-left: 0;
        padding-right: 0;
    }

    .loader-core {
        width: 122px;
        height: 122px;
    }

    .loader-logo-shell {
        width: 72px;
        height: 72px;
        border-radius: 20px;
    }

    .loader-copy h1,
    .loader-copy h2 {
        font-size: 1.75rem;
    }
}
