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

:root {
    --primary: #8B5CF6;
    --secondary: #7C3AED;
    --text-dark: #ffffff;
    --text-light: #d1d5db;
    --bg-light: #1f2937;
    --bg-white: #111827;
    --border: #374151;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--bg-white);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
}

.nav-brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-menu a:hover { color: var(--primary); }

.nav-blog {
    background: var(--primary);
    color: white !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 50px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    align-items: center;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.hero-content h1 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 4px;
}

.title {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.tagline {
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 16px;
}

.credentials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cred {
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
}

.bio {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.stat {
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat span {
    font-size: 12px;
    color: var(--text-light);
}

.cta-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-primary, .btn-secondary {
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    border: 2px solid;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

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

/* Sections */
section {
    padding: 50px 0;
}

section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 35px;
    text-align: center;
}

/* Achievements Summary */
.achievements-summary {
    background: var(--bg-white);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.achievement-item {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.achievement-item:hover {
    box-shadow: 0 8px 16px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.achievement-item h3 {
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.achievement-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Projects */
.projects {
    background: var(--bg-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.project-card {
    background: var(--bg-light);
    padding: 28px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.project-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.project-header h3 {
    flex: 1;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.tech-tag {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.project-challenge, .project-solution, .project-tech {
    margin-bottom: 16px;
}

.project-challenge strong, .project-solution strong, .project-tech strong {
    display: block;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
}

.project-challenge p, .project-solution p, .project-tech p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 16px 0;
}

.metric {
    text-align: center;
}

.metric strong {
    display: block;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 3px;
}

.metric span {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    line-height: 1.4;
}

/* Expertise */
.expertise {
    background: var(--bg-light);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.expertise-box {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.expertise-box:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.expertise-box h3 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 700;
}

.expertise-box p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* Certifications */
.certifications {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cert-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.cert-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.cert-card h3 {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.cert-number {
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.cert-desc {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 500;
}

.cert-detail {
    color: var(--text-light);
    font-size: 12px;
    margin: 0;
    line-height: 1.5;
}

/* Highlights */
.highlights {
    background: var(--bg-white);
}

.achievements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.achievement {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
}

.achievement h4 {
    color: var(--text-dark);
    font-size: 15px;
    margin-bottom: 8px;
    font-weight: 700;
}

.achievement p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
}

/* Contact */
.contact {
    background: var(--bg-light);
}

.contact-info-centered {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-centered p {
    font-size: 15px;
    color: var(--text-light);
    text-align: center;
}

.contact-info-centered strong {
    display: block;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border-bottom: 2px solid var(--primary);
}

.contact-link:hover {
    color: var(--primary);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .quick-stats {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .certs-grid {
        grid-template-columns: 1fr;
    }

    .project-metrics {
        grid-template-columns: repeat(3, 1fr);
    }

    .expertise-grid,
    .achievements {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .cta-group {
        flex-direction: column;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 26px;
    }
}
