/* ========================================
   Variables & Reset
   ======================================== */
:root {
    --bg-primary: #faf8f5;
    --bg-secondary: #f2efe9;
    --bg-card: #ffffff;
    --bg-card-hover: #fdfcfa;
    --border: #e5e0d8;
    --border-light: #cdc6bb;

    --accent: #c2703e;
    --accent-light: #d4854f;
    --accent-glow: rgba(194, 112, 62, 0.1);
    --accent-gradient: linear-gradient(135deg, #c2703e, #a85d32);

    --text-primary: #2a2520;
    --text-secondary: #5c5550;
    --text-muted: #8a7e72;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-display: 'DM Serif Display', Georgia, serif;

    --nav-height: 72px;
    --container-width: 1100px;
    --section-padding: 120px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: white;
}

a {
    color: var(--accent-light);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--text-primary);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Navigation
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 20px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-logo:hover {
    color: var(--accent-light);
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s;
    position: relative;
}

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

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: var(--nav-height) 24px 0;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

.hero-content {
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}


.hero-greeting {
    font-family: var(--font-sans);
    color: var(--text-secondary);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards 0.2s;
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(60px, 10vw, 100px);
    font-weight: 400;
    letter-spacing: -1px;
    line-height: 1.05;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards 0.4s;
}

.hero-dot {
    -webkit-text-fill-color: var(--accent);
}

.hero-role {
    font-family: var(--font-mono);
    font-size: clamp(14px, 2vw, 18px);
    color: var(--text-secondary);
    margin-bottom: 24px;
    min-height: 28px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards 0.6s;
}

.hero-role-prefix {
    color: var(--accent-light);
}

.hero-cursor {
    animation: blink 1s step-end infinite;
    color: var(--accent-light);
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards 0.8s;
}

.hero-cta {
    display: flex;
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards 1s;
}

.hero-socials {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards 1.1s;
}

.hero-socials a {
    color: var(--text-muted);
    transition: color 0.2s, transform 0.2s;
    display: flex;
}

.hero-socials a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.hero-socials svg {
    width: 20px;
    height: 20px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    font-family: var(--font-mono);
    letter-spacing: 2px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards 1.4s;
}

.hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

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

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

.btn-lg {
    padding: 16px 40px;
    font-size: 17px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
    background: var(--accent);
    color: white;
}

.btn-sm:hover {
    background: var(--accent-light);
    color: white;
}

.btn-outline-sm {
    background: transparent;
    color: var(--accent-light);
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 6px;
}

.btn-outline-sm:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

/* ========================================
   Sections
   ======================================== */
.section {
    padding: var(--section-padding) 0;
}

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

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 56px;
    letter-spacing: -0.5px;
}

.section-number {
    font-family: var(--font-mono);
    color: var(--accent-light);
    font-size: 18px;
    font-weight: 500;
    margin-right: 12px;
}

/* ========================================
   About Section
   ======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: start;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

.about-image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.4s;
}

.about-image:hover img {
    filter: grayscale(0%);
}

.about-image-border {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: 12px;
    opacity: 0.3;
    transition: all 0.4s;
}

.about-image-wrapper:hover .about-image-border {
    top: 12px;
    left: 12px;
    opacity: 0.5;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

.about-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.about-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.about-detail-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.about-detail-value {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* ========================================
   Experience Section
   ======================================== */
.experience-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.experience-card:hover {
    border-color: var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.experience-header {
    padding: 32px 32px 24px;
    border-bottom: 1px solid var(--border);
}

.experience-company {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.experience-company h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.experience-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    background: var(--accent-glow);
    color: var(--accent-light);
    border: 1px solid rgba(194, 112, 62, 0.2);
}

.experience-role {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 4px;
}

.experience-period {
    color: var(--text-muted);
    font-size: 13px;
    font-family: var(--font-mono);
}

.experience-body {
    padding: 32px;
}

.experience-body > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 15px;
}

.experience-body strong {
    color: var(--text-primary);
}

.experience-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.highlight-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-glow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent-light);
}

