/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #1a1a1a;
    position: relative;
    overflow-x: hidden;
}

/* Cube Grid Background */
.cube-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255, 255, 255, 0.05) 59px, rgba(255, 255, 255, 0.05) 60px),
        repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255, 255, 255, 0.05) 59px, rgba(255, 255, 255, 0.05) 60px);
    z-index: 0;
    pointer-events: none;
    --mouse-x: 0px;
    --mouse-y: 0px;
}

/* Interactive hover layer that follows the stroke */
.cube-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
    cursor: crosshair;
    background: 
        /* Horizontal stroke highlight - only at cursor position */
        linear-gradient(
            to right,
            transparent calc(var(--mouse-x) - 25px),
            rgba(0, 255, 0, 0.8) calc(var(--mouse-x) - 25px),
            rgba(0, 255, 0, 1) calc(var(--mouse-x) - 2px),
            rgba(0, 255, 0, 1) calc(var(--mouse-x) + 2px),
            rgba(0, 255, 0, 0.8) calc(var(--mouse-x) + 25px),
            transparent calc(var(--mouse-x) + 25px)
        ),
        /* Vertical stroke highlight - only at cursor position */
        linear-gradient(
            to bottom,
            transparent calc(var(--mouse-y) - 25px),
            rgba(0, 255, 0, 0.8) calc(var(--mouse-y) - 25px),
            rgba(0, 255, 0, 1) calc(var(--mouse-y) - 2px),
            rgba(0, 255, 0, 1) calc(var(--mouse-y) + 2px),
            rgba(0, 255, 0, 0.8) calc(var(--mouse-y) + 25px),
            transparent calc(var(--mouse-y) + 25px)
        );
    transition: background 0.05s linear;
}

/* Header and Navigation */
header {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #e0e0e0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
    background: transparent;
}

.hero-content {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.hero-content p {
    font-size: 1.2rem;
    color: #b0b0b0;
}

/* Footer */
footer {
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    color: #e0e0e0;
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        justify-content: center;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    nav h1 {
        font-size: 1.2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 2rem 1rem;
    }
}
