* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --bg: #0e0e12;
    --bg2: #13131a;
    --card: #17171f;
    --border: rgba(255, 255, 255, 0.06);
    --border2: rgba(255, 255, 255, 0.11);
    --text: #ececf1;
    --muted: #7b7b8e;
    --muted2: #46464f;
    --violet: #c084fc;
    --violet-light: rgba(192, 132, 252, 0.1);
    --violet-mid: #a855f7;
    --orange: #ff9057;
    --orange-light: rgba(255, 144, 87, 0.1);
    --cyan: #2dd4bf;
    --cyan-light: rgba(45, 212, 191, 0.1);
    --green: #4ade80;
    --green-light: rgba(74, 222, 128, 0.1);
    --pink: #f472b6;
    --pink-light: rgba(244, 114, 182, 0.1);
}

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 0 2rem;
    background: rgba(14, 14, 18, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border)
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px
}

.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(192, 132, 252, 0.08);
    border: 1px solid rgba(192, 132, 252, 0.18);
    border-radius: 9px;
    transition: all 0.25s;
    cursor: pointer
}

.logo-wrap:hover {
    background: rgba(192, 132, 252, 0.15);
    border-color: rgba(192, 132, 252, 0.35);
    transform: rotate(5deg) scale(1.05)
}

.nav-links {
    display: flex;
    gap: 0.25rem
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s;
    font-weight: 450
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05)
}

.nav-cta {
    background: linear-gradient(135deg, var(--violet-mid), #7c3aed) !important;
    color: #fff !important;
    border-radius: 6px;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.25)
}

.nav-cta:hover {
    opacity: 0.9 !important;
    color: #fff !important;
    box-shadow: 0 0 28px rgba(168, 85, 247, 0.4) !important
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px
}

.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--violet-light);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 9px;
    transition: all 0.25s;
    cursor: pointer
}

.logo-wrap:hover {
    background: #ddd6fe;
    transform: rotate(5deg) scale(1.05)
}

.nav-links {
    display: flex;
    gap: 0.25rem
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.85rem;
    padding: 6px 14px;
    border-radius: 6px;
    transition: all 0.2s;
    font-weight: 450
}

.nav-links a:hover {
    color: var(--text);
    background: var(--bg2)
}

.nav-cta {
    background: var(--violet);
    color: #fff !important;
    border-radius: 6px
}

.nav-cta:hover {
    background: #6d28d9 !important;
    color: #fff !important
}

/* HERO */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 2rem 4rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-light);
    border: 1px solid rgba(5, 150, 105, 0.25);
    border-radius: 20px;
    padding: 5px 14px;
    margin-bottom: 2.5rem;
    width: fit-content
}

.avail-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    animation: blink 2s infinite
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.4)
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 0 4px rgba(5, 150, 105, 0)
    }
}

.avail-text {
    font-size: 0.78rem;
    color: var(--green);
    font-weight: 500;
    letter-spacing: 0.3px
}

.hero-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: end;
    margin-bottom: 3rem
}

.hero-name {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -3px;
    color: var(--text)
}

.hero-name span {
    color: var(--violet)
}

.hero-role-block {
    text-align: right;
    padding-bottom: 0.5rem
}

.hero-role-label {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted2);
    margin-bottom: 0.5rem
}

.hero-role-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text)
}

.hero-role-sub {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 2px
}

.hero-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--violet) 0%, var(--orange) 40%, var(--cyan) 80%, transparent 100%);
    margin-bottom: 2.5rem;
    opacity: 0.35
}

.hero-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: end
}

.hero-desc {
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.8;
    max-width: 480px
}

.hero-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1.5rem
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: flex-end;
    flex-wrap: wrap
}

.h-stat {
    text-align: right
}

.h-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -1px;
    line-height: 1
}

.h-stat span {
    font-size: 0.72rem;
    color: var(--muted2);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 3px;
    display: block
}

.hero-btns {
    display: flex;
    gap: 0.75rem
}

.btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px
}

.btn-violet {
    background: var(--violet);
    color: #fff;
    border: none;
    box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3)
}

.btn-violet:hover {
    background: #6d28d9;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4)
}

.btn-outline {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border2)
}

.btn-outline:hover {
    border-color: var(--violet);
    color: var(--violet);
    transform: translateY(-1px)
}

/* EMBEDDED RESUME VIEWER */
.resume-container {
    width: 100%;
    height: 800px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15)
}

.resume-object {
    width: 100%;
    height: 100%;
    border: none
}

.resume-fallback {
    padding: 3rem;
    text-align: center;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 1rem
}

/* SECTION */
section {
    padding: 6rem 2rem
}

.inner {
    max-width: 1100px;
    margin: 0 auto
}

.s-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem
}

.s-num {
    font-size: 0.72rem;
    color: var(--muted2);
    font-weight: 600;
    letter-spacing: 2px;
    background: var(--bg2);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid var(--border)
}

.s-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px
}

.s-sub {
    font-size: 0.875rem;
    color: var(--muted);
    margin-left: auto
}

/* ABOUT */
#about {
    background: var(--bg2)
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem
}

.about-text p {
    font-size: 0.93rem;
    color: var(--muted);
    line-height: 1.85;
    margin-bottom: 1rem
}

.contact-rows {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem
}

.c-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    font-size: 0.875rem;
    transition: color 0.2s
}

.c-row:hover {
    color: var(--violet)
}

.c-row-label {
    font-size: 0.72rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted2);
    min-width: 70px
}

.cert-stack {
    display: flex;
    flex-direction: column;
    gap: 0.5rem
}

.cert-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.2s;
    cursor: default
}

.cert-row:hover {
    border-color: var(--violet);
    box-shadow: 0 0 0 3px var(--violet-light)
}

.cert-row-left {
    display: flex;
    align-items: center;
    gap: 10px
}

.cert-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0
}

.cert-row h4 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text)
}

.cert-row span {
    font-size: 0.75rem;
    color: var(--muted2)
}

/* SKILLS */
#skills {
    background: var(--bg)
}

.skills-bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem
}

.sk {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem;
    transition: all 0.25s
}

.sk:hover {
    border-color: var(--border2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px)
}

.sk.wide {
    grid-column: span 3
}

.sk.med {
    grid-column: span 2
}

.sk.sml {
    grid-column: span 1
}

.sk-icon {
    font-size: 1.5rem;
    margin-bottom: 0.9rem;
    display: block
}

.sk h3 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted2);
    margin-bottom: 0.9rem
}

.sk-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}

.stag {
    font-size: 0.78rem;
    padding: 3px 9px;
    border-radius: 5px;
    background: var(--bg2);
    color: var(--muted);
    border: 1px solid var(--border);
    transition: all 0.15s;
    cursor: default
}

.stag:hover {
    background: var(--violet-light);
    color: var(--violet);
    border-color: rgba(124, 58, 237, 0.25)
}

.stag.v {
    background: var(--violet-light);
    color: var(--violet);
    border-color: rgba(124, 58, 237, 0.2)
}

.stag.o {
    background: var(--orange-light);
    color: var(--orange);
    border-color: rgba(249, 115, 22, 0.2)
}

.stag.c {
    background: var(--cyan-light);
    color: var(--cyan);
    border-color: rgba(8, 145, 178, 0.2)
}

/* EXPERIENCE */
#experience {
    background: var(--bg2)
}

.exp-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.exp-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.25s
}

.exp-card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.07)
}

.exp-head {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    padding: 1.75rem 2rem 1.25rem;
    border-bottom: 1px solid var(--border)
}

.exp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--violet-light);
    color: var(--violet);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 5px;
    margin-bottom: 0.6rem;
    border: 1px solid rgba(124, 58, 237, 0.15)
}

.exp-role {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px
}

.exp-company {
    font-size: 0.85rem;
    color: var(--muted)
}

