:root {
    --bg: #0a0a0a;
    --fg: #fafafa;
    --accent: #ffffff;
    --accent-alt: #b8b8b8;
    --muted: #888888;
    --border: #1a1a1a;
}

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

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}

#cursor {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    box-shadow: 0 0 3px var(--accent);
}

#cursor-ring {
    position: fixed;
    width: 24px;
    height: 24px;
    border: 1px solid var(--accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--bg) 0%, transparent 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    max-width: 100%;
}

.nav-content {
    max-width: 1400px;
    width: calc(100% - 8rem);
    padding: 2.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-right: 2rem;
    white-space: nowrap;
    min-width: 0;
}

.logo a {
    color: var(--fg);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 2rem;
}

.mobile-lang {
    display: none;
}

.desktop-lang {
    display: flex;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--muted);
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
}

.lang-btn:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

.lang-btn.active {
    color: var(--accent);
    background: rgba(223, 174, 30, 0.1);
}

.lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 8px;
    height: 1px;
    background: var(--accent);
    transform: translateX(-50%);
}

.lang-separator {
    color: var(--border);
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
}

/* Burger Menu - Hidden on desktop */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--fg);
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-left: 4rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero h1 strong {
    display: block;
    font-weight: 400;
    color: var(--accent);
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid var(--accent);
}

.cta:hover {
    background: transparent;
    color: var(--accent);
    transform: translateX(8px);
}

.cta-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid var(--accent);
}

.cta-secondary:hover {
    background: var(--accent);
    color: var(--bg);
    transform: translateX(8px);
}

/* Grid overlay - optimized */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-attachment: fixed;
    pointer-events: none;
    z-index: 0;
}

/* Section Base */
section {
    padding: 8rem 4rem;
    position: relative;
    max-width: 100%;
    overflow-x: hidden;
}


.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, var(--fg) 70%, var(--accent-alt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -4rem;
    width: 3rem;
    height: 1px;
    background: var(--accent-alt);
}

/* About Section */
.about {
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.8;
}

.about-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Code Terminal */
.code-terminal {
    width: 100%;
    max-width: 420px;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #252525;
    border-bottom: 1px solid var(--border);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27ca40; }

.terminal-title {
    margin-left: auto;
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    color: var(--muted);
}

.terminal-body {
    padding: 20px;
    min-height: 280px;
    font-family: 'DM Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    position: relative;
}

.terminal-body pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
}

.terminal-body code {
    color: var(--fg);
}

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

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

