/* 
   ================================================================
   NEURAL MATRIX VAULT | TITANIUM SKIN v9.0
   ARCHITECT: MAGNUS OPUS
   DIRECTIVE: CATHEDRAL-GRADE FIDELITY
   ================================================================
*/

:root {
    /* /// PHYSICS CONSTANTS /// */
    --void: #030303;
    --deep-space: #000000;
    --glass-surface: rgba(20, 20, 20, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.05);
    
    /* /// PILLAR DNA (THE SPECTRUM) /// */
    --c-core: #00f3ff;   /* Cyan */
    --c-flux: #ff0055;   /* Red/Pink */
    --c-aero: #ffffff;   /* White */
    --c-nexus: #bc13fe;  /* Purple */
    --c-cipher: #ffd700; /* Gold */
    --c-prism: #00ffaa;  /* Green */
    --c-omega: #ff5500;  /* Orange */

    /* /// TYPOGRAPHY /// */
    --font-head: 'Outfit', sans-serif;
    --font-code: 'Space Mono', monospace;
    
    /* /// EASING /// */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

/* --- KERNEL RESET --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { 
    background-color: var(--void); 
    color: #fff; 
    font-family: var(--font-head); 
    margin: 0; 
    overflow-x: hidden; 
}

/* --- RENDER LAYERS (Z-INDEX ARCHITECTURE) --- */
#canvas-container { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
#matrix-rain { position: absolute; top: 0; left: 0; width: 100%; height: 100%; mix-blend-mode: screen; opacity: 0.8; }
.overlay-scanlines { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06)); 
    background-size: 100% 2px, 3px 100%; 
    pointer-events: none; z-index: 0; opacity: 0.6;
}
.overlay-vignette { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: radial-gradient(circle, transparent 50%, var(--deep-space) 150%); 
    pointer-events: none; z-index: 1; 
}

/* --- HUD HEADER --- */
.hud-header { 
    position: fixed; top: 0; width: 100%; padding: 20px 40px; 
    display: flex; justify-content: space-between; align-items: center; 
    z-index: 100; 
    background: rgba(3, 3, 3, 0.8); 
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border); 
}
.brand { font-family: var(--font-code); font-weight: 700; letter-spacing: 2px; }
.pulse { color: var(--c-core); animation: pulse 2s infinite; }
.status-indicator { 
    font-family: var(--font-code); font-size: 0.65rem; color: #00ff00; 
    border: 1px solid #00ff00; padding: 4px 12px; letter-spacing: 1px; 
}
.nav-item { 
    margin-left: 30px; color: #888; font-family: var(--font-code); 
    font-size: 0.75rem; text-decoration: none; transition: color 0.3s; 
    letter-spacing: 1px;
}
.nav-item:hover { color: #fff; text-shadow: 0 0 10px var(--c-core); }

/* --- HERO SECTION --- */
.hero-section { 
    min-height: 100vh; display: flex; align-items: center; 
    padding: 120px 20px; position: relative; z-index: 10; 
}
.hero-content { width: 100%; max-width: 1400px; margin: 0 auto; }

.status-badge { 
    display: inline-block; border: 1px solid var(--c-core); color: var(--c-core); 
    padding: 6px 12px; font-family: var(--font-code); font-size: 0.7rem; 
    margin-bottom: 30px; background: rgba(0, 243, 255, 0.05); 
}
.status-badge.warning { border-color: var(--c-flux); color: var(--c-flux); background: rgba(255, 0, 85, 0.05); }

.mega-title { 
    font-size: clamp(3rem, 10vw, 8rem); font-weight: 800; line-height: 0.85; 
    margin: 0 0 40px 0; letter-spacing: -0.04em; color: #fff;
    text-transform: uppercase;
}

.hero-artifact-container { 
    width: 100%; max-width: 800px; height: 500px; margin: 0 auto 60px; 
    border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; 
    background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%); 
    position: relative; overflow: hidden;
}

