@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Space+Mono:wght@400;700&display=swap');

:root {
    --bg-primary: #0c0f0a;
    --bg-secondary: #141a10;
    --bg-card: rgba(20, 26, 16, 0.75);
    --accent-amber: #f59e0b;
    --accent-gold: #eab308;
    --accent-lime: #84cc16;
    --accent-orange: #f97316;
    --accent-teal: #14b8a6;
    --accent-slate: #64748b;
    --text-primary: #f5f5f0;
    --text-secondary: #a8b298;
    --text-muted: #6b7a5e;
    --border-color: rgba(245, 158, 11, 0.12);
    --glow-amber: 0 0 25px rgba(245, 158, 11, 0.25);
    --gradient-main: linear-gradient(135deg, #f59e0b, #f97316, #ef4444);
    --gradient-alt: linear-gradient(135deg, #84cc16, #14b8a6);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Animated background */
.bg-pattern {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(245, 158, 11, 0.3) 50px, rgba(245, 158, 11, 0.3) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(245, 158, 11, 0.3) 50px, rgba(245, 158, 11, 0.3) 51px);
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.1;
    z-index: 0;
    animation: pulse 12s ease-in-out infinite;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-amber);
    top: -15%;
    right: -10%;
}

.bg-glow-2 {
    width: 450px;
    height: 450px;
    background: var(--accent-lime);
    bottom: -10%;
    left: -8%;
    animation-delay: -6s;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.1;
    }

    50% {
        transform: scale(1.15);
        opacity: 0.18;
    }
}

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

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

.nav-logo {
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

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

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

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

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

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

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-amber);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.25rem;
    font-family: 'Space Mono', monospace;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-lime);
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 0.5rem;
}

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

.hero-role {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-amber);
    margin-bottom: 1.25rem;
    letter-spacing: 0.5px;
}

.hero-bio {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 1.75rem;
    max-width: 560px;
}

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

.btn {
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: var(--glow-amber);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(245, 158, 11, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--accent-amber);
    border: 1.5px solid var(--accent-amber);
}

.btn-outline:hover {
    background: rgba(245, 158, 11, 0.1);
    transform: translateY(-2px);
}

/* Contact Pills */
.contact-pills {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.1);
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
}

.pill svg {
    width: 14px;
    height: 14px;
    stroke: var(--accent-amber);
    fill: none;
    stroke-width: 2;
}

/* Profile Card */
.profile-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    text-align: center;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    border-radius: 20px 20px 0 0;
    background: var(--gradient-main);
}

.profile-img-wrap {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 3px;
    background: var(--gradient-main);
}

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

.profile-card .name {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.profile-card .role {
    font-size: 0.8rem;
    color: var(--accent-amber);
    font-weight: 600;
}

.profile-card .divider {
    width: 40px;
    height: 2px;
    background: var(--gradient-main);
    margin: 1rem auto;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

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

.profile-stat .num {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-stat .label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.section-header {
    margin-bottom: 3rem;
}

.section-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-amber);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.section-line {
    width: 50px;
    height: 3px;
    border-radius: 2px;
    background: var(--gradient-main);
    margin-top: 0.75rem;
}

/* Stats Banner */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.stat-box {
    text-align: center;
    padding: 1.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.stat-box:hover {
    border-color: rgba(245, 158, 11, 0.4);
    transform: translateY(-3px);
    box-shadow: var(--glow-amber);
}

.stat-box .number {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-box .label {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-amber), var(--accent-lime), transparent);
}

.tl-item {
    position: relative;
    margin-bottom: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.75rem 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.tl-item:hover {
    border-color: rgba(245, 158, 11, 0.35);
    transform: translateX(4px);
    box-shadow: var(--glow-amber);
}

.tl-item::before {
    content: '';
    position: absolute;
    left: -2.85rem;
    top: 2rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--accent-amber);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 12px var(--accent-amber);
}

.tl-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.tl-role {
    font-size: 1.1rem;
    font-weight: 800;
}

.tl-date {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent-amber);
    background: rgba(245, 158, 11, 0.1);
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    white-space: nowrap;
}

.tl-company {
    font-size: 0.85rem;
    color: var(--accent-lime);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tl-summary {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.tl-achievements {
    margin-bottom: 0.75rem;
}

.tl-achievements .badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

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

.tl-list li {
    color: var(--text-secondary);
    font-size: 0.83rem;
    padding: 0.25rem 0 0.25rem 1.2rem;
    position: relative;
    line-height: 1.6;
}

.tl-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-amber);
    font-weight: bold;
}

.tl-projects-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.tl-projects-list {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.sk-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.sk-card:hover {
    border-color: rgba(245, 158, 11, 0.35);
    transform: translateY(-3px);
    box-shadow: var(--glow-amber);
}

.sk-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sk-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.sk-icon.amber {
    background: rgba(245, 158, 11, 0.15);
}

.sk-icon.lime {
    background: rgba(132, 204, 22, 0.15);
}

.sk-icon.teal {
    background: rgba(20, 184, 166, 0.15);
}

.sk-icon.orange {
    background: rgba(249, 115, 22, 0.15);
}

.sk-icon.slate {
    background: rgba(100, 116, 139, 0.15);
}

.sk-icon.red {
    background: rgba(239, 68, 68, 0.15);
}

.sk-title {
    font-weight: 700;
    font-size: 0.92rem;
}

.sk-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sk-tag {
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    background: rgba(245, 158, 11, 0.07);
    color: var(--text-secondary);
    border: 1px solid rgba(245, 158, 11, 0.1);
    font-family: 'Space Mono', monospace;
    transition: all 0.2s;
}

.sk-tag:hover {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-amber);
    border-color: rgba(245, 158, 11, 0.25);
}

/* Education */
.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    max-width: 500px;
    transition: all 0.3s;
}

.edu-card:hover {
    border-color: rgba(132, 204, 22, 0.4);
    transform: translateY(-3px);
}

.edu-degree {
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
}

.edu-school {
    color: var(--accent-lime);
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.edu-year {
    font-family: 'Space Mono', monospace;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Certifications */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1rem;
}

.cert-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.cert-card:hover {
    border-color: rgba(249, 115, 22, 0.35);
    transform: translateX(4px);
}

.cert-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(249, 115, 22, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cert-name {
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.15rem;
}

.cert-issuer {
    font-size: 0.75rem;
    color: var(--accent-orange);
}

.cert-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    line-height: 1.5;
}

/* Projects */
.proj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.25rem;
}

.proj-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

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

.proj-card:hover {
    border-color: rgba(245, 158, 11, 0.35);
    transform: translateY(-3px);
}

.proj-client {
    font-family: 'Space Mono', monospace;
    font-size: 0.68rem;
    color: var(--accent-amber);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}

.proj-name {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.proj-role {
    font-size: 0.8rem;
    color: var(--accent-lime);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.proj-desc {
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.65;
}

.proj-dur {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* Work Scope */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.scope-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.scope-card:hover {
    border-color: rgba(20, 184, 166, 0.35);
    transform: translateY(-3px);
}

.scope-title {
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scope-title .icon {
    font-size: 1.1rem;
}

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

footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

    .hero-bio {
        max-width: 100%;
    }

    .hero-cta,
    .contact-pills {
        justify-content: center;
    }

    .profile-card {
        max-width: 340px;
        margin: 0 auto;
        order: -1;
    }

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

    .stats-banner {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(12, 15, 10, 0.95);
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .stats-banner {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .skills-grid,
    .cert-grid,
    .proj-grid,
    .scope-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 3rem 1.25rem;
    }
}