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

:root {
    --bg-primary: #080808;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-hover: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.14);
    --text-primary: #e8e8ec;
    --text-secondary: #8a8a92;
    --text-muted: #4a4a52;
    --accent: #b0b0b8;
    --accent-glow: rgba(176, 176, 184, 0.08);
    --accent-secondary: #787880;
    --hero-gradient-start: #ffffff;
    --hero-gradient-end: #6a6a72;
}

[data-theme="light"] {
    --bg-primary: #fafafa;
    --bg-glass: rgba(255, 255, 255, 0.75);
    --bg-glass-hover: rgba(255, 255, 255, 0.9);
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-glass-hover: rgba(0, 0, 0, 0.16);
    --text-primary: #0a0a0a;
    --text-secondary: #3a3a42;
    --text-muted: #6a6a72;
    --accent: #3a3a42;
    --accent-glow: rgba(58, 58, 66, 0.10);
    --accent-secondary: #2a2a32;
    --hero-gradient-start: #0a0a0a;
    --hero-gradient-end: #6a6a72;
}

html {
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-animation::after {
    content: '';
    position: absolute;
    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");
    background-repeat: repeat;
    background-size: 256px 256px;
    opacity: 0.5;
    z-index: 1;
    mix-blend-mode: overlay;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 2rem;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
}

.nav-logo:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.nav-logo:active {
    transform: scale(0.95);
}

.logo-bracket {
    font-family: 'Hack', monospace;
    font-size: 1rem;
    font-weight: 400;
    color: var(--accent);
    transition: all 0.3s ease;
    opacity: 0.7;
}

.nav-logo:hover .logo-bracket {
    opacity: 1;
}

.nav-logo:hover .logo-bracket:first-child {
    transform: translateX(-2px);
}

.nav-logo:hover .logo-bracket:last-child {
    transform: translateX(2px);
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.nav-logo:hover .logo-text {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: none;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-btn:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
    border-color: var(--border-glass);
}

.nav-btn:hover svg {
    color: var(--accent);
    animation: navIconPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes navIconPop {
    0% { transform: scale(1); }
    50% { transform: scale(1.2) translateY(-1px); }
    100% { transform: scale(1.1); }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-social {
    display: flex;
    gap: 0.5rem;
}

.nav-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: transparent;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
}

.nav-social a:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
    border-color: var(--border-glass);
    transform: translateY(-2px);
}

.nav-social a svg,
.nav-btn svg {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-github .github-tail {
    transform-origin: 9px 19px;
    transition: transform 0.25s ease;
}

.icon-github:hover svg {
    animation: catStretch 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-github:hover .github-tail {
    animation: tailWag 0.25s ease-in-out 4;
}

@keyframes catStretch {
    0% { transform: scale(1) rotate(0deg); }
    20% { transform: scale(1.15, 0.9) rotate(-3deg); }
    50% { transform: scale(0.95, 1.1) rotate(2deg); }
    70% { transform: scale(1.05) rotate(-1deg); }
    100% { transform: scale(1) rotate(0deg); }
}

@keyframes tailWag {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    75% { transform: rotate(-15deg); }
}

.icon-linkedin .linkedin-head {
    transform-origin: 4px 4px;
    transition: transform 0.3s ease;
}

.icon-linkedin:hover svg {
    animation: connectPulse 0.5s ease-out;
}

.icon-linkedin:hover .linkedin-head {
    animation: waveHello 0.6s ease-in-out;
}

@keyframes connectPulse {
    0% { transform: scale(1); filter: brightness(1); }
    30% { transform: scale(1.08); filter: brightness(1.3); }
    100% { transform: scale(1); filter: brightness(1); }
}

@keyframes waveHello {
    0%, 100% { transform: translateY(0); }
    20% { transform: translateY(-2px); }
    40% { transform: translateY(0); }
    60% { transform: translateY(-1.5px); }
    80% { transform: translateY(0); }
}

.icon-email:hover svg {
    animation: emailPulse 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes emailPulse {
    0% { transform: scale(1); }
    25% { transform: scale(0.85); }
    50% { transform: scale(1.15); }
    75% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    user-select: text;
    -webkit-user-select: text;
}

p, h1, h2, h3, h4, h5, h6, span, li, a, .hero-description, .experience-content, .timeline-content {
    user-select: text;
    -webkit-user-select: text;
}

section {
    padding: 6rem 0;
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-number {
    font-family: 'Hack', monospace;
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
}

h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 6rem;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 1.5rem;
    color: #ffffff;
    background: linear-gradient(
        135deg,
        #4a4a52 0%,
        #8a8a92 15%,
        #c0c0c8 30%,
        #ffffff 50%,
        #c0c0c8 70%,
        #8a8a92 85%,
        #4a4a52 100%
    );
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: heroGradient 6s ease-in-out infinite;
    will-change: background-position, opacity;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.06));
}

@keyframes heroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-tagline {
    font-family: 'Hack', monospace;
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.hero-tagline::after {
    content: '|';
    color: var(--accent);
    animation: blink 1s step-end infinite;
    margin-left: 2px;
}

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

.tagline-bracket {
    color: var(--accent);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-description .highlight {
    color: var(--accent);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-button.primary {
    background: var(--accent);
    color: #000;
    border: 1px solid transparent;
    box-shadow: 0 0 30px var(--accent-glow);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button.primary:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(176, 176, 184, 0.06);
}

.cta-button.primary:hover svg {
    transform: translateX(4px);
}

.cta-button.secondary {
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
}

.cta-button.secondary:hover {
    border-color: rgba(176, 176, 184, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(176, 176, 184, 0.06);
    background: rgba(255, 255, 255, 0.04);
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-location svg {
    animation: locationPing 2s ease-in-out infinite;
}

@keyframes locationPing {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.experience-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.experience-card:hover {
    border-color: rgba(176, 176, 184, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(176, 176, 184, 0.06);
    background: rgba(255, 255, 255, 0.04);
}

.company-logo {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.company-logo img,
.company-logo svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.experience-card:hover .company-logo {
    border-color: rgba(255, 255, 255, 0.2);
}

.experience-card:hover .company-logo img,
.experience-card:hover .company-logo svg {
    transform: scale(1.1);
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(192, 192, 200, 0.2), 0 0 40px rgba(138, 138, 146, 0.08);
    }
    50% {
        box-shadow: 0 0 35px rgba(192, 192, 200, 0.15), 0 0 50px rgba(138, 138, 146, 0.12), 0 0 65px rgba(106, 106, 114, 0.08);
    }
}

@keyframes obsidianPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(192, 192, 200, 0.15), 0 0 40px rgba(138, 138, 146, 0.08), 0 0 60px rgba(106, 106, 114, 0.05);
    }
    33% {
        box-shadow: 0 0 15px rgba(192, 192, 200, 0.08), 0 0 30px rgba(138, 138, 146, 0.15), 0 0 50px rgba(106, 106, 114, 0.08);
    }
    66% {
        box-shadow: 0 0 15px rgba(192, 192, 200, 0.05), 0 0 25px rgba(138, 138, 146, 0.08), 0 0 45px rgba(106, 106, 114, 0.15);
    }
}

.experience-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.company-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    line-height: 1.5;
}

.career-git {
    margin: 0.75rem 0 0.25rem;
    padding-left: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.git-line {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Hack', monospace;
    font-size: 0.72rem;
    position: relative;
    padding-left: 1.25rem;
}

.git-line::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 100%;
    width: 1px;
    height: 0.35rem;
    background: var(--text-muted);
    opacity: 0.25;
}

.git-line:last-child::before {
    display: none;
}

.git-dot {
    position: absolute;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--text-muted);
    background: var(--bg-primary);
    flex-shrink: 0;
}

.git-dot--head {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent-glow);
}

.git-hash {
    color: var(--accent);
    opacity: 0.7;
    min-width: 3.5rem;
}

.git-line:first-child .git-hash {
    opacity: 1;
    font-weight: 700;
}

.git-role {
    color: var(--text-primary);
}

.git-line:last-child .git-role {
    color: var(--text-muted);
}

.git-date {
    color: var(--text-muted);
    opacity: 0.6;
    margin-left: auto;
    font-size: 0.6rem;
}

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

.company-name {
    font-family: 'Hack', monospace;
    font-size: 0.85rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

.experience-date {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Hack', monospace;
    font-size: 0.75rem;
    color: var(--text-primary);
    background: var(--bg-glass);
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    border: 1px solid var(--border-glass);
    z-index: 3;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.experience-content > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.experience-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.experience-list li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.625rem;
}

.experience-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.experience-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.experience-tech span {
    font-family: 'Hack', monospace;
    font-size: 0.75rem;
    padding: 0.4rem 0.875rem;
    border-radius: 8px;
    background: rgba(176, 176, 184, 0.08);
    border: 1px solid rgba(176, 176, 184, 0.1);
    color: var(--text-muted);
    transition: background 0.2s ease, color 0.2s ease;
}

.experience-tech span:hover {
    background: rgba(176, 176, 184, 0.15);
    color: var(--accent);
}

.experience {
    overflow: hidden;
}

.tech-terminal {
    border-radius: 14px;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    overflow: hidden;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-glass);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dots span {
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.terminal-dots span:hover {
    transform: scale(1.3);
    opacity: 1 !important;
}

.terminal-dots span:active {
    transform: scale(0.9);
}

.terminal-dots span:first-child { background: #ff5f57; opacity: 0.7; }
.terminal-dots span:nth-child(2) { background: #febc2e; opacity: 0.7; }
.terminal-dots span:last-child { background: #28c840; opacity: 0.7; }

@keyframes terminalShake {
    0%, 100% { transform: translateX(0); }
    15% { transform: translateX(-6px) rotate(-0.5deg); }
    30% { transform: translateX(5px) rotate(0.5deg); }
    45% { transform: translateX(-4px); }
    60% { transform: translateX(3px); }
    75% { transform: translateX(-2px); }
}

.terminal-title {
    font-family: 'Hack', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.terminal-body {
    padding: 1.5rem;
}

.tech-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.tech-group {
    opacity: 0;
    transform: translateY(10px);
}

.tech-group-header {
    margin-bottom: 0.6rem;
    font-family: 'Hack', monospace;
    font-size: 0.78rem;
}

.tech-key {
    color: var(--accent);
}

.tech-colon {
    color: var(--text-muted);
}

.tech-bracket {
    color: var(--text-muted);
    font-weight: 600;
}

.tech-bracket-close {
    display: block;
    font-family: 'Hack', monospace;
    font-size: 0.78rem;
    margin-top: 0.5rem;
    color: var(--text-muted);
}

.tech-values {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-left: 1.5rem;
}

.tech-tag {
    font-family: 'Hack', monospace;
    font-size: 0.75rem;
    padding: 0.4rem 0.875rem;
    border-radius: 8px;
    background: rgba(176, 176, 184, 0.08);
    border: 1px solid rgba(176, 176, 184, 0.1);
    color: var(--text-muted);
    cursor: default;
    transition: background 0.2s ease, color 0.2s ease;
}

.tech-tag::before {
    content: '"';
    color: var(--accent-secondary);
    opacity: 0.6;
}

.tech-tag::after {
    content: '"';
    color: var(--accent-secondary);
    opacity: 0.6;
}

.tech-tag:hover {
    background: rgba(176, 176, 184, 0.15);
    color: var(--accent);
}

.terminal-cursor {
    margin-top: 1.5rem;
    font-family: 'Hack', monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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


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

.timeline-item {
    position: relative;
}

.timeline-marker {
    display: none;
}

.timeline-content {
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-content:hover {
    border-color: rgba(176, 176, 184, 0.2);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(176, 176, 184, 0.06);
    background: rgba(255, 255, 255, 0.04);
}

.timeline-date {
    font-family: 'Hack', monospace;
    font-size: 0.8rem;
    color: var(--accent);
    display: block;
    margin-bottom: 0.75rem;
}

.timeline-content h3 {
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 2;
}

.degree {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.timeline-content > p:last-child {
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

.projects {
    overflow: hidden;
}

.projects-grid {
    display: grid;
    gap: 1.5rem;
}

.project-card {
    padding: 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    border-color: rgba(176, 176, 184, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(176, 176, 184, 0.06);
    background: rgba(255, 255, 255, 0.04);
}

.project-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-family: 'Hack', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.6rem;
    border-radius: 100px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.2);
    color: #eab308;
    font-size: 0.65rem;
    letter-spacing: 0.04em;
}

.project-repo-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(176, 176, 184, 0.08);
    border: 1px solid rgba(176, 176, 184, 0.12);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.project-repo-btn:hover {
    background: rgba(176, 176, 184, 0.15);
    color: var(--text-primary);
    transform: scale(1.1);
}

.project-repo-btn:active {
    transform: scale(0.9);
}

.project-card h3 {
    margin-bottom: 0.5rem;
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tech span {
    font-family: 'Hack', monospace;
    font-size: 0.75rem;
    padding: 0.4rem 0.875rem;
    border-radius: 8px;
    background: rgba(176, 176, 184, 0.08);
    border: 1px solid rgba(176, 176, 184, 0.1);
    color: var(--text-muted);
    transition: background 0.2s ease, color 0.2s ease;
}

.project-tech span:hover {
    background: rgba(176, 176, 184, 0.15);
    color: var(--accent);
}

.contact {
    text-align: center;
    padding: 8rem 0;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-label {
    font-family: 'Hack', monospace;
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1rem;
}

.contact h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-intro {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-btn {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 1.25rem 1.75rem;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-btn:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 20px 50px rgba(192, 192, 200, 0.15);
}

.btn-scanner {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(192, 192, 200, 0.15), transparent);
}

.contact-btn:hover .btn-scanner {
    animation: scannerSlide 0.6s ease forwards;
}

@keyframes scannerSlide {
    from { left: -100%; }
    to { left: 100%; }
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.btn-icon {
    position: relative;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.btn-icon svg {
    color: #000;
    transition: all 0.3s ease;
}

.contact-btn:hover .btn-icon {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--accent-glow);
}

.contact-btn:hover .btn-icon svg {
    animation: mailWiggle 0.5s ease;
}

@keyframes mailWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

.btn-ping {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent);
    border-radius: 12px;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.contact-btn:hover .btn-ping {
    animation: pingExpand 1s ease-out 2;
}

@keyframes pingExpand {
    0% { width: 100%; height: 100%; opacity: 0.5; }
    100% { width: 150%; height: 150%; opacity: 0; }
}

.btn-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex: 1;
}

.btn-label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-btn:hover .btn-label {
    color: var(--accent);
}

.btn-sublabel {
    font-family: 'Hack', monospace;
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.contact-btn:hover .btn-sublabel {
    color: var(--text-secondary);
}

.btn-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-btn:hover .btn-status {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.1);
}

.btn-status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.btn-status-text {
    font-family: 'Hack', monospace;
    font-size: 0.65rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    font-weight: 500;
}

footer {
    padding: 1rem 2rem;
    border-top: 1px solid var(--border-glass);
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Hack', monospace;
    font-size: 0.6rem;
    color: var(--text-muted);
    gap: 1rem;
}

.footer-left,
.footer-right {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 80px;
}

.footer-right {
    justify-content: flex-end;
}

.footer-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
    animation: indicatorPulse 2s ease-in-out infinite;
}

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

.footer-sys {
    color: #22c55e;
    opacity: 0.8;
    letter-spacing: 0.08em;
}

.footer-copy {
    font-size: 0.6rem;
    color: var(--text-muted);
    text-align: center;
    opacity: 0.6;
}

.footer-uptime {
    opacity: 0.5;
    letter-spacing: 0.03em;
}

.copy-toast,
.reaction-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid var(--border-glass-hover);
    border-radius: 10px;
    font-family: 'Hack', monospace;
    font-size: 0.72rem;
    color: var(--text-primary);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.copy-toast.visible,
.reaction-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.copy-toast svg {
    flex-shrink: 0;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(30px);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    z-index: 999;
    padding: 0;
}

.back-to-top svg {
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

.back-to-top.visible {
    pointer-events: auto;
}

.back-to-top:hover {
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.07);
}


.back-to-top:active {
    background: rgba(255, 255, 255, 0.1);
}

.theme-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.theme-toggle:hover {
    color: var(--text-primary);
    background: var(--bg-glass);
    border-color: var(--border-glass);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle:hover svg {
    transform: rotate(20deg) scale(1.1);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    position: absolute;
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0);
}

.theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0);
}

.theme-toggle.toggling {
    animation: togglePop 0.4s ease;
}

@keyframes togglePop {
    0% { transform: scale(1); }
    30% { transform: scale(0.8); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

body,
nav,
.experience-card,
.project-card,
.timeline-content,
.tech-terminal,
.contact-btn,
.cta-button,
.back-to-top,
.mobile-menu,
.nav-social a,
.nav-btn,
.theme-toggle,
.experience-tech span,
.project-tech span,
.tech-tag,
.btn-status,
.experience-date {
    transition: background-color 0.6s ease,
                border-color 0.6s ease,
                color 0.6s ease,
                box-shadow 0.6s ease;
}

.hero h1,
h2, h3,
.gradient-text {
    transition: color 0.6s ease;
}

.theme-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.theme-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    opacity: 0.15;
    pointer-events: none;
}

.theme-ripple.light {
    background: radial-gradient(circle, rgba(192, 192, 200, 0.4) 0%, rgba(192, 192, 200, 0.2) 50%, transparent 70%);
}

.theme-ripple.dark {
    background: radial-gradient(circle, rgba(192, 192, 200, 0.4) 0%, rgba(192, 192, 200, 0.2) 50%, transparent 70%);
}

.theme-ripple.expanding {
    animation: rippleExpand 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes rippleExpand {
    0% {
        transform: scale(0);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: var(--bg-glass);
    border-color: var(--border-glass);
}

.hamburger-line {
    width: 18px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.hamburger-line:nth-child(1) {
    margin-bottom: 4px;
}

.hamburger-line:nth-child(3) {
    margin-top: 4px;
}

.hamburger:hover .hamburger-line {
    background: var(--text-primary);
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-menu-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.active .mobile-menu-links li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-links li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-links li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-links li:nth-child(4) { transition-delay: 0.25s; }

.mobile-menu-links a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-menu-links a:hover {
    color: var(--accent);
    background: var(--bg-glass);
}

.mobile-menu-links a svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.mobile-menu-links a:hover svg {
    transform: scale(1.1);
    color: var(--accent);
}

.mobile-menu-social {
    display: flex;
    gap: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease 0.3s, transform 0.3s ease 0.3s;
}

.mobile-menu.active .mobile-menu-social {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.mobile-menu-social a:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

[data-theme="light"] .bg-grid {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

[data-theme="light"] nav,
[data-theme="light"] .experience-card,
[data-theme="light"] .timeline-content,
[data-theme="light"] .tech-terminal,
[data-theme="light"] .contact-btn,
[data-theme="light"] .project-card {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] nav:hover,
[data-theme="light"] .experience-card:hover,
[data-theme="light"] .timeline-content:hover,
[data-theme="light"] .contact-btn:hover,
[data-theme="light"] .project-card:hover {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .project-repo-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .project-repo-btn:hover {
    background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .experience-tech span,
[data-theme="light"] .project-tech span,
[data-theme="light"] .tech-tag {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-muted);
}

[data-theme="light"] .experience-tech span:hover,
[data-theme="light"] .project-tech span:hover,
[data-theme="light"] .tech-tag:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--accent);
}

[data-theme="light"] .cta-button.secondary {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.95);
}

[data-theme="light"] .back-to-top {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-muted);
}

[data-theme="light"] .back-to-top:hover {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.06);
}


[data-theme="light"] .nav-social a:hover,
[data-theme="light"] .nav-btn:hover,
[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .mobile-menu {
    background: rgba(245, 245, 246, 0.88);
    backdrop-filter: blur(24px) saturate(1.6);
}

[data-theme="light"] .mobile-menu-social a {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .expand-btn:hover {
    border-bottom-color: var(--accent);
}

[data-theme="light"] .nav-logo {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav-logo:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .logo-bracket {
    color: var(--accent);
}


[data-theme="light"] nav {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero h1 {
    color: #0a0a0a;
    background: linear-gradient(
        135deg,
        #6a6a72 0%,
        #3a3a42 15%,
        #0a0a0a 30%,
        #2a2a2e 50%,
        #0a0a0a 70%,
        #3a3a42 85%,
        #6a6a72 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

[data-theme="light"] .cta-button.primary {
    color: #fff;
}

[data-theme="light"] .company-logo {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .experience-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .terminal-bar {
    background: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .timeline-content:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .card {
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .contact-btn {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .contact-btn:hover {
    box-shadow: 0 12px 40px rgba(74, 74, 82, 0.12);
}

[data-theme="light"] .btn-icon {
    background: linear-gradient(135deg, #2a2a32, #3a3a42);
}

[data-theme="light"] .btn-icon svg {
    color: #fafafa;
}

[data-theme="light"] footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .gradient-text {
    background: linear-gradient(135deg, #0a0a0a, #3a3a42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    header {
        padding: 0.75rem 1rem;
    }

    nav {
        padding: 0.75rem 1rem;
    }

    .nav-links {
        display: none;
    }

    .nav-right .nav-social {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-logo {
        position: static;
    }

    main {
        padding: 0 1.25rem;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .experience-card {
        flex-direction: column;
        padding: 1.5rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .footer-status-bar {
        font-size: 0.5rem;
    }

    .contact h2 {
        font-size: 1.75rem;
    }

    .tech-values {
        padding-left: 0.75rem;
    }

    .tech-tag {
        font-size: 0.72rem;
        padding: 0.35rem 0.7rem;
    }

    section {
        padding: 4rem 0;
    }

    .contact {
        padding: 5rem 0;
    }

    .experience-date {
        position: static;
        align-self: flex-start;
        margin-bottom: 0.75rem;
    }

    .git-hash {
        display: none;
    }

    .logo-tooltip {
        white-space: normal;
        max-width: 220px;
    }

    .project-card {
        padding: 1.5rem;
    }

    .contact-btn {
        padding: 1rem 1.25rem;
    }

    .btn-status {
        display: none;
    }

    .btn-label {
        font-size: 0.95rem;
    }

    .btn-sublabel {
        font-size: 0.6rem;
    }

    .btn-icon {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    h2 {
        font-size: 1.5rem;
        gap: 0.6rem;
    }

    .contact h2 {
        font-size: 1.4rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    .git-line {
        font-size: 0.65rem;
    }

    .terminal-title {
        display: none;
    }

    .btn-icon {
        width: 38px;
        height: 38px;
    }

    .btn-label {
        font-size: 0.85rem;
    }

    .back-to-top {
        bottom: 1.25rem;
        right: 1.25rem;
    }
}

@media (hover: none) {
    .experience-card:hover,
    .project-card:hover,
    .contact-btn:hover {
        transform: none;
    }

    .nav-social a:hover {
        transform: none;
    }

    .mobile-menu-social a:hover {
        transform: none;
    }
}

section[id] {
    scroll-margin-top: 100px;
}

::selection {
    background: rgba(192, 192, 200, 0.3);
    color: #ffffff;
}

a, button {
    cursor: pointer;
}

.logo-tooltip {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 0.75rem 1rem;
    background: #0a0a0c;
    border: 1px solid #2a2a30;
    border-left: 3px solid var(--accent);
    border-radius: 0 6px 6px 0;
    font-family: 'Hack', monospace;
    font-size: 0.75rem;
    color: #d4d4d8;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.logo-tooltip::before {
    content: '$ echo';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 0.6rem;
    color: #888;
    opacity: 0.6;
}

.logo-tooltip::after {
    content: '_';
    margin-left: 2px;
    animation: cursorBlink 0.8s step-end infinite;
}

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

.logo-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.logo-tooltip.show::before {
    animation: typeCommand 0.3s ease forwards;
}

@keyframes typeCommand {
    from { opacity: 0; transform: translateX(-5px); }
    to { opacity: 0.6; transform: translateX(0); }
}

.expandable-card {
    position: relative;
}

.expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
    margin-top: 1rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    position: relative;
    z-index: 5;
    transition: all 0.3s ease;
}

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

.expand-text {
    font-family: 'Hack', monospace;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.expand-btn:hover .expand-text {
    color: var(--accent);
}

.expand-chevron {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.expand-btn:hover .expand-chevron {
    color: var(--accent);
}

.card-expanded .expand-chevron,
.timeline-expanded .expand-chevron {
    transform: rotate(180deg);
}

.card-expanded .expand-btn:hover .expand-chevron,
.timeline-expanded .expand-btn:hover .expand-chevron {
    transform: rotate(180deg);
}

