/* =====================================================
   Void Visuals WEB STUDIO
   COMPLETE STYLE SHEET
===================================================== */

:root {
    --bg: #05070b;
    --bg2: #090d14;

    --white: #f5f7fb;
    --text: #d8dce5;
    --muted: #858d9d;
    --dim: #5d6574;

    --cyan: #62f4ff;
    --purple: #9b70ff;

    --border: rgba(255,255,255,0.09);
    --glass: rgba(255,255,255,0.045);

    --container: 1240px;
}


/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background: var(--bg);

    color: var(--white);

    font-family:
        "Space Grotesk",
        sans-serif;

    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* ================= BACKGROUND ================= */

.background-grid {
    position: fixed;

    inset: 0;

    z-index: -10;

    pointer-events: none;

    opacity: .35;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black 15%,
            transparent 80%
        );
}


.glow {
    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(120px);

    pointer-events: none;

    z-index: -8;

    transition:
        transform .4s ease-out;
}

.glow-one {
    top: -220px;
    right: -120px;

    background:
        rgba(98,244,255,.08);
}

.glow-two {
    bottom: -250px;
    left: -150px;

    background:
        rgba(155,112,255,.08);
}


#particles {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: -7;

    pointer-events: none;
}


/* ================= NAVBAR ================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 82px;

    padding:
        0 max(
            24px,
            calc(
                (100vw - var(--container)) / 2
            )
        );

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 1000;

    transition:
        background .3s ease,
        border .3s ease,
        box-shadow .3s ease;
}


.navbar.scrolled {
    background:
        rgba(5,7,11,.82);

    border-bottom:
        1px solid var(--border);

    backdrop-filter:
        blur(18px);

    box-shadow:
        0 15px 50px
        rgba(0,0,0,.25);
}


/* LOGO */

.logo {
    font-size: 25px;

    font-weight: 700;

    letter-spacing: -1.5px;
}

.logo span {
    color: var(--cyan);

    text-shadow:
        0 0 18px
        rgba(98,244,255,.45);
}


/* NAV LINKS */

.navbar nav {
    display: flex;

    align-items: center;

    gap: 34px;
}

.navbar nav a {
    position: relative;

    color: #858c99;

    font-size: 13px;

    transition:
        color .25s ease;
}

.navbar nav a:hover,
.navbar nav a.active {
    color: white;
}


.navbar nav a.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -12px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    transform:
        translateX(-50%);

    background: var(--cyan);

    box-shadow:
        0 0 10px var(--cyan);
}


/* NAV BUTTON */

.nav-button {
    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        11px 16px;

    border:
        1px solid var(--border);

    border-radius: 8px;

    color: #dfe3eb;

    font-size: 12px;

    transition: .3s ease;
}

.nav-button span {
    color: var(--cyan);

    font-size: 15px;
}

.nav-button:hover {
    border-color:
        rgba(98,244,255,.4);

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 30px
        rgba(98,244,255,.07);
}


/* MOBILE MENU */

.menu-button {
    display: none;

    width: 42px;
    height: 42px;

    border:
        1px solid var(--border);

    border-radius: 8px;

    background:
        rgba(255,255,255,.03);

    color: white;

    font-size: 18px;

    cursor: pointer;
}


/* ================= HERO ================= */

.hero {
    width:
        min(
            var(--container),
            calc(100% - 48px)
        );

    min-height: 100vh;

    margin: auto;

    padding:
        150px 0 100px;

    display: grid;

    grid-template-columns:
        1fr .95fr;

    align-items: center;

    gap: 50px;
}


/* ================= HERO CONTENT ================= */

.hero-content {
    position: relative;

    z-index: 5;
}


.tag {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 24px;

    color: #8e96a6;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 2.5px;
}

.tag > span {
    width: 27px;
    height: 1px;

    display: block;

    background: var(--cyan);

    box-shadow:
        0 0 12px var(--cyan);
}


.hero h1 {
    max-width: 700px;

    font-size:
        clamp(
            52px,
            6.2vw,
            88px
        );

    line-height: .98;

    letter-spacing: -4.5px;

    font-weight: 600;
}


.hero h1 span {
    color: var(--cyan);

    text-shadow:
        0 0 40px
        rgba(98,244,255,.12);
}


.hero h1 strong {
    font-weight: 600;

    color: white;
}


.hero-content > p {
    max-width: 580px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.85;
}


