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

:root {
    --bg: #070f12;
    --surface: #0c1a20;
    --surface2: #102028;
    --border: #163040;
    --text: #e0f7fa;
    --muted: #5b9aaa;
    --dim: #a0cdd8;
    --accent: #00e5ff;
    --accent-g: #00bfa5;
    --accent-bg: rgba(0, 229, 255, 0.07);
    --accent-gbg: rgba(0, 191, 165, 0.08);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
}

/* ── NAV ── */
nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    height: 58px;
    background: rgba(7, 15, 18, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.nav-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.nav-links {
    display: flex;
    gap: 32px;
}

    .nav-links a {
        font-size: 13px;
        font-weight: 500;
        color: var(--muted);
        text-decoration: none;
        transition: color 0.15s;
    }

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

/* ── CONTAINER ── */
.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 48px 100px;
}

/* ── HERO ── */
.hero {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 56px;
    align-items: center;
    padding: 72px 0 80px;
    border-bottom: 1px solid var(--border);
}

.hero-badge {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-bg);
    border: 1px solid rgba(0, 229, 255, 0.2);
    padding: 5px 12px;
    border-radius: 4px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--text);
    margin-bottom: 20px;
}

    .hero h1 span {
        color: var(--accent);
    }

.hero-bio {
    font-size: 15px;
    color: var(--dim);
    line-height: 1.8;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 12px;
}

.btn-primary {
    font-size: 13px;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 7px;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    transition: opacity 0.15s;
}

    .btn-primary:hover {
        opacity: 0.88;
    }

.btn-ghost {
    font-size: 13px;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 7px;
    background: transparent;
    color: var(--dim);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}

    .btn-ghost:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

/* hero info card */
.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-card-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
}

.hero-card-divider {
    height: 1px;
    background: var(--border);
}

.card-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.card-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    line-height: 1.5;
}

a.card-value:hover {
    color: var(--accent);
}

/* ── SECTIONS ── */
.section {
    padding: 64px 0;
    border-bottom: 1px solid var(--border);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -0.02em;
    margin-bottom: 32px;
}

/* ── PROJECTS GRID ── */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: border-color 0.2s, transform 0.2s;
}

    .project-card:hover {
        border-color: rgba(0, 229, 255, 0.3);
        transform: translateY(-2px);
    }

.project-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.project-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-bg);
    border: 1px solid rgba(0, 229, 255, 0.15);
    padding: 3px 9px;
    border-radius: 4px;
}

.project-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--muted);
}

.project-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.project-card ul {
    padding-left: 16px;
    margin-bottom: 14px;
}

.project-card li {
    font-size: 13.5px;
    color: var(--dim);
    margin-bottom: 5px;
}

    .project-card li::marker {
        color: var(--accent-g);
    }

.highlight {
    color: var(--accent);
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: var(--accent-g);
    background: var(--accent-gbg);
    border: 1px solid rgba(0, 191, 165, 0.18);
    padding: 3px 8px;
    border-radius: 3px;
}

.project-link {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    text-decoration: none;
    display: inline-block;
    margin-top: 12px;
    transition: color 0.15s;
}

    .project-link:hover {
        color: var(--accent);
    }

/* ── EXPERIENCE ── */
.exp-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

    .exp-item:first-of-type {
        border-top: 1px solid var(--border);
    }

.exp-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 4px;
}

    .exp-top h3 {
        font-size: 15px;
        font-weight: 600;
        color: var(--text);
    }

.exp-date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    white-space: nowrap;
}

.exp-company {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--accent-g);
    margin-bottom: 10px;
}

.exp-item ul {
    padding-left: 16px;
}

.exp-item li {
    font-size: 14px;
    color: var(--dim);
    margin-bottom: 4px;
}

    .exp-item li::marker {
        color: var(--accent-g);
    }

/* ── SKILLS ── */
.skills-block {
    display: flex;
    flex-direction: column;
}

.skill-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    align-items: start;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

    .skill-row:first-child {
        border-top: 1px solid var(--border);
    }

.skill-row-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--muted);
    padding-top: 4px;
    letter-spacing: 0.04em;
}

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

.skill-tag {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--dim);
    background: var(--surface2);
    border: 1px solid var(--border);
    padding: 5px 11px;
    border-radius: 5px;
    transition: border-color 0.15s, color 0.15s;
}

    .skill-tag:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

/* ── EDUCATION ── */
.edu-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 32px;
}

.edu-degree {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.edu-school {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--accent-g);
    margin-bottom: 4px;
}

.edu-detail {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--muted);
}

/* ── CONTACT ── */
.contact-list {
    display: flex;
    flex-direction: column;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: padding-left 0.15s;
}

    .contact-item:first-child {
        border-top: 1px solid var(--border);
    }

    .contact-item:hover {
        padding-left: 8px;
    }

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-type {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-value {
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
}

.contact-arrow {
    font-size: 18px;
    color: var(--border);
    transition: color 0.15s, transform 0.15s;
}

.contact-item:hover .contact-arrow {
    color: var(--accent);
    transform: translate(2px, -2px);
}

/* ── FOOTER ── */
footer {
    margin-top: 60px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: var(--muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
    nav {
        padding: 0 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .container {
        padding: 0 20px 80px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 48px 0 56px;
        gap: 32px;
    }

    .hero-card {
        display: none;
    }

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

    .exp-top {
        flex-direction: column;
        gap: 2px;
    }

    .skill-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    footer {
        flex-direction: column;
        gap: 4px;
    }
}
