:root {
    /* Color Palette - Executive & Energetic */
    --primary-color: #0f172a; /* Deep Navy */
    --accent-color: #2563eb; /* Vibrant Blue */
    --text-color: #334155; /* Slate */
    --heading-color: #0f172a;
    --bg-color: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-soft: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-heavy: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --transition: all 0.3s ease;
}

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

    body {
        font-family: var(--font-family);
        color: var(--text-color);
        background-color: var(--bg-color);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3BaseFilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
        background-attachment: fixed;
        opacity: 0.98;
    }

    h1, h2, h3, h4 {
        color: var(--heading-color);
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

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

    ul {
        list-style: none;
    }

    img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
}

@layer components {
    .container {
        max-width: 1100px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    /* Header & Nav */
    .header {
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(10px);
        position: sticky;
        top: 0;
        z-index: 1000;
        border-bottom: 1px solid var(--border-color);
    }

    .nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px;
    }

    .logo {
        font-size: 1.25rem;
        font-weight: 800;
        color: var(--primary-color);
        letter-spacing: -0.025em;
    }

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

    .nav-link {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--text-color);
    }

    .nav-link:hover {
        color: var(--accent-color);
    }

    /* Hero Section */
    .hero {
        padding: 8rem 0 4rem;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .hero-img {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        object-fit: cover;
        border: 5px solid var(--accent-color);
        box-shadow: var(--shadow-heavy);
    }

    .hero h1 {
        font-size: 3.5rem;
        letter-spacing: -0.05em;
        margin-bottom: 0.5rem;
    }

    .hero h2 {
        font-size: 1.5rem;
        color: var(--accent-color);
        font-weight: 500;
        margin-bottom: 2rem;
    }

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

    /* Sections */
    .section {
        padding: 6rem 0;
    }

    .section-title {
        font-size: 2.25rem;
        margin-bottom: 3rem;
        text-align: center;
    }

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

    .card {
        background: var(--white);
        padding: 2.5rem;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-soft);
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-heavy);
        border-color: var(--accent-color);
    }

    .card img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        margin-bottom: 1.5rem;
        border-radius: 50%; /* For circular icons */
    }

    /* Metrics */
    .metrics-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        text-align: center;
    }

    .metric-item h3 {
        font-size: 2.5rem;
        color: var(--accent-color);
        margin-bottom: 0.25rem;
    }

    .metric-item p {
        font-weight: 600;
        color: var(--text-color);
        text-transform: uppercase;
        font-size: 0.8rem;
        letter-spacing: 0.05em;
    }

    /* Buttons */
    .btn {
        display: inline-block;
        padding: 0.75rem 2rem;
        border-radius: 6px;
        font-weight: 600;
        cursor: pointer;
        transition: var(--transition);
        border: none;
    }

    .btn-primary {
        background-color: var(--primary-color);
        color: var(--white);
    }

    .btn-primary:hover {
        background-color: var(--accent-color);
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    }

    .btn-outline {
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
    }

    .btn-outline:hover {
        background-color: var(--primary-color);
        color: var(--white);
    }

    /* Footer */
    .footer {
        background-color: var(--primary-color);
        color: #94a3b8;
        padding: 4rem 0 2rem;
        font-size: 0.9rem;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 4rem;
        margin-bottom: 3rem;
    }

    .footer-logo {
        color: var(--white);
        font-weight: 800;
        font-size: 1.5rem;
        margin-bottom: 1rem;
        display: block;
    }

    .footer-links h4 {
        color: var(--white);
        margin-bottom: 1.5rem;
    }

    .footer-links ul li {
        margin-bottom: 0.75rem;
    }

    .footer-bottom {
        border-top: 1px solid #1e293b;
        padding-top: 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* About Content */
    .prose {
        max-width: 800px;
        margin: 0 auto;
    }

    .prose p {
        margin-bottom: 1.5rem;
    }

    /* Experience */
    .experience-item {
        margin-bottom: 4rem;
        border-left: 3px solid var(--accent-color);
        padding-left: 2rem;
    }

    .exp-header {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 1rem;
    }

    .exp-title {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .exp-company {
        color: var(--accent-color);
        font-weight: 600;
    }

    .exp-date {
        font-weight: 500;
        color: #64748b;
    }

    .exp-list {
        list-style: disc;
        margin-left: 1.25rem;
    }

    .exp-list li {
        margin-bottom: 0.5rem;
    }

    /* Icons */
    .icon {
        width: 48px;
        height: 48px;
        fill: var(--accent-color);
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
