* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
}

body.stratox-landing {
    overflow: hidden;
    background-color: #020204;
    color: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    user-select: none;
}

#webgl-container {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hud-labels-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12vh 40px;
    pointer-events: auto;
}

.industrial-label-2d {
    position: relative;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(2, 2, 4, .1);
    color: #fff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    backdrop-filter: blur(1px);
    transition: opacity .5s cubic-bezier(.16, 1, .3, 1), border-color .5s ease, background .5s ease;
}

.industrial-label-2d:hover {
    border-color: rgba(255, 255, 255, .6);
    background: rgba(2, 2, 4, .4);
    opacity: .75 !important;
}

.industrial-label-2d::before,
.industrial-label-2d::after {
    position: absolute;
    width: 6px;
    height: 6px;
    border: 2px solid #fff;
    content: "";
}

.industrial-label-2d::before {
    top: -2px;
    left: -2px;
    border-right: 0;
    border-bottom: 0;
}

.industrial-label-2d::after {
    right: -2px;
    bottom: -2px;
    border-top: 0;
    border-left: 0;
}

.label-style-left {
    align-self: flex-start;
    display: flex;
    width: 195px;
    flex-direction: column;
    gap: 10px;
    border-width: 2px;
    opacity: .22;
}

.hud-row {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.muted-row {
    font-size: 9px;
    opacity: .5;
}

.big-code {
    margin: 5px 0;
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: .9;
}

.tech-matrix {
    color: rgba(255, 255, 255, .3);
    font-size: 8px;
    letter-spacing: 2px;
    line-height: 1;
}

.status-copy {
    color: rgba(255, 255, 255, .7);
    font-size: 9px;
    line-height: 1.3;
}

.barcode {
    width: 100%;
    height: 42px;
    margin-top: 5px;
    background: repeating-linear-gradient(90deg, #fff, #fff 2px, transparent 2px, transparent 5px, #fff 5px, #fff 6px, transparent 6px, transparent 9px);
    opacity: .8;
}

.label-style-center {
    align-self: flex-end;
    display: grid;
    width: 320px;
    grid-template-columns: 1fr 90px;
    gap: 12px;
    margin-bottom: 2vh;
    opacity: .45;
}

.center-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.center-title {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.center-state {
    color: rgba(255, 255, 255, .5);
    font-size: 8px;
    font-weight: 700;
}

.center-code {
    color: rgba(181, 181, 188, .4);
    font-size: 8px;
}

.center-online {
    color: rgba(0, 245, 255, .6);
    font-size: 8px;
}

.crosshair {
    display: flex;
    min-height: 65px;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .03);
    font-size: 9px;
    font-weight: 700;
}

.crosshair-mark {
    margin-bottom: -2px;
    font-size: 12px;
}

.label-style-right {
    align-self: center;
    display: flex;
    width: 230px;
    height: 175px;
    flex-direction: column;
    justify-content: space-between;
    border-left: 4px solid #fff;
    opacity: .32;
}

.right-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
}

.badge-pro {
    display: inline-block;
    align-self: flex-start;
    padding: 1px 6px;
    background: #fff;
    color: #020204;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.micro-text {
    padding-left: 6px;
    border-left: 1px solid rgba(255, 255, 255, .2);
    color: rgba(181, 181, 188, .7);
    font-size: 9px;
    line-height: 1.4;
}

.version-row {
    display: flex;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    font-size: 9px;
}

.version-row span:first-child {
    font-weight: 700;
    letter-spacing: 2px;
}

.version-row span:last-child {
    color: rgba(255, 255, 255, .3);
}

.main-header {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 4;
    display: flex;
    width: 100%;
    min-height: 50px;
    height: 8.33vh;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    background: transparent;
    backdrop-filter: blur(4px);
}

.header-logo {
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-decoration: none;
    text-transform: uppercase;
}

.header-btn,
.cta-button,
.card-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 100px;
    outline: none;
    background: linear-gradient(#020204, #020204) padding-box, linear-gradient(90deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .2) 100%) border-box;
    background-position: 0 0, 0 0;
    background-size: 100% 100%, 400% 100%;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: .2em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background .3s ease, color .3s ease, box-shadow .4s ease, background-position 1.6s cubic-bezier(.22, 1, .36, 1), transform .4s cubic-bezier(.25, 1, .5, 1);
}

.header-btn {
    padding: 10px 28px;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(90deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .2) 100%) border-box;
    color: #020204;
    font-size: .75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
}

.header-btn:hover,
.header-btn:focus,
.cta-button:hover,
.cta-button:focus,
.card-button:hover,
.card-button:focus {
    background: linear-gradient(#020204, #020204) padding-box, linear-gradient(90deg, #00f5ff 0%, #ff0077 15%, #ffdf00 30%, #00ff66 45%, #fff 65%, #fff 100%) border-box;
    background-position: 0 0, 100% 0;
    background-size: 100% 100%, 400% 100%;
    color: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, .15);
}

.content-overlay {
    position: absolute;
    top: 8.33vh;
    left: 0;
    z-index: 3;
    display: flex;
    width: 100%;
    height: calc(100% - 8.33vh - 7.14vh);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    pointer-events: none;
}