/* ================= BUTTONS ================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 35px;
}


.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 48px;

    padding:
        0 20px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 600;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.button.primary {
    color: #041013;

    background: var(--cyan);

    border:
        1px solid var(--cyan);

    box-shadow:
        0 0 30px
        rgba(98,244,255,.1);
}


.button.primary:hover {
    box-shadow:
        0 15px 40px
        rgba(98,244,255,.2);
}


.button.secondary {
    color: #dce1ea;

    border:
        1px solid var(--border);

    background:
        rgba(255,255,255,.025);
}


.button.secondary:hover {
    color: var(--cyan);

    border-color:
        rgba(98,244,255,.35);
}


/* ================= STATS ================= */

.stats {
    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 55px;
}


.stats > div:not(.stat-line) {
    display: flex;

    flex-direction: column;

    gap: 4px;
}


.stats strong {
    font-size: 20px;

    font-weight: 600;
}


.stats span {
    color: var(--dim);

    font-size: 10px;

    letter-spacing: .5px;
}


.stat-line {
    width: 1px;
    height: 30px;

    background:
        var(--border);
}

/* =====================================================
   PART 2 — 3D SCENE
===================================================== */

.hero-visual {
    position: relative;

    height: 620px;

    display: grid;

    place-items: center;

    perspective: 1200px;
}


/* ================= 3D SCENE ================= */

.scene {
    position: relative;

    width: 560px;
    height: 560px;

    display: grid;

    place-items: center;

    transform-style: preserve-3d;

    transition:
        transform .15s ease-out;
}


/* ================= ORBITS ================= */

.orbit {
    position: absolute;

    top: 50%;
    left: 50%;

    border-radius: 50%;

    pointer-events: none;

    transform-style:
        preserve-3d;
}


.orbit-one {
    width: 420px;
    height: 420px;

    border:
        1px solid
        rgba(98,244,255,.25);

    transform:
        translate(-50%, -50%)
        rotateX(67deg)
        rotateZ(15deg);

    animation:
        orbitOne
        12s
        linear
        infinite;
}


.orbit-two {
    width: 320px;
    height: 470px;

    border:
        1px solid
        rgba(155,112,255,.23);

    transform:
        translate(-50%, -50%)
        rotateX(70deg)
        rotateZ(-35deg);

    animation:
        orbitTwo
        15s
        linear
        infinite;
}


.orbit-three {
    width: 470px;
    height: 290px;

    border:
        1px solid
        rgba(255,255,255,.08);

    transform:
        translate(-50%, -50%)
        rotateY(67deg)
        rotateZ(35deg);

    animation:
        orbitThree
        18s
        linear
        infinite reverse;
}


/* Orbit animations */

