:root {
    --bg: #050505;
    --primary: #00f2ff;
    --secondary: #7000ff;
    --text: #ffffff;
    --text-dim: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none;
}

.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #1a0033 0%, #050505 70%);
    z-index: -1;
}

.cursor-glow {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.15) 0%, transparent 70%);
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.custom-cursor {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 242, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease-out;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(2px);
}

.custom-cursor-dot {
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--primary);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.logo span {
    color: var(--primary);
    font-size: 0.8rem;
    vertical-align: top;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

header {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.btn-glow {
    background: var(--primary);
    color: #000;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    transition: 0.3s;
    display: inline-block;
    margin: 0.5rem;
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.6);
}

.btn-outline {
    border: 1px solid var(--text-dim);
    color: var(--text);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    display: inline-block;
    margin: 0.5rem;
}

.btn-outline:hover {
    border-color: var(--text);
    background: var(--glass);
}

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

.card {
    background: var(--glass);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
}

.card p {
    color: var(--text-dim);
}

.btn-primary {
    background: var(--primary);
    color: #000;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
}

/* Command Navigation */
.command-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cmd-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--glass);
    border: 2px solid var(--text-dim);
    cursor: pointer;
    transition: 0.3s;
}

.cmd-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    transform: scale(1.3);
}

.cmd-dot:hover {
    border-color: var(--primary);
}

.cmd-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.cmd-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

footer {
    text-align: center;
    padding: 100px 5% 50px;
    border-top: 1px solid var(--glass);
}

.btn-footer {
    background: var(--primary);
    color: #000;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
}

.sub {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 10px;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
}