.animated-bg {
    background:
        radial-gradient(circle at 18% 18%, rgba(45, 212, 191, 0.24), transparent 28%),
        radial-gradient(circle at 82% 12%, rgba(125, 211, 252, 0.22), transparent 30%),
        radial-gradient(circle at 50% 88%, rgba(251, 191, 36, 0.12), transparent 34%),
        linear-gradient(135deg, #0b2d4a 0%, #16466b 42%, #1f5f7e 100%);
    overflow: hidden;
}

body {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
}

a,
button,
input,
textarea {
    user-select: auto;
}

img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.animated-bg::before,
.animated-bg::after {
    content: "";
    position: absolute;
    inset: -20%;
    opacity: 0.55;
    pointer-events: none;
}

.animated-bg::before {
    background:
        linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.08) 40%, transparent 44% 100%),
        linear-gradient(115deg, transparent 0 58%, rgba(94, 234, 212, 0.12) 60%, transparent 64% 100%);
    animation: drift-lines 18s linear infinite;
}

.animated-bg::after {
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px),
        radial-gradient(circle, rgba(125, 211, 252, 0.16) 0 1px, transparent 1px);
    background-size: 72px 72px, 116px 116px;
    animation: drift-grid 26s linear infinite;
    mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.hero-showcase {
    background:
        linear-gradient(90deg, rgba(8, 47, 73, 0.72), rgba(14, 116, 144, 0.24)),
        radial-gradient(circle at 65% 35%, rgba(94, 234, 212, 0.22), transparent 28%);
}

.hero-grid-lines {
    background:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at center, black, transparent 72%);
    opacity: 0.75;
}

.hero-metric {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.875rem;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 48px rgba(8, 47, 73, 0.18);
    padding: 1rem;
    backdrop-filter: blur(18px);
}

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

.hero-metric strong {
    color: rgb(153 246 228);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.hero-metric span {
    color: rgba(240, 249, 255, 0.82);
    font-size: 0.8rem;
    font-weight: 800;
    margin-top: 0.45rem;
}

.hero-visual {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.5rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
        rgba(14, 116, 144, 0.18);
    box-shadow: 0 34px 100px rgba(8, 47, 73, 0.4);
    min-height: 560px;
    overflow: hidden;
    padding: 1rem;
    position: relative;
    backdrop-filter: blur(22px);
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: auto -20% -30% 22%;
    height: 320px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.34), transparent 62%);
    filter: blur(8px);
}

.hero-visual-image {
    align-items: center;
    background:
        radial-gradient(circle at 50% 24%, rgba(224, 242, 254, 0.18), transparent 34%),
        linear-gradient(160deg, rgba(8, 47, 73, 0.72), rgba(14, 116, 144, 0.38));
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1rem;
    display: flex;
    height: 100%;
    min-height: 528px;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-visual-image img {
    max-height: 88%;
    max-width: 92%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.hero-status-card,
.hero-floating-card {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1rem;
    background: rgba(7, 89, 133, 0.72);
    box-shadow: 0 24px 70px rgba(8, 47, 73, 0.36);
    padding: 1rem;
    position: absolute;
    z-index: 2;
    backdrop-filter: blur(18px);
}

.hero-status-card {
    bottom: 1.7rem;
    left: 1.7rem;
    right: 1.7rem;
}

.hero-status-card span,
.hero-floating-card span {
    color: rgb(153 246 228);
    display: block;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-status-card strong {
    color: white;
    display: block;
    font-size: 1.05rem;
    margin-top: 0.3rem;
}

.hero-floating-card {
    right: 1.7rem;
    top: 1.7rem;
    width: min(260px, calc(100% - 3.4rem));
}

.hero-floating-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.hero-floating-card b {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: white;
    font-size: 0.75rem;
    padding: 0.45rem 0.65rem;
}

.status-pulse {
    background: rgb(94 234 212);
    border-radius: 999px;
    box-shadow: 0 0 0 rgba(94, 234, 212, 0.55);
    display: inline-block;
    height: 0.55rem;
    width: 0.55rem;
    animation: pulse-status 1.8s ease-out infinite;
}

.maintenance-panel {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.5rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
        rgba(14, 116, 144, 0.18);
    box-shadow: 0 34px 100px rgba(8, 47, 73, 0.4);
    min-height: 520px;
    overflow: hidden;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    position: relative;
    backdrop-filter: blur(22px);
}

.maintenance-panel::before {
    content: "";
    position: absolute;
    inset: -30% -20% auto auto;
    height: 360px;
    width: 360px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.32), transparent 62%);
}

.maintenance-orbit {
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    inset: auto -84px -84px auto;
    position: absolute;
    width: 260px;
    animation: rotate-orbit 18s linear infinite;
}

.maintenance-orbit span {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    display: block;
    position: absolute;
}

.maintenance-orbit span:nth-child(1) {
    height: 14px;
    left: 48%;
    top: -7px;
    width: 14px;
}

.maintenance-orbit span:nth-child(2) {
    height: 10px;
    right: 15px;
    top: 70%;
    width: 10px;
}

.maintenance-orbit span:nth-child(3) {
    bottom: 38px;
    height: 8px;
    left: 18px;
    width: 8px;
}

.progress-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

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

.countdown-grid div {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.9rem 0.65rem;
    text-align: center;
}

.countdown-grid strong,
.countdown-grid span {
    display: block;
}

.countdown-grid strong {
    color: white;
    font-size: clamp(1.7rem, 5vw, 2.45rem);
    font-weight: 900;
    line-height: 1;
}

.countdown-grid span {
    color: rgba(240, 249, 255, 0.74);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin-top: 0.55rem;
    text-transform: uppercase;
}

.site-open .status-pulse {
    background: rgb(134 239 172);
    animation: pulse-open 1.8s ease-out infinite;
}

.site-open .maintenance-panel {
    border-color: rgba(134, 239, 172, 0.32);
}

.site-open .progress-bar span {
    width: 100% !important;
    background: linear-gradient(90deg, rgb(134 239 172), rgb(94 234 212));
}

.progress-row span {
    color: rgba(240, 249, 255, 0.82);
    font-size: 0.9rem;
    font-weight: 800;
}

.progress-row strong {
    color: rgb(153 246 228);
    font-size: 0.9rem;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    height: 0.55rem;
    overflow: hidden;
}

.progress-bar span {
    background: linear-gradient(90deg, rgb(94 234 212), rgb(186 230 253));
    border-radius: inherit;
    display: block;
    height: 100%;
    position: relative;
}

.progress-bar span::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    animation: progress-shine 2.4s ease-in-out infinite;
}