@keyframes orbitOne {

    from {
        transform:
            translate(-50%, -50%)
            rotateX(67deg)
            rotateZ(15deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotateX(67deg)
            rotateZ(375deg);
    }
}


@keyframes orbitTwo {

    from {
        transform:
            translate(-50%, -50%)
            rotateX(70deg)
            rotateZ(-35deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotateX(70deg)
            rotateZ(325deg);
    }
}


@keyframes orbitThree {

    from {
        transform:
            translate(-50%, -50%)
            rotateY(67deg)
            rotateZ(35deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotateY(67deg)
            rotateZ(-325deg);
    }
}


/* =====================================================
   3D SPHERE
===================================================== */

.sphere {
    position: relative;

    width: 245px;
    height: 245px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    transform-style:
        preserve-3d;

    background:

        radial-gradient(
            circle at 30% 22%,
            rgba(255,255,255,.22),
            transparent 12%
        ),

        radial-gradient(
            circle at 45% 45%,
            rgba(98,244,255,.16),
            transparent 55%
        ),

        radial-gradient(
            circle at 70% 70%,
            rgba(155,112,255,.18),
            transparent 55%
        ),

        rgba(7,12,18,.82);

    border:
        1px solid
        rgba(98,244,255,.55);

    box-shadow:

        inset
        -25px -25px 55px
        rgba(0,0,0,.6),

        inset
        15px 15px 35px
        rgba(255,255,255,.05),

        0 0 60px
        rgba(98,244,255,.14);

    animation:
        sphereFloat
        5s
        ease-in-out
        infinite;
}


.sphere::before {
    content: "";

    position: absolute;

    inset: 12px;

    border-radius: 50%;

    border:
        1px solid
        rgba(255,255,255,.08);
}


.sphere::after {
    content: "";

    position: absolute;

    width: 65px;
    height: 25px;

    top: 32px;
    left: 45px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.12);

    filter:
        blur(12px);

    transform:
        rotate(-35deg);
}


@keyframes sphereFloat {

    0%,
    100% {
        transform:
            translateY(0)
            rotateX(0)
            rotateY(0);
    }

    50% {
        transform:
            translateY(-13px)
            rotateX(3deg)
            rotateY(-4deg);
    }
}


/* =====================================================
   SPHERE INNER
===================================================== */

.sphere-inner {
    position: relative;

    z-index: 3;

    width: 145px;
    height: 145px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        rgba(3,7,11,.42);

    border:
        1px solid
        rgba(255,255,255,.08);

    transform:
        translateZ(30px);

    box-shadow:
        0 15px 45px
        rgba(0,0,0,.35);
}


.sphere-logo {
    color: white;

    font-size: 35px;

    font-weight: 700;

    letter-spacing: -2px;
}


.sphere-label {
    margin-top: 6px;

    color: var(--cyan);

    font-size: 7px;

    letter-spacing: 2.5px;
}


/* =====================================================
   FLOATING PANELS
===================================================== */

.floating-panel {
    position: absolute;

    z-index: 10;

    display: flex;

    align-items: center;

    gap: 11px;

    min-width: 155px;

    padding:
        12px 14px;

    border:
        1px solid
        rgba(255,255,255,.10);

    border-radius: 10px;

    background:
        rgba(7,10,15,.72);

    backdrop-filter:
        blur(14px);

    box-shadow:
        0 20px 50px
        rgba(0,0,0,.3);
}


.panel-icon {
    width: 30px;
    height: 30px;

    display: grid;

    place-items: center;

    flex-shrink: 0;

    border-radius: 8px;

    color: var(--cyan);

    background:
        rgba(98,244,255,.07);

    border:
        1px solid
        rgba(98,244,255,.14);
}


.floating-panel strong {
    display: block;

    color: #e7ebf2;

    font-size: 10px;

    letter-spacing: 1px;
}


.floating-panel small {
    display: block;

    margin-top: 3px;

    color: #697180;

    font-size: 8px;
}


/* Individual positions */

.panel-one {
    top: 19%;
    right: 0;

    animation:
        panelFloat
        4s
        ease-in-out
        infinite;
}


.panel-two {
    top: 47%;
    left: 0;

    animation:
        panelFloat
        5s
        ease-in-out
        infinite reverse;
}


.panel-three {
    right: 5%;
    bottom: 17%;

    animation:
        panelFloat
        4.5s
        ease-in-out
        infinite;
}


@keyframes panelFloat {

    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-12px);
    }
}


/* =====================================================
   SERVICES
===================================================== */

.services {
    width:
        min(
            var(--container),
            calc(100% - 48px)
        );

    margin:
        0 auto;

    padding:
        100px 0;
}


.section-heading {
    margin-bottom: 45px;
}


.section-heading h2 {
    font-size:
        clamp(
            40px,
            5vw,
            65px
        );

    line-height: 1;

    letter-spacing: -3px;
}


.section-heading h2 span {
    color: var(--cyan);
}


/* ================= SERVICE GRID ================= */

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}


.service-card {
    position: relative;

    min-height: 330px;

    padding: 30px;

    overflow: hidden;

    border:
        1px solid
        var(--border);

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}


.service-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -90px;
    bottom: -90px;

    border-radius: 50%;

    background:
        rgba(98,244,255,.06);

    filter:
        blur(40px);

    transition:
        .4s ease;
}


.service-card:hover {
    border-color:
        rgba(98,244,255,.28);

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.28);
}


.service-card:hover::before {
    transform:
        scale(1.5);
}


.service-number {
    color: #545c6b;

    font-size: 10px;

    letter-spacing: 2px;
}


.service-icon {
    margin-top: 55px;

    color: var(--cyan);

    font-size: 28px;

    text-shadow:
        0 0 20px
        rgba(98,244,255,.3);
}


.service-card h3 {
    margin-top: 18px;

    font-size: 22px;
}