/* Syntax highlighting */
.code-keyword { color: #c678dd; }
.code-string { color: #98c379; }
.code-property { color: #e5c07b; }
.code-comment { color: #5c6370; font-style: italic; }
.code-function { color: #61afef; }
.code-number { color: #d19a66; }

/* Projects Section */
.projects {
    max-width: 1400px;
    margin: 0 auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    border: 1px solid var(--border);
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    background: rgba(255, 255, 255, 0.01);
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-alt);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

.project-card:hover::before {
    transform: scaleX(1);
    background: var(--accent-alt);
}

.project-number {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent-alt);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
    padding: 2rem 2rem 0 2rem;
    position: relative;
    z-index: 1;
}

.project-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.project-card p {
    color: var(--muted);
    font-size: 0.9375rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.7;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.project-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    color: var(--accent-alt);
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.tag:hover {
    border-color: var(--accent-alt);
    background: rgba(212, 175, 55, 0.1);
}

.project-link {
    display: inline-block;
    color: var(--accent-alt);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0 2rem 2rem 2rem;
    position: relative;
    z-index: 1;
}

.project-link:hover {
    color: var(--accent);
    transform: translateX(6px);
}

/* Projects CTA Section */
.projects-cta {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 0;
    text-align: center;
}

.cta-content {
    padding: 0 2rem;
}

.cta-content h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text);
    letter-spacing: -0.02em;
}

.cta-content p {
    color: var(--muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--bg);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border: 2px solid var(--accent);
    letter-spacing: 0.01em;
}

.cta-button:hover {
    background: transparent;
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* Photography Section */
.photography {
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-section {
    margin-bottom: 80px;
    width: 100%;
}

.gallery-subtitle {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
    width: 100%;
}

.gallery-item {
    aspect-ratio: 4/3;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
    cursor: pointer;
    border: 1px solid var(--border);
}

.gallery-item:hover {
    transform: scale(1.05);
    filter: brightness(1.15);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: modalZoom 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes modalZoom {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

#modalImage {
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 2rem;
    color: var(--accent);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--accent-alt);
}

.gallery-description {
    color: var(--muted);
    font-size: 0.875rem;
}

/* Consultation Section */
.consultation {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Roadmap Styles */
.roadmap-container {
    margin-bottom: 6rem;
}

.roadmap-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-alt);
    margin-bottom: 4rem;
    letter-spacing: -0.01em;
}

.roadmap {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.roadmap-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    position: relative;
    transition: all 0.4s ease;
    margin-bottom: 1rem;
}

.roadmap-step:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-alt);
    transform: translateX(8px);
}

.step-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--border);
    border-radius: 50%;
    border: 2px solid var(--accent-alt);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.roadmap-step:hover .step-icon {
    background: rgba(223, 174, 30, 0.1);
    transform: scale(1.1);
}

.step-content {
    flex: 1;
    text-align: left;
}

.step-content h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--fg);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.step-content p {
    font-size: 0.9375rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.6;
    margin: 0;
}

.step-number {
    font-family: 'DM Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-alt);
    background: rgba(223, 174, 30, 0.1);
    border: 1px solid var(--accent-alt);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.roadmap-connector {
    width: 2px;
    height: 1rem;
    background: linear-gradient(180deg, var(--accent-alt) 0%, transparent 100%);
    margin: 0 auto;
    position: relative;
}

.roadmap-connector::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--accent-alt);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px rgba(223, 174, 30, 0.4);
}

.calendly-container {
    position: relative;
    background: var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
}

.calendly-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dfae1e 0%, rgba(223, 174, 30, 0.6) 100%);
    z-index: 1;
}

/* Adjust Calendly widget to match site theme */
.calendly-inline-widget {
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

/* Skills Section */
.skills {
    max-width: 1400px;
    margin: 0 auto;
}

/* Service Page Styles */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
}

.nav-active {
    color: var(--accent) !important;
}

/* Simple Booking Hero */
.booking-hero {
    padding: 8rem 0 4rem;
    text-align: center;
}

.booking-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, var(--fg) 70%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.booking-hero p {
    font-size: clamp(1.125rem, 2.5vw, 1.375rem);
    color: var(--muted);
    font-weight: 300;
    line-height: 1.6;
}

/* Booking Main */
.booking-main {
    padding: 4rem 0;
}

.booking-layout {
    max-width: 800px;
    margin: 0 auto;
}

.calendly-wrapper {
    background: var(--border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    position: relative;
}

.calendly-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dfae1e 0%, rgba(223, 174, 30, 0.6) 100%);
    z-index: 1;
}

/* Simple Process */
.process-simple {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.01);
}

.process-simple h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
    text-align: center;
    background: linear-gradient(90deg, var(--fg) 70%, var(--accent-alt) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.simple-roadmap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.simple-step {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.simple-step:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-alt);
    transform: translateY(-4px);
}

.simple-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(1) brightness(0.8);
    transition: filter 0.3s ease;
}

.simple-step:hover .simple-icon {
    filter: grayscale(0) brightness(1);
}

.simple-step h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--fg);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.simple-step p {
    color: var(--muted);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Footer adjustments */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

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

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.skill-category h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    color: var(--accent-alt);
}

.skill-list {
    list-style: none;
}

