:root {
    --hls-navy: #07111f;
    --hls-blue: #1e88e5;
    --hls-cyan: #4dd8ff;
    --hls-green: #4fd18b;
    --hls-card: #0f1d31;
    --hls-muted: #65758b;
    --hls-light: #f5f8fc;
    --hls-border: rgba(255, 255, 255, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fff;
    color: #142033;
}

main {
    overflow: hidden;
}

.nav-glass {
    background: rgba(7, 17, 31, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar .nav-link {
    color: rgba(255, 255, 255, 0.78);
    font-weight: 600;
}

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

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--hls-cyan), var(--hls-blue));
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 35px rgba(30, 136, 229, 0.32);
}

.btn-hls {
    --bs-btn-bg: var(--hls-blue);
    --bs-btn-border-color: var(--hls-blue);
    --bs-btn-hover-bg: #1565c0;
    --bs-btn-hover-border-color: #1565c0;
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    font-weight: 700;
    border-radius: 999px;
    padding-inline: 1.15rem;
}

.btn-hls-outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-weight: 700;
    padding-inline: 1.15rem;
}

.btn-hls-outline:hover {
    color: var(--hls-navy);
    background: #fff;
    border-color: #fff;
}

.hero-section,
.page-hero {
    position: relative;
    padding: 9rem 0 5rem;
    color: #fff;
    background:
        radial-gradient(circle at 15% 20%, rgba(77, 216, 255, 0.28), transparent 28rem),
        radial-gradient(circle at 85% 12%, rgba(79, 209, 139, 0.22), transparent 30rem),
        linear-gradient(135deg, #07111f 0%, #10233b 48%, #07111f 100%);
}

.hero-section::after,
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.85), transparent 82%);
    pointer-events: none;
}

.hero-section .container,
.page-hero .container {
    position: relative;
    z-index: 2;
}

.hero-kicker {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: rgba(255,255,255,.86);
    font-weight: 700;
    font-size: .9rem;
}

.hero-title {
    font-size: clamp(2.6rem, 7vw, 5.7rem);
    letter-spacing: -0.07em;
    line-height: .93;
    font-weight: 900;
}

.hero-lead {
    color: rgba(255,255,255,.78);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    max-width: 46rem;
}

.hero-panel {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
    border-radius: 1.5rem;
    backdrop-filter: blur(14px);
    overflow: hidden;
}

.lab-screen {
    background: #06101c;
    min-height: 420px;
    border-radius: 1.2rem;
    border: 1px solid rgba(255,255,255,.12);
    padding: 1rem;
}

.screen-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: .85rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 1rem;
    color: rgba(255,255,255,.75);
    font-size: .85rem;
}

.dot {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    display: inline-block;
    margin-right: .3rem;
    background: var(--hls-green);
    box-shadow: 0 0 0 .25rem rgba(79,209,139,.12);
}

.screen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
}

.screen-card {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 1rem;
    padding: .9rem;
}

.screen-card strong {
    display: block;
    color: #fff;
    margin-bottom: .25rem;
}

.screen-card span {
    display: inline-flex;
    padding: .2rem .5rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
}

.status-good { background: rgba(79,209,139,.18); color: #8ff0ba; }
.status-watch { background: rgba(255,193,7,.16); color: #ffd86b; }
.status-stop { background: rgba(255,86,86,.17); color: #ff9f9f; }
.status-info { background: rgba(77,216,255,.16); color: #a3edff; }

.section-pad {
    padding: 5rem 0;
}

.section-muted {
    background: var(--hls-light);
}

.section-dark {
    background: var(--hls-navy);
    color: #fff;
}

.section-eyebrow {
    color: var(--hls-blue);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .78rem;
    font-weight: 900;
}

.section-title {
    letter-spacing: -0.045em;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.8rem);
}

.section-copy {
    color: var(--hls-muted);
    font-size: 1.05rem;
}

.section-dark .section-copy,
.section-dark .text-muted-custom {
    color: rgba(255,255,255,.64);
}

.product-card,
.value-card,
.feature-card,
.contact-card {
    height: 100%;
    border: 1px solid rgba(16, 35, 59, 0.08);
    border-radius: 1.35rem;
    padding: 1.45rem;
    background: #fff;
    box-shadow: 0 18px 50px rgba(7, 17, 31, .07);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.product-card:hover,
.value-card:hover,
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 70px rgba(7, 17, 31, .12);
    border-color: rgba(30, 136, 229, 0.28);
}

.product-icon {
    display: inline-grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(30,136,229,.14), rgba(79,209,139,.12));
    color: var(--hls-blue);
    font-size: 1.45rem;
}

.product-card .badge,
.badge-soft {
    background: rgba(30,136,229,.1);
    color: #1262a6;
    border: 1px solid rgba(30,136,229,.15);
}

.link-arrow {
    text-decoration: none;
    font-weight: 800;
    color: var(--hls-blue);
}

.link-arrow i {
    transition: transform .2s ease;
}

.link-arrow:hover i {
    transform: translateX(4px);
}

.platform-map {
    position: relative;
    padding: 2rem;
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255,255,255,.12);
}

.platform-node {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
}

.page-hero {
    padding-bottom: 4rem;
}

.product-hero-icon {
    width: 5rem;
    height: 5rem;
    display: inline-grid;
    place-items: center;
    border-radius: 1.4rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    font-size: 2.4rem;
    color: var(--hls-cyan);
}

.stat-pill {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    padding: .45rem .75rem;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.84);
    font-weight: 700;
}

.check-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.check-list li {
    display: flex;
    gap: .75rem;
    padding: .55rem 0;
}

.check-list li i {
    color: var(--hls-green);
    flex: 0 0 auto;
    margin-top: .1rem;
}

.workflow-step {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(16, 35, 59, 0.08);
}

.step-number {
    width: 2.3rem;
    height: 2.3rem;
    display: inline-grid;
    place-items: center;
    border-radius: .8rem;
    color: #fff;
    background: var(--hls-blue);
    font-weight: 900;
    flex: 0 0 auto;
}

.footer-section {
    background: #050b14;
    color: #fff;
}

.footer-section a,
.footer-links a {
    color: rgba(255,255,255,.66);
    text-decoration: none;
}

.footer-section a:hover,
.footer-links a:hover {
    color: #fff;
}

.footer-links li {
    margin: .45rem 0;
}

.form-control,
.form-select {
    border-radius: .85rem;
    border-color: rgba(16, 35, 59, .14);
    padding: .8rem 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--hls-blue);
    box-shadow: 0 0 0 .25rem rgba(30,136,229,.12);
}

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

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

    .lab-screen {
        min-height: auto;
    }
}
