/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: 4rem 0;
    /* Symmetric vertical spacing */
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60vh;
    /* Ensure sections are tall enough for vertical centering to be visible */
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--color-bg-surface);
    backdrop-filter: blur(var(--blur-glass));
    -webkit-backdrop-filter: blur(var(--blur-glass));
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Softer base border */
    border-radius: var(--radius-md);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    /* Needed for spotlight */
    transition: transform 0.1s ease-out, border-color 0.3s ease;
    /* Fast transform for tilt */
}

/* Spotlight Effect */
.glass-panel::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: inherit;
    /* The magic: Radial gradient following mouse */
    background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0),
            rgba(255, 255, 255, 0.06),
            transparent 40%);
    z-index: 3;
    opacity: 0;
    /* Hidden by default until hover or js init */
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.glass-panel:hover::before {
    opacity: 1;
}

/* Border Spotlight (Optional: Adds a glowing border) */
.glass-panel::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    border-radius: inherit;
    background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
            rgba(0, 240, 255, 0.3),
            transparent 40%);
    z-index: 1;
    opacity: 0;
    pointer-events: none;
}

/* When spotlight is active, we might want to reveal the border more */
.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    /* Deep shadow */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--color-primary-cyan);
    color: #000;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFF;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FFF;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: background 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 48px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.nav-link:hover {
    color: var(--color-primary-cyan);
}