/* ============================================================
   SILIBOT LABS - FUTURISTIC LAUNCHING SOON PAGE
   No external libraries or images are required.
============================================================ */


/* ------------------------------------------------------------
   PAGE FOUNDATION
------------------------------------------------------------- */

.labs-hero {
    position: relative;
    min-height: calc(100vh - 80px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 42%, rgba(0, 190, 255, 0.16), transparent 28%),
        radial-gradient(circle at 18% 55%, rgba(0, 120, 255, 0.10), transparent 30%),
        radial-gradient(circle at 82% 55%, rgba(160, 60, 255, 0.10), transparent 30%),
        #030912;
    color: #ffffff;
}


/* ------------------------------------------------------------
   FUTURISTIC LAB GRID
------------------------------------------------------------- */

.lab-grid {
    position: absolute;
    inset: 0;
    opacity: 0.20;
    background-image:
        linear-gradient(rgba(0, 190, 255, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 190, 255, 0.10) 1px, transparent 1px);
    background-size: 55px 55px;
    transform: perspective(500px) rotateX(58deg) scale(1.7);
    transform-origin: center bottom;
    animation: gridMove 12s linear infinite;
}


/* ------------------------------------------------------------
   AMBIENT LAB LIGHTS
------------------------------------------------------------- */

.lab-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.lab-glow-one {
    left: -180px;
    top: 30%;
    background: rgba(0, 160, 255, 0.16);
    animation: glowFloat 8s ease-in-out infinite;
}

.lab-glow-two {
    right: -180px;
    top: 20%;
    background: rgba(130, 50, 255, 0.15);
    animation: glowFloat 10s ease-in-out infinite reverse;
}


/* ------------------------------------------------------------
   FLOATING PARTICLES
------------------------------------------------------------- */

.lab-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.lab-particles span {
    position: absolute;
    bottom: -10px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #55d9ff;
    box-shadow: 0 0 10px rgba(50, 210, 255, 0.9);
    animation: particleRise linear infinite;
}


/* ------------------------------------------------------------
   LABORATORY WORKBENCH
------------------------------------------------------------- */

.lab-bench {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 25%;
    perspective: 500px;
}

.bench-surface {
    position: absolute;
    inset: 35% -5% -20%;
    background:
        linear-gradient(90deg, transparent, rgba(0, 180, 255, 0.08), transparent),
        linear-gradient(#071522, #02060b);
    border-top: 1px solid rgba(0, 210, 255, 0.35);
    transform: rotateX(55deg);
    box-shadow: 0 -10px 60px rgba(0, 170, 255, 0.08);
}

.bench-light {
    position: absolute;
    left: 15%;
    right: 15%;
    top: 12%;
    height: 2px;
    background: #20cfff;
    box-shadow: 0 0 20px #20cfff;
    opacity: 0.55;
}


/* ------------------------------------------------------------
   CENTRAL HERO CONTENT
------------------------------------------------------------- */

.labs-content {
    position: relative;
    z-index: 20;
    width: min(850px, 92%);
    text-align: center;
    padding: 80px 20px 100px;
}

.labs-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border: 1px solid rgba(40, 210, 255, 0.35);
    border-radius: 30px;
    background: rgba(0, 120, 180, 0.08);
    color: #63ddff;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    box-shadow: 0 0 25px rgba(0, 180, 255, 0.08);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #35d7ff;
    box-shadow: 0 0 14px #35d7ff;
    animation: pulseDot 1.4s ease-in-out infinite;
}


/* ------------------------------------------------------------
   MAIN LABS TYPOGRAPHY
------------------------------------------------------------- */

.labs-content h1 {
    margin: 24px 0 10px;
    line-height: 0.88;
}

.title-small {
    display: block;
    font-size: clamp(18px, 3vw, 30px);
    letter-spacing: 13px;
    margin-left: 13px;
    color: #9adfff;
    font-weight: 300;
}