.service-card p {
    max-width: 300px;

    margin-top: 12px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


.service-card a {
    position: absolute;

    left: 30px;
    bottom: 27px;

    color: var(--cyan);

    font-size: 11px;
}


/* =====================================================
   FINAL CTA
===================================================== */

.final-cta {
    width:
        min(
            var(--container),
            calc(100% - 48px)
        );

    margin:
        40px auto 100px;

    padding:
        55px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    background:
        linear-gradient(
            110deg,
            rgba(98,244,255,.045),
            rgba(155,112,255,.045)
        );
}


.final-cta h2 {
    font-size:
        clamp(
            38px,
            4.5vw,
            62px
        );

    line-height: 1;

    letter-spacing: -3px;
}


.final-cta h2 span {
    color: var(--cyan);
}


/* =====================================================
   FOOTER
===================================================== */

footer {
    width:
        min(
            var(--container),
            calc(100% - 48px)
        );

    min-height: 90px;

    margin:
        0 auto;

    display: flex;

    align-items: center;

    gap: 25px;

    border-top:
        1px solid
        var(--border);

    color: #697180;

    font-size: 11px;
}


.footer-logo {
    color: white;

    font-size: 22px;

    font-weight: 700;
}


.footer-logo span {
    color: var(--cyan);

    text-shadow:
        0 0 18px
        rgba(98,244,255,.45);
}


footer small {
    margin-left: auto;
}


/* =====================================================
   SCROLL REVEAL
===================================================== */

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .7s ease,
        transform .7s ease;
}


.reveal.show {
    opacity: 1;

    transform:
        translateY(0);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1000px) {

    .hero {
        grid-template-columns: 1fr;

        padding-top: 130px;
    }


    .hero-content {
        text-align: center;
    }


    .hero-content .tag {
        justify-content: center;
    }


    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }


    .hero-buttons {
        justify-content: center;
    }


    .stats {
        justify-content: center;
    }


    .hero-visual {
        height: 560px;
    }


    .service-grid {
        grid-template-columns:
            1fr 1fr;
    }


    .service-card:last-child {
        grid-column:
            span 2;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .navbar {
        height: 70px;

        padding:
            0 20px;
    }


    .navbar nav {
        display: none;

        position: absolute;

        top: 80px;

        left: 15px;
        right: 15px;

        padding: 20px;

        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        border:
            1px solid
            var(--border);

        border-radius: 14px;

        background:
            rgba(7,9,14,.96);

        backdrop-filter:
            blur(18px);
    }


    .navbar nav.open {
        display: flex;
    }


    .navbar nav a.active::after {
        display: none;
    }


    .nav-button {
        display: none;
    }


    .menu-button {
        display: block;
    }


    /* HERO */

    .hero {
        width:
            calc(100% - 40px);

        padding:
            120px 0 60px;

        gap: 20px;
    }


    .hero h1 {
        font-size:
            clamp(
                42px,
                12vw,
                62px
            );

        letter-spacing: -3px;
    }


    .hero-content > p {
        font-size: 13px;
    }


    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .button {
        width: 100%;
    }


    .stats {
        gap: 15px;

        margin-top: 42px;
    }


    .stats strong {
        font-size: 17px;
    }


    .stats span {
        font-size: 9px;
    }


    /* 3D */

    .hero-visual {
        height: 430px;
    }


    .scene {
        width: 390px;
        height: 390px;

        transform:
            scale(.76);
    }


    .orbit-one {
        width: 390px;
        height: 390px;
    }


    .orbit-two {
        width: 300px;
        height: 450px;
    }


    .orbit-three {
        width: 440px;
        height: 260px;
    }


    .sphere {
        width: 220px;
        height: 220px;
    }


    .panel-one {
        right: -15px;
    }


    .panel-two {
        left: -15px;
    }


    .panel-three {
        right: 0;
    }


    /* SERVICES */

    .services {
        width:
            calc(100% - 40px);

        padding:
            70px 0;
    }


    .section-heading h2 {
        font-size: 42px;

        letter-spacing: -2px;
    }


    .service-grid {
        grid-template-columns:
            1fr;
    }


    .service-card:last-child {
        grid-column: auto;
    }


    /* CTA */

    .final-cta {
        width:
            calc(100% - 40px);

        margin:
            20px auto 70px;

        padding: 30px;

        flex-direction: column;

        align-items: flex-start;
    }


    .final-cta h2 {
        font-size: 40px;

        letter-spacing: -2px;
    }


    /* FOOTER */

    footer {
        width:
            calc(100% - 40px);

        padding:
            25px 0;

        flex-wrap: wrap;
    }


    footer p {
        width: 100%;
    }


    footer small {
        width: 100%;

        margin-left: 0;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .hero h1 {
        font-size: 39px;
    }


    .stats {
        gap: 10px;
    }


    .stat-line {
        height: 25px;
    }


    .scene {
        transform:
            scale(.65);
    }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;

        animation-iteration-count:
            1 !important;

        scroll-behavior: auto !important;

        transition-duration:
            .01ms !important;
    }

}