/* ===== BASE STYLES ===== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; 
}

html { 
    scroll-behavior: smooth; 
}

body {
    min-height: 100vh;
    color: var(--text);
    background: var(--bg-light);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 1;
}

body.dark {
    color: #e2e8f0;
    background: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
}

body.dark::before {
    background: transparent;
}

/* ===== MAIN CONTAINER ===== */
.container {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    padding: 2.5rem;
    min-height: calc(100vh - 80px);
    flex: 1;
    position: relative;
    z-index: 2;
}

/* ===== SECTIONS ===== */
.section { 
    display: none; 
}

.section.active { 
    display: block; 
    animation: fadeIn 0.4s ease; 
}

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

.section h2 {
    margin-bottom: 2rem;
    color: var(--text);
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-left: 1rem;
}

.section h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

body.dark .section h2 { 
    color: #e2e8f0; 
}
