/* BACKGROUND ANIMATION */
body {
    background: linear-gradient(-45deg, #020617, #0f172a, #020617, #1e293b);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
}

@keyframes gradientMove {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

/* PARTICLE CANVAS */
#particles {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
}

/* MOUSE GLOW */
#mouse-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(56,189,248,0.25), transparent);
    pointer-events: none;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
    transform: translate(-50%, -50%);
}


/* HERO */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

.gradient-text {
    font-size: 70px;
    background: linear-gradient(90deg, #38bdf8, #818cf8, #38bdf8);
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textFlow 5s linear infinite;
}

@keyframes textFlow {
    0% {background-position: 0%;}
    100% {background-position: 200%;}
}

.hero-content h1 {
    font-size: 60px;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    opacity: 0.7;
    margin: 15px 0;
}

/* FLOATING BG EFFECT */
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(56,189,248,0.1), transparent);
    filter: blur(80px);
}

/* BUTTONS */
.btn {
    padding: 12px 25px;
    border-radius: 30px;
    margin: 5px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    color: white;
    transition: 0.3s;
}

.btn.primary {
    background: #38bdf8;
    color: black;
}

.btn.outline {
    border: 1px solid #38bdf8;
}

.btn:hover {
    transform: translateY(-3px);
}

/* FEATURES */
.features {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 60px;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 15px;
    width: 250px;
    backdrop-filter: blur(12px);
    transition: 0.3s;
}

.feature-card, .sys-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.feature-card:hover {
    box-shadow: 0 0 40px rgba(56,189,248,0.4);
}

/* SYSTEM SECTION */
.system {
    text-align: center;
    padding: 60px;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.sys-box {
    padding: 25px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    transition: 0.3s;
}

.sys-box:hover {
    transform: scale(1.05);
    background: rgba(56,189,248,0.1);
}

section {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

section.show {
    opacity: 1;
    transform: translateY(0);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 60px;
    z-index: 2;
    position: relative;
}

.stat h2 {
    font-size: 40px;
    color: #38bdf8;
}

.stat p {
    opacity: 0.6;
    text-align: center;
}