:root {
    /* Colors (OKLCH for modern vibrancy) */
    --bg-dark: oklch(18% 0.04 260);
    --bg-card: oklch(25% 0.05 260 / 0.7);
    --accent-teal: oklch(70% 0.18 180);
    --accent-purple: oklch(60% 0.22 300);
    --text-primary: oklch(98% 0.01 260);
    --text-secondary: oklch(85% 0.03 260);
    
    /* Layout */
    --padding-page: 2rem;
    --radius-lg: 24px;
    --radius-md: 16px;
    
    /* Effects */
    --shadow-deep: 0 20px 40px oklch(0% 0 0 / 0.4);
    --glass-border: 1px solid oklch(100% 0 0 / 0.1);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Noise Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.04;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Header */
#main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem var(--padding-page);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: linear-gradient(to right, var(--accent-teal), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--accent-teal);
}

/* App Container */
#app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--padding-page) 4rem;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.hidden {
    display: none;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Glass Panels */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    border: var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-deep);
    margin-bottom: 4rem;
}

/* Pillar Grid */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Web Components Styling */
pillar-card {
    display: block;
    container-type: inline-size;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    :root {
        --padding-page: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    nav {
        display: none; /* Simplification for prototype */
    }
}
