:root {
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent: #e0e0e0;
    --bg-overlay: rgba(10, 10, 10, 0.4);
}

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

body {
    background: linear-gradient(180deg, #23252b 0%, #121825 100%);
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* 3D Canvas */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    /* Let clicks pass through to canvas if we want, but for now scrolling is fine */
}

/* Scroll Container */
.scroll-container {
    position: relative;
    z-index: 1;
}

.panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10vw;
}

.content {
    /* max-width: 800px; */
    /* width: 100%; */
    background: var(--bg-overlay);
    padding: 3rem;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* transform: translateY(30px); */
    opacity: 0;
    /* Handled by GSAP later */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    /* Keep blur constrained */
}

.right-aligned {
    margin-left: auto;
}

.left-aligned {
    margin-right: auto;
}

h1,
h2 {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* margin-bottom: 1rem; */
    background: linear-gradient(135deg, #fff, #929292);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 {
    font-size: clamp(2rem, 14vw, 4rem);
    font-weight: 900;
    text-shadow: 0 0 40px rgba(176, 176, 176, 0.3);
    word-wrap: break-word;
    text-align: center;
    padding: 0px 35px 0px 35px;
}

h2 {
    font-size: 2.5rem;
}

p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator .line {
    width: 60px;
    height: 1px;
    background: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    text-decoration: none;
    background: transparent;
    border: 1px solid rgba(0, 210, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 210, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.cta-button:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .panel {
        padding: 0 2rem;
    }

    .content {
        padding: 2rem;
    }
}