:root {
    --bg-color: #03040b;
    --text-color: #f7f7f7;
    --accent-color: #00d2ff;
    --accent-secondary: #0072ff;
    --secondary-color: #1a1a2e;
    --dark-grey: #41436a;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Scrollbar styling */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { background: var(--accent-secondary); border-radius: 4px; }

/* Canvas background placeholder (animated later) */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at center, #1a1a2e 0%, #03040b 100%);
    overflow: hidden;
}

#canvas-container::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(white, transparent 1.5%), radial-gradient(white, transparent 1%);
    background-size: 200px 200px, 400px 400px;
    background-position: 0 0, 40px 60px;
    opacity: 0.1;
    animation: parallax 200s linear infinite;
}

@keyframes parallax {
    from { background-position: 0 0, 40px 60px; }
    to { background-position: 1000px 1000px, 400px 600px; }
}

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

nav#nav-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 5px;
}

.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before, .glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

/* Glitch animation logic will be added via JS/CSS */

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 10%;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 0.9;
    margin-bottom: 1.5rem;
}

.accent-text {
    color: var(--accent-color);
    text-shadow: 0 0 30px rgba(0, 210, 255, 0.4);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #a0a0b0;
    margin-bottom: 3rem;
    max-width: 40ch;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 2rem;
}

.btn-primary, .btn-secondary, .btn-glow {
    padding: 0.9rem 2.2rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.btn-glow {
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-color));
    color: white;
    box-shadow: 0 0 20px rgba(0, 114, 255, 0.4);
    border: none;
}

.btn-glow:hover {
    box-shadow: 0 0 40px rgba(0, 114, 255, 0.6);
    transform: translateY(-5px) scale(1.05);
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 1.2s forwards 0.5s;
}

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

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #888;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid #555;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

footer {
    padding: 4rem 5%;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
}
