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

html {
    scroll-behavior: smooth;
}

body {
    background: #05070b;
    color: #e8edf7;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}


/* =========================================================
   BACKGROUND
========================================================= */

body::before {
    content: "";

    position: fixed;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(40,120,255,0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(40,120,255,0.035) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    pointer-events: none;

    z-index: -5;
}


body::after {
    content: "";

    position: fixed;

    width: 700px;
    height: 700px;

    top: -300px;
    right: -250px;

    background: rgba(0,120,255,0.12);

    filter: blur(140px);

    border-radius: 50%;

    pointer-events: none;

    z-index: -4;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 76px;

    padding: 0 7%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: rgba(5,7,11,0.72);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,0.06);

    z-index: 1000;

    transition: 0.3s;
}


.logo {
    color: white;

    font-size: 23px;

    font-weight: 800;

    letter-spacing: 3px;

    text-decoration: none;
}


.logo span {
    color: #249cff;
}


nav {
    display: flex;

    gap: 34px;
}


nav a {
    color: #9aa4b5;

    text-decoration: none;

    font-size: 14px;

    position: relative;

    transition: 0.25s;
}


nav a:hover,
nav a.active {
    color: white;
}


nav a::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 2px;

    background: #249cff;

    box-shadow: 0 0 10px #249cff;

    transition: 0.3s;
}


nav a:hover::after,
nav a.active::after {
    width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    padding: 150px 8% 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 80px;

    position: relative;
}


.hero-content {
    max-width: 650px;

    animation: heroIn 1s ease forwards;
}


@keyframes heroIn {

    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


.eyebrow {
    color: #4ba9ff;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 20px;
}


.hero h1 {
    font-size: clamp(70px,9vw,125px);

    line-height: 0.9;

    letter-spacing: -6px;

    font-weight: 800;
}


.hero h1 span {
    color: transparent;

    -webkit-text-stroke: 1px #329eff;

    text-shadow:
        0 0 30px rgba(30,150,255,0.18);
}


.hero-description {
    max-width: 540px;

    margin-top: 30px;

    color: #8994a7;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    gap: 15px;

    margin-top: 35px;

    flex-wrap: wrap;
}


.primary-button,
.secondary-button {
    padding: 15px 24px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition: 0.3s;
}


.primary-button {
    color: white;

    background: #168fff;

    box-shadow:
        0 0 25px rgba(22,143,255,0.3);
}


.primary-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 0 35px rgba(22,143,255,0.55);
}


.secondary-button {
    color: #b7c0cf;

    border: 1px solid #263142;

    background: rgba(255,255,255,0.02);
}


.secondary-button:hover {
    color: white;

    border-color: #168fff;

    transform: translateY(-4px);
}


/* =========================================================
   MOLECULE
========================================================= */

.molecule-container {
    width: 460px;

    height: 460px;

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;
}


.molecule-glow {
    position: absolute;

    width: 300px;

    height: 300px;

    background: #168fff;

    opacity: 0.12;

    filter: blur(90px);

    border-radius: 50%;

    animation: glowPulse 4s infinite alternate;
}


@keyframes glowPulse {

    from {
        transform: scale(0.85);
        opacity: 0.08;
    }

    to {
        transform: scale(1.15);
        opacity: 0.18;
    }

}


.molecule {
    position: relative;

    width: 360px;

    height: 360px;

    animation: moleculeFloat 7s ease-in-out infinite;
}


@keyframes moleculeFloat {

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

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

}


/* =========================================================
   TOOLS
========================================================= */

.tools {
    padding: 130px 8%;

    border-top:
        1px solid rgba(255,255,255,0.05);
}


.section-heading {
    max-width: 650px;

    margin-bottom: 60px;
}


.section-heading h2 {
    font-size: 55px;

    letter-spacing: -2px;
}


.tool-grid {
    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 16px;
}


.tool-card {
    min-height: 390px;

    padding: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.01)
        );

    border:
        1px solid rgba(255,255,255,0.07);

    border-radius: 14px;

    text-decoration: none;

    color: inherit;

    transition:
        transform 0.4s,
        border-color 0.4s,
        background 0.4s;

    position: relative;

    overflow: hidden;
}


.tool-card:hover {
    transform: translateY(-10px);

    border-color:
        rgba(38,156,255,0.45);
}


.tool-number {
    color: #526076;

    font-size: 13px;

    margin-bottom: 50px;
}


.tool-card h3 {
    font-size: 21px;

    margin-bottom: 15px;
}


.tool-card p {
    color: #788397;

    line-height: 1.7;

    font-size: 14px;
}


.tool-card span {
    display: block;

    margin-top: 25px;

    color: #369eff;

    font-size: 13px;
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    padding: 140px 8%;

    display: grid;

    grid-template-columns:
        100px 1fr;

    gap: 50px;

    border-top:
        1px solid rgba(255,255,255,0.05);
}


.about-number {
    color: #364154;

    font-size: 14px;
}


.about h2 {
    font-size: 65px;

    line-height: 0.95;

    letter-spacing: -3px;
}


.about-text {
    color: #7e899b;

    max-width: 600px;

    line-height: 1.8;

    margin-top: 30px;
}


/* =========================================================
   CTA
========================================================= */

.cta {
    text-align: center;

    padding: 150px 20px;

    border-top:
        1px solid rgba(255,255,255,0.05);
}


.cta h2 {
    font-size: 65px;

    letter-spacing: -3px;
}


.cta h2 span {
    color: #269cff;
}


.cta > p:not(.eyebrow) {
    color: #7b8697;

    margin: 20px 0 35px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    padding: 45px 8%;

    border-top:
        1px solid rgba(255,255,255,0.06);

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 20px;
}


.footer-logo {
    font-weight: 800;

    letter-spacing: 3px;
}


.footer-logo span {
    color: #269cff;
}


footer p {
    color: #596476;

    font-size: 12px;
}


/* =========================================================
   PARTICLES
========================================================= */

.particle {
    position: fixed;

    width: 2px;

    height: 2px;

    background: #3da6ff;

    border-radius: 50%;

    box-shadow:
        0 0 8px #269cff;

    pointer-events: none;

    opacity: 0;

    z-index: -1;

    animation:
        particleFloat linear infinite;
}


@keyframes particleFloat {

    0% {
        opacity: 0;

        transform:
            translateY(30px)
            scale(0.5);
    }

    20% {
        opacity: 0.7;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;

        transform:
            translateY(-150px)
            scale(1.2);
    }

}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(45px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.reveal.show {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

    .hero {
        flex-direction: column;

        align-items: flex-start;

        padding-top: 130px;
    }


    .tool-grid {
        grid-template-columns:
            repeat(2,1fr);
    }


    .about {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    nav a:nth-child(3),
    nav a:nth-child(4) {
        display: none;
    }


    .hero h1 {
        font-size: 65px;
    }


    .tool-grid {
        grid-template-columns: 1fr;
    }


    .section-heading h2,
    .about h2,
    .cta h2 {
        font-size: 45px;
    }


    .molecule-container {
        transform: scale(0.8);

        margin-left: -35px;
    }

}