/* css/base.css - CSS Custom Properties & Reset */

:root {
    /* Hauptfarben - dunkleres, professionelleres Schema */
    --primary-color: #64ffda;    /* Helles Cyan für Akzente */
    --secondary-color: #1de9b6;  /* Helles Türkis */
    --accent-color: #00bcd4;     /* Cyan-Blau */
    --purple-color: #a855f7;     /* Bleibt gleich */
    
    /* Dunklerer Hintergrund-Gradient */
    --bg-gradient: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    
    /* Text-Farben für dunkles Theme */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;   /* Etwas gedämpfter für besseren Kontrast */
    --text-muted: #9ca3af;
    --text-dark: #6b7280;
    
    /* Oberflächen für dunkles Theme */
    --surface: rgba(31, 41, 55, 0.5);
    --surface-dark: rgba(15, 15, 35, 0.8);  /* Dunklere Navbar/Surfaces */
    --border: rgba(255, 255, 255, 0.1);     /* Hellere Borders für dunkles Theme */
    --border-hover: rgba(100, 255, 218, 0.5);
    
    /* Schatten für dunkles Theme */
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 10px 30px rgba(100, 255, 218, 0.3);
    --shadow-glow: 0 15px 40px rgba(100, 255, 218, 0.4);  /* Neue Glow-Shadow */
    
    /* Partikel-Farben als Variablen */
    --particle-small: rgba(100, 255, 218, 0.8);
    --particle-medium: rgba(29, 233, 182, 0.7);
    --particle-large: rgba(0, 188, 212, 0.6);
    
    /* Hero-Gradient als Variable */
    --hero-bg: 
        linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%),
        radial-gradient(circle at 20% 80%, rgba(100, 255, 218, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(29, 233, 182, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(0, 188, 212, 0.08) 0%, transparent 70%);
    
    /* Floating Elements */
    --floating-bg: linear-gradient(45deg, rgba(100, 255, 218, 0.1), rgba(29, 233, 182, 0.1));
    
    /* Spacing & Sizing */
    --radius: 1rem;
    --radius-sm: 0.5rem;
    --radius-xs: 0.25rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 5rem;
    --font-xs: 0.75rem;
    --font-sm: 0.875rem;
    --font-base: 1rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 2rem;
    --font-4xl: 2.5rem;
    --font-5xl: 3.5rem;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    padding-top: 80px; /* Space for fixed navigation */
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: var(--spacing-sm);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Focus States */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Base Animations */
@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}