/* Reset and Base Styles */
:root {
    --bg-color: #050508;
    --bg-secondary: #0a0a0f;
    --bg-card: rgba(22, 22, 30, 0.45);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --accent-color: #00d2ff;
    --accent-secondary: #3a7bd5;
    --accent-violet: #8b5cf6;
    --accent-success: #34d399;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-card: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Space Grotesk', var(--font-family);
    --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}

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

html {
    scroll-behavior: smooth;
    /* Hide default cursor to use custom cursor */
    cursor: none;
}

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

/* Subtle grid backdrop */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 20%, transparent 100%);
    mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, black 20%, transparent 100%);
    z-index: -3;
    pointer-events: none;
}

/* Film-grain noise */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

::selection {
    background: rgba(0, 210, 255, 0.25);
    color: #fff;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-violet));
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 1002;
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.5);
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 210, 255, 0.5);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

/* Background Orbs */
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-secondary), transparent 70%);
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-color), transparent 70%);
    bottom: 20%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #7e22ce, transparent 70%);
    top: 40%;
    left: 40%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* Typography & Layout */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    scroll-margin-top: 90px;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: none; /* Let custom cursor handle hover state */
}

/* Glassmorphism Utilities */
.glass-nav, .glass-card, .glass-footer {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
}

.glass-card {
    position: relative;
}

/* Gradient hairline along the top edge of cards */
.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.6), rgba(139, 92, 246, 0.6), transparent);
    opacity: 0.7;
    pointer-events: none;
    z-index: 3;
}

.glass-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    font-weight: 500;
    transition: var(--transition-smooth);
    backdrop-filter: blur(8px);
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(0, 210, 255, 0.3);
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-color));
    border: none;
    color: #fff;
}

.primary-btn:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    box-shadow: 0 10px 20px -5px rgba(0, 210, 255, 0.4);
}

.glow-text {
    background: linear-gradient(to right, #fff, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.gradient-text {
    background: linear-gradient(to right, #a1a1aa, #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Spotlight Hover Effect */
.spotlight-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.spotlight-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255,255,255,0.06),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

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

.spotlight-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

/* Section Globals */
.section {
    padding: 120px 0;
    position: relative;
}

.section-head {
    margin-bottom: 50px;
}

.section-head.center {
    text-align: center;
}

.section-overline {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 12px;
    opacity: 0.9;
}

.section-overline::before {
    content: '// ';
    color: var(--text-muted);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    z-index: 1000;
    padding: 16px 24px;
    border-radius: var(--radius-full);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 10px 24px;
    background: rgba(8, 8, 12, 0.72);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.55);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.nav-brand {
    font-size: 1.25rem;
    font-weight: 700;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}

.nav-brand::after {
    content: '_';
    color: var(--accent-color);
    animation: blink 1.2s steps(1) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-violet));
    transition: width 0.3s ease;
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-color);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: none;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    margin-bottom: 24px;
    border-radius: var(--radius-full);
    background: rgba(52, 211, 153, 0.08);
    border: 1px solid rgba(52, 211, 153, 0.25);
    color: var(--accent-success);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    backdrop-filter: blur(8px);
}

.pulse-dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-success);
    flex-shrink: 0;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid var(--accent-success);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.9); opacity: 0; }
}

.profile-img-container {
    position: relative;
    margin-bottom: 32px;
}

.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 2px solid rgba(255,255,255,0.1);
}

.img-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-color), var(--accent-violet), var(--accent-secondary), var(--accent-color));
    z-index: 1;
    animation: spin 4s linear infinite;
    filter: blur(10px);
    opacity: 0.7;
}

