:root {
    --bg-color: #050914;
    --primary: #00f0ff;
    --secondary: #ff003c;
    --accent: #7000ff;
    --text-main: #e0e6ed;
    --text-muted: #8a9bb3;
    --glass-bg: rgba(10, 15, 30, 0.6);
    --glass-border: rgba(0, 240, 255, 0.2);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Noto Sans SC', sans-serif;
    overflow-x: hidden;
    position: relative;
    background-image: radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.05), transparent 25%),
                      radial-gradient(circle at 85% 30%, rgba(112, 0, 255, 0.05), transparent 25%);
}

h1, h2, h3, .logo {
    font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
    letter-spacing: 1px;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}
.glitch {
    color: var(--primary);
    position: relative;
    display: inline-block;
}
.utils {
    color: var(--text-main);
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
    text-transform: uppercase;
}
.nav-links a:hover {
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary);
}

/* Buttons */
.btn-neon {
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s;
    background: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.btn-neon:hover {
    background: var(--primary);
    color: var(--bg-color);
    box-shadow: 0 0 15px var(--primary), inset 0 0 10px var(--primary);
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--accent));
    color: #fff;
    padding: 1rem 2.5rem;
    border: none;
    text-decoration: none;
    font-weight: 700;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    transition: filter 0.3s, transform 0.3s;
    display: inline-block;
}
.btn-primary:hover {
    filter: brightness(1.2) drop-shadow(0 0 10px var(--primary));
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 1rem 2.5rem;
    border: 1px solid var(--glass-border);
    text-decoration: none;
    font-weight: 500;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
    transition: all 0.3s;
    display: inline-block;
}
.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.glow-text {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-visuals {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 500px;
}

/* Cyber Sphere Animation */
.cyber-sphere {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
    animation: rotateSphere 20s linear infinite;
}

.ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(0, 240, 255, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.ring:nth-child(1) { transform: rotateX(75deg); animation: pulseRing 2s alternate infinite; }
.ring:nth-child(2) { transform: rotateY(75deg); border-color: rgba(112, 0, 255, 0.5); animation: pulseRing 3s alternate infinite;}
.ring:nth-child(3) { transform: rotateZ(75deg); border-color: rgba(255, 0, 60, 0.3); }

.core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    border-radius: 50%;
    box-shadow: 0 0 50px var(--primary);
    animation: corePulse 1.5s alternate infinite;
}

@keyframes rotateSphere {
    0% { transform: rotateX(0) rotateY(0); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}
@keyframes corePulse {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}
@keyframes pulseRing {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Features */
.features-section {
    padding: 100px 5%;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    text-align: center;
}
.section-title .accent {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 300;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2.5rem 2rem;
    border-radius: 8px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s, border-color 0.3s;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(0,240,255,0.1), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.card:hover::before {
    left: 150%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.15);
}

.icon-wrapper {
    margin-bottom: 1.5rem;
}

.icon-glow {
    font-size: 2rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
    display: inline-block;
    padding: 1rem;
    background: rgba(0, 240, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Download */
.download-section {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.download-card {
    text-align: center;
    padding: 4rem;
    max-width: 800px;
    width: 100%;
    border-radius: 12px;
}
.download-card.border-glow {
    animation: borderGlow 3s alternate infinite;
}

@keyframes borderGlow {
    0% { border-color: rgba(0, 240, 255, 0.3); box-shadow: 0 0 20px rgba(0,240,255,0.1); }
    100% { border-color: var(--primary); box-shadow: 0 0 40px rgba(0,240,255,0.3); }
}

.download-card h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.download-card p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Custom Cursor */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,240,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.2s, height 0.2s;
}

/* Particle effect */
.particle {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    z-index: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    .hero-content {
        margin-bottom: 3rem;
    }
    .cta-buttons {
        justify-content: center;
    }
    .nav-links {
        display: none;
    }
    .cyber-sphere {
        width: 200px;
        height: 200px;
    }
    .glow-text {
        font-size: 3rem;
    }
}
