/* 
    Morpheus Tech Global Design System
    Tactical Aero-Modern UI Framework
    PREMIUM GLASS STANDARD: blur(40px)
*/

:root {
    --primary: #ffd700;
    --gold: #ffd700;
    --gold-dim: rgba(255, 215, 0, 0.15);
    --gold-glow: rgba(255, 215, 0, 0.25);
    --bg: #030303;
    --bg-black: #000000;
    --border: rgba(255, 255, 255, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.12); /* High visibility frosted glass */
    --tactical-clip: polygon(0 12px, 12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

.blur-glass {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(40px) !important;
    -webkit-backdrop-filter: blur(40px) !important;
    border: 1px solid var(--border) !important;
}

/* --- Base --- */
.material-symbols-outlined { 
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; 
}

/* --- Tactical Glass System (Centralized) --- */
.tactical-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border);
    transition: all 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.tactical-glass:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

/* Tactical Corner Accents Helper */
.tactical-corners::before {
    content: '';
    position: absolute; inset: 0;
    pointer-events: none; z-index: 10;
    background:
        linear-gradient(var(--gold), var(--gold)) top left / 22px 2px no-repeat,
        linear-gradient(var(--gold), var(--gold)) top left / 2px 22px no-repeat,
        linear-gradient(var(--gold), var(--gold)) bottom right / 22px 2px no-repeat,
        linear-gradient(var(--gold), var(--gold)) bottom right / 2px 22px no-repeat;
    opacity: 0.8;
}

/* Folder Tab System */
.folder-card {
    position: relative;
    padding-top: 18px;
}

.folder-tab {
    position: absolute; top: 0; left: 0;
    width: 80px; height: 18px;
    background: var(--gold);
    display: flex; align-items: center; justify-content: center;
    z-index: 1;
    clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
}

.folder-tab span {
    font-size: 7px; font-weight: 900;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #000; font-family: 'Space Grotesk', sans-serif;
}

.folder-inner {
    border-radius: 0 16px 16px 16px;
    border-top: 2px solid var(--gold) !important;
}

/* --- Common Layout Utilities --- */
.clip-tactical-btn {
    clip-path: var(--tactical-clip);
}

/* --- Background Systems --- */
.tactical-honeycomb {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-color: #050505;
    background-image: 
        radial-gradient(circle at center, rgba(255, 215, 0, 0.08) 0%, transparent 70%),
        linear-gradient(30deg, #080808 12%, transparent 12.5%, transparent 87%, #080808 87.5%, #080808),
        linear-gradient(150deg, #080808 12%, transparent 12.5%, transparent 87%, #080808 87.5%, #080808),
        linear-gradient(30deg, #080808 12%, transparent 12.5%, transparent 87%, #080808 87.5%, #080808),
        linear-gradient(150deg, #080808 12%, transparent 12.5%, transparent 87%, #080808 87.5%, #080808),
        linear-gradient(60deg, rgba(255, 215, 0, 0.01) 25%, transparent 25.5%, transparent 75%, rgba(255, 215, 0, 0.01) 75%, rgba(255, 215, 0, 0.01)),
        linear-gradient(60deg, rgba(255, 215, 0, 0.01) 25%, transparent 25.5%, transparent 75%, rgba(255, 215, 0, 0.01) 75%, rgba(255, 215, 0, 0.01));
    background-size: 80px 140px;
    background-position: center, 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    animation: grid-pulse 10s ease-in-out infinite;
}

@keyframes grid-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.02); }
}

/* --- Premium Glass Cards (Legacy Alias) --- */
.premium-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--border);
    transition: all 0.5s var(--ease-out);
    position: relative;
    overflow: hidden;
    border-radius: 2.5rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem !important;
        line-height: 1 !important;
    }

    .section-title {
        font-size: 2.5rem !important;
    }

    section {
        padding-top: 5rem !important;
        padding-bottom: 5rem !important;
    }
}
