/* =========================================
   FURTUNALABS - SPEEDMATH ELITE ENGINE
   ========================================= */

:root {
    --core-magenta: #ff00ff;
    --core-cyan: #00ffff;
    --bg-void: #030305;
    --glass-panel: rgba(10, 10, 15, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-muted: #8b90a0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-void);
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- ENVIRONMENT & EFFECTS --- */
.stars-bg {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: url('proiect/bin/Debug/fundal.jpg') center/cover no-repeat;
    z-index: -3; opacity: 0.6;
}

.ambient-glow {
    position: fixed; top: 20%; left: 50%; transform: translateX(-50%);
    width: 60vw; height: 60vh;
    background: radial-gradient(circle, rgba(255,0,255,0.15) 0%, rgba(0,255,255,0.05) 50%, transparent 70%);
    filter: blur(80px); z-index: -2; pointer-events: none;
}

.scanlines {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.1) 3px, rgba(0,0,0,0.1) 4px);
    z-index: 9999; pointer-events: none; opacity: 0.8;
}

.fade-in { animation: fadeIn 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.levitate { animation: float 6s ease-in-out infinite; }
.levitate-delay { animation: float 6s ease-in-out infinite 1.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* --- NAVIGATION --- */
.premium-nav {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-wrapper { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; }
.brand-logo { font-family: 'Orbitron'; font-weight: 900; font-size: 1.8rem; letter-spacing: 3px; }
.brand-logo span { color: var(--core-magenta); text-shadow: 0 0 20px rgba(255,0,255,0.5); }

.nav-items { display: flex; align-items: center; gap: 2rem; }
.nav-link { color: var(--text-primary); text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 0.95rem; letter-spacing: 1px; transition: color 0.3s ease; }
.nav-link:hover { color: var(--core-cyan); text-shadow: 0 0 10px var(--core-cyan); }

.btn-neon-solid {
    background: transparent; color: var(--core-cyan); font-family: 'Orbitron'; font-weight: 900;
    text-decoration: none; text-transform: uppercase; padding: 0.6rem 1.8rem;
    border: 2px solid var(--core-cyan); border-radius: 4px;
    box-shadow: 0 0 15px rgba(0,255,255,0.2), inset 0 0 10px rgba(0,255,255,0.1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-neon-solid:hover { background: var(--core-cyan); color: #000; box-shadow: 0 0 30px var(--core-cyan), inset 0 0 15px rgba(255,255,255,0.5); transform: translateY(-2px); }

/* --- HERO SHOWCASE --- */
.hero-showcase { min-height: 90vh; display: flex; align-items: center; justify-content: center; padding: 4rem 2rem; }
.hero-content { max-width: 1200px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 3rem; }

.hero-logo { width: 100%; max-width: 800px; filter: drop-shadow(0 0 40px rgba(255,0,255,0.4)); }
.hidden-title { display: none; }

.mission-briefing { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 4rem; background: var(--glass-panel); padding: 3rem; border-radius: 24px; border: 1px solid var(--glass-border); backdrop-filter: blur(15px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.text-column { flex: 1.5; }
.hero-lead { font-size: 1.4rem; color: var(--text-muted); font-weight: 500; margin-bottom: 2rem; }
.highlight { color: var(--text-primary); font-weight: 700; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

.action-cluster { display: flex; gap: 1.5rem; }
.btn-cyber-primary, .btn-cyber-secondary { font-family: 'Orbitron'; font-weight: 900; text-decoration: none; text-transform: uppercase; padding: 1rem 2.5rem; border-radius: 6px; transition: all 0.3s ease; }
.btn-cyber-primary { background: var(--core-magenta); color: #fff; border: 1px solid transparent; box-shadow: 0 10px 30px rgba(255,0,255,0.3); }
.btn-cyber-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(255,0,255,0.6); }
.btn-cyber-secondary { background: rgba(0,255,255,0.05); color: var(--core-cyan); border: 1px solid var(--core-cyan); }
.btn-cyber-secondary:hover { background: var(--core-cyan); color: #000; box-shadow: 0 10px 30px rgba(0,255,255,0.4); }

.visual-column { flex: 1; display: flex; justify-content: flex-end; }
.einstein-hologram { position: relative; padding: 10px; }
.einstein-asset { width: 100%; max-width: 280px; border-radius: 16px; position: relative; z-index: 2; border: 2px solid rgba(0,255,255,0.3); }
.holo-border { position: absolute; inset: 0; border: 2px solid var(--core-cyan); border-radius: 20px; box-shadow: 0 0 30px rgba(0,255,255,0.3); transform: scale(1.05); }

/* --- BENTO GRID PROTOCOLS --- */
.glass-module { padding: 6rem 2rem; display: flex; justify-content: center; }
.module-core { max-width: 1200px; width: 100%; }
.cyber-heading { font-family: 'Orbitron'; font-size: 2.5rem; color: var(--text-primary); text-align: center; margin-bottom: 4rem; letter-spacing: 4px; text-shadow: 0 0 20px rgba(255,255,255,0.2); }

.bento-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.bento-card { position: relative; background: var(--glass-panel); backdrop-filter: blur(10px); padding: 3rem 2rem; border-radius: 20px; border: 1px solid var(--glass-border); overflow: hidden; transition: transform 0.4s ease, border-color 0.4s ease; text-align: center; }
.bento-card:hover { transform: translateY(-10px); border-color: rgba(255,0,255,0.5); }
.card-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 100px; background: var(--core-magenta); filter: blur(60px); opacity: 0; transition: opacity 0.4s ease; }
.bento-card:hover .card-glow { opacity: 0.3; }
.cyber-icon { font-size: 3.5rem; display: block; margin-bottom: 1.5rem; position: relative; z-index: 1; }
.bento-card h3 { font-family: 'Orbitron'; font-size: 1.5rem; margin-bottom: 1rem; color: var(--core-cyan); position: relative; z-index: 1; }
.bento-card p { color: var(--text-muted); position: relative; z-index: 1; }

/* --- TACTICAL HUD --- */
.hud-interface { background: rgba(5, 5, 8, 0.95); border: 1px solid rgba(0,255,255,0.3); border-radius: 12px; max-width: 1000px; width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,0.8), inset 0 0 40px rgba(0,255,255,0.05); position: relative; overflow: hidden; }
.hud-top-bar { display: flex; justify-content: space-between; background: rgba(0,255,255,0.1); padding: 0.8rem 1.5rem; border-bottom: 1px solid rgba(0,255,255,0.2); font-family: 'Orbitron'; font-size: 0.85rem; font-weight: 700; color: var(--core-cyan); }
.hud-online { color: #00ff66; text-shadow: 0 0 10px #00ff66; animation: blink 2s infinite; }

.hud-arena { display: flex; justify-content: space-around; align-items: center; padding: 4rem 2rem; }
.pilot-deck { text-align: center; }
.pilot-id { display: inline-block; font-family: 'Orbitron'; color: var(--text-muted); font-size: 1.2rem; letter-spacing: 4px; margin-bottom: 2rem; border-bottom: 2px solid transparent; padding-bottom: 0.5rem; }
.deck-left .pilot-id { border-color: var(--core-cyan); color: var(--core-cyan); }
.deck-right .pilot-id { border-color: var(--core-magenta); color: var(--core-magenta); }

.keypad { display: flex; gap: 1rem; justify-content: center; }
.key-cap { display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; background: rgba(255,255,255,0.03); border: 2px solid rgba(255,255,255,0.2); border-radius: 12px; font-family: 'Orbitron'; font-size: 1.5rem; font-weight: 900; color: var(--text-primary); transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.deck-left .key-cap:hover { background: var(--core-cyan); color: #000; border-color: var(--core-cyan); transform: translateY(-5px) scale(1.1); box-shadow: 0 10px 20px rgba(0,255,255,0.4); }
.deck-right .key-cap:hover { background: var(--core-magenta); color: #fff; border-color: var(--core-magenta); transform: translateY(-5px) scale(1.1); box-shadow: 0 10px 20px rgba(255,0,255,0.4); }

.arena-divider { font-family: 'Orbitron'; font-size: 4rem; font-weight: 900; background: linear-gradient(to right, var(--core-cyan), var(--core-magenta)); -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 0 15px rgba(255,255,255,0.2)); }

.hud-console { background: rgba(0,0,0,0.5); padding: 1.5rem; border-top: 1px solid rgba(0,255,255,0.2); }
.terminal-text { font-family: 'monospace'; color: var(--core-cyan); font-size: 1rem; letter-spacing: 2px; border-right: 2px solid var(--core-cyan); white-space: nowrap; overflow: hidden; display: inline-block; animation: typeWriter 3s steps(40, end), blinkCursor 0.75s step-end infinite; }

@keyframes typeWriter { from { width: 0; } to { width: 100%; } }
@keyframes blinkCursor { from, to { border-color: transparent; } 50% { border-color: var(--core-cyan); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

/* --- FOOTER LAUNCH --- */
.footer-command { padding: 6rem 2rem 3rem; text-align: center; position: relative; border-top: 1px solid var(--glass-border); background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(3,3,5,0) 100%); }
.launch-sequence { display: flex; flex-direction: column; align-items: center; gap: 3rem; }

.launch-button { position: relative; display: inline-block; border-radius: 20px; }
.launch-button img { width: 400px; max-width: 90vw; position: relative; z-index: 2; transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
.launch-glow { position: absolute; inset: 0; background: var(--core-cyan); filter: blur(40px); opacity: 0; transition: opacity 0.5s ease; z-index: 1; border-radius: 20px; }
.launch-button:hover img { transform: scale(1.15) translateY(-10px); filter: brightness(1.2); }
.launch-button:hover .launch-glow { opacity: 0.6; }

.footer-branding { margin-top: 2rem; color: var(--text-muted); font-size: 0.9rem; letter-spacing: 2px; }
