/* ==================== BASE & VARIABLES ==================== */
:root {
    /* Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --accent: #a855f7;
    --bg-primary: #0f0f23;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(148, 163, 184, 0.1);
}

/* ==================== ICON SYSTEM ==================== */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.icon-structure { background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%); }
.icon-settings { background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%); }
/* ==================== RESET & BASE ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

.icon-target { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.icon-tool { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.icon-link { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.icon-chart { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); }
.icon-calendar { background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%); }
.icon-refresh { background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%); }
.icon-data { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.icon-ruler { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }
.icon-check { color: var(--success); }
.icon-cross { color: var(--error); }
.icon-tilde { color: var(--info); }

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    font-weight: 400;
}

/* ==================== PARTICLES BACKGROUND ==================== */
.particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particles-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particles-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Layer 1 - Very Slow/Farthest (größte, blasseste Partikel) */
.particles-layer[data-speed="0.1"] .particle {
    background: rgba(102, 126, 234, 0.2);
    width: 8px;
    height: 8px;
}

/* Random size variations for Layer 1 */
.particles-layer[data-speed="0.1"] .particle:nth-child(3n+1) { width: 7px; height: 7px; }
.particles-layer[data-speed="0.1"] .particle:nth-child(5n+2) { width: 9px; height: 9px; }
.particles-layer[data-speed="0.1"] .particle:nth-child(7n+3) { width: 7.5px; height: 7.5px; }
.particles-layer[data-speed="0.1"] .particle:nth-child(11n+4) { width: 8.5px; height: 8.5px; }

