/* VELOCITY GLASS Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;500;600;700;800;900&display=swap');

:root {
    --color-bg: #0A1929;
    --color-primary: #39FF14;
    --color-secondary: #BF00FF;
    --color-metallic: #C0C0C0;
    --color-glass-border: rgba(255, 255, 255, 0.1);
    --color-text-main: #FFFFFF;
    --color-text-muted: #94A3B8;
    
    --glass-1: rgba(10, 25, 41, 0.7);
    --glass-2: rgba(255, 255, 255, 0.03);
    --glass-3: rgba(255, 255, 255, 0.05);
    
    --shadow-neon: 0 0 10px rgba(57, 255, 20, 0.3), 0 0 20px rgba(57, 255, 20, 0.1);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Styles */
body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none; /* Custom cursor */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-primary);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    box-shadow: 0 0 10px var(--color-primary);
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-glass-border);
    box-shadow: var(--shadow-glass);
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
    border-color: var(--color-primary);
}

/* Typography Effects */
.text-liquid {
    background: linear-gradient(90deg, #39FF14, #00D4FF, #BF00FF, #39FF14);
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: liquid-text 5s ease-in-out infinite;
}

.text-glow {
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

/* Animations */
@keyframes liquid-text {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 5px rgba(57, 255, 20, 0.2); }
    50% { box-shadow: 0 0 20px rgba(57, 255, 20, 0.6); }
    100% { box-shadow: 0 0 5px rgba(57, 255, 20, 0.2); }
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Three.js Canvas Container */
#webgl-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.6;
}

/* Components */
.btn-neon {
    background: rgba(57, 255, 20, 0.1);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(57, 255, 20, 0.4), transparent);
    transition: 0.5s;
}

.btn-neon:hover {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 0 20px var(--color-primary);
}

.btn-neon:hover::before {
    left: 100%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
    z-index: 2;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    opacity: 0.5;
}

/* Utilities */
.magnetic-wrap {
    display: inline-block;
}

.magnetic-area {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

@media (max-width: 768px) {
    .text-liquid {
        font-size: 2.5rem;
    }
    
    #webgl-container {
        opacity: 0.4;
    }
}
