/* 3. Glassmorphism Panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 1000px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4rem);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Inner Glow (Legacy - kept for subtle base glow) */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: 18px 18px 0 0;
}

/* Frutiger Aero Gloss Overlay (Strong Reflection) */
.gloss-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 2;
    /* border-radius: inherit; Removed to rely on parent overflow:hidden for perfect corner fit */
    border-radius: 0;
}

/* Section Spacing */
section {
    padding: var(--section-spacing) 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Hover Lift for Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    /* For gloss overlay positioning */
    overflow: hidden;
    /* Clip the gloss */
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}