:root {
    --bg-body: #050505;
    --text-main: #ffffff;
    --text-muted: #666666;
    --line-color: #222222;
    --accent-color: #ffffff;
    --cursor-size: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor */
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    width: var(--cursor-size);
    height: var(--cursor-size);
    border: 1px solid white;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, background-color 0.2s ease;
    mix-blend-mode: difference;
}

.cursor.hovered {
    transform: translate(-50%, -50%) scale(2.5);
    background-color: white;
    border-color: transparent;
}

/* Noise Texture */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography & Layout */
.container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}

section {
    padding: 15vh 0;
    border-top: 1px solid var(--line-color);
}

section:first-of-type {
    border-top: none;
}

/* Top Bar */
.top-bar {
    background-color: #fff;
    color: #000;
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.top-bar.hidden {
    transform: translateY(-100%);
}

/* Header */
header {
    padding: 2rem 0;
    position: fixed;
    top: 30px;
    /* Height of top bar */
    width: 100%;
    z-index: 100;
    mix-blend-mode: difference;
    transition: top 0.3s ease;
}

body.scrolled header {
    top: 0;
}

body.scrolled .top-bar {
    transform: translateY(-100%);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-links {}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: none;
    /* handled by custom cursor */
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 300px;
}

/* Services List */
.services-list {
    display: flex;
    flex-direction: column;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 3rem 0;
    border-bottom: 1px solid var(--line-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.5;
}

.service-item:hover {
    opacity: 1;
    padding-left: 2rem;
    padding-right: 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.service-name {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.service-meta {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 5rem 0;
    border-top: 1px solid var(--line-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.contact-big {
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1;
    font-weight: 300;
    letter-spacing: -0.03em;
    display: block;
    margin-bottom: 2rem;
}

/* Mobile */
.menu-toggle {
    display: none;
    font-family: monospace;
    z-index: 101;
}

@media (max-width: 768px) {
    header {
        top: 40px;
    }

    .nav-links {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-body);
        justify-content: center;
        align-items: center;
        z-index: 100;
    }

    .menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 18vw;
    }

    .service-item {
        flex-direction: column;
        gap: 1rem;
    }

    .lang-switch {
        margin-left: 0;
        margin-top: 2rem;
        border-left: none;
        padding-left: 0;
    }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Inner Page Utilities */
.page-header {
    padding-top: 20vh;
    padding-bottom: 10vh;
    border-bottom: 1px solid var(--line-color);
}

.page-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 0.9;
    margin-bottom: 2rem;
}

.detail-section {
    padding: 10vh 0;
    border-bottom: 1px solid var(--line-color);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.detail-title {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-family: monospace;
    position: sticky;
    top: 100px;
}

.detail-content h3 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.detail-content p {
    margin-bottom: 2rem;
    max-width: 60ch;
}

.detail-list {
    list-style: none;
    margin-top: 2rem;
    border-top: 1px solid var(--line-color);
}

.detail-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line-color);
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
}

.form-group {
    border-bottom: 1px solid var(--text-muted);
}

.form-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1rem 0;
    color: white;
    font-size: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-bottom: 1px solid white;
}

.form-input::placeholder {
    color: #333;
}

.submit-btn {
    margin-top: 2rem;
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 1rem 3rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: none;
    /* Custom cursor handles this */
    transition: all 0.3s ease;
    width: fit-content;
}

.submit-btn:hover {
    background: white;
    color: black;
}

@media (max-width: 768px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .detail-title {
        position: static;
        margin-bottom: 1rem;
    }
}