/* static/estilos_landing.css */

/* --- FUENTES & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Outfit:wght@300;500;700&display=swap');

:root {
    --primary: #4cc9f0; --secondary: #7209b7; --accent: #f72585; --gold: #ffd700;
    --bg-deep: #0f172a; --text-main: #e2e8f0;
}

* { box-sizing: border-box; }
body { margin: 0; background-color: var(--bg-deep); color: var(--text-main); font-family: 'Outfit', sans-serif; overflow-x: hidden; min-height: 100vh; }

/* --- FONDO & AMBIENTE --- */
.cyber-grid {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: linear-gradient(rgba(76, 201, 240, 0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(76, 201, 240, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) scale(2);
    animation: gridMove 20s linear infinite; z-index: -2;
}
@keyframes gridMove { 0% { background-position: 0 0; } 100% { background-position: 0 600px; } }

.fog-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 0%, rgba(30, 27, 75, 0.2) 0%, var(--bg-deep) 85%); z-index: -1; pointer-events: none; }

/* --- DECORACIÓN HUD --- */
.side-line { position: absolute; top: 150px; bottom: 100px; width: 1px; background: linear-gradient(180deg, transparent, var(--primary), transparent); opacity: 0.5; z-index: 0; }
.line-left { left: 10%; } .line-right { right: 10%; }
.scanner-dot { position: absolute; top: 0; left: -2px; width: 5px; height: 15px; background: var(--primary); box-shadow: 0 0 10px var(--primary); animation: scanMove 5s ease-in-out infinite; }
@keyframes scanMove { 0%, 100% { top: 20%; opacity: 0;} 50% { top: 80%; opacity: 1; } }

/* --- HEADER --- */
header { padding: 0 40px; height: 80px; display: flex; justify-content: space-between; align-items: center; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(76, 201, 240, 0.3); }
.brand { font-family: 'Orbitron'; font-size: 1.8rem; font-weight: 900; color: white; text-shadow: 0 0 10px var(--primary); }

.btn-glow { background: var(--primary); color: var(--bg-deep); padding: 8px 25px; border-radius: 4px; font-weight: bold; border: none; cursor: pointer; font-family: 'Orbitron'; transition:0.3s; clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%); }
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 0 20px var(--primary); }

.btn-gold { background: transparent; color: var(--gold); border: 1px solid var(--gold); padding: 8px 25px; border-radius: 4px; font-weight: bold; cursor: pointer; font-family: 'Orbitron'; transition:0.3s; margin-left: 10px; }
.btn-gold:hover { background: rgba(255,215,0,0.1); box-shadow: 0 0 15px var(--gold); }

/* --- HERO --- */
.hero { text-align: center; padding: 100px 20px 60px; position: relative; max-width: 1400px; margin: 0 auto; }
.hero h1 { font-family: 'Orbitron'; font-size: 5.5rem; line-height: 1; margin-bottom: 20px; background: linear-gradient(180deg, #fff 0%, #94a3b8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 20px rgba(114, 9, 183, 0.6)); position: relative; z-index: 2; }
.hero p { font-size: 1.4rem; color: #cbd5e1; max-width: 700px; margin: 0 auto 40px; text-shadow: 0 2px 4px rgba(0,0,0,0.5); position: relative; z-index: 2; }

/* --- CARDS (GRID) --- */
.cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; max-width: 1300px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 5; }
.holo-card { background: rgba(15, 23, 42, 0.7); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 4px; padding: 30px 25px; text-align: left; transition: 0.4s; position: relative; cursor: pointer; backdrop-filter: blur(5px); overflow: hidden; display: flex; flex-direction: column; min-height: 250px; }
.holo-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 0 30px rgba(76, 201, 240, 0.2); }
.card-number { position: absolute; top: -15px; right: 10px; font-family: 'Orbitron'; font-size: 5rem; font-weight: 900; color: rgba(255,255,255,0.03); z-index: 0; }
.card-icon { font-size: 2.5rem; margin-bottom: 15px; display: block; filter: drop-shadow(0 0 10px var(--secondary)); position: relative; z-index: 1;}
.holo-card h3 { font-family: 'Orbitron'; color: white; margin: 0 0 10px 0; font-size: 1.4rem; position: relative; z-index: 1; }
.holo-card p { color: #94a3b8; line-height: 1.5; font-size: 1rem; margin-bottom: 20px; position: relative; z-index: 1; flex-grow: 1; }
.feature-tag { display: inline-block; background: rgba(76, 201, 240, 0.1); color: var(--primary); padding: 4px 8px; border-radius: 4px; font-size: 0.75rem; border: 1px solid rgba(76, 201, 240, 0.3); margin-right: 5px; }

/* --- SECCIÓN TUTOR --- */
.tutor-section { margin-top: 100px; padding: 80px 20px; background: linear-gradient(180deg, transparent, rgba(255, 215, 0, 0.05), transparent); border-top: 1px solid rgba(255, 215, 0, 0.1); border-bottom: 1px solid rgba(255, 215, 0, 0.1); }
.tutor-content { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tutor-text h2 { font-family: 'Orbitron'; font-size: 2.5rem; color: var(--gold); margin-bottom: 20px; }
.tutor-list li { margin-bottom: 20px; display: flex; align-items: start; font-size: 1.1rem; color: #e2e8f0; }
.tutor-list li span { color: var(--gold); font-size: 1.5rem; margin-right: 15px; }
.tutor-dashboard-mockup { background: rgba(0,0,0,0.5); border: 2px solid var(--gold); border-radius: 4px; padding: 20px; box-shadow: 0 0 50px rgba(255, 215, 0, 0.1); }

/* --- MODALES (LOGIN & DETALLES) --- */
.detail-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.98); z-index: 200; display: none; flex-direction: column; animation: fadeIn 0.3s ease-out; overflow-y: auto; align-items: center; }
.detail-header { width: 100%; padding: 40px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); position:relative; }
.close-btn { position: absolute; top: 20px; right: 30px; background: transparent; border: none; color: white; font-size: 3rem; cursor: pointer; }
.detail-content { padding: 40px; max-width: 900px; width:100%; color: #e2e8f0; line-height: 1.8; font-size: 1.1rem; }

/* Modal Login Específico */
.login-box { background: rgba(20, 20, 30, 0.9); padding: 40px; border: 1px solid var(--primary); border-radius: 10px; width: 350px; text-align: center; margin-top: 100px; box-shadow: 0 0 50px rgba(0, 243, 255, 0.2); }
.input-group { margin-bottom: 20px; text-align: left; }
.input-group label { display: block; color: var(--primary); font-size: 0.8rem; margin-bottom: 5px; font-family: 'Orbitron'; }
.input-landing { width: 100%; padding: 12px; background: rgba(0,0,0,0.5); border: 1px solid #333; color: white; border-radius: 4px; font-family: 'Outfit'; }
.input-landing:focus { border-color: var(--primary); outline: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 768px) { .hero h1 { font-size: 3.5rem; } .tutor-content { grid-template-columns: 1fr; } .side-line { display: none; } }