.header-group,
.modal-container {
    pointer-events: auto;
}

.header-group {
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform .8s cubic-bezier(.16, 1, .3, 1), margin-bottom .8s cubic-bezier(.16, 1, .3, 1);
    will-change: transform, margin-bottom;
}

.header-group.shifted {
    margin-bottom: 25px;
    transform: translateY(-20px);
}

.title {
    margin-bottom: 15px;
    background: linear-gradient(180deg, #fff 40%, #b5b5bc 100%);
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .7));
    font-size: calc(1.75rem + 3.2vw);
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.1;
    pointer-events: none;
    text-transform: uppercase;
}

.subtitle {
    margin-bottom: 40px;
    color: #909099;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .7));
    font-size: calc(.8rem + .5vw);
    font-weight: 300;
    letter-spacing: .4em;
    pointer-events: none;
    text-indent: .4em;
    text-transform: uppercase;
    transition: margin-bottom .6s ease;
}

.header-group.shifted .subtitle {
    margin-bottom: 0;
}

.cta-button {
    max-height: 60px;
    padding: 16px 40px;
    opacity: 1;
    visibility: visible;
    font-size: .85rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
    transition: transform .4s cubic-bezier(.25, 1, .5, 1), box-shadow .4s ease, background-position 1.6s cubic-bezier(.22, 1, .36, 1), opacity .4s ease, max-height .6s cubic-bezier(.16, 1, .3, 1), margin-top .6s cubic-bezier(.16, 1, .3, 1), visibility .4s ease;
}

.cta-button.hidden {
    max-height: 0;
    padding: 0 40px;
    border-width: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(.9);
    visibility: hidden;
}

.modal-container {
    display: flex;
    width: 100%;
    max-width: 1050px;
    max-height: 0;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1), max-height .8s cubic-bezier(.16, 1, .3, 1), visibility .8s ease;
    visibility: hidden;
}

.modal-container.visible {
    max-height: 480px;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.modal-card {
    position: relative;
    display: flex;
    overflow: hidden;
    flex: 1;
    aspect-ratio: 1 / 1;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 35px 25px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .03) 0%, rgba(255, 255, 255, .01) 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
    backdrop-filter: blur(12px);
    transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}

.modal-card:hover {
    border-color: rgba(255, 255, 255, .25);
    box-shadow: 0 40px 60px rgba(0, 0, 0, .7), 0 0 30px rgba(255, 255, 255, .03);
}

.modal-icon {
    display: flex;
    width: 50px;
    height: 50px;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.modal-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
    opacity: .9;
}

.modal-icon .solid-dot {
    fill: #fff;
}

.card-text-content {
    display: flex;
    width: 100%;
    flex-grow: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.card-info-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.card-info-text {
    max-width: 240px;
    color: #b5b5bc;
    font-size: .76rem;
    font-weight: 400;
    line-height: 1.45;
}

.card-button {
    width: 100%;
    max-width: 180px;
    margin-top: 5px;
    padding: 12px 24px;
    font-size: .75rem;
}

.main-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 4;
    display: flex;
    width: 100%;
    min-height: 45px;
    height: 7.14vh;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: transparent;
    color: #606066;
    font-size: .72rem;
    letter-spacing: .1em;
    backdrop-filter: blur(4px);
}

.footer-left,
.footer-right {
    flex: 1;
}

.footer-left span {
    color: #909099;
}

.footer-center {
    flex: 1;
    text-align: center;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    text-align: right;
}

.footer-link {
    color: #606066;
    cursor: pointer;
    text-decoration: none;
    transition: color .3s ease;
}

.footer-link:hover {
    color: #fff;
}

@media (min-width: 2000px) {
    .title {
        font-size: 5rem;
    }
}

@media (max-width: 950px) {
    .hud-labels-overlay {
        display: none;
    }
}

@media (max-width: 768px) {
    .modal-container {
        max-width: 280px;
        flex-direction: column;
        gap: 20px;
    }

    .modal-container.visible {
        overflow-y: auto;
        max-height: 65vh;
    }

    .modal-card {
        width: 100%;
        padding: 30px 20px;
    }

    .modal-icon {
        width: 45px;
        height: 45px;
    }

    .card-info-text {
        font-size: .72rem;
    }

    .header-group.shifted {
        margin-bottom: 15px;
        transform: translateY(-5px);
    }

    .main-footer,
    .main-header {
        padding: 0 15px;
    }

    .main-footer {
        font-size: .65rem;
    }

    .header-logo {
        font-size: .8rem;
    }

    .header-btn {
        padding: 8px 20px;
        font-size: .68rem;
    }
}

@media (max-width: 560px) {
    .title {
        font-size: 2rem;
        letter-spacing: .1em;
    }

    .subtitle {
        font-size: .78rem;
        letter-spacing: .22em;
    }

    .cta-button {
        width: min(100%, 340px);
        padding: 14px 20px;
        font-size: .72rem;
    }

    .footer-left {
        display: none;
    }
}