@keyframes spin {
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.typing-container {
    font-size: clamp(2.6rem, 7vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    background: linear-gradient(120deg, #ffffff 0%, #dbe4ff 35%, var(--accent-color) 70%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(0, 210, 255, 0.2));
}

.subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.affiliation {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Tech Marquee */
.marquee {
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.015);
    overflow: hidden;
    padding: 18px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 32s linear infinite;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}

.marquee-group span {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
}

.marquee-group i {
    color: var(--accent-color);
    font-style: normal;
    font-size: 0.7rem;
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* About Bento */
.about-bento {
    padding: 40px;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-bento strong {
    color: var(--text-primary);
}

.about-bento p {
    margin-bottom: 20px;
}
.about-bento p:last-child {
    margin-bottom: 0;
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent-color) 8%, var(--accent-violet) 85%, transparent);
    opacity: 0.45;
}

.timeline-item {
    position: relative;
    padding-left: 64px;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: 17px;
    top: 32px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    z-index: 2;
}

/* The current role gets a pulsing green dot */
.timeline-item.is-current .timeline-dot {
    background: var(--accent-success);
    border-color: var(--accent-success);
    box-shadow: 0 0 12px var(--accent-success);
}

.timeline-item.is-current .timeline-dot::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid var(--accent-success);
    animation: pulse-ring 2s ease-out infinite;
}

.timeline-content {
    padding: 32px;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 12px;
}

.exp-header h3 {
    font-size: 1.3rem;
}

.exp-badge, .glow-badge {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.exp-badge.badge-current, .glow-badge.badge-current {
    background: rgba(52, 211, 153, 0.08);
    color: var(--accent-success);
    border-color: rgba(52, 211, 153, 0.25);
}

.company {
    font-weight: 500;
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.exp-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-secondary);
}

.exp-bullets li {
    position: relative;
    padding-left: 24px;
}

.exp-bullets li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.tag:hover {
    border-color: rgba(0, 210, 255, 0.4);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Publications */
.publication {
    padding: 40px;
}

.publication h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.authors {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.authors strong {
    color: var(--accent-color);
}

.badge {
    display: inline-block;
    font-family: var(--font-mono);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    background: rgba(126, 34, 206, 0.15);
    color: #c084fc;
    border: 1px solid rgba(126, 34, 206, 0.3);
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.abstract {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Projects Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.project {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.project h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.project p {
    color: var(--text-secondary);
    flex-grow: 1;
    margin-bottom: 24px;
}

/* Certificates Section */
.cert-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.cert-filter.active {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-color));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    perspective: 1000px;
}

.cert-card {
    padding: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.1s;
    will-change: transform;
}

.cert-card.hide {
    display: none;
}

.cert-magic-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform: translateZ(30px);
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cert-card:hover .cert-img {
    transform: scale(1.1);
}

.cert-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 40%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cert-card:hover .cert-overlay {
    opacity: 1;
}

.cert-tag {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    background: rgba(0, 210, 255, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(0, 210, 255, 0.3);
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.cert-title {
    font-size: 1.1rem;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
    line-height: 1.4;
    font-weight: 600;
}

.cert-card:hover .cert-tag,
.cert-card:hover .cert-title {
    transform: translateY(0);
}

/* Contact */
.contact-container {
    padding: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-center {
    text-align: center;
}

.email-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 24px 0 40px;
}

.contact-email {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    display: inline-block;
}

.copy-btn {
    padding: 10px 16px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
}

.copy-btn.copied {
    border-color: var(--accent-success);
    color: var(--accent-success);
    box-shadow: 0 10px 20px -10px rgba(52, 211, 153, 0.4);
}

.address-box {
    text-align: center;
    color: var(--text-muted);
}

/* Back to Top */
.scroll-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 900;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 18, 24, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: var(--transition-smooth);
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.25);
    transform: translateY(-3px);
}

/* Footer */
footer {
    text-align: center;
    padding: 32px 0;
    border-top: none; /* using glass-footer border instead */
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
}

/* Animations (Reveal Classes) */
.reveal {
    opacity: 0;
    visibility: hidden;
}

.reveal.active {
    opacity: 1;
    visibility: visible;
}

.reveal.slide-up {
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

.reveal.slide-up.active {
    transform: translateY(0);
}

.reveal.slide-right {
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
}

.reveal.slide-right.active {
    transform: translateX(0);
}

.hero.reveal {
    animation: fadeUpIn 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes fadeUpIn {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    html, a, .hamburger {
        cursor: auto; /* disable custom cursor on mobile */
    }
    .cursor-dot, .cursor-outline {
        display: none;
    }

    .navbar {
        width: 100%;
        top: 0;
        border-radius: 0;
        border-top: none;
        border-left: none;
        border-right: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(10, 10, 12, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-smooth);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .typing-container {
        font-size: 2.5rem;
    }

    .status-chip {
        font-size: 0.72rem;
        padding: 6px 14px;
    }

    .marquee-group span {
        font-size: 0.8rem;
    }

    .timeline::before {
        left: 15px;
    }
    .timeline-item {
        padding-left: 40px;
    }
    .timeline-dot {
        left: 7px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-email {
        font-size: 1.5rem;
    }

    .scroll-top {
        right: 18px;
        bottom: 18px;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .marquee-track {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}