.highlight-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.highlight-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.experience-tech span {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* ========================================
   Projects Section
   ======================================== */
/* Collapsible */
.collapsible-wrapper {
    margin-top: 24px;
}

.collapsible-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.collapsible-toggle:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

.collapsible-toggle svg {
    transition: transform 0.3s;
}

.collapsible-toggle.active svg {
    transform: rotate(180deg);
}

.collapsible-toggle.active {
    border-color: var(--accent);
    color: var(--accent-light);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
}

.collapsible-content.open {
    opacity: 1;
}

/* Subsection titles */
.subsection-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

/* Presentations */
.presentations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.presentation-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    gap: 16px;
}

.presentation-venue {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.presentation-location {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Awards */
.awards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.award-item {
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
}

.award-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.award-detail {
    font-size: 12px;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.project-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.project-card:hover::before {
    opacity: 1;
}

.project-label {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-light);
    margin-bottom: 12px;
}

.project-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.project-card > p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.project-detail {
    color: var(--text-muted) !important;
    font-size: 14px !important;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.project-tech span {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* ========================================
   Research Section
   ======================================== */
.research-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
}

.research-venue {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.research-badge {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--accent-glow);
    color: var(--accent);
    border: 1px solid rgba(194, 112, 62, 0.25);
}

.research-type {
    font-size: 13px;
    color: var(--text-muted);
}

.research-card h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

.research-card > p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.research-card strong {
    color: var(--text-primary);
}

.research-links {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.research-interests {
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.research-interests h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

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

.research-tags span {
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 8px;
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.research-tags span:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

/* ========================================
   Education Section
   ======================================== */
.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.education-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.education-card:hover {
    border-color: var(--border-light);
    transform: translateY(-2px);
}

.education-status {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 16px;
    background: rgba(234, 179, 8, 0.1);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.education-status.completed {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.2);
}

.education-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.education-degree {
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 4px;
}

.education-focus {
    color: var(--accent-light);
    font-size: 14px;
    margin-bottom: 8px;
}

.education-detail {
    color: var(--text-muted);
    font-size: 13px;
}

/* ========================================
   Skills Section
   ======================================== */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: border-color 0.3s;
}

.skill-category:hover {
    border-color: var(--border-light);
}

.skill-category h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.skill-tags span {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.skill-tags span:hover {
    border-color: var(--accent);
    color: var(--accent-light);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: var(--section-padding) 0 40px;
    text-align: center;
}

.footer-content {
    margin-bottom: 80px;
}

.footer-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.footer-socials a {
    color: var(--text-muted);
    transition: all 0.3s;
    padding: 8px;
}

.footer-socials a:hover {
    color: var(--accent-light);
    transform: translateY(-3px);
}

.footer-socials svg {
    width: 22px;
    height: 22px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
    font-family: var(--font-mono);
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
    :root {
        --section-padding: 80px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        max-width: 240px;
    }

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

    .education-grid,
    .skills-grid,
    .awards-grid {
        grid-template-columns: 1fr;
    }

    .presentation-item {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 680px) {
    :root {
        --section-padding: 64px;
        --nav-height: 60px;
    }

    .nav {
        background: #faf8f5;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: 0 1px 0 var(--border);
    }

    .nav.scrolled {
        background: #faf8f5;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 28px;
        height: 28px;
        padding: 0;
    }

    .nav-toggle span {
        position: relative;
        top: auto;
        width: 22px;
        height: 2px;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .nav-toggle.active span:nth-child(1) {
        top: auto;
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav-toggle.active span:nth-child(3) {
        top: auto;
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: #faf8f5;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 12px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 999;
    }

    .nav-links.open {
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        font-size: 20px;
        font-weight: 500;
        color: var(--text-primary);
        padding: 12px 24px;
        border-radius: 12px;
        transition: background 0.2s, color 0.2s;
    }

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

    .nav-links a::after {
        display: none;
    }

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

    .hero-description {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        text-align: center;
        justify-content: center;
    }

    .hero-scroll {
        display: none;
    }

    .section-title {
        font-size: 26px;
    }

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

    .experience-header,
    .experience-body {
        padding: 24px;
    }

    .research-card {
        padding: 24px;
    }

    .footer-title {
        font-size: 36px;
    }
}

/* Noise texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}
