:root {
    --bg: #05070b;
    --bg2: #090d14;

    --white: #f5f7fb;
    --text: #d8dce5;
    --muted: #858d9d;
    --dim: #5d6574;

    --cyan: #62f4ff;
    --purple: #9b70ff;

    --border: rgba(255,255,255,.09);
    --glass: rgba(255,255,255,.045);

    --container: 1240px;
}

* {
    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: .4;

    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 82%
        );
}

.glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: -8;
    transition: transform .5s ease-out;
}

.glow-one {
    top: -220px;
    right: -120px;
    background: rgba(98,244,255,.09);
}

.glow-two {
    bottom: -250px;
    left: -150px;
    background: rgba(155,112,255,.09);
}

#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,
.footer-logo {
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.logo span,
.footer-logo span {
    color: var(--cyan);

    text-shadow:
        0 0 18px
        rgba(98,244,255,.45);
}

.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 {
    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);
}

.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;
}


/* ================= MAIN ================= */

main {
    position: relative;
    z-index: 2;

    width:
        min(
            var(--container),
            calc(100% - 48px)
        );

    margin: auto;
}


/* ================= COMMON ================= */

section {
    padding-top: 130px;
}

.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 ================= */

.about-hero {
    min-height: 100vh;

    padding-top: 150px;

    display: grid;

    grid-template-columns:
        1fr .95fr;

    align-items: center;

    gap: 50px;
}

.about-hero-content {
    position: relative;
    z-index: 5;
}

.about-hero-content h1 {
    max-width: 720px;

    font-size:
        clamp(
            48px,
            6vw,
            82px
        );

    line-height: .98;

    letter-spacing: -4px;

    font-weight: 600;
}

.about-hero-content h1 span {
    color: var(--cyan);

    text-shadow:
        0 0 40px
        rgba(98,244,255,.12);
}

.about-hero-content h1 strong {
    color: white;
    font-weight: 600;
}

.about-hero-content > p {
    max-width: 620px;

    margin-top: 27px;

    color: var(--muted);

    font-size: 15px;
    line-height: 1.85;
}


/* ================= MINI STATS ================= */

.hero-mini-stats {
    display: flex;
    align-items: center;
    gap: 32px;

    margin-top: 42px;
}

.hero-mini-stats div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-mini-stats strong {
    font-size: 20px;
}

.hero-mini-stats span {
    color: var(--dim);
    font-size: 9px;
    letter-spacing: 1.5px;
}


/* ================= 3D VISUAL ================= */

.about-visual {
    position: relative;

    height: 610px;

    display: grid;
    place-items: center;

    perspective: 1200px;

    overflow: visible;
}

.visual-glow {
    position: absolute;

    width: 280px;
    height: 280px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(98,244,255,.18),
            rgba(155,112,255,.09),
            transparent 70%
        );

    filter: blur(30px);

    animation:
        visualPulse
        4s
        ease-in-out
        infinite;
}

