/* --- Variables de Diseño Tech / Cyber-Dark --- */
:root {
    --bg-main: #05050a;          
    --bg-card: #0d0d1a;          
    --primary-neon: #00f2fe;     
    --secondary-neon: #9d4edd;   
    --text-main: #e2e8f0;        
    --text-muted: #94a3b8;       
    --whatsapp-neon: #25d366;    
    --font-stack: 'Courier New', 'Segoe UI', monospace; 
    --nav-height: 75px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    padding-top: var(--nav-height);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Menú de Navegación Fijo --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(5, 5, 10, 0.9);
    border-bottom: 1px solid rgba(0, 242, 254, 0.2);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-stack);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo i { color: var(--primary-neon); }
.logo span { color: var(--secondary-neon); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-stack);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 8px rgba(0, 242, 254, 0.6);
}

/* --- Títulos Globales --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
}

.section-title h2 i {
    color: var(--primary-neon);
    font-size: 1.6rem;
    margin-right: 10px;
}

.section-title p {
    color: var(--text-muted);
    font-family: var(--font-stack);
    font-size: 0.95rem;
}

.subtitle-section {
    color: var(--text-muted);
    font-family: var(--font-stack);
    font-size: 0.95rem;
}

/* --- Hero Section con CSS-only Slide de Fondo --- */
.hero {
    position: relative;
    padding: 120px 0 80px 0; 
    text-align: center;
    overflow: hidden;
    min-height: 90vh;        
    display: flex;
    align-items: center;     
    justify-content: center; 
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;             
}

.css-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%; 
    height: 100%;
    display: flex;
    z-index: -2;
    animation: slideAnimation 21s infinite;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(18, 14, 46, 0.85) 0%, var(--bg-main) 95%);
    z-index: -1;
}

@keyframes slideAnimation {
    0%, 28% { transform: translateX(0); }
    33%, 61% { transform: translateX(-33.33%); }
    66%, 95% { transform: translateX(-66.66%); }
    100% { transform: translateX(0); }
}

.tech-badge {
    display: inline-block;
    font-family: var(--font-stack);
    font-size: 0.8rem;
    color: var(--primary-neon);
    border: 1px solid var(--primary-neon);
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 25px;
    background: rgba(0, 242, 254, 0.05);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    width: 100%;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary-neon), var(--secondary-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .subtitle {
    font-size: 1.25rem;
    color: var(--text-main);
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* --- Botones --- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, #00f2fe 0%, #4338ca 100%);
    color: #000;
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-stack);
    font-size: 1rem;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid var(--primary-neon);
}

.btn-primary:hover {
    box-shadow: 0 0 35px rgba(0, 242, 254, 0.7);
    color: #fff;
    transform: translateY(-2px);
}

/* --- Sección: Objetivo & Detalles --- */
.about { padding: 90px 0; }

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

#landing-page .about-grid {
    grid-template-columns: 1fr;
}

.about-text h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: var(--primary-neon);
}
.about-text p { color: var(--text-muted); margin-bottom: 20px; }

.tech-highlight {
    background: rgba(0, 242, 254, 0.03);
    border-left: 3px solid var(--primary-neon);
    padding: 15px;
    border-radius: 0 8px 8px 0;
}
.tech-highlight p { margin-bottom: 0; color: var(--text-main); }
.tech-highlight i { color: var(--primary-neon); margin-right: 5px; }

.about-stats { display: flex; flex-direction: column; gap: 20px; }

.stat-box {
    background-color: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(157, 78, 221, 0.2);
}
.stat-box h4 {
    font-size: 2.3rem;
    color: var(--secondary-neon);
    margin-bottom: 5px;
    font-family: var(--font-stack);
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.4);
}
.stat-box p { font-size: 0.9rem; color: var(--text-muted); }

/* Centrado específico para la tarjeta de la sección Oferta */
#oferta .stat-box {
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--primary-neon);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}
#oferta .stat-box h4 {
    color: var(--primary-neon);
    font-size: 3rem;
    text-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}
.price-title { font-weight: 700; color: var(--text-main) !important; letter-spacing: 1px; margin-bottom: 10px; }
.price-desc { margin-bottom: 15px; }
.price-highlight { color: var(--primary-neon) !important; font-family: var(--font-stack); font-weight: bold; }

