:root {
    /* Color Palette */
    --primary-blue: #0056b3;
    --secondary-blue: #007bff;
    --accent-red: #dc3545;
    --bg-white: #ffffff;
    --text-black: #1a1a1b;
    --text-gray: #4a4a4b;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Layout */
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-black);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header/Navbar Styles (Injected via components.js) */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--primary-blue);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a:hover {
    color: var(--accent-red);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary-blue);
}

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

.skill-card {
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--secondary-blue);
}

.skill-card i {
    font-size: 2rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

/* Footer (Injected via components.js) */
footer {
    background-color: var(--text-black);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Premium Polish */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1, .hero p, .skill-card {
    animation: fadeInUp 0.8s ease backwards;
}

.hero h1 { animation-delay: 0.2s; }
.hero p { animation-delay: 0.4s; }

.skill-card:nth-child(1) { animation-delay: 0.2s; }
.skill-card:nth-child(2) { animation-delay: 0.3s; }
.skill-card:nth-child(3) { animation-delay: 0.4s; }
.skill-card:nth-child(4) { animation-delay: 0.5s; }

/* Button Premium Styles */
button, .btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    background: linear-gradient(45deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.3);
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 86, 179, 0.4);
}

/* Form Polish */
input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

/* Typography Enhancements */
h1, h2, h3 {
    letter-spacing: -0.5px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* simple for now */
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .container {
        padding: 0 1.5rem;
    }
}