.title-main {
    display: block;
    font-size: clamp(90px, 15vw, 170px);
    font-weight: 900;
    letter-spacing: 15px;
    margin-left: 15px;
    background: linear-gradient(100deg, #ffffff 15%, #48d9ff 48%, #8e7bff 82%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 190, 255, 0.25));
    animation: titleGlow 4s ease-in-out infinite;
}

.title-line {
    width: 180px;
    height: 2px;
    margin: 28px auto;
    background: rgba(50, 210, 255, 0.18);
    overflow: hidden;
}

.title-line span {
    display: block;
    width: 70px;
    height: 100%;
    margin-left: -70px;
    background: #35d7ff;
    box-shadow: 0 0 15px #35d7ff;
    animation: lineSweep 2.5s ease-in-out infinite;
}


/* ------------------------------------------------------------
   LAUNCHING SOON BADGE
------------------------------------------------------------- */

.launch-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 235px;
    padding: 12px 25px;
    border: 1px solid rgba(45, 213, 255, 0.65);
    color: #d9f7ff;
    letter-spacing: 6px;
    font-size: 14px;
    font-weight: 800;
    background: rgba(0, 120, 180, 0.09);
    box-shadow:
        inset 0 0 20px rgba(0, 200, 255, 0.05),
        0 0 25px rgba(0, 180, 255, 0.08);
}

.launch-orbit {
    width: 7px;
    height: 7px;
    margin-right: 13px;
    border-radius: 50%;
    background: #48e2ff;
    box-shadow: 0 0 14px #48e2ff;
    animation: pulseDot 1s infinite;
}


/* ------------------------------------------------------------
   LABS DESCRIPTION
------------------------------------------------------------- */

.labs-description {
    max-width: 680px;
    margin: 24px auto 28px;
    color: #a9c4d8;
    font-size: 17px;
    line-height: 1.75;
}


/* ------------------------------------------------------------
   STATUS CARDS
------------------------------------------------------------- */

.lab-status-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 720px;
    margin: 0 auto 25px;
}

.status-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 12px 14px;
    text-align: left;
    border: 1px solid rgba(100, 210, 255, 0.16);
    background: rgba(4, 17, 28, 0.72);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.status-card::after {
    content: "";
    position: absolute;
    left: -100%;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #38d8ff;
    box-shadow: 0 0 12px #38d8ff;
    animation: cardScan 3.2s linear infinite;
}

.status-icon {
    font-size: 26px;
    color: #50dfff;
    text-shadow: 0 0 12px rgba(50, 215, 255, 0.7);
}

.status-card strong,
.status-card span {
    display: block;
}

.status-card strong {
    font-size: 10px;
    letter-spacing: 1.8px;
    color: #dff9ff;
}

.status-card span {
    margin-top: 5px;
    font-size: 8px;
    letter-spacing: 1px;
    color: #668da5;
}

.status-card i {
    width: 5px;
    height: 5px;
    margin-left: auto;
    border-radius: 50%;
    background: #48dcff;
    box-shadow: 0 0 9px #48dcff;
    animation: pulseDot 1.3s infinite;
}


/* ------------------------------------------------------------
   LAB CAPABILITY TAGS
------------------------------------------------------------- */

.lab-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
}

.lab-tags span {
    padding: 7px 12px;
    border: 1px solid rgba(90, 210, 255, 0.15);
    background: rgba(10, 25, 38, 0.6);
    color: #6f9bb4;
    font-size: 9px;
    letter-spacing: 2px;
}

.launch-message {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin-top: 30px;
    color: #668ba2;
    font-size: 9px;
    letter-spacing: 3px;
}

.message-line {
    width: 45px;
    height: 1px;
    background: rgba(60, 210, 255, 0.25);
}


/* ------------------------------------------------------------
   CHEMICAL FLASKS
------------------------------------------------------------- */

.flask {
    position: absolute;
    z-index: 8;
    width: 145px;
    height: 220px;
    bottom: 16%;
    filter: drop-shadow(0 0 20px rgba(0, 200, 255, 0.12));
}

.flask-left {
    left: 10%;
    animation: flaskFloat 5s ease-in-out infinite;
}