.nav-link {
    border-radius: 0.5rem;
    color: rgb(203 213 225);
    font-size: 0.875rem;
    font-weight: 800;
    padding: 0.75rem 1rem;
    transition: color 200ms ease, background-color 200ms ease, transform 200ms ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    transform: translateY(-1px);
}

.pill {
    border: 1px solid rgba(94, 234, 212, 0.22);
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.12);
    color: rgb(204 251 241);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.5rem 0.8rem;
}

.section-kicker {
    color: rgb(94 234 212);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.professional-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 250ms ease, transform 250ms ease, background-color 250ms ease;
}

.professional-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(45, 212, 191, 0.2), transparent 34%);
    opacity: 0;
    transition: opacity 250ms ease;
}

.professional-card > * {
    position: relative;
    z-index: 1;
}

.professional-card:hover {
    border-color: rgba(94, 234, 212, 0.45);
    transform: translateY(-8px);
}

.professional-card:hover::before {
    opacity: 1;
}

.card-number {
    color: rgb(94 234 212);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.image-frame {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.image-frame img {
    aspect-ratio: 4 / 3;
    height: 100%;
    background: rgba(15, 23, 42, 0.72);
    object-fit: contain;
    padding: 1rem;
    width: 100%;
    transition: transform 700ms ease;
}

.image-frame:hover img {
    transform: scale(1.02);
}

.contact-label {
    color: rgb(94 234 212);
    display: block;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-link {
    color: white;
    display: block;
    font-weight: 900;
    transition: color 200ms ease;
}

.contact-link:hover {
    color: rgb(94 234 212);
}

.menu-toggle {
    display: none;
    gap: 0.25rem;
    margin-left: auto;
}

.menu-toggle span {
    display: block;
    transition: transform 200ms ease, opacity 200ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.main-nav.is-open {
    align-items: stretch;
    background: rgba(11, 45, 74, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: grid;
    gap: 0.25rem;
    inset: 80px 0 auto;
    padding: 1rem 1.25rem 1.25rem;
    position: fixed;
}

.main-nav.is-open .nav-link {
    padding: 1rem;
}

@media (max-width: 1023px) {
    .menu-toggle {
        display: grid;
    }
}

@media (max-width: 640px) {
    .hero-visual {
        min-height: 430px;
    }

    .hero-visual-image {
        min-height: 398px;
    }

    .hero-status-card {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }

    .hero-floating-card {
        left: 1rem;
        right: 1rem;
        top: 1rem;
        width: auto;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 700ms ease, transform 700ms ease;
}

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

.reveal-delay {
    transition-delay: 140ms;
}

.reveal-delay-more {
    transition-delay: 260ms;
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes drift-lines {
    from {
        transform: translate3d(-4%, -2%, 0);
    }

    to {
        transform: translate3d(4%, 2%, 0);
    }
}

@keyframes drift-grid {
    from {
        background-position: 0 0, 0 0;
    }

    to {
        background-position: 72px 72px, -116px 116px;
    }
}

@keyframes pulse-status {
    0% {
        box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.5);
    }

    70% {
        box-shadow: 0 0 0 11px rgba(94, 234, 212, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(94, 234, 212, 0);
    }
}

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

@keyframes progress-shine {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(100%);
    }
}

@keyframes pulse-open {
    0% {
        box-shadow: 0 0 0 0 rgba(134, 239, 172, 0.48);
    }

    70% {
        box-shadow: 0 0 0 11px rgba(134, 239, 172, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(134, 239, 172, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