.exp-date {
    font-size: 0.8rem;
    color: var(--muted2);
    text-align: right;
    white-space: nowrap;
    background: var(--bg2);
    padding: 5px 12px;
    border-radius: 6px;
    border: 1px solid var(--border);
    margin-top: 4px
}

.exp-body {
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem
}

.exp-li {
    display: flex;
    gap: 10px;
    align-items: start;
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.6;
    padding: 0.4rem 0
}

.exp-li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--violet);
    flex-shrink: 0;
    margin-top: 7px
}

/* PROJECTS */
#projects {
    background: var(--bg)
}

.proj-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem
}

.proj-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden
}

.proj-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--violet), var(--orange));
    opacity: 0;
    transition: opacity 0.3s
}

.proj-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(124, 58, 237, 0.2)
}

.proj-card:hover::after {
    opacity: 1
}

.proj-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.25rem
}

.proj-idx {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--border2);
    letter-spacing: -2px;
    line-height: 1
}

.proj-tag-main {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 5px;
    background: var(--orange-light);
    color: var(--orange);
    border: 1px solid rgba(249, 115, 22, 0.2)
}

.proj-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.4
}

.proj-card p {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 1.5rem
}

.proj-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 1.5rem
}

.pchip {
    font-size: 0.75rem;
    padding: 3px 9px;
    border-radius: 5px;
    background: var(--cyan-light);
    color: var(--cyan);
    border: 1px solid rgba(8, 145, 178, 0.15)
}

.proj-metrics {
    display: flex;
    gap: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border)
}

.pm strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--violet);
    letter-spacing: -0.5px
}

.pm span {
    font-size: 0.72rem;
    color: var(--muted2);
    letter-spacing: 0.5px;
    text-transform: uppercase
}

/* CONTACT */
#contact {
    background: var(--bg2)
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem
}

.contact-left h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
    color: var(--text)
}

.contact-left p {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.8;
    margin-bottom: 2rem
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem
}

.cc {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 1rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s
}

.cc:hover {
    border-color: var(--violet);
    box-shadow: 0 0 0 3px var(--violet-light)
}

.cc-label {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted2)
}

.cc-val {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text)
}

.cc:hover .cc-val {
    color: var(--violet)
}

.awards-list {
    display: flex;
    flex-direction: column;
    gap: 0
}

.award-row {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    align-items: start
}

.award-row:last-child {
    border-bottom: none
}

.award-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0
}

.award-icon-wrap.gold {
    background: #fef9c3;
    border: 1px solid #fde047
}

.award-icon-wrap.blue {
    background: var(--violet-light);
    border: 1px solid rgba(124, 58, 237, 0.2)
}

.award-icon-wrap.gray {
    background: var(--bg2);
    border: 1px solid var(--border)
}

.award-row h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px
}

.award-row p {
    font-size: 0.78rem;
    color: var(--muted2)
}

footer {
    background: #0d0d10;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.78rem;
    letter-spacing: 1px
}

footer span {
    color: rgba(255, 255, 255, 0.5)
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1)
}

.reveal.v {
    opacity: 1;
    transform: none
}

.d1 {
    transition-delay: 0.08s
}

.d2 {
    transition-delay: 0.16s
}

.d3 {
    transition-delay: 0.24s
}

@media(max-width:768px) {

    .hero-top,
    .hero-bottom,
    .about-layout,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .hero-role-block {
        text-align: left
    }

    .hero-stats {
        justify-content: flex-start
    }

    .hero-btns {
        flex-direction: column
    }

    .skills-bento {
        grid-template-columns: 1fr 1fr
    }

    .sk.wide,
    .sk.med,
    .sk.sml {
        grid-column: span 2
    }

    .exp-body {
        grid-template-columns: 1fr
    }

    .proj-grid {
        grid-template-columns: 1fr
    }

    .contact-cards {
        grid-template-columns: 1fr
    }

    .resume-container {
        height: 500px
    }
}