:root {
    /* Julia - Luxury Gold/Dark */
    --color-accountant-bg: #0a0a0a;
    --color-accountant-accent: #d4af37;
    --color-accountant-muted: #4b4b4b;
    --color-accountant-gradient: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);

    /* Dario - Vibrant Creative */
    --color-designer-bg: #0f0524;
    --color-designer-accent: #ff007a;
    --color-designer-secondary: #7000ff;
    --color-designer-gradient: linear-gradient(135deg, #0f0524 0%, #1a0b3c 100%);

    /* Transitions */
    --transition-speed: 0.8s;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow: hidden;
    background: #000;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

/* Texture Overlay */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0.05;
    pointer-events: none;
    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");
}

.landing-container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

.split-section {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    transition: flex var(--transition-speed) var(--ease-out-expo);
    cursor: default;
    will-change: flex;
}

.split-section:hover {
    flex: 1.4;
    cursor: pointer;
}

/* Background Layers */
.background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-speed) var(--ease-out-expo), filter 0.8s ease;
    z-index: 1;
    will-change: transform, filter;
}

.split-section:hover .background-img {
    transform: scale(1.08);
}

.mesh-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.8;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Julia Specifics */
.accountant {
    background-color: var(--color-accountant-bg);
}

.accountant .mesh-gradient {
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(75, 75, 75, 0.15) 0%, transparent 50%);
}

.accountant .background-img {
    filter: grayscale(1) brightness(0.25) contrast(1.1);
}

.accountant:hover .background-img {
    filter: grayscale(0.15) brightness(0.45);
}

/* Dario Specifics */
.designer {
    background-color: var(--color-designer-bg);
}

.designer .mesh-gradient {
    background: radial-gradient(circle at 80% 20%, rgba(255, 0, 122, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(112, 0, 255, 0.15) 0%, transparent 50%);
}

.designer .background-img {
    filter: brightness(0.15) saturate(0.4) hue-rotate(280deg);
}

.designer:hover .background-img {
    filter: brightness(0.35) saturate(1.1) hue-rotate(0deg);
}

/* Content Wrapper & Glassmorphism */
.content-wrapper {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content {
    text-align: center;
    max-width: 480px;
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: 24px;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.6s var(--ease-out-expo);
    will-change: transform, background, border-color;
}

.split-section:hover .content {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

.profession {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.7rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    margin-bottom: 1.8rem;
    line-height: 1;
    font-weight: 700;
}

.accountant h1 {
    font-family: 'Playfair Display', serif;
    color: var(--color-accountant-accent);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.designer h1 {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    background: linear-gradient(to right, #fff, var(--color-designer-accent));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Animation on Hover Reveal */
.split-section .description,
.split-section .cta-arrow {
    opacity: 0;
    transform: translateY(15px);
    will-change: opacity, transform;
}

.split-section:hover .description,
.split-section:hover .cta-arrow {
    opacity: 1;
    transform: translateY(0);
}

.cta-arrow {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.4s var(--ease-out-expo);
}

.cta-arrow svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.split-section:hover .cta-arrow {
    background: #fff;
    color: #000;
    border-color: #fff;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.split-section:hover .cta-arrow svg {
    transform: translateX(4px);
}

.accountant:hover .cta-arrow {
    background: var(--color-accountant-accent);
    border-color: var(--color-accountant-accent);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
}

.designer:hover .cta-arrow {
    background: var(--color-designer-accent);
    border-color: var(--color-designer-accent);
    box-shadow: 0 10px 25px rgba(255, 0, 122, 0.25);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) forwards;
}

.profession {
    animation-delay: 0.1s;
}

h1 {
    animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-container {
        flex-direction: column;
    }

    .split-section:hover {
        flex: 2;
    }

    h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .content-wrapper {
        padding: 1.5rem;
    }

    .split-section .description,
    .split-section .cta-arrow {
        opacity: 0.9;
        transform: translateY(0);
    }

    .description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Optimization for low power devices */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}