.flask-right {
    right: 10%;
    animation: flaskFloat 6s ease-in-out infinite reverse;
}

.flask-neck {
    position: absolute;
    left: 49px;
    top: 0;
    width: 47px;
    height: 90px;
    border: 2px solid rgba(180, 235, 255, 0.5);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: rgba(90, 180, 220, 0.04);
}

.flask-body {
    position: absolute;
    left: 6px;
    bottom: 0;
    width: 133px;
    height: 150px;
    border: 2px solid rgba(180, 235, 255, 0.55);
    border-radius: 15px 15px 48% 48%;
    clip-path: polygon(33% 0, 67% 0, 100% 75%, 90% 92%, 65% 100%, 35% 100%, 10% 92%, 0 75%);
    overflow: hidden;
    background: rgba(80, 180, 230, 0.05);
}

.liquid {
    position: absolute;
    left: -10%;
    bottom: -15px;
    width: 120%;
    height: 72%;
    border-radius: 50% 50% 0 0;
    animation: liquidWave 3.2s ease-in-out infinite;
}

.liquid-blue {
    background:
        radial-gradient(circle at 50% 10%, rgba(150, 245, 255, 0.65), transparent 13%),
        linear-gradient(#0877c7, #053b87);
    box-shadow: 0 -8px 30px rgba(0, 190, 255, 0.55);
}

.liquid-purple {
    background:
        radial-gradient(circle at 50% 10%, rgba(230, 190, 255, 0.55), transparent 13%),
        linear-gradient(#9136d5, #48106e);
    box-shadow: 0 -8px 30px rgba(170, 70, 255, 0.45);
}


/* ------------------------------------------------------------
   BUBBLES
------------------------------------------------------------- */

.bubble {
    position: absolute;
    bottom: 20px;
    border: 1px solid rgba(220, 250, 255, 0.65);
    border-radius: 50%;
    background: rgba(200, 250, 255, 0.10);
    animation: bubbleRise 3s ease-in infinite;
}

.bubble-one {
    left: 30%;
    width: 7px;
    height: 7px;
}

.bubble-two {
    left: 58%;
    width: 4px;
    height: 4px;
    animation-delay: 1s;
}

.bubble-three {
    left: 42%;
    width: 10px;
    height: 10px;
    animation-delay: 1.7s;
}


/* ------------------------------------------------------------
   CHEMICAL SMOKE
------------------------------------------------------------- */

.chemical-smoke {
    position: absolute;
    left: 30px;
    top: -55px;
    width: 100px;
    height: 100px;
}

.chemical-smoke span {
    position: absolute;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    filter: blur(8px);
    opacity: 0;
    animation: smokeRise 4s ease-out infinite;
}

.smoke-blue span {
    background: rgba(80, 210, 255, 0.55);
}

.smoke-purple span {
    background: rgba(190, 100, 255, 0.50);
}

.chemical-smoke span:nth-child(1) { left: 35px; bottom: 0; animation-delay: 0s; }
.chemical-smoke span:nth-child(2) { left: 50px; bottom: 10px; animation-delay: 1s; }
.chemical-smoke span:nth-child(3) { left: 20px; bottom: 5px; animation-delay: 2s; }
.chemical-smoke span:nth-child(4) { left: 65px; bottom: 0; animation-delay: 3s; }


/* ------------------------------------------------------------
   ROBOTIC ARM ILLUSTRATIONS
------------------------------------------------------------- */

.robot-arm {
    position: absolute;
    z-index: 6;
    width: 240px;
    height: 300px;
    top: 13%;
    opacity: 0.72;
}

.robot-arm-left {
    left: -10px;
    transform: rotate(-12deg);
}

.robot-arm-right {
    right: -10px;
    transform: scaleX(-1) rotate(-12deg);
}

.robot-joint {
    position: absolute;
    width: 65px;
    height: 65px;
    border: 9px solid #132536;
    border-radius: 50%;
    background: #07121c;
    box-shadow:
        inset 0 0 15px rgba(0, 190, 255, 0.45),
        0 0 15px rgba(0, 190, 255, 0.25);
}

.robot-joint::after {
    content: "";
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    border: 2px solid #24cfff;
    box-shadow: 0 0 12px #24cfff;
    animation: robotPulse 2s infinite;
}

.robot-arm .joint-one {
    left: 25px;
    top: 15px;
}

.robot-arm .joint-two {
    left: 125px;
    top: 125px;
}

.robot-segment {
    position: absolute;
    height: 38px;
    border-radius: 20px;
    background: linear-gradient(#1d3447, #08131e);
    border: 2px solid rgba(100, 190, 230, 0.25);
    box-shadow: inset 0 0 12px rgba(0, 200, 255, 0.12);
}

.segment-one {
    left: 55px;
    top: 60px;
    width: 110px;
    transform: rotate(43deg);
}

.segment-two {
    left: 100px;
    top: 165px;
    width: 105px;
    transform: rotate(-43deg);
}

.robot-gripper {
    position: absolute;
    left: 184px;
    top: 245px;
    width: 42px;
    height: 55px;
    border-left: 8px solid #1d3548;
    border-right: 8px solid #1d3548;
    transform: rotate(-30deg);
}

.robot-gripper::after {
    content: "";
    position: absolute;
    left: 2px;
    bottom: -8px;
    width: 22px;
    height: 25px;
    border-bottom: 5px solid #2dd8ff;
    border-radius: 50%;
}


/* ------------------------------------------------------------
   HUD PANELS
------------------------------------------------------------- */

.hud-panel {
    position: absolute;
    z-index: 15;
    width: 190px;
    padding: 17px;
    border: 1px solid rgba(50, 210, 255, 0.22);
    background: rgba(2, 12, 21, 0.65);
    backdrop-filter: blur(7px);
    box-shadow: 0 0 25px rgba(0, 180, 255, 0.05);
}

.hud-left {
    left: 30px;
    bottom: 50px;
}

.hud-right {
    right: 30px;
    top: 110px;
}

.hud-panel small,
.hud-panel strong,
.hud-panel span {
    display: block;
}

.hud-panel small {
    color: #36d5ff;
    letter-spacing: 2px;
    font-size: 9px;
}

.hud-panel strong {
    margin: 13px 0 8px;
    color: #d8f8ff;
    font-size: 9px;
    letter-spacing: 1px;
}

.hud-panel span {
    color: #52788d;
    font-size: 8px;
    line-height: 2;
    letter-spacing: 1px;
}

.hud-panel b {
    color: #3ce0ff;
}

.hud-progress {
    margin-top: 9px;
    height: 3px;
    background: #102431;
    overflow: hidden;
}

.hud-progress i {
    display: block;
    width: 58%;
    height: 100%;
    background: #2ed8ff;
    box-shadow: 0 0 10px #2ed8ff;
    animation: progressMove 3s ease-in-out infinite alternate;
}

.hud-wave {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 25px;
    margin-top: 9px;
}

.hud-wave i {
    display: block;
    width: 3px;
    background: #36d7ff;
    box-shadow: 0 0 5px rgba(50, 215, 255, 0.6);
    animation: wave 1s ease-in-out infinite alternate;
}

.hud-wave i:nth-child(1) { height: 8px; animation-delay: .1s; }
.hud-wave i:nth-child(2) { height: 18px; animation-delay: .2s; }
.hud-wave i:nth-child(3) { height: 11px; animation-delay: .3s; }
.hud-wave i:nth-child(4) { height: 22px; animation-delay: .4s; }
.hud-wave i:nth-child(5) { height: 13px; animation-delay: .5s; }
.hud-wave i:nth-child(6) { height: 19px; animation-delay: .6s; }
.hud-wave i:nth-child(7) { height: 7px; animation-delay: .7s; }


/* ------------------------------------------------------------
   ROTATING SCIENCE RINGS
------------------------------------------------------------- */

.science-ring {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(50, 200, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.ring-one {
    width: 580px;
    height: 580px;
    animation: ringSpin 28s linear infinite;
}

.ring-two {
    width: 760px;
    height: 300px;
    transform: rotate(35deg);
    border-style: dashed;
    animation: ringSpinReverse 35s linear infinite;
}


/* ------------------------------------------------------------
   ANIMATIONS
------------------------------------------------------------- */

@keyframes gridMove {
    from { background-position: 0 0; }
    to { background-position: 0 55px; }
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0); opacity: .7; }
    50% { transform: translate(30px, -30px); opacity: 1; }
}

@keyframes particleRise {
    from { bottom: -10px; transform: translateX(0); }
    to { bottom: 110%; transform: translateX(50px); }
}

@keyframes pulseDot {
    0%, 100% { transform: scale(.75); opacity: .65; }
    50% { transform: scale(1.35); opacity: 1; }
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 18px rgba(0, 190, 255, 0.20)); }
    50% { filter: drop-shadow(0 0 30px rgba(0, 190, 255, 0.48)); }
}

@keyframes lineSweep {
    0% { margin-left: -70px; }
    100% { margin-left: 180px; }
}

@keyframes cardScan {
    0% { left: -100%; }
    45%, 100% { left: 100%; }
}

@keyframes flaskFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-13px); }
}

