/* Variables */
:root {
    --primary: #121075; /* Dark Blue from Logo */
    --secondary: #8DC63F; /* Light Green from Logo */
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f4f7f6;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text-dark); line-height: 1.6; background-color: #fff; overflow-x: hidden; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; padding: 40px 0; }
.text-center { text-align: center; }
.text-white { color: var(--text-light) !important; }
.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary); }
.shadow { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.mt-2 { margin-top: 1rem; } .mb-2 { margin-bottom: 1rem; }
.mt-4 { margin-top: 2rem; } .mb-4 { margin-bottom: 2rem; }
.lead { font-size: 1.2rem; color: #555; }

/* Grid System */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.align-center { align-items: center; }

/* Images */
.img-fluid { max-width: 100%; height: auto; }
.img-rounded { border-radius: 12px; }
.border-white { border: 5px solid #fff; }
.img-zoom { transition: transform 0.3s ease; }
.img-zoom:hover { transform: scale(1.03); }

/* Typography */
h1, h2, h3, h4 { font-weight: 700; }
.section-title { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; text-align: center; }

/* Navbar */
.navbar { position: fixed; top: 0; width: 100%; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 10px 5%; max-width: 1200px; margin: 0 auto; }
.nav-logo { height: 60px; }
.nav-links { list-style: none; display: flex; gap: 20px; }
.nav-links a { text-decoration: none; color: var(--primary); font-weight: bold; transition: color 0.3s; }
.nav-links a:hover { color: var(--secondary); }

/* Hero Section */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(rgba(18,16,117,0.05), rgba(18,16,117,0.1)); padding-top: 80px; }
.hero-logo { width: 250px; margin-bottom: 20px; border-radius: 50%; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.hero h1 { font-size: 3.5rem; color: var(--primary); margin-bottom: 10px; }
.hero .subtitle { font-size: 1.5rem; color: #555; max-width: 800px; margin: 0 auto 30px; }
.btn-primary { display: inline-block; padding: 15px 30px; background: var(--secondary); color: #fff; text-decoration: none; border-radius: 30px; font-size: 1.2rem; font-weight: bold; transition: background 0.3s, transform 0.3s; }
.btn-primary:hover { background: #7ab332; transform: translateY(-3px); }

/* Video Section */
.video-section { background-color: var(--primary); color: #fff; text-align: center; padding: 60px 0; }
.video-section .section-title { color: #fff; }
.video-container { position: relative; max-width: 900px; margin: 0 auto; border-radius: 15px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.4); border: 4px solid var(--secondary); background: #000; }
.video-container video { width: 100%; display: block; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity 0.3s; }
.play-btn { background: var(--secondary); color: #fff; border: none; width: 80px; height: 80px; border-radius: 50%; font-size: 2rem; cursor: pointer; transition: transform 0.3s, background 0.3s; margin-bottom: 10px; }
.play-btn:hover { transform: scale(1.1); background: #7ab332; }

/* Diagnostico */
.card { background: #fff; padding: 30px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-top: 5px solid transparent; }
.card.problem { border-color: #e74c3c; }
.card.solution { border-color: var(--secondary); }
.card h3 { color: var(--primary); margin-bottom: 15px; display: flex; align-items: center; gap: 10px; }
.card ul { margin-left: 20px; line-height: 1.8; }

/* Modelo y Pilares */
.stats-badge { display: inline-block; background: var(--secondary); color: #fff; font-size: 2rem; font-weight: bold; padding: 10px 30px; border-radius: 50px; margin: 20px 0; box-shadow: 0 5px 15px rgba(141, 198, 63, 0.4); }
.pilar-card { text-align: center; padding: 20px; }
.pilar-card h4 { color: var(--primary); margin: 15px 0 10px; font-size: 1.3rem; }
.icon-placeholder { font-size: 4rem; color: var(--secondary); margin-bottom: 10px; }

/* Fases */
.fase-item { background: #fff; padding: 20px; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 3px 10px rgba(0,0,0,0.05); border-left: 4px solid var(--secondary); }
.fase-badge { display: inline-block; background: var(--primary); color: #fff; padding: 5px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: bold; margin-bottom: 10px; }

/* Tabla Comparativa */
.styled-table { width: 100%; border-collapse: collapse; margin: 25px 0; font-size: 1rem; border-radius: 10px; overflow: hidden; box-shadow: 0 0 20px rgba(0,0,0,0.1); }
.styled-table thead tr { background-color: var(--primary); color: #ffffff; text-align: left; }
.styled-table th, .styled-table td { padding: 15px 20px; }
.styled-table tbody tr { border-bottom: 1px solid #dddddd; background-color: #fff; }
.styled-table tbody tr:nth-of-type(even) { background-color: #f9f9f9; }
.styled-table td.highlight { color: var(--secondary); font-weight: bold; }

/* Privacidad / Info blocks */
.info-block { margin-bottom: 25px; }
.info-block h3 { color: var(--secondary); margin-bottom: 10px; font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }

/* Contacto / Formulario */
.form-container { background: #fff; padding: 40px; border-radius: 12px; }
.form-container h3 { color: var(--primary); margin-bottom: 20px; font-size: 1.8rem; }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: var(--primary); }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--secondary); }
.btn-submit { width: 100%; background: var(--primary); color: #fff; padding: 15px; border: none; border-radius: 6px; font-size: 1.1rem; font-weight: bold; cursor: pointer; transition: background 0.3s; }
.btn-submit:hover { background: #0a0e5c; }
.form-message { margin-top: 15px; text-align: center; font-weight: bold; }
.success-msg { color: var(--secondary); }
.error-msg { color: #e74c3c; }

/* Botones y Redes */
.btn-whatsapp-large { display: inline-block; background: #25D366; color: #fff; text-decoration: none; padding: 12px 25px; border-radius: 30px; font-size: 1.2rem; font-weight: bold; margin-top: 10px; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); transition: transform 0.3s; }
.btn-whatsapp-large:hover { transform: translateY(-3px); }

/* Floating WhatsApp */
.float-whatsapp { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; background-color: #25d366; color: #FFF; border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 15px rgba(0,0,0,0.2); z-index: 100; transition: transform 0.3s; }
.float-whatsapp:hover { transform: scale(1.1); color: #fff; }
.my-float { margin-top: 15px; }

/* Footer */
footer { background: var(--primary); color: #fff; padding: 30px 0; }
.footer-logo { width: 100px; margin-bottom: 10px; }

/* Animations */
.animate-fade-in { animation: fadeIn 1.5s ease forwards; opacity: 0; }
.animate-slide-up { animation: slideUp 1s ease forwards; opacity: 0; transform: translateY(30px); }
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }

/* Scroll Animations */
.fade-on-scroll { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media(max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; } /* Simple approach for mobile */
}