@keyframes visualPulse {

    0%,100% {
        transform: scale(.9);
        opacity: .6;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}


/* ================= CUBE ================= */

.cube-scene {
    width: 260px;
    height: 260px;

    position: relative;

    transform-style: preserve-3d;

    transition:
        transform .15s ease-out;
}

.cube {
    width: 190px;
    height: 190px;

    position: absolute;

    top: 35px;
    left: 35px;

    transform-style: preserve-3d;

    animation:
        cubeRotate
        13s
        linear
        infinite;
}

@keyframes cubeRotate {

    0% {
        transform:
            rotateX(-20deg)
            rotateY(0deg)
            rotateZ(0deg);
    }

    50% {
        transform:
            rotateX(20deg)
            rotateY(180deg)
            rotateZ(8deg);
    }

    100% {
        transform:
            rotateX(-20deg)
            rotateY(360deg)
            rotateZ(0deg);
    }
}

.cube-face {
    position: absolute;

    width: 190px;
    height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;

    border:
        1px solid
        rgba(98,244,255,.35);

    background:
        linear-gradient(
            135deg,
            rgba(98,244,255,.09),
            rgba(155,112,255,.07)
        );

    backdrop-filter: blur(8px);

    box-shadow:
        inset 0 0 40px
        rgba(98,244,255,.04);
}

.cube-face span {
    color: white;

    font-size: 27px;
    font-weight: 700;

    letter-spacing: -1.5px;
}

.cube-face small {
    margin-top: 7px;

    color: var(--cyan);

    font-size: 7px;

    letter-spacing: 3px;
}

.front {
    transform:
        translateZ(95px);
}

.back {
    transform:
        rotateY(180deg)
        translateZ(95px);
}

.right {
    transform:
        rotateY(90deg)
        translateZ(95px);
}

.left {
    transform:
        rotateY(-90deg)
        translateZ(95px);
}

.top {
    transform:
        rotateX(90deg)
        translateZ(95px);
}

.bottom {
    transform:
        rotateX(-90deg)
        translateZ(95px);
}


/* ================= FLOATING CARDS ================= */

.floating-card {
    position: absolute;

    display: flex;
    align-items: center;
    gap: 11px;

    min-width: 160px;

    padding: 12px 14px;

    border:
        1px solid
        rgba(255,255,255,.1);

    border-radius: 10px;

    background:
        rgba(7,10,15,.72);

    backdrop-filter: blur(14px);

    box-shadow:
        0 20px 50px
        rgba(0,0,0,.3);

    z-index: 10;
}

.float-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-card strong {
    display: block;

    color: #e7ebf2;

    font-size: 10px;

    letter-spacing: 1px;
}

.floating-card small {
    display: block;

    margin-top: 3px;

    color: #697180;

    font-size: 8px;
}

.floating-one {
    top: 18%;
    right: 0;

    animation:
        floatCard
        4s
        ease-in-out
        infinite;
}

.floating-two {
    top: 48%;
    left: 0;

    animation:
        floatCard
        5s
        ease-in-out
        infinite reverse;
}

.floating-three {
    right: 5%;
    bottom: 15%;

    animation:
        floatCard
        4.5s
        ease-in-out
        infinite;
}

@keyframes floatCard {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-13px);
    }
}


/* ================= SECTION HEADING ================= */

.section-heading {
    max-width: 760px;

    margin-bottom: 48px;
}

.section-heading h2 {
    font-size:
        clamp(
            40px,
            5vw,
            65px
        );

    line-height: 1;

    letter-spacing: -3px;
}

.section-heading h2 span {
    color: var(--cyan);
}

.section-heading p {
    max-width: 620px;

    margin-top: 20px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.8;
}


/* ================= SERVICES ================= */

.service-list {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}

.about-service {
    position: relative;

    min-height: 330px;

    padding: 28px;

    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;
}

.about-service::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -100px;
    bottom: -100px;

    border-radius: 50%;

    background:
        rgba(98,244,255,.08);

    filter: blur(35px);

    transition: .5s ease;
}

.about-service:hover {
    transform:
        translateY(-10px);

    border-color:
        rgba(98,244,255,.3);

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.3);
}

.about-service:hover::before {
    transform: scale(1.7);
}

.service-top {
    display: flex;
    justify-content: space-between;

    color: #545c6b;

    font-size: 10px;
    letter-spacing: 2px;
}

.service-top b {
    font-size: 30px;
    opacity: .15;
}

.service-symbol {
    margin-top: 48px;

    color: var(--cyan);

    font-size: 29px;

    text-shadow:
        0 0 20px
        rgba(98,244,255,.35);
}

.about-service h3 {
    margin-top: 18px;

    font-size: 21px;
}

.about-service p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.card-arrow {
    position: absolute;

    right: 28px;
    bottom: 25px;

    color: var(--cyan);

    font-size: 17px;

    transition:
        transform .3s ease;
}

.about-service:hover .card-arrow {
    transform:
        translate(4px,-4px);
}


/* ================= TEAM ================= */

.team-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 16px;
}

.team-card {
    position: relative;

    padding: 28px;

    min-height: 360px;

    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;
}

.team-card:hover {
    transform:
        translateY(-10px)
        rotateX(2deg)
        rotateY(-2deg);

    border-color:
        rgba(98,244,255,.3);

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.3);
}

.member-number {
    position: absolute;

    right: 20px;
    top: 17px;

    font-size: 32px;
    font-weight: 700;

    color:
        rgba(255,255,255,.08);
}

.member-avatar {
    width: 94px;
    height: 94px;

    margin: 20px 0 24px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 30% 25%,
            rgba(98,244,255,.25),
            rgba(155,112,255,.12)
        );

    border:
        1px solid
        rgba(98,244,255,.22);

    color: var(--cyan);

    font-weight: 700;

    box-shadow:
        0 0 30px
        rgba(98,244,255,.08);

    transition:
        transform .4s ease;
}