@keyframes liquidWave {
    0%, 100% { transform: translateX(-2%) rotate(0deg); }
    50% { transform: translateX(2%) rotate(2deg); }
}

@keyframes bubbleRise {
    0% { transform: translateY(0) scale(.7); opacity: .1; }
    20% { opacity: .8; }
    100% { transform: translateY(-110px) scale(1.1); opacity: 0; }
}

@keyframes smokeRise {
    0% {
        opacity: 0;
        transform: translate(0, 20px) scale(.5);
    }
    25% {
        opacity: .45;
    }
    100% {
        opacity: 0;
        transform: translate(30px, -100px) scale(1.7);
    }
}

@keyframes robotPulse {
    0%, 100% { opacity: .55; }
    50% { opacity: 1; }
}

@keyframes progressMove {
    from { width: 35%; }
    to { width: 82%; }
}

@keyframes wave {
    from { transform: scaleY(.5); }
    to { transform: scaleY(1.25); }
}

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

@keyframes ringSpinReverse {
    from { transform: rotate(35deg); }
    to { transform: rotate(-325deg); }
}


/* ------------------------------------------------------------
   RESPONSIVE DESIGN
------------------------------------------------------------- */

@media (max-width: 1000px) {

    .robot-arm {
        opacity: .28;
        transform: scale(.75) rotate(-12deg);
    }

    .robot-arm-right {
        transform: scaleX(-1) scale(.75) rotate(-12deg);
    }

    .flask-left {
        left: 2%;
        transform: scale(.75);
    }

    .flask-right {
        right: 2%;
        transform: scale(.75);
    }

    .hud-panel {
        display: none;
    }

    .science-ring {
        opacity: .45;
    }
}

@media (max-width: 700px) {

    .labs-hero {
        min-height: calc(100vh - 65px);
    }

    .labs-content {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .title-main {
        font-size: clamp(70px, 22vw, 120px);
        letter-spacing: 8px;
        margin-left: 8px;
    }

    .title-small {
        font-size: 15px;
        letter-spacing: 7px;
        margin-left: 7px;
    }

    .labs-description {
        font-size: 14px;
        line-height: 1.65;
    }

    .lab-status-cards {
        grid-template-columns: 1fr;
        max-width: 350px;
    }

    .status-card {
        min-height: 62px;
    }

    .flask {
        opacity: .35;
        transform: scale(.55);
    }

    .flask-left {
        left: -35px;
    }

    .flask-right {
        right: -35px;
    }

    .robot-arm {
        display: none;
    }

    .ring-one {
        width: 350px;
        height: 350px;
    }

    .ring-two {
        width: 420px;
        height: 180px;
    }

    .launch-message {
        font-size: 7px;
        letter-spacing: 2px;
    }
}


/* ------------------------------------------------------------
   ACCESSIBILITY - REDUCE MOTION
------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .labs-hero *,
    .labs-hero *::before,
    .labs-hero *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
