/* RUTA: app/static_legacy/assets/css/landing-style.css */

/* --- VARIABLES DE TEMA DEEP AXIOM --- */
:root {
    --bg-dark: #0a0a0a;
    --bg-light: #101010;
    --text-primary: #f5f5f7;
    --text-secondary: #a7a7a7;
    --accent-red: #D20707;
    --accent-blue: #300586;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-light: rgba(255, 255, 255, 0.2);
    --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body.landing-page {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- BARRA DE NAVEGACIÓN --- */
.landing-navbar {
    background-color: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 5%;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}
.landing-navbar .logo { font-size: 1.5rem; font-weight: 700; color: var(--text-primary); text-decoration: none; text-shadow: 0 0 8px var(--accent-red); }
.landing-navbar .nav-links { display: flex; align-items: center; }
.landing-navbar .nav-links a { color: var(--text-secondary); text-decoration: none; margin-left: 25px; font-weight: 500; transition: color 0.3s ease, text-shadow 0.3s ease; }
.landing-navbar .nav-links a:hover { color: var(--text-primary); text-shadow: 0 0 8px var(--accent-red); }

/* --- SECCIÓN HERO CON DIANNE --- */
.landing-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5%;
    position: relative;
    overflow: hidden;
    /* Capas de fondo: Gradiente de luz -> Imagen de Dianne -> Color sólido */
    background: 
        radial-gradient(ellipse at 75% 50%, rgba(210, 7, 7, 0.15) 0%, transparent 50%),
        url('../img/dianne-hero-bg.png') no-repeat 85% bottom / auto 80%,
        var(--bg-dark);
}
.landing-hero::after { /* Overlay para oscurecer y fundir */
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, var(--bg-dark) 5%, transparent 40%);
    pointer-events: none;
}
.hero-content {
    max-width: 50%;
    text-align: left;
}
.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.1;
    background: -webkit-linear-gradient(45deg, var(--accent-blue), var(--accent-red), var(--accent-blue));
    background-size: 200% 200%; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    animation: gradient-animation 5s ease infinite;
}
@keyframes gradient-animation { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.hero-content .subtitle { font-size: clamp(1.1rem, 2vw, 1.2rem); color: var(--text-secondary); margin-bottom: 2.5rem; line-height: 1.7; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

/* --- BOTONES "GHOST" --- */
.cta-button, .secondary-cta-button {
    display: inline-block; padding: 12px 30px; border-radius: 50px;
    text-decoration: none; font-weight: 600; transition: all 0.2s ease-in-out;
    border: 2px solid; background: transparent; cursor: pointer;
}
.cta-button { color: var(--accent-red); border-color: var(--accent-red); box-shadow: 0 0 15px -5px var(--accent-red); }
.cta-button:hover { background: rgba(210, 7, 7, 0.1); color: var(--text-primary); transform: translateY(-2px); box-shadow: 0 0 20px -5px var(--accent-red); }
.cta-button:active { background: var(--accent-red); color: var(--text-primary); transform: translateY(0); }
.secondary-cta-button { color: var(--text-secondary); border-color: var(--border-color); }
.secondary-cta-button:hover { color: var(--text-primary); border-color: var(--border-color-light); background: var(--hover-gray); }
.google-cta-button { background: #4285F4; border-color: #4285F4; color: var(--text-primary); }
.google-cta-button:hover { background: #5a95f5; border-color: #5a95f5; }

/* --- SECCIONES GENERALES Y FEATURES --- */
.landing-section { padding: 120px 8%; text-align: center; }
.landing-section.light { background-color: var(--bg-light); }
.landing-section h2 { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; margin-bottom: 1.5rem; }
.landing-section .section-intro { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 5rem; max-width: 800px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; text-align: left; }
.feature-item {
    background-color: transparent; padding: 2.5rem; border-radius: 15px; border: 1px solid var(--border-color);
    position: relative; overflow: hidden; transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature-item:hover { transform: translateY(-10px); border-color: var(--accent-red); }
.feature-item::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 0% 0%, var(--accent-blue), transparent 40%);
    opacity: 0; transition: opacity 0.4s ease;
}
.feature-item:hover::before { opacity: 0.15; }
.feature-item i { font-size: 2.5rem; margin-bottom: 1.5rem; display: block; background: -webkit-linear-gradient(45deg, var(--accent-red), var(--accent-blue)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.feature-item h3 { font-size: 1.6rem; font-weight: 600; margin-bottom: 1rem; color: var(--text-primary); }
.feature-item p { color: var(--text-secondary); line-height: 1.8; }

/* --- FOOTER --- */
.landing-footer { background-color: var(--bg-light); padding: 60px 5%; text-align: center; border-top: 1px solid var(--border-color); }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 25px; }
.footer-logo { font-size: 1.8rem; font-weight: bold; color: var(--text-primary); text-shadow: 0 0 5px var(--accent-red); }
.footer-links a { color: var(--text-secondary); text-decoration: none; margin: 0 15px; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--accent-red); }
.footer-auth-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; align-items: center; }
.copyright { margin-top: 20px; font-size: 0.9rem; color: #666; }

/* --- RESPONSIVIDAD --- */
@media (max-width: 992px) {
    .hero-content { max-width: 100%; text-align: center; }
    .hero-buttons { justify-content: center; }
    .landing-hero { background-position: center bottom; background-size: auto 60%; }
}
@media (max-width: 768px) {
    .landing-navbar { padding: 1rem 5%; }
    .landing-navbar .nav-links { display: none; }
}