.team-card:hover .member-avatar {
    transform:
        rotateY(25deg)
        rotateX(10deg)
        scale(1.05);
}

.member-info h3 {
    font-size: 21px;
}

.member-info span {
    display: block;

    margin-top: 5px;

    color: var(--cyan);

    font-size: 11px;
}

.member-info p {
    margin-top: 14px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}

.member-line {
    position: absolute;

    left: 28px;
    right: 28px;
    bottom: 25px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(98,244,255,.55),
            transparent
        );
}


/* ================= WHY ================= */

.why-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}

.why-card {
    position: relative;

    min-height: 245px;

    padding: 28px;

    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;
}

.why-card:hover {
    transform:
        translateY(-8px);

    border-color:
        rgba(98,244,255,.28);

    box-shadow:
        0 25px 60px
        rgba(0,0,0,.25);
}

.why-number {
    position: absolute;

    top: 22px;
    right: 22px;

    color: #555d6b;

    font-size: 10px;
    letter-spacing: 2px;
}

.why-icon {
    width: 55px;
    height: 55px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border-radius: 13px;

    color: var(--cyan);

    background:
        rgba(98,244,255,.06);

    border:
        1px solid
        rgba(98,244,255,.16);

    font-size: 23px;

    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

.why-card:hover .why-icon {
    transform:
        rotateY(180deg);

    box-shadow:
        0 0 25px
        rgba(98,244,255,.1);
}

.why-card h3 {
    font-size: 20px;
}

.why-card p {
    margin-top: 10px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


/* ================= CTA ================= */

.about-cta {
    margin:
        120px 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)
        );
}

.about-cta h2 {
    font-size:
        clamp(
            38px,
            4.5vw,
            62px
        );

    line-height: 1;

    letter-spacing: -3px;
}

.about-cta h2 span {
    color: var(--cyan);
}

.about-cta p {
    max-width: 550px;

    margin-top: 18px;

    color: var(--muted);

    font-size: 14px;
}

.button.primary {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 50px;

    padding: 0 22px;

    border-radius: 8px;

    color: #041013;

    background: var(--cyan);

    border: 1px solid var(--cyan);

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.button.primary:hover {
    box-shadow:
        0 15px 45px
        rgba(98,244,255,.2);
}


/* ================= 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 small {
    margin-left: auto;
}


/* ================= REVEAL ================= */

.reveal {
    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.show {
    opacity: 1;

    transform:
        translateY(0);
}


/* ================= TABLET ================= */

@media (max-width: 1000px) {

    .about-hero {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .about-hero-content .tag {
        justify-content: center;
    }

    .about-hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-mini-stats {
        justify-content: center;
    }

    .service-list {
        grid-template-columns:
            1fr 1fr;
    }

    .team-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .why-grid {
        grid-template-columns:
            1fr 1fr;
    }

    .about-visual {
        height: 570px;
    }
}


/* ================= 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;
    }

    main {
        width:
            calc(100% - 40px);
    }

    .about-hero {
        padding-top: 120px;

        min-height: auto;
    }

    .about-hero-content h1 {
        font-size:
            clamp(
                42px,
                12vw,
                62px
            );

        letter-spacing: -3px;
    }

    .about-hero-content > p {
        font-size: 13px;
    }

    .hero-mini-stats {
        gap: 22px;
    }

    .about-visual {
        height: 450px;
    }

    .cube-scene {
        transform:
            scale(.78);
    }

    .floating-one {
        right: -8px;
    }

    .floating-two {
        left: -8px;
    }

    .floating-three {
        right: 5px;
    }

    .service-list,
    .team-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding-top: 90px;
    }

    .section-heading h2 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .about-cta {
        margin-top: 90px;
        margin-bottom: 70px;

        padding: 30px;

        flex-direction: column;

        align-items: flex-start;
    }

    .about-cta h2 {
        font-size: 40px;
        letter-spacing: -2px;
    }

    .button.primary {
        width: 100%;
    }

    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) {

    .cube-scene {
        transform:
            scale(.65);
    }

    .floating-card {
        transform:
            scale(.85);
    }

    .about-visual {
        height: 410px;
    }
}


/* ================= REDUCED MOTION ================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;
    }
}