/* Main CSS - Variables, Reset, Typography */

:root {
    /* Colors - Deep Blue/Purple/Teal "Tech" Theme */
    --bg-color: #0d1117; /* Very dark blue/gray */
    --surface-color: #161b22;
    --primary-color: #58a6ff; /* Bright Blue */
    --secondary-color: #238636; /* Green for success/secondary actions */
    --accent-color: #8b949e; /* Grey for text */
    --text-color: #f0f6fc; /* White-ish */
    --text-muted: #8b949e;
    --border-color: #30363d;
    
    /* Gradients */
    --hero-gradient: linear-gradient(135deg, #0d1117 0%, #1f2937 100%);
    --card-gradient: linear-gradient(145deg, #161b22, #0d1117);

    /* Fonts */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-speed: 0.3s;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--text-color);
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Utility Utilities */
.section {
    padding: var(--spacing-xl) 0;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
