/* CSS Variables - Professional Color Scheme */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --surface: #1a1a25;
    --surface-muted: #16161f;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-tertiary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.45);
    --accent: #fbbf24;
    --accent-soft: #f59e0b;
    --accent-light: rgba(251, 191, 36, 0.1);
    --border-light: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.15);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.4);
    --shadow-strong: 0 30px 80px rgba(0, 0, 0, 0.85);
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('public/hero-grid.svg');
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    z-index: -1;
    animation: fadeIn 1s ease-out;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 24px;
        max-width: 1024px;
    }
}

/* Sticky Header */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

@media (min-width: 768px) {
    .header-content {
        padding: 16px 0;
    }
}

.logo button {
    width: 32px;
    height: 32px;
    background: var(--accent-light);
    border: 1px solid rgba(251, 191, 36, 0.4);
    border-radius: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.logo button:hover {
    background: var(--accent);
    color: #000;
}

.desktop-nav {
    display: none;
    gap: 24px;
    align-items: center;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.desktop-nav button {
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.desktop-nav button:hover {
    color: var(--accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-menu nav button {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.mobile-menu nav button:hover {
    color: var(--accent);
}

.mobile-lang-switcher {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding: 4px;
    border: 1px solid var(--border-medium);
    border-radius: 9999px;
}

.mobile-lang-switcher button {
    padding: 8px 16px;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: var(--text-tertiary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.mobile-lang-switcher button.active {
    background: var(--accent);
    color: #000;
}

.language-switcher {
    display: flex;
    gap: 4px;
    padding: 2px;
    border: 1px solid var(--border-medium);
    border-radius: 9999px;
    background: transparent;
}

.language-switcher button {
    padding: 4px 8px;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: var(--text-tertiary);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.language-switcher button:hover {
    color: var(--text-primary);
}

.language-switcher button.active {
    background: var(--accent);
    color: #000;
}

/* Main Content */
.main-content {
    padding: 40px 0 64px;
}

@media (min-width: 768px) {
    .main-content {
        padding: 64px 0 80px;
    }
}

/* Hero Section */
.hero-section {
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .hero-section {
        margin-bottom: 80px;
    }
}

.hero-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        align-items: center;
        gap: 80px;
    }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    background: var(--accent-light);
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
}

.badge .divider {
    width: 20px;
    height: 2px;
    background: rgba(251, 191, 36, 0.7);
    border-radius: 2px;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.avatar-large {
    width: 56px;
    height: 56px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-soft);
}

.avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h1 {
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .profile-info h1 {
        font-size: 48px;
    }
}

.profile-info .subtitle {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-tertiary);
}

.tagline {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    max-width: 640px;
}

@media (min-width: 768px) {
    .tagline {
        font-size: 20px;
    }
}

.description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 640px;
    animation: slideUp 0.8s ease-out 0.2s both;
}

@media (min-width: 768px) {
    .description {
        font-size: 16px;
    }
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    animation: slideUp 0.8s ease-out 0.3s both;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.2);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.btn-primary,
.btn-secondary {
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-secondary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before,
.btn-secondary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--accent);
    color: #000;
}

.btn-primary:hover {
    background: var(--accent-soft);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    border-color: rgba(251, 191, 36, 0.6);
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    transform: translateY(-2px);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    font-size: 12px;
    color: var(--text-tertiary);
}

@media (min-width: 640px) {
    .stats {
        display: flex;
        gap: 32px;
    }
}

.stats dt {
    font-weight: 600;
    color: var(--text-secondary);
}

.stats dd {
    margin-top: 4px;
}

/* Side Card */
.hero-side-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-normal);
    animation: slideInLeft 0.8s ease-out both;
}

@media (min-width: 768px) {
    .hero-side-card {
        padding: 24px;
        max-width: 400px;
        margin-left: auto;
    }
}

.hero-side-card:hover {
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(-5px);
}

.side-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.side-list {
    list-style: none;
}

.side-list li {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.bullet {
    width: 6px;
    height: 6px;
    min-width: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-top: 7px;
}

/* Sections */
.section {
    margin-bottom: 64px;
}

@media (min-width: 768px) {
    .section {
        margin-bottom: 80px;
    }
}

.section-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .section-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.section-description {
    font-size: 12px;
    color: var(--text-tertiary);
    max-width: 560px;
    line-height: 1.6;
}

.section-header-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

@media (min-width: 640px) {
    .section-header-contact {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
}

.contact-intro {
    font-size: 16px;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .contact-intro {
        font-size: 18px;
    }
}

.contact-note {
    font-size: 12px;
    color: var(--text-tertiary);
    max-width: 560px;
}

/* Cards */
.card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 20px;
    transition: all var(--transition-normal);
}

@media (min-width: 768px) {
    .card {
        padding: 24px;
    }
}

.card:hover {
    border-color: rgba(251, 191, 36, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
}

.card p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

@media (min-width: 768px) {
    .card p {
        font-size: 16px;
    }
}

.small-text {
    font-size: 12px !important;
    color: var(--text-tertiary) !important;
    margin-top: 12px;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

/* Work Area Cards */
.work-area-card {
    background: var(--surface-muted);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    transition: all var(--transition-normal);
    animation: slideUp 0.6s ease-out both;
}

.work-area-card:nth-child(1) { animation-delay: 0.1s; }
.work-area-card:nth-child(2) { animation-delay: 0.2s; }
.work-area-card:nth-child(3) { animation-delay: 0.3s; }
.work-area-card:nth-child(4) { animation-delay: 0.4s; }
.work-area-card:nth-child(5) { animation-delay: 0.5s; }

.work-area-card:hover {
    border-color: rgba(251, 191, 36, 0.4);
    background: var(--surface-muted);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.work-area-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.work-area-card .subtitle {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
}

.work-area-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Skills */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.skill-tag {
    padding: 8px 12px;
    background: var(--accent-light);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--accent);
    transition: all var(--transition-fast);
    cursor: default;
}

.skill-tag:hover {
    background: var(--accent);
    color: #000;
    transform: scale(1.05);
}

.principles-grid {
    display: grid;
    gap: 16px;
    font-size: 12px;
    color: var(--text-tertiary);
}

@media (min-width: 768px) {
    .principles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.principle-title {
    font-weight: 600;
    color: var(--text-primary);
}

/* Project Cards */
.project-card {
    background: var(--surface-muted);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-normal);
    animation: slideUp 0.6s ease-out both;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

.project-card:hover {
    border-color: rgba(251, 191, 36, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.project-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.project-card p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tech-stack {
    margin-top: 16px;
}

.tech-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tech-tags span {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 11px;
    color: var(--text-secondary);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 20px;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 24px;
    }
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-item a {
    font-size: 14px;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

@media (min-width: 768px) {
    .contact-item a {
        font-size: 16px;
    }
}

.contact-item a:hover {
    color: var(--accent-soft);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--accent-soft));
    z-index: 1000;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Section animations */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tech tags animation */
.tech-tags span {
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    font-size: 11px;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tech-tags span:hover {
    background: var(--accent-light);
    color: var(--accent);
    transform: scale(1.05);
}

/* Contact item hover effect */
.contact-item {
    transition: transform var(--transition-normal);
}

.contact-item:hover {
    transform: translateX(5px);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-circle::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid transparent;
    border-top-color: var(--accent-soft);
    border-radius: 50%;
    animation: spin 2s linear infinite reverse;
}

.loader-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 99;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--accent-soft);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.6);
}

/* Contact Form */
.contact-form-wrapper {
    margin-top: 40px;
    animation: slideUp 0.8s ease-out both;
}

.contact-form {
    max-width: 600px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 24px;
}

@media (min-width: 768px) {
    .contact-form {
        padding: 32px;
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--surface-muted);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    color: #22c55e;
    margin-top: 16px;
    animation: slideUp 0.4s ease-out;
}

.form-success.show {
    display: flex;
}

/* Parallax Effect on Cards */
@media (min-width: 768px) {
    .work-area-card,
    .project-card {
        transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    }
    
    .work-area-card:hover,
    .project-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
}

/* Micro-interactions on buttons */
.desktop-nav button,
.language-switcher button,
.mobile-menu nav button {
    position: relative;
}

.desktop-nav button::after,
.language-switcher button::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transform: translateX(-50%);
    transition: width var(--transition-fast);
}

.desktop-nav button:hover::after,
.language-switcher button:hover::after {
    width: 100%;
}

/* Image lazy loading placeholder */
img {
    loading: lazy;
}

/* Smooth focus outlines for accessibility */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}