.particles-layer[data-speed="0.1"] .particle:nth-child(1) { left: 7%; top: 23%; animation-delay: 2s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(2) { left: 34%; top: 67%; animation-delay: 11s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(3) { left: 61%; top: 14%; animation-delay: 19s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(4) { left: 83%; top: 51%; animation-delay: 5s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(5) { left: 19%; top: 89%; animation-delay: 14s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(6) { left: 48%; top: 38%; animation-delay: 8s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(7) { left: 72%; top: 76%; animation-delay: 22s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(8) { left: 91%; top: 9%; animation-delay: 16s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(9) { left: 26%; top: 44%; animation-delay: 3s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(10) { left: 54%; top: 81%; animation-delay: 20s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(11) { left: 12%; top: 10%; animation-delay: 4s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(12) { left: 43%; top: 35%; animation-delay: 13s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(13) { left: 67%; top: 18%; animation-delay: 24s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(14) { left: 89%; top: 62%; animation-delay: 7s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(15) { left: 24%; top: 45%; animation-delay: 17s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(16) { left: 56%; top: 28%; animation-delay: 10s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(17) { left: 78%; top: 71%; animation-delay: 26s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(18) { left: 95%; top: 22%; animation-delay: 19s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(19) { left: 31%; top: 54%; animation-delay: 6s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(20) { left: 62%; top: 39%; animation-delay: 23s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(21) { left: 45%; top: 7%; animation-delay: 9s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(22) { left: 73%; top: 58%; animation-delay: 29s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(23) { left: 5%; top: 24%; animation-delay: 12s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(24) { left: 88%; top: 42%; animation-delay: 21s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(25) { left: 20%; top: 69%; animation-delay: 6s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(26) { left: 59%; top: 12%; animation-delay: 18s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(27) { left: 92%; top: 78%; animation-delay: 27s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(28) { left: 35%; top: 19%; animation-delay: 15s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(29) { left: 68%; top: 64%; animation-delay: 11s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(30) { left: 14%; top: 33%; animation-delay: 25s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(31) { left: 50%; top: 11%; animation-delay: 32s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(32) { left: 77%; top: 48%; animation-delay: 8s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(33) { left: 25%; top: 72%; animation-delay: 17s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(34) { left: 94%; top: 31%; animation-delay: 23s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(35) { left: 8%; top: 56%; animation-delay: 14s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(36) { left: 63%; top: 15%; animation-delay: 28s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(37) { left: 39%; top: 84%; animation-delay: 6s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(38) { left: 82%; top: 23%; animation-delay: 19s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(39) { left: 17%; top: 67%; animation-delay: 31s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(40) { left: 71%; top: 41%; animation-delay: 10s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(41) { left: 33%; top: 8%; animation-delay: 24s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(42) { left: 96%; top: 74%; animation-delay: 4s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(43) { left: 46%; top: 29%; animation-delay: 16s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(44) { left: 11%; top: 91%; animation-delay: 27s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(45) { left: 69%; top: 52%; animation-delay: 12s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(46) { left: 28%; top: 17%; animation-delay: 30s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(47) { left: 85%; top: 63%; animation-delay: 7s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(48) { left: 53%; top: 36%; animation-delay: 21s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(49) { left: 6%; top: 79%; animation-delay: 15s; }
.particles-layer[data-speed="0.1"] .particle:nth-child(50) { left: 75%; top: 5%; animation-delay: 26s; }

/* Layer 2 - Slow */
.particles-layer[data-speed="0.25"] .particle {
    background: rgba(118, 75, 162, 0.25);
    width: 7px;
    height: 7px;
}

/* Random size variations for Layer 2 */
.particles-layer[data-speed="0.25"] .particle:nth-child(3n+1) { width: 6px; height: 6px; }
.particles-layer[data-speed="0.25"] .particle:nth-child(5n+2) { width: 8px; height: 8px; }
.particles-layer[data-speed="0.25"] .particle:nth-child(7n+3) { width: 6.5px; height: 6.5px; }
.particles-layer[data-speed="0.25"] .particle:nth-child(11n+4) { width: 7.5px; height: 7.5px; }

.particles-layer[data-speed="0.25"] .particle:nth-child(1) { left: 14%; top: 31%; animation-delay: 7s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(2) { left: 41%; top: 58%; animation-delay: 18s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(3) { left: 68%; top: 19%; animation-delay: 1s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(4) { left: 87%; top: 73%; animation-delay: 13s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(5) { left: 9%; top: 62%; animation-delay: 24s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(6) { left: 52%; top: 27%; animation-delay: 9s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(7) { left: 77%; top: 84%; animation-delay: 15s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(8) { left: 23%; top: 7%; animation-delay: 21s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(9) { left: 95%; top: 42%; animation-delay: 4s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(10) { left: 38%; top: 91%; animation-delay: 17s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(11) { left: 16%; top: 15%; animation-delay: 6s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(12) { left: 47%; top: 42%; animation-delay: 14s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(13) { left: 71%; top: 26%; animation-delay: 25s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(14) { left: 92%; top: 68%; animation-delay: 11s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(15) { left: 19%; top: 51%; animation-delay: 19s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(16) { left: 59%; top: 33%; animation-delay: 8s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(17) { left: 83%; top: 77%; animation-delay: 27s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(18) { left: 27%; top: 19%; animation-delay: 22s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(19) { left: 98%; top: 48%; animation-delay: 3s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(20) { left: 44%; top: 61%; animation-delay: 15s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(21) { left: 81%; top: 9%; animation-delay: 28s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(22) { left: 11%; top: 47%; animation-delay: 5s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(23) { left: 66%; top: 75%; animation-delay: 16s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(24) { left: 29%; top: 17%; animation-delay: 22s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(25) { left: 93%; top: 63%; animation-delay: 8s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(26) { left: 4%; top: 28%; animation-delay: 19s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(27) { left: 52%; top: 52%; animation-delay: 26s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(28) { left: 75%; top: 6%; animation-delay: 11s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(29) { left: 38%; top: 80%; animation-delay: 30s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(30) { left: 97%; top: 36%; animation-delay: 23s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(31) { left: 42%; top: 13%; animation-delay: 31s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(32) { left: 68%; top: 57%; animation-delay: 9s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(33) { left: 15%; top: 81%; animation-delay: 18s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(34) { left: 89%; top: 25%; animation-delay: 24s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(35) { left: 6%; top: 44%; animation-delay: 13s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(36) { left: 57%; top: 8%; animation-delay: 29s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(37) { left: 31%; top: 66%; animation-delay: 5s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(38) { left: 79%; top: 38%; animation-delay: 20s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(39) { left: 24%; top: 92%; animation-delay: 32s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(40) { left: 63%; top: 21%; animation-delay: 11s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(41) { left: 36%; top: 54%; animation-delay: 25s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(42) { left: 92%; top: 12%; animation-delay: 3s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(43) { left: 48%; top: 73%; animation-delay: 17s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(44) { left: 9%; top: 35%; animation-delay: 28s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(45) { left: 72%; top: 89%; animation-delay: 10s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(46) { left: 21%; top: 16%; animation-delay: 30s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(47) { left: 84%; top: 49%; animation-delay: 6s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(48) { left: 55%; top: 70%; animation-delay: 22s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(49) { left: 3%; top: 23%; animation-delay: 14s; }
.particles-layer[data-speed="0.25"] .particle:nth-child(50) { left: 76%; top: 60%; animation-delay: 27s; }

/* Layer 3 - Medium-Slow */
.particles-layer[data-speed="0.4"] .particle {
    background: rgba(168, 85, 247, 0.35);
    width: 6px;
    height: 6px;
}

/* Random size variations for Layer 3 */
.particles-layer[data-speed="0.4"] .particle:nth-child(3n+1) { width: 5px; height: 5px; }
.particles-layer[data-speed="0.4"] .particle:nth-child(5n+2) { width: 7px; height: 7px; }
.particles-layer[data-speed="0.4"] .particle:nth-child(7n+3) { width: 5.5px; height: 5.5px; }
.particles-layer[data-speed="0.4"] .particle:nth-child(11n+4) { width: 6.5px; height: 6.5px; }

.particles-layer[data-speed="0.4"] .particle:nth-child(1) { left: 11%; top: 47%; animation-delay: 12s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(2) { left: 47%; top: 22%; animation-delay: 6s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(3) { left: 73%; top: 63%; animation-delay: 23s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(4) { left: 29%; top: 79%; animation-delay: 10s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(5) { left: 88%; top: 33%; animation-delay: 0s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(6) { left: 4%; top: 18%; animation-delay: 19s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(7) { left: 59%; top: 71%; animation-delay: 14s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(8) { left: 81%; top: 11%; animation-delay: 25s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(9) { left: 35%; top: 54%; animation-delay: 8s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(10) { left: 66%; top: 94%; animation-delay: 16s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(11) { left: 13%; top: 21%; animation-delay: 9s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(12) { left: 51%; top: 38%; animation-delay: 18s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(13) { left: 76%; top: 14%; animation-delay: 26s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(14) { left: 33%; top: 65%; animation-delay: 13s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(15) { left: 91%; top: 47%; animation-delay: 2s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(16) { left: 7%; top: 29%; animation-delay: 21s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(17) { left: 64%; top: 72%; animation-delay: 15s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(18) { left: 86%; top: 23%; animation-delay: 28s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(19) { left: 39%; top: 56%; animation-delay: 10s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(20) { left: 71%; top: 41%; animation-delay: 19s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(21) { left: 22%; top: 8%; animation-delay: 7s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(22) { left: 86%; top: 67%; animation-delay: 24s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(23) { left: 44%; top: 79%; animation-delay: 29s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(24) { left: 9%; top: 53%; animation-delay: 14s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(25) { left: 77%; top: 15%; animation-delay: 3s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(26) { left: 56%; top: 73%; animation-delay: 20s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(27) { left: 2%; top: 31%; animation-delay: 27s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(28) { left: 64%; top: 4%; animation-delay: 9s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(29) { left: 90%; top: 44%; animation-delay: 17s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(30) { left: 33%; top: 64%; animation-delay: 31s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(31) { left: 58%; top: 19%; animation-delay: 33s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(32) { left: 12%; top: 74%; animation-delay: 8s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(33) { left: 79%; top: 42%; animation-delay: 16s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(34) { left: 45%; top: 11%; animation-delay: 25s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(35) { left: 94%; top: 58%; animation-delay: 4s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(36) { left: 26%; top: 87%; animation-delay: 19s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(37) { left: 67%; top: 33%; animation-delay: 29s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(38) { left: 8%; top: 61%; animation-delay: 11s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(39) { left: 84%; top: 24%; animation-delay: 34s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(40) { left: 51%; top: 76%; animation-delay: 6s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(41) { left: 19%; top: 48%; animation-delay: 22s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(42) { left: 73%; top: 9%; animation-delay: 30s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(43) { left: 38%; top: 92%; animation-delay: 13s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(44) { left: 96%; top: 37%; animation-delay: 27s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(45) { left: 61%; top: 68%; animation-delay: 9s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(46) { left: 14%; top: 16%; animation-delay: 32s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(47) { left: 82%; top: 81%; animation-delay: 5s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(48) { left: 47%; top: 52%; animation-delay: 20s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(49) { left: 5%; top: 28%; animation-delay: 15s; }
.particles-layer[data-speed="0.4"] .particle:nth-child(50) { left: 69%; top: 95%; animation-delay: 28s; }

/* Layer 4 - Medium-Fast */
.particles-layer[data-speed="0.6"] .particle {
    background: rgba(129, 140, 248, 0.45);
    width: 5px;
    height: 5px;
}

/* Random size variations for Layer 4 */
.particles-layer[data-speed="0.6"] .particle:nth-child(3n+1) { width: 4px; height: 4px; }
.particles-layer[data-speed="0.6"] .particle:nth-child(5n+2) { width: 6px; height: 6px; }
.particles-layer[data-speed="0.6"] .particle:nth-child(7n+3) { width: 4.5px; height: 4.5px; }
.particles-layer[data-speed="0.6"] .particle:nth-child(11n+4) { width: 5.5px; height: 5.5px; }

.particles-layer[data-speed="0.6"] .particle:nth-child(1) { left: 17%; top: 36%; animation-delay: 5s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(2) { left: 56%; top: 69%; animation-delay: 22s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(3) { left: 79%; top: 25%; animation-delay: 11s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(4) { left: 31%; top: 83%; animation-delay: 2s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(5) { left: 92%; top: 57%; animation-delay: 18s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(6) { left: 8%; top: 74%; animation-delay: 9s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(7) { left: 44%; top: 16%; animation-delay: 24s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(8) { left: 69%; top: 88%; animation-delay: 15s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(9) { left: 85%; top: 46%; animation-delay: 7s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(10) { left: 21%; top: 12%; animation-delay: 20s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(11) { left: 18%; top: 17%; animation-delay: 7s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(12) { left: 61%; top: 44%; animation-delay: 23s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(13) { left: 84%; top: 31%; animation-delay: 12s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(14) { left: 36%; top: 69%; animation-delay: 4s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(15) { left: 96%; top: 52%; animation-delay: 19s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(16) { left: 11%; top: 36%; animation-delay: 11s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(17) { left: 49%; top: 63%; animation-delay: 25s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(18) { left: 74%; top: 27%; animation-delay: 16s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(19) { left: 90%; top: 74%; animation-delay: 8s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(20) { left: 26%; top: 19%; animation-delay: 21s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(21) { left: 69%; top: 51%; animation-delay: 9s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(22) { left: 14%; top: 65%; animation-delay: 28s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(23) { left: 83%; top: 7%; animation-delay: 13s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(24) { left: 47%; top: 76%; animation-delay: 6s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(25) { left: 93%; top: 39%; animation-delay: 19s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(26) { left: 7%; top: 24%; animation-delay: 24s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(27) { left: 58%; top: 14%; animation-delay: 16s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(28) { left: 75%; top: 68%; animation-delay: 3s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(29) { left: 37%; top: 3%; animation-delay: 27s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(30) { left: 88%; top: 56%; animation-delay: 10s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(31) { left: 42%; top: 22%; animation-delay: 33s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(32) { left: 65%; top: 78%; animation-delay: 14s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(33) { left: 9%; top: 45%; animation-delay: 26s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(34) { left: 79%; top: 8%; animation-delay: 5s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(35) { left: 31%; top: 91%; animation-delay: 19s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(36) { left: 94%; top: 33%; animation-delay: 30s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(37) { left: 52%; top: 67%; animation-delay: 8s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(38) { left: 16%; top: 14%; animation-delay: 34s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(39) { left: 73%; top: 49%; animation-delay: 11s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(40) { left: 27%; top: 82%; animation-delay: 23s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(41) { left: 86%; top: 26%; animation-delay: 15s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(42) { left: 44%; top: 59%; animation-delay: 29s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(43) { left: 6%; top: 37%; animation-delay: 6s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(44) { left: 68%; top: 88%; animation-delay: 21s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(45) { left: 91%; top: 11%; animation-delay: 32s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(46) { left: 35%; top: 71%; animation-delay: 13s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(47) { left: 77%; top: 42%; animation-delay: 27s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(48) { left: 19%; top: 6%; animation-delay: 17s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(49) { left: 59%; top: 94%; animation-delay: 9s; }
.particles-layer[data-speed="0.6"] .particle:nth-child(50) { left: 98%; top: 53%; animation-delay: 24s; }

/* Layer 5 - Fast */
.particles-layer[data-speed="0.5"] .particle {
    background: rgba(129, 140, 248, 0.55);
    width: 4px;
    height: 4px;
}

/* Random size variations for Layer 5 */
.particles-layer[data-speed="0.5"] .particle:nth-child(3n+1) { width: 3px; height: 3px; }
.particles-layer[data-speed="0.5"] .particle:nth-child(5n+2) { width: 5px; height: 5px; }
.particles-layer[data-speed="0.5"] .particle:nth-child(7n+3) { width: 3.5px; height: 3.5px; }
.particles-layer[data-speed="0.5"] .particle:nth-child(11n+4) { width: 4.5px; height: 4.5px; }

.particles-layer[data-speed="0.5"] .particle:nth-child(1) { left: 25%; top: 52%; animation-delay: 13s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(2) { left: 63%; top: 29%; animation-delay: 4s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(3) { left: 12%; top: 77%; animation-delay: 21s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(4) { left: 49%; top: 41%; animation-delay: 16s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(5) { left: 84%; top: 66%; animation-delay: 1s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(6) { left: 37%; top: 8%; animation-delay: 26s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(7) { left: 71%; top: 93%; animation-delay: 10s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(8) { left: 5%; top: 34%; animation-delay: 19s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(9) { left: 58%; top: 59%; animation-delay: 6s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(10) { left: 94%; top: 21%; animation-delay: 23s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(11) { left: 28%; top: 24%; animation-delay: 14s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(12) { left: 68%; top: 49%; animation-delay: 5s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(13) { left: 15%; top: 37%; animation-delay: 22s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(14) { left: 54%; top: 62%; animation-delay: 17s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(15) { left: 89%; top: 46%; animation-delay: 2s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(16) { left: 41%; top: 13%; animation-delay: 27s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(17) { left: 76%; top: 71%; animation-delay: 11s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(18) { left: 8%; top: 28%; animation-delay: 20s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(19) { left: 63%; top: 55%; animation-delay: 7s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(20) { left: 97%; top: 32%; animation-delay: 24s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(21) { left: 18%; top: 16%; animation-delay: 8s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(22) { left: 61%; top: 57%; animation-delay: 29s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(23) { left: 34%; top: 71%; animation-delay: 12s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(24) { left: 82%; top: 9%; animation-delay: 25s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(25) { left: 9%; top: 42%; animation-delay: 4s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(26) { left: 73%; top: 26%; animation-delay: 18s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(27) { left: 45%; top: 64%; animation-delay: 31s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(28) { left: 91%; top: 77%; animation-delay: 14s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(29) { left: 23%; top: 4%; animation-delay: 21s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(30) { left: 66%; top: 48%; animation-delay: 7s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(31) { left: 12%; top: 73%; animation-delay: 33s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(32) { left: 79%; top: 19%; animation-delay: 15s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(33) { left: 43%; top: 86%; animation-delay: 26s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(34) { left: 91%; top: 41%; animation-delay: 9s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(35) { left: 25%; top: 11%; animation-delay: 31s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(36) { left: 71%; top: 65%; animation-delay: 4s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(37) { left: 8%; top: 37%; animation-delay: 19s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(38) { left: 57%; top: 92%; animation-delay: 28s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(39) { left: 88%; top: 23%; animation-delay: 12s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(40) { left: 33%; top: 58%; animation-delay: 34s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(41) { left: 95%; top: 7%; animation-delay: 22s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(42) { left: 49%; top: 75%; animation-delay: 5s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(43) { left: 15%; top: 44%; animation-delay: 30s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(44) { left: 67%; top: 13%; animation-delay: 16s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(45) { left: 82%; top: 81%; animation-delay: 27s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(46) { left: 38%; top: 29%; animation-delay: 10s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(47) { left: 6%; top: 96%; animation-delay: 23s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(48) { left: 74%; top: 51%; animation-delay: 13s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(49) { left: 28%; top: 68%; animation-delay: 35s; }
.particles-layer[data-speed="0.5"] .particle:nth-child(50) { left: 93%; top: 35%; animation-delay: 6s; }

/* Layer 6 - Very Fast/Closest (kleinste, hellste Partikel) */
.particles-layer[data-speed="0.55"] .particle {
    background: rgba(240, 147, 251, 0.65);
    width: 3px;
    height: 3px;
}

/* Random size variations for Layer 6 */
.particles-layer[data-speed="0.7"] .particle:nth-child(3n+1) { width: 2px; height: 2px; }
.particles-layer[data-speed="0.7"] .particle:nth-child(5n+2) { width: 4px; height: 4px; }
.particles-layer[data-speed="0.7"] .particle:nth-child(7n+3) { width: 2.5px; height: 2.5px; }
.particles-layer[data-speed="0.7"] .particle:nth-child(11n+4) { width: 3.5px; height: 3.5px; }

.particles-layer[data-speed="0.7"] .particle:nth-child(1) { left: 32%; top: 61%; animation-delay: 17s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(2) { left: 76%; top: 39%; animation-delay: 3s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(3) { left: 15%; top: 86%; animation-delay: 12s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(4) { left: 53%; top: 13%; animation-delay: 25s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(5) { left: 89%; top: 78%; animation-delay: 8s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(6) { left: 6%; top: 49%; animation-delay: 20s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(7) { left: 42%; top: 24%; animation-delay: 14s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(8) { left: 67%; top: 87%; animation-delay: 0s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(9) { left: 97%; top: 56%; animation-delay: 11s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(10) { left: 28%; top: 5%; animation-delay: 27s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(11) { left: 37%; top: 26%; animation-delay: 18s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(12) { left: 81%; top: 43%; animation-delay: 4s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(13) { left: 19%; top: 59%; animation-delay: 13s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(14) { left: 58%; top: 34%; animation-delay: 26s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(15) { left: 94%; top: 67%; animation-delay: 9s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(16) { left: 10%; top: 21%; animation-delay: 21s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(17) { left: 47%; top: 48%; animation-delay: 15s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(18) { left: 72%; top: 12%; animation-delay: 1s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(19) { left: 99%; top: 76%; animation-delay: 12s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(20) { left: 33%; top: 39%; animation-delay: 28s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(21) { left: 78%; top: 11%; animation-delay: 5s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(22) { left: 12%; top: 62%; animation-delay: 22s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(23) { left: 54%; top: 73%; animation-delay: 16s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(24) { left: 87%; top: 24%; animation-delay: 30s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(25) { left: 26%; top: 2%; animation-delay: 10s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(26) { left: 95%; top: 58%; animation-delay: 19s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(27) { left: 41%; top: 68%; animation-delay: 8s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(28) { left: 3%; top: 35%; animation-delay: 26s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(29) { left: 70%; top: 49%; animation-delay: 2s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(30) { left: 48%; top: 5%; animation-delay: 23s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(31) { left: 84%; top: 72%; animation-delay: 32s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(32) { left: 21%; top: 38%; animation-delay: 14s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(33) { left: 63%; top: 91%; animation-delay: 25s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(34) { left: 9%; top: 17%; animation-delay: 8s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(35) { left: 76%; top: 54%; animation-delay: 29s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(36) { left: 44%; top: 82%; animation-delay: 11s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(37) { left: 91%; top: 29%; animation-delay: 34s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(38) { left: 15%; top: 65%; animation-delay: 6s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(39) { left: 69%; top: 9%; animation-delay: 19s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(40) { left: 32%; top: 47%; animation-delay: 27s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(41) { left: 88%; top: 78%; animation-delay: 13s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(42) { left: 53%; top: 21%; animation-delay: 31s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(43) { left: 7%; top: 56%; animation-delay: 17s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(44) { left: 71%; top: 87%; animation-delay: 4s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(45) { left: 96%; top: 32%; animation-delay: 24s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(46) { left: 36%; top: 69%; animation-delay: 9s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(47) { left: 80%; top: 14%; animation-delay: 28s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(48) { left: 18%; top: 93%; animation-delay: 16s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(49) { left: 59%; top: 41%; animation-delay: 33s; }
.particles-layer[data-speed="0.7"] .particle:nth-child(50) { left: 4%; top: 77%; animation-delay: 21s; }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(60px, -60px) scale(1.3);
        opacity: 0.7;
    }
    50% {
        transform: translate(-40px, -120px) scale(0.8);
        opacity: 0.3;
    }
    75% {
        transform: translate(80px, -80px) scale(1.2);
        opacity: 0.6;
    }
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    height: 70px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand:hover {
    transform: translateY(-2px);
}

.placeholder-logo {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    font-size: 26px;
    color: white;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-brand:hover .placeholder-logo {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
    transform: rotate(-8deg) scale(1.05);
}

.nav-brand .brand-link {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-text {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    font-size: 15px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
}

.nav-link:hover {
    color: var(--primary-light);
    background: rgba(102, 126, 234, 0.12);
    transform: translateY(-2px);
}

.nav-link.active {
    color: white;
    background: rgba(102, 126, 234, 0.2);
}

/* ==================== LANGUAGE SWITCH ==================== */
.language-switch {
    position: relative;
    display: flex;
    background: rgba(30, 41, 59, 0.6);
    border-radius: 12px;
    padding: 4px;
    margin-left: 20px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.lang-option {
    position: relative;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2;
    font-family: 'Inter', sans-serif;
}

.lang-option.active {
    color: white;
}

.lang-slider {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    z-index: 1;
}

.language-switch:has(.lang-option[data-lang="en"].active) .lang-slider {
    transform: translateX(100%);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.nav-link:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
    background: linear-gradient(90deg, #818cf8 0%, #a855f7 100%);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
    padding: 80px 32px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* USP Cards */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.usp-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.usp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.usp-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 12px;
}

.usp-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
    padding: 80px 32px;
    background: transparent;
    position: relative;
    z-index: 1;
}

.intro-section {
    max-width: 900px;
    margin: 0 auto 80px;
    text-align: center;
}

.intro-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.section-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 48px;
    opacity: 0.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    transition: width 0.4s ease;
}

.feature-card:nth-child(1)::after {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.feature-card:nth-child(2)::after {
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.feature-card:nth-child(3)::after {
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.feature-card:nth-child(4)::after {
    background: linear-gradient(90deg, #fa709a 0%, #fee140 100%);
}

.feature-card:nth-child(5)::after {
    background: linear-gradient(90deg, #30cfd0 0%, #330867 100%);
}

.feature-card:nth-child(6)::after {
    background: linear-gradient(90deg, #6ee7b7 0%, #047857 100%);
}

.feature-card:hover::after {
    width: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-light);
    box-shadow: 0 20px 40px var(--glass-shadow);
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    transition: transform 0.3s ease;
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.gradient-bg-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.gradient-bg-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 10px 30px rgba(240, 147, 251, 0.3);
}

.gradient-bg-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.3);
}

.gradient-bg-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    box-shadow: 0 10px 30px rgba(250, 112, 154, 0.3);
}

.gradient-bg-5 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
    box-shadow: 0 10px 30px rgba(48, 207, 208, 0.3);
}

.gradient-bg-6 {
    background: linear-gradient(135deg, #6ee7b7 0%, #047857 100%);
    box-shadow: 0 10px 30px rgba(110, 231, 183, 0.3);
}

.feature-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.feature-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-card-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 2px;
    opacity: 0;
    transform: scaleY(0);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-card-title::before {
    opacity: 1;
    transform: scaleY(1);
}

.feature-card-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-card-desc {
    color: var(--text-primary);
}

/* Ripple Effect on Click */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.6;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.feature-card:active::after {
    animation: ripple 0.6s ease-out;
}

/* ==================== WALKTHROUGH SECTION ==================== */
.walkthrough-section {
    padding: 80px 32px;
    position: relative;
    z-index: 1;
}

/* Strategy Selector */
.strategy-selector {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 32px 0;
}

.strategy-tab {
    padding: 12px 32px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.strategy-tab:hover {
    border-color: var(--primary);
    color: var(--primary-light);
}

.strategy-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

/* Strategy Container */
.strategy-container {
    position: relative;
    width: 100%;
}

.walkthrough-wrapper {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.walkthrough-wrapper.active {
    display: block;
    opacity: 1;
}

.walkthrough-container {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
}

.walkthrough-step {
    display: flex;
    gap: 24px;
    padding: 40px;
    border-bottom: 1px solid var(--glass-border);
}

.walkthrough-step:last-child {
    border-bottom: none;
}

.step-number {
    min-width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-link {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--primary);
    border-radius: 6px;
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.feature-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

/* ==================== FEATURE MODAL ==================== */
.feature-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.feature-modal-overlay.active {
    display: flex;
}

.feature-modal {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.3s ease;
}

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

.modal-close {
    position: sticky;
    top: 20px;
    float: right;
    width: 36px;
    height: 36px;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-size: 20px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    margin: 0 20px 0 0;
}

.modal-close:hover {
    background: var(--error);
    border-color: var(--error);
    color: white;
}

.modal-content {
    padding: 60px 40px 40px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    padding: 32px;
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 14px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .usp-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .walkthrough-step {
        flex-direction: column;
        padding: 28px 20px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .modal-content {
        padding: 40px 24px 24px;
    }
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}