.skill-list li {
    font-size: 0.9375rem;
    color: var(--muted);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-weight: 300;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.5rem;
}

.skill-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
    transition: transform 0.3s ease;
}

.skill-list li:hover {
    color: var(--fg);
    padding-left: 2rem;
}

.skill-list li:hover::before {
    transform: translateY(-50%) scale(1);
}

/* Contact Section */
.contact {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

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

.contact-content p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: var(--muted);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
}

.contact-email {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: -0.01em;
    display: inline-block;
    position: relative;
    margin-bottom: 3rem;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.contact-email:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.social-links a {
    font-family: 'DM Mono', monospace;
    font-size: 0.875rem;
    color: var(--muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

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

/* Footer */
footer {
    padding: 4rem;
    text-align: center;
    border-top: 1px solid var(--border);
}

footer p {
    font-family: 'DM Mono', monospace;
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.05em;
}

/* Fade-in animations on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    nav {
        padding: 1.5rem 2rem;
    }
    
    section {
        padding: 6rem 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        height: auto;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .skills-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Hide custom cursor on mobile */
    body {
        cursor: auto;
    }
    
    #cursor,
    #cursor-ring {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    /* Navigation */
    nav {
        padding: 1rem 1.5rem;
        gap: 0.5rem;
        overflow: visible;
        max-width: 100%;
    }
    
    .logo {
        font-size: 0.85rem;
        margin-right: 0;
        flex-shrink: 0;
    }
    
    /* Burger Menu */
    .burger-menu {
        display: flex !important;
        position: fixed !important;
        top: 1.25rem;
        right: 1.5rem;
        z-index: 1002;
    }
    
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 280px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: #0a0a0a !important;
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 2rem !important;
        transition: transform 0.3s ease !important;
        transform: translateX(100%) !important;
        z-index: 1001 !important;
        border-left: 1px solid var(--border) !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .nav-links.active {
        transform: translateX(0) !important;
    }
    
    .nav-links li {
        list-style: none;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1.25rem;
        color: var(--fg);
        padding: 0.75rem 1.5rem;
        display: block;
    }

    /* Hide desktop language switcher on mobile */
    .desktop-lang {
        display: none !important;
    }

    /* Show mobile language switcher */
    .mobile-lang {
        display: flex !important;
        justify-content: center;
        margin: 1rem 0;
        padding: 1rem;
        border-top: 1px solid var(--border);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.02);
    }

    .mobile-lang-item {
        list-style: none;
        width: 100%;
    }

    /* Ensure mobile lang buttons are properly sized */
    .mobile-lang .lang-btn {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
        min-width: 40px;
        min-height: 40px;
    }

    .mobile-lang .lang-separator {
        font-size: 0.9rem;
        margin: 0 0.5rem;
    }
    
    /* Overlay for mobile menu */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 100px;
        min-height: auto;
        height: 70vh;
        height: 70svh;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        margin-bottom: 1.5rem;
    }
    
    /* Sections */
    section {
        padding: 4rem 1rem;
    }
    
    .section-title {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .section-title::before {
        display: none;
    }
    
    /* About */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-visual {
        height: auto;
        min-height: 300px;
    }
    
    .code-terminal {
        max-width: 100%;
    }
    
    .terminal-body {
        min-height: 240px;
        font-size: 0.75rem;
        padding: 16px;
    }

    /* Projects */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .project-number {
        padding: 1rem 1rem 0 1rem;
    }
    
    .project-card h3 {
        padding: 0 1rem;
        font-size: 1.25rem;
    }
    
    .project-card p {
        padding: 0 1rem;
        font-size: 0.875rem;
    }
    
    .project-tags {
        padding: 0 1rem;
    }
    
    .project-link {
        padding: 0 1rem 1rem 1rem;
    }

    /* CTA Section */
    .projects-cta {
        padding: 4rem 0;
    }

    .cta-content h3 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 1rem;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

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

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .gallery-item {
        aspect-ratio: 4/3;
        min-height: 150px;
        height: auto;
        width: 100%;
    }

    /* Roadmap Responsive */
    .roadmap-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

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

    .step-icon {
        font-size: 1.5rem;
        width: 50px;
        height: 50px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.75rem;
    }

    /* Skills */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Service Page Responsive */
    .container {
        padding: 0 2rem;
    }

    .simple-roadmap {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .skill-category h3 {
        font-size: 1.1rem;
    }
    
    .skill-list li {
        font-size: 0.875rem;
    }
    
    /* Contact */
    .contact-email {
        font-size: clamp(1.25rem, 3vw, 2rem);
    }
    
    .contact-content p {
        font-size: clamp(0.875rem, 1.5vw, 1rem);
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0.75rem 0.75rem;
        gap: 0.5rem;
        max-width: 100%;
    }
    
    .logo {
        font-size: 0.7rem;
        margin-right: 0;
        flex-shrink: 1;
        letter-spacing: 0.05em;
        min-width: 0;
    }
    
    section {
        padding: 3rem 1rem;
    }
    
    .section-title {
        font-size: clamp(1.35rem, 5vw, 2rem);
        margin-bottom: 1.5rem;
    }
    
    .hero {
        padding-top: 80px;
        min-height: auto;
        height: 60vh;
        height: 60svh;
        align-items: center;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .hero-content {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        text-align: center;
    }

    .hero p {
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .cta, .cta-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        text-align: center;
        min-width: 180px;
    }
    
    .cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .gallery-item {
        min-height: 220px;
        height: 220px;
        width: 100%;
    }

    /* Roadmap Mobile */
    .roadmap-title {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }

    .roadmap-step {
        padding: 1rem;
        gap: 0.75rem;
    }

    .step-content h4 {
        font-size: 1.1rem;
    }

    .step-content p {
        font-size: 0.875rem;
    }

    .step-icon {
        font-size: 1.25rem;
        width: 45px;
        height: 45px;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    /* Projects */
        padding: 1rem 0.75rem 0 0.75rem;
        font-size: 0.65rem;
    }
    
    .project-card h3 {
        padding: 0 0.75rem;
        font-size: 1.1rem;
    }
    
    .project-card p {
        padding: 0 0.75rem;
        font-size: 0.8rem;
    }
    
    .project-tags {
        padding: 0 0.75rem;
        gap: 0.5rem;
    }
    
    .tag {
        font-size: 0.65rem;
        padding: 0.35rem 0.75rem;
    }
    
    .project-link {
        padding: 0 0.75rem 0.75rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .skill-category h3 {
        font-size: 1rem;
    }
    
    .skill-list li {
        font-size: 0.8rem;
        padding: 0.5rem 0;
    }

    /* Service Page Mobile */
    .container {
        padding: 0 1rem;
    }

    .booking-hero {
        padding: 4rem 0 2rem;
    }

    .booking-main {
        padding: 2rem 0;
    }

    .process-simple {
        padding: 4rem 0;
    }

    .simple-roadmap {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .simple-step {
        padding: 1.5rem 1rem;
    }

    .simple-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .simple-step h3 {
        font-size: 1.125rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
}

/* Landscape phone orientation */
@media (max-width: 768px) and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 100svh;
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 2rem;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .hero p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    
    section {
        padding: 2rem 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Safe area insets for notched phones */
@supports (padding: env(safe-area-inset-bottom)) {
    nav {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    .hero-content {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
    
    footer {
        padding-bottom: max(2rem, env(safe-area-inset-bottom));
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

.cookie-banner a {
    color: var(--fg);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
}

.cookie-buttons button {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: opacity 0.2s;
}

.cookie-buttons button:hover {
    opacity: 0.8;
}

#cookie-accept {
    background: var(--fg);
    color: var(--bg);
}

#cookie-decline {
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;

