:root {
    --bg-dark: #000000;
    --bg-darker: #050508;
    --grid-color: rgba(100, 150, 200, 0.08);
    --accent-blue: #4a9eff;
    --accent-cyan: #6bc5d8;
    --accent-blue-glow: rgba(74, 158, 255, 0.4);
    --accent-cyan-glow: rgba(107, 197, 216, 0.3);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.75);
    --text-tertiary: rgba(255, 255, 255, 0.5);
    --glass-bg: rgba(74, 158, 255, 0.1);
    --glass-border: rgba(74, 158, 255, 0.3);
    --gradient-primary: linear-gradient(135deg, rgba(74, 158, 255, 0.1) 0%, rgba(107, 197, 216, 0.05) 100%);
}

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

body {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Subtle background gradient */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top left, rgba(74, 158, 255, 0.03) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(107, 197, 216, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Grid overlay */
.grid-overlay {
    display: none;
}

/* Volumetric lighting */
.volumetric-light {
    display: none;
}

@keyframes lightPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Hero container */
.hero-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 8rem 6rem;
    z-index: 10;
}

/* Hero content */
.hero-content {
    text-align: left;
    max-width: 900px;
    z-index: 20;
    position: relative;
    margin-bottom: 0;
    margin-left: 0;
    padding-left: 0;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.headline {
    font-size: clamp(3.5rem, 9vw, 6rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 3rem;
    color: var(--text-primary);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.9) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subheadline {
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 400;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    letter-spacing: -0.015em;
    max-width: 680px;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    opacity: 0.9;
}

.coming-soon {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-top: 4rem;
    opacity: 0.9;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.5rem;
    border: 1px solid rgba(107, 197, 216, 0.25);
    border-radius: 50px;
    background: rgba(107, 197, 216, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: fadeIn 1.2s ease-out 0.3s both;
    position: relative;
    overflow: hidden;
}

.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(107, 197, 216, 0.2), transparent);
    transition: left 0.6s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.coming-soon:hover {
    opacity: 1;
    border-color: rgba(107, 197, 216, 0.4);
    background: rgba(107, 197, 216, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(107, 197, 216, 0.15);
}

.coming-soon:hover::before {
    left: 100%;
}

/* CTA Button */
.cta-button {
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 1rem 2.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(74, 158, 255, 0.3),
        transparent
    );
    transition: left 0.6s;
}

.cta-button:hover {
    border-color: var(--accent-blue);
    box-shadow: 
        0 0 30px var(--accent-blue-glow),
        0 0 60px var(--accent-blue-glow),
        inset 0 0 20px rgba(74, 158, 255, 0.1);
    transform: translateY(-2px);
    background: rgba(74, 158, 255, 0.15);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(0);
}

/* 3D Cube Container */
#cube-container {
    position: absolute;
    top: 0;
    right: 12%;
    width: 50%;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-container {
        padding: 6rem 4rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 5rem 3rem;
    }
    
    .hero-content {
        margin-bottom: 0;
    }
    
    .headline {
        margin-bottom: 2rem;
        font-size: clamp(2.5rem, 10vw, 4.5rem);
    }
    
    .subheadline {
        margin-bottom: 3rem;
        font-size: clamp(1rem, 4vw, 1.3rem);
        max-width: 100%;
    }
    
    .coming-soon {
        font-size: 0.75rem;
        margin-top: 3rem;
        padding: 0.5rem 1.25rem;
    }
    
    #cube-container {
        width: 100%;
        right: 0;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 4rem 2rem;
    }
    
    .headline {
        font-size: clamp(2rem, 12vw, 3.5rem);
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(74, 158, 255, 0.3);
    color: var(--text-primary);
}

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

/* Additional polish */
.hero-content {
    will-change: transform, opacity;
}

.headline,
.subheadline {
    will-change: transform, opacity;
}

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: rgba(74, 158, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(74, 158, 255, 0.5);
}
