:root {
    --bg: #07080f;
    --bg2: #0d0f1a;
    --bg3: #131525;
    --accent: #00d4a0;
    --accent2: #7c6dfa;
    --accent3: #f0a050;
    --text: #eef0ff;
    --text2: #8892b0;
    --text3: #4a5270;
    --border: rgba(255, 255, 255, 0.07);
    --card: rgba(255, 255, 255, 0.025);
}

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

html {
    scroll-behavior: smooth
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(0, 212, 160, .025) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 212, 160, .025) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 4rem;
    background: rgba(7, 8, 15, .9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border)
}

.nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 22px;
    color: var(--accent);
    text-decoration: none
}

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

.nav-links a {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--text2);
    text-decoration: none;
    transition: color .2s;
    letter-spacing: .04em
}

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

.nav-cta {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    padding: .5rem 1.25rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s
}

.nav-cta:hover {
    background: var(--accent);
    color: #07080f
}

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

.hero-inner {
    max-width: 1000px;
    width: 100%
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    border: 1px solid rgba(0, 212, 160, .25);
    padding: 5px 16px;
    border-radius: 100px;
    margin-bottom: 2rem;
    animation: fadeUp .6s ease both
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite
}

@keyframes pulse {

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

    50% {
        opacity: .4;
        transform: scale(.7)
    }
}

.hero-name {
    font-family: 'Syne', sans-serif;
    font-size: clamp(3.5rem, 9vw, 7.5rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -4px;
    margin-bottom: 1.5rem;
    animation: fadeUp .6s .1s ease both
}

.hero-name .first {
    display: block;
    color: var(--text)
}

.hero-name .last {
    display: block;
    color: var(--accent)
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text2);
    font-weight: 300;
    margin-bottom: 1rem;
    animation: fadeUp .6s .2s ease both
}

.hero-subtitle strong {
    color: var(--text);
    font-weight: 500
}

.hero-desc {
    font-size: 1rem;
    color: var(--text2);
    max-width: 520px;
    margin-bottom: 2.5rem;
    animation: fadeUp .6s .3s ease both
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp .6s .4s ease both
}

.btn {
    padding: .8rem 2rem;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
    cursor: pointer;
    border: none;
    font-family: 'DM Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px
}

.btn-primary {
    background: var(--accent);
    color: #07080f
}

.btn-primary:hover {
    background: #00edb3;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 160, .25)
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border)
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px)
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    animation: fadeUp .6s .5s ease both;
    flex-wrap: wrap
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent)
}

.stat-label {
    font-size: 12px;
    color: var(--text3);
    margin-top: 2px;
    font-family: 'DM Mono', monospace
}

section {
    padding: 6rem 4rem;
    position: relative;
    z-index: 1
}

.eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--accent);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: .75rem
}

.sec-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 3rem
}

.sec-title span {
    color: var(--accent)
}

#about {
    background: var(--bg2)
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: start
}

.about-text p {
    color: var(--text2);
    margin-bottom: 1rem;
    font-size: 15px
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: .75rem
}

.info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    transition: all .2s
}

.info-card:hover {
    border-color: rgba(0, 212, 160, .3);
    transform: translateX(4px)
}

.ic-label {
    font-size: 10px;
    font-family: 'DM Mono', monospace;
    color: var(--accent);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .1em
}

.ic-val {
    font-size: 14px;
    font-weight: 500;
    color: var(--text)
}

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

.skill-cat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all .2s
}

.skill-cat:hover {
    border-color: rgba(124, 109, 250, .35);
    transform: translateY(-4px)
}

.skill-cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem
}

.ski {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0
}

.skill-cat-name {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 700
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px
}

.skill-tag {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .04);
    color: var(--text2);
    border: 1px solid var(--border);
    transition: all .2s;
    cursor: default
}

.skill-tag:hover {
    background: rgba(0, 212, 160, .08);
    color: var(--accent);
    border-color: rgba(0, 212, 160, .3)
}

#experience {
    background: var(--bg2)
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

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

.exp-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent), var(--accent2))
}

.exp-card:hover {
    border-color: rgba(0, 212, 160, .25)
}

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

.exp-role {
    font-family: 'Syne', sans-serif;
    font-size: 19px;
    font-weight: 700
}

.exp-company {
    font-size: 13px;
    color: var(--accent);
    margin-top: 3px;
    font-weight: 500
}

