/* =========================================
   SATA-CODA™ | INSTITUTIONAL LUXURY CSS V27
   ========================================= */

body, html { 
    margin: 0; padding: 0; overflow: hidden; 
    background: #000000; color: #ffffff; 
    font-family: 'Helvetica Neue', Arial, sans-serif; 
    width: 100vw; height: 100vh;
}

#bg-video {
    position: absolute; top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: 0; opacity: 0.45; 
    object-fit: cover; transition: opacity 1.5s ease-in-out;
}
#vesselCanvas { position: absolute; top: 0; left: 0; z-index: 1; pointer-events: none;}

/* Panels */
.glass-panel-full, .glass-panel-scroll {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 5, 5, 0.5); z-index: 50; backdrop-filter: blur(25px); 
}
.glass-panel-full { display: flex; flex-direction: column; justify-content: center; align-items: center; }
.glass-panel-scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; }

.gold-text { color: #d4af37; }
.error-text { color: #ff4444; font-size: 0.75rem; letter-spacing: 3px; margin-top: 15px; display: none; text-transform: uppercase;}

/* Global Luxury Buttons */
.luxury-btn { 
    background: rgba(255, 255, 255, 0.03); color: #ffffff; 
    border: 1px solid rgba(255, 255, 255, 0.4); 
    padding: 22px 30px; cursor: pointer; letter-spacing: 4px; font-size: 0.8rem; 
    text-transform: uppercase; transition: all 0.5s ease; font-weight: 300;
    backdrop-filter: blur(5px); outline: none; border-radius: 2px;
}
.luxury-btn:hover { background: #ffffff; color: #000000; box-shadow: 0px 0px 25px rgba(255,255,255,0.3); transform: translateY(-2px);}
.primary-glow { border-color: #d4af37; color: #d4af37; }
.primary-glow:hover { background: #d4af37; color: #000000; box-shadow: 0px 0px 30px rgba(212, 175, 55, 0.4); }
.secondary-btn { border-color: #5b7c99; color: #5b7c99; font-size: 0.75rem; padding: 18px 25px; }
.secondary-btn:hover { background: #5b7c99; color: #ffffff; box-shadow: 0px 0px 20px rgba(91, 124, 153, 0.4); }
.download-link { text-decoration: none; margin-top: 15px; display: inline-block; width: 100%; }

/* STEP 1: Access Gate */
.mh-logo-hero { width: 250px; max-width: 80vw; margin-bottom: 25px; opacity: 0.95; }
.gate-logos { display: flex; gap: 40px; margin-bottom: 50px; align-items: center; }
.gate-logos img { width: 160px; max-width: 40vw; height: auto; opacity: 0.9; }
.gate-label { font-size: 0.75rem; letter-spacing: 6px; color:#aaaaaa; margin-bottom:15px; }

#access-input {
    background: transparent; border: none; border-bottom: 2px solid rgba(212, 175, 55, 0.5);
    color: #d4af37; font-family: 'Archivo Black', sans-serif; font-size: 2rem;
    text-align: center; width: 350px; margin-bottom: 30px; outline: none;
    letter-spacing: 10px; text-transform: uppercase; padding-bottom: 10px;
    transition: border-color 0.3s ease;
}
#access-input:focus { border-bottom: 2px solid #d4af37; }

/* STEP 2: Pre-Flight Lobby */
.lobby-content-wrapper {
    display: flex; flex-direction: column; align-items: center; 
    padding: 50px 20px; min-height: 100%; justify-content: flex-start;
    max-width: 900px; margin: 0 auto;
}
.lobby-hero-img { width: 100%; border-radius: 4px; margin-bottom: 40px; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0px 10px 30px rgba(0,0,0,0.5);}
.anchor-hero-img { width: 60%; max-width: 400px; margin-bottom: 30px; opacity: 0.9; filter: drop-shadow(0px 5px 15px rgba(0,0,0,0.5));}

.disclaimer-advisory { 
    font-size: 0.7rem; color: #888888; text-align: center; margin-top: 10px; 
    letter-spacing: 2px; text-transform: uppercase; line-height: 1.8;
}

/* STEP 3: HUD, Directives, Watermark */
#hud {
    position: absolute; top: 0; left: 0; width: 100%; 
    padding: 25px 0; text-align: center; font-size: 0.85rem; letter-spacing: 4px; z-index: 10; 
    text-transform: uppercase; font-weight: 300; background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(15px); border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
#active-directive { 
    position: absolute; bottom: 12%; left: 50%; transform: translateX(-50%);
    font-size: 1.3rem; letter-spacing: 5px; color: #ffffff; 
    font-weight: 300; opacity: 0; transition: opacity 2s ease;
    text-align: center; z-index: 10; width: 100%; text-shadow: 0px 4px 15px rgba(0,0,0,0.9); 
}
#active-watermark {
    position: absolute; bottom: 25px; right: 30px; z-index: 10;
    display: flex; align-items: center; gap: 15px;
    opacity: 0; transition: opacity 1.5s ease; pointer-events: none; 
}
#active-watermark img { width: 45px; border-radius: 2px; opacity: 0.6; }
.watermark-text { font-family: 'Archivo Black', sans-serif; font-size: 0.75rem; letter-spacing: 5px; color: #ffffff; opacity: 0.4; }

/* STEP 4: F1 Unified State Dashboard */
.final-content-wrapper {
    display: flex; justify-content: center; align-items: center;
    min-height: 100%; padding: 40px 20px;
}
.final-layout-grid {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 30px; max-width: 1300px; width: 95%; margin: 0 auto; 
    background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 50px; border-radius: 4px; backdrop-filter: blur(15px);
    box-shadow: 0px 20px 50px rgba(0,0,0,0.8);
    opacity: 0; animation: elegantRise 1.5s ease forwards 0.5s;
}

/* NEW: F1 Branding Header & Disclaimers inside the glass panel */
.final-branding-header {
    display: flex; flex-direction: column; align-items: center; gap: 15px;
    margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 30px; width: 100%;
}
.final-branding-header img { width: 60px; opacity: 0.9; }
.final-branding-header span { font-family: 'Archivo Black', sans-serif; font-size: 0.8rem; letter-spacing: 8px; color: #cccccc; }

.final-disclaimer {
    width: 100%; text-align: center; font-size: 0.65rem; color: #888888; letter-spacing: 2px; text-transform: uppercase;
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; margin-top: 20px; line-height: 1.8;
}

/* Strict 50/50 Columns */
.final-columns { display: flex; flex-direction: row; width: 100%; gap: 60px; }
.final-left, .final-right { flex: 1 1 50%; width: 50%; box-sizing: border-box; }

.final-left { display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid rgba(255,255,255,0.1); padding-right: 50px;}
.final-right { display: flex; flex-direction: column; text-align: left; padding-left: 10px;}

/* Larger Image Class */
.pyramid-img-large { width: 100%; max-width: 500px; height: auto; filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.8)); margin-bottom: 40px;}

.stats-row { display: flex; align-items: center; gap: 40px; }
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.2); }
.stat-box { display: flex; flex-direction: column; align-items: center; text-align: center;}
.dash-stat { font-family: 'Archivo Black', sans-serif; font-size: 3rem; color: #d4af37; line-height: 1; margin-bottom: 8px;}
.dash-label { font-size: 0.65rem; color: #aaaaaa; letter-spacing: 4px; text-transform: uppercase;}

.final-title { 
    font-family: 'Archivo Black', sans-serif; font-size: 2rem; letter-spacing: 8px; 
    color: #ffffff; margin-top: 0; margin-bottom: 20px; text-transform: uppercase; 
}

.b2b-summary-panel p { font-size: 0.85rem; line-height: 1.6; color: #cccccc; margin-bottom: 15px; font-weight: 300; }
.b2b-summary-panel strong { color: #d4af37; font-weight: 500; letter-spacing: 1px; }
.final-actions { display: flex; flex-direction: column; width: 100%; gap: 10px; margin-top: 20px;}
.final-actions button { width: 100%; }

@keyframes elegantRise { 
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); } 
}

/* Mobile Responsiveness */
@media (max-width: 1000px) {
    .final-columns { flex-direction: column; gap: 40px; }
    .final-left, .final-right { width: 100%; flex: 1 1 100%; }
    .final-left { border-right: none; padding-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; }
    .final-right { text-align: center; padding-left: 0;}
    .pyramid-img-large { max-width: 350px; }
    .dash-stat { font-size: 2.5rem; }
    .final-title { font-size: 1.5rem; letter-spacing: 6px; }
    #access-input { width: 250px; font-size: 1.5rem; }
    .anchor-hero-img { width: 80%; }
    .luxury-btn { font-size: 0.7rem; padding: 18px 15px;}
}