/* --- Sección Catálogo (Efecto Tarjeta Giratoria 3D) --- */
.catalog-section { background-color: #080812; padding: 90px 0; }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.flip-card { background-color: transparent; height: 360px; perspective: 1000px; }
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-1-bg, .card-2-bg, .card-3-bg { background: linear-gradient(rgba(13, 13, 26, 0.85), rgba(13, 13, 26, 0.95)), #0d0d1a; }

.flip-card-front { display: flex; align-items: center; justify-content: center; padding: 30px; }
.card-content h3 { font-size: 1.4rem; margin-bottom: 15px; }
.card-icon { font-size: 2.8rem; color: var(--primary-neon); margin-bottom: 20px; text-shadow: 0 0 15px rgba(0, 242, 254, 0.4); }
.flip-card-front p { color: var(--text-muted); font-size: 0.95rem; }

.flip-card-back { transform: rotateY(180deg); display: flex; flex-direction: column; justify-content: center; padding: 30px; }
.back-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); z-index: 1; }
.back-content { position: relative; z-index: 2; width: 100%; text-align: left; }
.back-content h4 { font-size: 1.1rem; color: var(--primary-neon); margin-bottom: 15px; font-family: var(--font-stack); }

.team-list { list-style: none; margin-bottom: 10px; }
.team-list li { font-size: 0.9rem; margin-bottom: 6px; color: var(--text-main); }
.team-list li strong { color: var(--secondary-neon); }
.flip-card:hover .flip-card-back { border-color: var(--primary-neon); box-shadow: 0 0 25px rgba(0, 242, 254, 0.2); }

/* --- Sección: Proceso e Intervenciones --- */
.process-section { padding: 90px 0; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.process-box { background: var(--bg-card); padding: 40px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.03); }
.process-box h3 { color: var(--primary-neon); margin-bottom: 20px; font-size: 1.4rem; }
.tech-list { list-style-position: inside; color: var(--text-muted); }
.tech-list li { margin-bottom: 12px; font-size: 0.95rem; }
.tech-list li strong { color: var(--text-main); }
.guarantee-text { background: rgba(37, 211, 102, 0.05); border: 1px solid rgba(37, 211, 102, 0.2); padding: 15px; border-radius: 4px; margin-bottom: 20px; font-size: 0.95rem; }
.sub-tech { color: var(--secondary-neon); font-family: var(--font-stack); margin-bottom: 15px; }

/* --- Sección: Contacto --- */
.contact { padding: 90px 0; }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: linear-gradient(145deg, #0d0d1a 0%, #05050a 100%);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid rgba(0, 242, 254, 0.15);
}
.contact-info h3 { font-size: 1.7rem; margin-bottom: 15px; font-family: var(--font-stack); }
.contact-info p { color: var(--text-muted); margin-bottom: 30px; font-family: var(--font-stack); }
.info-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; font-size: 0.95rem; }
.info-item i { color: var(--secondary-neon); font-size: 1.1rem; }
.contact-action { display: flex; align-items: center; justify-content: center; }

/* --- Footer --- */
footer { background-color: #030307; color: var(--text-muted); padding: 60px 0 30px 0; text-align: center; border-top: 1px solid rgba(157, 78, 221, 0.1); }
.motivation { font-family: var(--font-stack); color: var(--text-main); font-size: 1.1rem; max-width: 800px; margin: 0 auto 30px auto; }
.copyright { font-family: var(--font-stack); font-size: 0.8rem; }

/* --- Botón Flotante WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: rgba(5, 5, 10, 0.8);
    color: var(--whatsapp-neon);
    border: 2px solid var(--whatsapp-neon);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
    z-index: 1100;
    text-decoration: none;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.whatsapp-float:hover { transform: scale(1.1) rotate(10deg); background-color: var(--whatsapp-neon); color: #000; box-shadow: 0 0 30px rgba(37, 211, 102, 0.8); }

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 100px 0 60px 0; } 
    .hero h1 { font-size: 2.2rem; }    
    .hero .subtitle { font-size: 1.05rem; margin-bottom: 30px; }
    .about-grid, .process-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 35px; }
    .contact-wrapper { padding: 30px; }
    #landing-page .about-grid { grid-template-columns: 1fr; }
}