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

:root {
    --bg-steel: #0c1219;
    --bg-plate: #111820;
    --bg-card: rgba(17, 24, 32, 0.9);
    --orange-safety: #ff6b2b;
    --orange-light: #ff8c57;
    --orange-dim: #cc5522;
    --yellow-caution: #ffc107;
    --teal-accent: #26a69a;
    --steel-blue: #4a6d8c;
    --cold-white: #e4e9ef;
    --text-primary: #dce3eb;
    --text-secondary: #8899aa;
    --text-muted: #4a5666;
    --border: rgba(255, 107, 43, 0.1);
    --border-steel: #1e2a38;
    --glow-orange: 0 0 25px rgba(255, 107, 43, 0.15);
    --gradient-orange: linear-gradient(135deg, #ff6b2b, #ff8c57, #cc5522);
    --gradient-steel: linear-gradient(135deg, #1e2a38, #2a3a4c);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Blueprint grid */
.bg-blueprint {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.035;
    background-image:
        linear-gradient(var(--steel-blue) 1px, transparent 1px),
        linear-gradient(90deg, var(--steel-blue) 1px, transparent 1px);
    background-size: 50px 50px;
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.06;
    z-index: 0;
}

.bg-orb-1 {
    width: 500px;
    height: 500px;
    background: var(--orange-safety);
    top: -8%;
    right: 20%;
}

.bg-orb-2 {
    width: 400px;
    height: 400px;
    background: var(--teal-accent);
    bottom: 5%;
    left: -5%;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(12, 18, 25, 0.92);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border-steel);
    padding: 0.75rem 0;
}

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

.nav-logo {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--gradient-orange);
    -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-muted);
    text-decoration: none;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--orange-safety);
}

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

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

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

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

.hero-stripe {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.hero-stripe .bar {
    width: 40px;
    height: 4px;
    background: var(--gradient-orange);
    border-radius: 2px;
}

.hero-stripe span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--orange-safety);
}

.hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 0.5rem;
}

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

.hero-role {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange-light);
    margin-bottom: 1.25rem;
}

.hero-bio {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.85;
    margin-bottom: 2rem;
    max-width: 550px;
}

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

.btn {
    padding: 0.7rem 1.6rem;
    border-radius: 4px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-orange {
    background: var(--gradient-orange);
    color: #fff;
}

.btn-orange:hover {
    box-shadow: 0 0 30px rgba(255, 107, 43, 0.35);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: rgba(255, 107, 43, 0.1);
    transform: translateY(-2px);
}

.contact-row {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.c-chip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.c-chip svg {
    width: 13px;
    height: 13px;
    stroke: var(--orange-safety);
    fill: none;
    stroke-width: 2;
}

/* ID Badge */
.id-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-steel);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.id-badge-top {
    background: var(--gradient-orange);
    padding: 1.5rem;
    text-align: center;
}

.id-img-wrap {
    width: 130px;
    height: 130px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    padding: 3px;
    background: rgba(255, 255, 255, 0.25);
}

.id-img-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.id-img-wrap .fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
}

.id-badge-top .name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.id-badge-top .role {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.id-badge-body {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.id-stat .num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.id-stat .lbl {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

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

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

.section-alt {
    background: var(--bg-plate);
}

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

.section-tag {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--orange-safety);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.section-tag .bar {
    width: 24px;
    height: 3px;
    background: var(--orange-safety);
}

.section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-orange);
    margin-top: 0.6rem;
    border-radius: 2px;
}

/* Stats */
.stats-row {
    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-steel);
    border-radius: 10px;
    transition: all 0.3s;
    border-top: 3px solid var(--orange-safety);
}

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

.stat-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-lbl {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-top: 0.4rem;
}

/* Experience */
.exp-card {
    position: relative;
    margin-bottom: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-steel);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    overflow: hidden;
}

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

.exp-card:hover {
    border-color: var(--border);
    transform: translateX(4px);
    box-shadow: var(--glow-orange);
}

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

.exp-role {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.exp-date {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--orange-safety);
    background: rgba(255, 107, 43, 0.08);
    padding: 0.2rem 0.7rem;
    border-radius: 4px;
    white-space: nowrap;
}

.exp-company {
    font-size: 0.82rem;
    color: var(--orange-light);
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.exp-client {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
}

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

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

.exp-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--orange-safety);
    font-weight: 700;
}

.ach-box {
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 107, 43, 0.04);
    border: 1px solid rgba(255, 107, 43, 0.15);
    border-radius: 6px;
}

.ach-box .badge {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange-light);
    margin-bottom: 0.4rem;
}

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

.exp-pill {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-steel);
    border-radius: 6px;
    transition: all 0.3s;
}

.exp-pill:hover {
    border-color: rgba(255, 107, 43, 0.25);
    transform: translateX(3px);
}

.exp-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange-safety);
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.exp-pill .label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.exp-pill .sub {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Tech Skills */
.tech-cat {
    margin-bottom: 1.5rem;
}

.tech-cat-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange-safety);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-cat-title .bar {
    width: 16px;
    height: 2px;
    background: var(--orange-safety);
}

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

.tech-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 500;
    padding: 0.3rem 0.65rem;
    background: rgba(255, 107, 43, 0.05);
    border: 1px solid rgba(255, 107, 43, 0.12);
    border-radius: 4px;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.tech-tag:hover {
    border-color: var(--orange-safety);
    color: var(--orange-light);
    background: rgba(255, 107, 43, 0.1);
}

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

.cert-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bg-card);
    border: 1px solid var(--border-steel);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    transition: all 0.3s;
}

.cert-card:hover {
    border-color: rgba(255, 107, 43, 0.25);
    transform: translateY(-2px);
}

.cert-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: rgba(255, 107, 43, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.cert-name {
    font-size: 0.82rem;
    font-weight: 600;
}

/* Personal */
.detail-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.detail-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-steel);
    border-radius: 8px;
    padding: 0.7rem 1.1rem;
}

.detail-chip .icon {
    font-size: 1rem;
}

.detail-chip .label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.detail-chip .value {
    font-size: 0.85rem;
    font-weight: 600;
}

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

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

footer .orange {
    background: var(--gradient-orange);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* 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;
    }

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

    .id-badge {
        max-width: 320px;
        margin: 0 auto;
        order: -1;
    }

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

    .expertise-grid {
        grid-template-columns: 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, 18, 25, 0.97);
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border-steel);
    }
}

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

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

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

    .section {
        padding: 3.5rem 1.25rem;
    }

    .detail-row {
        flex-direction: column;
    }
}