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

:root {
    --bg: #0a0a0f;
    --surface: #111118;
    --border: rgba(255, 255, 255, 0.07);
    --text: #e8e6f0;
    --muted: #6e6b82;
    --accent: #c8f542;
    --accent2: #7b61ff;
    --accent3: #ff6b6b;
    --glow: rgba(200, 245, 66, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Mono', monospace;
    font-size: 14px;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

/* Custom cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
    mix-blend-mode: difference;
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(200, 245, 66, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.12s ease;
}

body:hover .cursor {
    transform: scale(1);
}

/* Noise overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
    z-index: 1000;
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 48px;
    background: linear-gradient(to bottom, rgba(10, 10, 15, 0.95), transparent);
    backdrop-filter: blur(2px);
}

.nav-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
    color: var(--accent);
}

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

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
}

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

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

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

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 48px;
    gap: 48px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(123, 97, 255, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(200, 245, 66, 0.06) 0%, transparent 60%);
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-left {
    position: relative;
    z-index: 2;
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 0.8s 0.2s forwards;
}

.hero-eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
}

.hero-name {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(52px, 6vw, 90px);
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 8px;
    opacity: 0;
    animation: fadeUp 0.8s 0.4s forwards;
}

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

.hero-role {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: clamp(18px, 2vw, 26px);
    color: var(--muted);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s 0.6s forwards;
}

.hero-desc {
    max-width: 440px;
    color: rgba(232, 230, 240, 0.6);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s 0.8s forwards;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 1s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: none;
    transition: all 0.25s;
}

.btn-primary {
    background: var(--accent);
    color: #0a0a0f;
    font-weight: 400;
}

.btn-primary:hover {
    background: #deff5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(200, 245, 66, 0.3);
}

.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 right — animated card stack */
.hero-right {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s 0.6s forwards;
}

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 400px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(200, 245, 66, 0.3);
}

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

.stat-card:nth-child(2)::before {
    background: var(--accent2);
}

.stat-card:nth-child(3)::before {
    background: var(--accent3);
}

.stat-card:nth-child(4)::before {
    background: #42f5f5;
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    color: var(--accent);
}

.stat-card:nth-child(2) .stat-num {
    color: var(--accent2);
}

.stat-card:nth-child(3) .stat-num {
    color: var(--accent3);
}

.stat-card:nth-child(4) .stat-num {
    color: #42f5f5;
}

.stat-label {
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 6px;
}

/* ─── SECTION COMMON ─── */
section {
    padding: 100px 48px;
    position: relative;
}

.section-label {
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label::before {
    content: attr(data-num);
    font-family: 'Syne', sans-serif;
    font-size: 10px;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 2px 8px;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 64px;
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 0 48px;
}

/* ─── EXPERIENCE ─── */
.exp-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.exp-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    border: 1px solid var(--border);
    background: var(--surface);
    overflow: hidden;
    transition: border-color 0.3s;
    cursor: default;
}

.exp-item:hover {
    border-color: rgba(200, 245, 66, 0.3);
}

.exp-left {
    padding: 32px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.exp-date {
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--muted);
}

.exp-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(200, 245, 66, 0.1);
    color: var(--accent);
    border: 1px solid rgba(200, 245, 66, 0.2);
    width: fit-content;
}

.exp-right {
    padding: 32px 40px;
}

.exp-company {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
}

.exp-role {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 20px;
}

.exp-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.exp-bullets li {
    color: rgba(232, 230, 240, 0.65);
    font-size: 12.5px;
    padding-left: 16px;
    position: relative;
}

.exp-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 11px;
}

/* ─── SKILLS ─── */
#skills {
    background: var(--surface);
}

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

.skill-group {
    background: var(--bg);
    padding: 36px 32px;
    border: 1px solid var(--border);
    transition: border-color 0.3s, background 0.3s;
}

.skill-group:hover {
    border-color: rgba(200, 245, 66, 0.2);
    background: rgba(10, 10, 15, 0.8);
}

.skill-group-title {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

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

.skill-tag {
    font-size: 12px;
    padding: 6px 14px;
    border: 1px solid var(--border);
    color: var(--muted);
    transition: all 0.2s;
    letter-spacing: 0.04em;
}

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

/* ─── PROJECTS ─── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    cursor: default;
}

.project-card:hover {
    border-color: rgba(200, 245, 66, 0.3);
    transform: translateY(-4px);
}

.project-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.project-card:hover::after {
    transform: scaleX(1);
}

.project-num {
    font-family: 'Syne', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: -3px;
    position: absolute;
    top: 16px;
    right: 24px;
    line-height: 1;
}

.project-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.project-desc {
    color: rgba(232, 230, 240, 0.55);
    font-size: 12.5px;
    line-height: 1.85;
    margin-bottom: 24px;
}

.project-metrics {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.metric {
    font-size: 11px;
    color: var(--accent);
    border: 1px solid rgba(200, 245, 66, 0.2);
    padding: 4px 12px;
    letter-spacing: 0.06em;
}

/* ─── EDUCATION & CERT ─── */
.edu-cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.edu-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.edu-school {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.edu-degree {
    font-size: 13px;
    color: rgba(232, 230, 240, 0.6);
    margin-bottom: 24px;
    line-height: 1.5;
}

.edu-detail {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.edu-gpa {
    font-family: 'Syne', sans-serif;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--accent);
}

.edu-gpa-label {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.1em;
}

/* ─── CONTACT ─── */
#contact {
    background:
        radial-gradient(ellipse 70% 60% at 50% 100%, rgba(123, 97, 255, 0.1) 0%, transparent 70%);
    text-align: center;
    padding: 120px 48px;
}

.contact-big {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(40px, 7vw, 100px);
    letter-spacing: -4px;
    line-height: 0.9;
    margin-bottom: 40px;
}

.contact-big span {
    color: var(--accent);
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 48px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--border);
    padding: 16px 28px;
    transition: all 0.25s;
}

.contact-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--glow);
    transform: translateY(-2px);
}

.contact-link svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ─── FOOTER ─── */
footer {
    padding: 32px 48px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 0.06em;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

/* ─── INTERNSHIP ─── */
.intern-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
    transition: border-color 0.3s;
}

.intern-card:hover {
    border-color: rgba(200, 245, 66, 0.3);
}

.intern-icon {
    width: 64px;
    height: 64px;
    background: rgba(200, 245, 66, 0.07);
    border: 1px solid rgba(200, 245, 66, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: var(--accent);
    letter-spacing: -1px;
    flex-shrink: 0;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--accent);
    z-index: 200;
    transition: width 0.1s;
}

/* Mobile */
@media (max-width: 768px) {
    nav {
        padding: 20px 24px;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 60px 24px;
    }

    .divider {
        margin: 0 24px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 120px 24px 60px;
        min-height: auto;
    }

    .hero-right {
        margin-top: 40px;
    }

    .exp-item {
        grid-template-columns: 1fr;
    }

    .exp-left {
        border-right: none;
        border-bottom: 1px solid var(--border);
        flex-direction: row;
        align-items: center;
        padding: 20px 24px;
    }

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

    .contact-big {
        letter-spacing: -2px;
    }

    footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}