:root {
    --color-bg: #000000;
    --color-cyan: #00ffff;
    --color-purple: #a855f7;
    --color-pink: #ec4899;
    --color-green: #10b981;
    --color-yellow: #f59e0b;
    --color-red: #ef4444;
    --color-gray-100: #f3f4f6;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    --font-mono: 'Courier New', monospace;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    
    --shadow-glow-cyan: 0 0 20px rgba(0, 255, 255, 0.3);
    --shadow-glow-purple: 0 0 20px rgba(168, 85, 247, 0.3);
    --shadow-glow-pink: 0 0 20px rgba(236, 72, 153, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-gray-100);
    overflow-x: hidden;
    line-height: 1.6;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3xl) 0;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: var(--spacing-2xl);
    text-align: center;
}

.gradient-text {
    background: linear-gradient(90deg, var(--color-cyan), var(--color-purple), var(--color-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-cyan { color: var(--color-cyan); }
.text-purple { color: var(--color-purple); }
.text-pink { color: var(--color-pink); }
.text-gray { color: var(--color-gray-400); }

.btn {
    padding: var(--spacing-md) var(--spacing-xl);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(90deg, var(--color-cyan), var(--color-purple));
    color: var(--color-bg);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow-cyan);
    transform: scale(1.05);
}

.btn-secondary {
    background: transparent;
    color: var(--color-cyan);
    border: 2px solid var(--color-cyan);
}

.btn-secondary:hover {
    background: var(--color-cyan);
    color: var(--color-bg);
}

.hidden {
    display: none !important;
}

.loader-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

#code-rain-canvas {
    position: absolute;
    inset: 0;
}

.loader-text {
    position: relative;
    z-index: 10;
    text-align: center;
}

.loader-text h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.loader-text p {
    color: var(--color-green);
    font-family: var(--font-mono);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
}