.hero-sub { 
    font-size: 1.2rem; color: #888; max-width: 600px; line-height: 1.6; 
    border-left: 2px solid var(--c-core); padding-left: 20px; 
}
.highlight { color: #fff; font-weight: 500; }

.cta-btn {
    display: inline-block; padding: 15px 40px; 
    background: #fff; color: #000; font-weight: 800; 
    font-family: var(--font-code); text-decoration: none;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}
.cta-btn:hover { transform: translateY(-5px); box-shadow: 0 0 30px var(--c-core); background: var(--c-core); }

/* --- BENTO GRID ARCHITECTURE --- */
.content-section { padding: 100px 20px; position: relative; z-index: 10; max-width: 1400px; margin: 0 auto; }
.section-header { display: flex; align-items: center; gap: 20px; margin-bottom: 60px; }
.mono { font-family: var(--font-code); font-size: 0.8rem; color: #666; letter-spacing: 2px; }
.line { flex-grow: 1; height: 1px; background: linear-gradient(90deg, #333, transparent); }

.bento-grid { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 30px; 
}
.cell-wide { grid-column: span 2; }

.glass-panel { 
    background: var(--glass-surface); 
    border: 1px solid var(--glass-border); 
    padding: 40px; border-radius: 4px; 
    min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; 
    transition: transform 0.4s var(--ease-out-expo), border-color 0.3s;
    backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
    will-change: transform;
}
.glass-panel:hover { transform: translateY(-10px); border-color: #fff; }

/* --- PILLAR CHROMATICS --- */
.pillar-core:hover { border-color: var(--c-core); box-shadow: 0 0 50px rgba(0, 243, 255, 0.15); }
.pillar-flux:hover { border-color: var(--c-flux); box-shadow: 0 0 50px rgba(255, 0, 85, 0.15); }
.pillar-aero:hover { border-color: var(--c-aero); box-shadow: 0 0 50px rgba(255, 255, 255, 0.15); }
.pillar-nexus:hover { border-color: var(--c-nexus); box-shadow: 0 0 50px rgba(188, 19, 254, 0.15); }
.pillar-cipher:hover { border-color: var(--c-cipher); box-shadow: 0 0 50px rgba(255, 215, 0, 0.15); }
.pillar-prism:hover { border-color: var(--c-prism); box-shadow: 0 0 50px rgba(0, 255, 170, 0.15); }
.pillar-omega:hover { border-color: var(--c-omega); box-shadow: 0 0 50px rgba(255, 85, 0, 0.15); }

.icon-brand { width: 32px; height: 32px; margin-bottom: 20px; }
.pillar-core .icon-brand { color: var(--c-core); }
.pillar-flux .icon-brand { color: var(--c-flux); }
.pillar-aero .icon-brand { color: var(--c-aero); }
.pillar-nexus .icon-brand { color: var(--c-nexus); }
.pillar-cipher .icon-brand { color: var(--c-cipher); }
.pillar-prism .icon-brand { color: var(--c-prism); }
.pillar-omega .icon-brand { color: var(--c-omega); }

.tag { font-family: var(--font-code); font-size: 0.6rem; border: 1px solid #333; padding: 4px 8px; color: #888; }
.glass-panel h3 { font-size: 1.8rem; margin: 0 0 15px 0; font-weight: 500; letter-spacing: -0.02em; }
.glass-panel p { color: #888; font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* --- DUAL ACTION GRID --- */
.action-grid { display: flex; gap: 15px; margin-top: 30px; }
.btn-deploy { 
    flex: 1; background: #fff; color: #000; padding: 15px; 
    font-weight: 800; text-align: center; font-family: var(--font-code); 
    font-size: 0.75rem; text-decoration: none; transition: 0.3s; 
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.btn-deploy:hover { background: var(--c-core); box-shadow: 0 0 20px var(--c-core); }

.btn-enter { 
    flex: 1; background: transparent; border: 1px solid rgba(255,255,255,0.2); 
    color: #fff; padding: 15px; font-weight: 700; text-align: center; 
    font-family: var(--font-code); font-size: 0.75rem; text-decoration: none; transition: 0.3s; 
    display: flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-enter:hover { border-color: #fff; background: rgba(255,255,255,0.05); }

/* --- UTILITIES & FORM --- */
.price-lock { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px; }
.buy-trigger { background: #fff; color: #000; padding: 8px 16px; font-family: var(--font-code); font-weight: bold; font-size: 0.7rem; text-decoration: none; }

.form-container { width: 100%; }
.form-group { margin-bottom: 25px; }
.form-group label { display: block; font-family: var(--font-code); font-size: 0.7rem; color: #666; margin-bottom: 8px; letter-spacing: 1px; }
.form-group input, .form-group textarea { 
    width: 100%; background: rgba(0,0,0,0.3); border: 1px solid #333; 
    padding: 18px; color: #fff; outline: none; font-family: var(--font-code); font-size: 0.9rem; transition: 0.3s; 
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--c-core); background: rgba(0, 243, 255, 0.05); }
.submit-btn { width: 100%; background: var(--c-core); border: none; padding: 18px; font-weight: 800; cursor: pointer; transition: 0.3s; font-family: var(--font-code); letter-spacing: 1px; }
.submit-btn:hover { background: #fff; box-shadow: 0 0 30px #fff; }

/* --- FOOTER --- */
.hud-footer { padding: 80px 20px; text-align: center; border-top: 1px solid var(--border); margin-top: 120px; background: #000; }
.legal-disclaimer { max-width: 700px; margin: 0 auto 30px; font-family: var(--font-code); font-size: 0.65rem; color: #444; line-height: 1.6; border: 1px solid #111; padding: 20px; }
.footer-links a { color: #666; text-decoration: none; font-size: 0.75rem; margin: 0 15px; font-family: var(--font-code); transition: 0.3s; }
.footer-links a:hover { color: var(--c-core); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } .cell-wide { grid-column: span 2; } }
@media (max-width: 768px) { 
    .bento-grid { grid-template-columns: 1fr; } 
    .cell-wide { grid-column: span 1; } 
    .mega-title { font-size: 3.5rem; }
    .hero-section { padding: 100px 20px 60px; text-align: center; }
    .hero-content { width: 100%; }
    .hero-artifact-container { height: 350px; }
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.blink { animation: blink 1s infinite; }
