:root {
    /* Colors - GitHub Dark inspired */
    --bg-primary: #0d1117;
    --bg-secondary: #010409;
    --bg-surface: #161b22;
    
    --border-color: #30363d;
    --border-hover: #8b949e;
    
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --text-muted: #484f58;
    
    --accent-primary: #238636;
    --accent-primary-hover: #2ea043;
    --accent-secondary: #58a6ff;
    
    /* Tag Colors */
    --tag-blue-bg: rgba(88, 166, 255, 0.1);
    --tag-blue-border: rgba(88, 166, 255, 0.4);
    --tag-blue-text: #58a6ff;
    
    --tag-green-bg: rgba(35, 134, 54, 0.1);
    --tag-green-border: rgba(35, 134, 54, 0.4);
    --tag-green-text: #2ea043;
    
    --tag-purple-bg: rgba(188, 140, 255, 0.1);
    --tag-purple-border: rgba(188, 140, 255, 0.4);
    --tag-purple-text: #bc8cff;
    
    --tag-orange-bg: rgba(219, 97, 16, 0.1);
    --tag-orange-border: rgba(219, 97, 16, 0.4);
    --tag-orange-text: #db6110;
    
    --tag-yellow-bg: rgba(210, 153, 34, 0.1);
    --tag-yellow-border: rgba(210, 153, 34, 0.4);
    --tag-yellow-text: #d29922;

    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Spacing Framework */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 40px;
    --space-6: 64px;
    --space-7: 96px;

    /* Layout */
    --container-width: 1100px;
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    line-height: 1.2;
}

.text-accent {
    color: var(--accent-secondary);
}

.text-gradient {
    color: var(--text-primary);
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
    width: 100%;
}

.section {
    padding: var(--space-7) 0;
    position: relative;
}

.section-header {
    margin-bottom: var(--space-6);
    max-width: 600px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: var(--space-2);
    letter-spacing: -0.01em;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-4);
}

.grid-2 { grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
}
