/* ===================================
   Minimal Art Design System
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Minimal Color Palette - Monochrome */
    --black: #000000;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray-medium: #cccccc;
    --gray-dark: #333333;
    
    /* Accent Colors */
    --accent-left: #1a1a1a;
    --accent-right: #f0f0f0;
    
    /* Spacing System */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 32px;
    --space-lg: 64px;
    --space-xl: 128px;
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-light: 200;
    --font-weight-regular: 300;
    --font-weight-medium: 400;
    
    /* Transitions */
    --transition-slow: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-medium: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 0.3s ease-out;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    font-family: var(--font-main);
    font-weight: var(--font-weight-regular);
    cursor: none;
    background: var(--white);
}

/* ===================================
   Custom Cursor - Minimal
   =================================== */
.custom-cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--black);
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease-out;
    opacity: 0;
    mix-blend-mode: difference;
}

.custom-cursor.active {
    opacity: 1;
    width: 60px;
    height: 60px;
    background: transparent;
    border: 1px solid var(--black);
}

/* ===================================
   Split Container
   =================================== */
.split-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

/* ===================================
   Split Sides - Minimal
   =================================== */
.split-side {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: width var(--transition-slow);
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Left Side - Black */
.left-side {
    background-color: var(--white);
    border-right: 1px solid var(--gray-medium);
}

/* Right Side - White */
.right-side {
    background-color: var(--gray-light);
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.content-inner {
    max-width: 400px;
    text-align: left;
    opacity: 1;
    transition: opacity var(--transition-medium), transform var(--transition-slow);
}

/* ===================================
   Typography - Ultra Minimal
   =================================== */

/* Number Label */
.number {
    font-size: 12px;
    font-weight: var(--font-weight-regular);
    letter-spacing: 4px;
    margin-bottom: var(--space-md);
    opacity: 0.4;
}

.left-side .number {
    color: var(--black);
}

.right-side .number {
    color: var(--gray-dark);
}

/* Main Heading */
.main-heading {
    font-size: 72px;
    font-weight: var(--font-weight-light);
    line-height: 0.95;
    margin-bottom: var(--space-md);
    letter-spacing: -2px;
}

.left-side .main-heading {
    color: var(--black);
}

.right-side .main-heading {
    color: var(--gray-dark);
}

/* Divider Line */
.divider {
    width: 40px;
    height: 1px;
    background: var(--black);
    margin: var(--space-md) 0;
    transition: width var(--transition-medium);
}

.right-side .divider {
    background: var(--gray-dark);
}

/* Sub Heading */
.sub-heading {
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.5px;
}

.left-side .sub-heading {
    color: var(--black);
    opacity: 0.7;
}

.right-side .sub-heading {
    color: var(--gray-dark);
    opacity: 0.7;
}

/* ===================================
   CTA Button - Minimal
   =================================== */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: none;
    transition: all var(--transition-fast);
    position: relative;
}

.left-side .cta-button {
    color: var(--black);
}

.right-side .cta-button {
    color: var(--gray-dark);
}

.cta-line {
    display: block;
    width: 24px;
    height: 1px;
    background: currentColor;
    transition: width var(--transition-fast);
}

.cta-button:hover .cta-line {
    width: 48px;
}

.cta-text {
    opacity: 0.8;
    transition: opacity var(--transition-fast);
}

.cta-button:hover .cta-text {
    opacity: 1;
}

/* ===================================
   Center Divider - Minimal Logo
   =================================== */
.center-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: var(--gray-medium);
    z-index: 100;
    pointer-events: none;
}

.logo-mark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 1px solid var(--gray-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-size: 16px;
    font-weight: var(--font-weight-medium);
    letter-spacing: 2px;
    color: var(--black);
}

/* ===================================
   Hover States - Minimal Interaction
   =================================== */

/* When hovering left side */
.split-container.hovering-left .left-side {
    width: 75%;
}

.split-container.hovering-left .right-side {
    width: 25%;
}

.split-container.hovering-left .right-side .content-inner {
    opacity: 0.3;
    transform: scale(0.95);
}

.split-container.hovering-left .left-side .divider {
    width: 120px;
}

/* When hovering right side */
.split-container.hovering-right .right-side {
    width: 75%;
}

.split-container.hovering-right .left-side {
    width: 25%;
}

.split-container.hovering-right .left-side .content-inner {
    opacity: 0.3;
    transform: scale(0.95);
}

.split-container.hovering-right .right-side .divider {
    width: 120px;
}

/* ===================================
   Responsive Design - Mobile Minimal
   =================================== */
@media (max-width: 768px) {
    html, body {
        cursor: auto;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .custom-cursor {
        display: none;
    }
    
    /* Stack vertically */
    .split-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    
    .split-side {
        width: 100% !important;
        min-height: 100vh;
        border-right: none;
    }
    
    .left-side {
        border-bottom: 1px solid var(--gray-medium);
    }
    
    .content-wrapper {
        padding: var(--space-md);
    }
    
    .content-inner {
        opacity: 1 !important;
        transform: none !important;
        max-width: 100%;
    }
    
    /* Typography adjustments */
    .main-heading {
        font-size: 48px;
        letter-spacing: -1px;
    }
    
    .sub-heading {
        font-size: 13px;
    }
    
    /* Center divider - adjust for mobile */
    .center-divider {
        display: none;
    }
    
    .divider {
        width: 60px !important;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 40px;
    }
    
    .number {
        font-size: 10px;
        margin-bottom: var(--space-sm);
    }
    
    .sub-heading {
        font-size: 12px;
        margin-bottom: var(--space-md);
    }
    
    .content-wrapper {
        padding: var(--space-sm) var(--space-md);
    }
}

/* ===================================
   Accessibility
   =================================== */
.keyboard-navigation *:focus {
    outline: 1px solid var(--black);
    outline-offset: 4px;
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .custom-cursor,
    .center-divider {
        display: none;
    }
    
    .split-side {
        width: 50% !important;
        page-break-inside: avoid;
    }
}

/* ===================================
   Reduced Motion
   =================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