.exp-date {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--text3);
    background: rgba(255, 255, 255, .04);
    padding: 4px 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
    white-space: nowrap
}

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

.exp-list li {
    font-size: 14px;
    color: var(--text2);
    padding: .35rem 0 .35rem 1.5rem;
    position: relative;
    line-height: 1.6
}

.exp-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 11px;
    top: .5rem
}

.exp-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 1rem
}

.chip {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 100px
}

.c-green {
    background: rgba(0, 212, 160, .08);
    color: var(--accent);
    border: 1px solid rgba(0, 212, 160, .2)
}

.c-purple {
    background: rgba(124, 109, 250, .08);
    color: #a89cf8;
    border: 1px solid rgba(124, 109, 250, .2)
}

.projects-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap
}

.tab-btn {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text2);
    cursor: pointer;
    transition: all .2s
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--accent);
    color: #07080f;
    border-color: var(--accent)
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 1.5rem
}

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all .25s;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(0, 212, 160, .05), transparent 55%);
    pointer-events: none
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 160, .3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .3)
}

.project-card.gh-card::after {
    background: radial-gradient(ellipse at top right, rgba(124, 109, 250, .06), transparent 55%)
}

.project-card.gh-card:hover {
    border-color: rgba(124, 109, 250, .35)
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem
}

.project-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04)
}

.project-stars {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--text3);
    display: flex;
    align-items: center;
    gap: 4px
}

.project-title {
    font-family: 'Syne', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: .6rem
}

.project-desc {
    font-size: 14px;
    color: var(--text2);
    flex: 1;
    margin-bottom: 1.25rem;
    line-height: 1.6
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 1rem
}

.p-tech {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: #a89cf8;
    background: rgba(124, 109, 250, .08);
    border: 1px solid rgba(124, 109, 250, .2);
    padding: 3px 10px;
    border-radius: 100px
}

.project-links {
    display: flex;
    gap: .6rem
}

.p-link {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--text2);
    text-decoration: none;
    padding: 5px 14px;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all .2s
}

.p-link:hover {
    color: var(--accent);
    border-color: rgba(0, 212, 160, .4)
}

.gh-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 3rem;
    color: var(--text3);
    font-family: 'DM Mono', monospace;
    font-size: 13px;
    grid-column: 1/-1
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .8s linear infinite
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

#certifications {
    background: var(--bg2)
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem
}

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

.cert-card:hover {
    border-color: rgba(240, 160, 80, .35);
    transform: translateY(-3px)
}

.cert-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background: rgba(240, 160, 80, .1);
    border: 1px solid rgba(240, 160, 80, .2)
}

.cert-name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px
}

.cert-issuer {
    font-size: 12px;
    color: var(--accent3);
    font-family: 'DM Mono', monospace
}

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

.edu-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    transition: all .2s
}

.edu-card:hover {
    border-color: rgba(124, 109, 250, .35);
    transform: translateY(-3px)
}

.edu-badge {
    display: inline-block;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(124, 109, 250, .1);
    color: #a89cf8;
    border: 1px solid rgba(124, 109, 250, .2);
    margin-bottom: .75rem
}

.edu-degree {
    font-family: 'Syne', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: .4rem
}

.edu-school {
    font-size: 14px;
    color: var(--accent);
    margin-bottom: .25rem
}

.edu-year {
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--text3)
}

#contact {
    text-align: center
}

.contact-inner {
    max-width: 580px;
    margin: 0 auto
}

.contact-inner>p {
    color: var(--text2);
    margin-bottom: 2.5rem;
    font-size: 15px
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2.5rem
}

.cl {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: .7rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    color: var(--text2);
    font-size: 14px;
    transition: all .2s;
    background: var(--card)
}

.cl:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px)
}

.cl svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0
}

footer {
    text-align: center;
    padding: 2rem;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    color: var(--text3);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0)
}

.glow-cursor {
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 160, .055) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: left .1s ease, top .1s ease
}

@media(max-width:768px) {
    nav {
        padding: 1rem 1.5rem
    }

    .nav-links,
    .nav-cta {
        display: none
    }

    section {
        padding: 4rem 1.5rem
    }

    #hero {
        padding: 5rem 1.5rem 3rem
    }

    .about-grid {
        grid-template-columns: 1fr
    }

    .hero-stats {
        gap: 1.75rem
    }

    .hero-name {
        letter-spacing: -2px
    }
}