@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    --bg-deep: #091512;
    --bg-surface: #0e201b;
    --bg-card: rgba(18, 38, 32, 0.85);
    --gold-primary: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa8529;
    --emerald: #10b981;
    --emerald-dark: #059669;
    --text-primary: #f0fdf4;
    --text-secondary: #a7f3d0;
    --text-muted: #6ee7b7;
    --text-dim: #7a8c85;
    --border: rgba(212, 175, 55, 0.15);
    --border-glow: rgba(212, 175, 55, 0.3);
    --gradient-gold: linear-gradient(135deg, #f3e5ab, #d4af37, #aa8529);
    --gradient-emerald: linear-gradient(135deg, #10b981, #059669);
    --glow-gold: 0 0 30px rgba(212, 175, 55, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Background Effects */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.15;
    background-image: radial-gradient(var(--gold-primary) 1px, transparent 1px);
    background-size: 40px 40px;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.1;
    z-index: 0;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--emerald);
    top: -10%;
    left: -10%;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    background: var(--gold-primary);
    bottom: 10%;
    right: -5%;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 21, 18, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--gold-primary);
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 5rem;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 5rem;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.hero-tag .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-primary);
    box-shadow: 0 0 10px var(--gold-primary);
}

.hero-tag span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero h1 .gold {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-role {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.hero-bio {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-gold {
    background: var(--gradient-gold);
    color: var(--bg-deep);
}

.btn-gold:hover {
    box-shadow: var(--glow-gold);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
}

/* Premium ID Card */
.premium-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.premium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: var(--gradient-gold);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    pointer-events: none;
}

.card-inner {
    background: var(--bg-surface);
    border-radius: 21px;
    padding: 3rem 2rem;
    text-align: center;
}

.card-img-wrap {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: var(--gradient-gold);
    position: relative;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-surface);
}

.card-img-wrap .fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-deep);
    border: 4px solid var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold-primary);
}

.card-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--bg-surface);
    border-radius: 50%;
    padding: 4px;
}

.card-badge-inner {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-deep);
    font-weight: 800;
    font-size: 0.8rem;
}

.card-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.card-role {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 2rem;
}

.card-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 2rem;
}

.c-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.c-stat-lbl {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* Sections */
.section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}

.section-alt {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--gold-primary);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold-primary), rgba(212, 175, 55, 0.1));
}

.timeline-item {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 4rem;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--gold-primary);
    box-shadow: 0 0 15px var(--gold-primary);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.timeline-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-5px);
    box-shadow: var(--glow-gold);
}

.t-date {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.t-role {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.t-project {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.t-org {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.t-org svg {
    width: 14px;
    height: 14px;
    stroke: var(--gold-dark);
    fill: none;
    stroke-width: 2;
}

.t-list {
    list-style: none;
}

.t-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
}

.t-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--gold-dark);
    font-size: 0.8rem;
}

/* Areas of Expertise */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.exp-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.exp-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-gold);
}

.exp-box:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
}

.exp-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gold-primary);
}

.exp-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.s-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 6px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.s-tag:hover {
    border-color: var(--emerald);
    color: var(--emerald);
    background: rgba(16, 185, 129, 0.1);
}

/* Certifications */
.cert-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.cert-card {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
}

.cert-card:hover {
    border-color: var(--gold-dark);
    background: var(--bg-card);
}

.cert-badge {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--gradient-gold);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--bg-deep);
}

.cert-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.cert-info .c-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: var(--gold-primary);
}

/* Footer */
footer {
    text-align: center;
    padding: 4rem 2rem;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.f-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

footer p {
    color: var(--text-dim);
    font-size: 0.9rem;
}

footer .gold {
    color: var(--gold-primary);
    font-weight: 600;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-bio {
        margin: 0 auto 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .premium-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .cert-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        padding: 2rem;
        border-bottom: 1px solid var(--border);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .timeline::before {
        left: 16px;
    }

    .timeline-item {
        padding-left: 2.5rem;
    }

    .timeline-dot {
        left: 10px;
    }

    .timeline-card {
        padding: 1.5rem;
    }

    .cert-card {
        flex-direction: column;
        gap: 1rem;
    }
}