/* Variables de Marca */
:root {
    --navy: #0D1B2A;
    --navy-light: #1A2E44;
    --navy-glass: rgba(13, 27, 42, 0.85);
    --orange: #F97316;
    --orange-glow: rgba(249, 115, 22, 0.4);
    --white: #FFFFFF;
    --grey: #A0AEC0;
    --font-main: 'Inter', sans-serif;
}

/* Reseteo y Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--navy);
    color: var(--white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
    font-weight: 800;
}

p {
    color: var(--grey);
    margin-bottom: 1rem;
    font-weight: 300;
}

a {
    text-decoration: none;
    color: var(--orange);
    transition: color 0.3s;
}

a:hover {
    color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navegación Sticky con Glassmorphism */
header {
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--navy-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Estilos del Logo en Imagen */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 45px; 
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Botones (CTA) y Animación Pulse */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #F97316 0%, #d0580a 100%);
    color: var(--white);
    padding: 16px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px var(--orange-glow);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.6);
    color: var(--white);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(249, 115, 22, 0); }
    100% { box-shadow: 0 0 0 0 rgba(249, 115, 22, 0); }
}

/* Secciones Comunes */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

/* Grid Reutilizable y Tarjetas Hover */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background-color: var(--navy-light);
    padding: 40px 30px;
    border-radius: 16px;
    border-top: 4px solid var(--orange);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--orange-glow);
}

.card:hover::before {
    opacity: 1;
}

.card h3 {
    color: var(--orange);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

/* Estilos de Íconos */
.icon-pilar {
    font-size: 2.8rem;
    color: var(--orange);
    margin-bottom: 20px;
    opacity: 0.9;
}

.icon-hero {
    margin-right: 8px;
    font-size: 1.1em;
    opacity: 0.9;
}

/* Hero Section con banner.jpg intenso y partículas */
.hero {
    text-align: center;
    padding: 180px 20px 120px;
    background: linear-gradient(rgba(13, 27, 42, 0.45), rgba(13, 27, 42, 0.65)), url('banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.neural-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; 
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 7px;
    height: 7px;
    background-color: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 15px 4px var(--orange), 0 0 25px var(--orange-glow);
    opacity: 0;
    animation: floatParticle infinite ease-in-out;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0px) scale(0.4);
        opacity: 0;
    }
    40%, 60% {
        opacity: 0.9;
    }
    100% {
        transform: translateY(-90px) scale(1.4);
        opacity: 0;
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(to right, #FFFFFF, #E2E8F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero p.subhead {
    font-size: 1.25rem;
    max-width: 750px;
    margin: 0 auto 50px auto;
    color: #CBD5E1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-features span {
    background: rgba(13, 27, 42, 0.75);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid rgba(249, 115, 22, 0.4);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-features span i {
    color: var(--orange);
}

/* Sección Manifiesto */
.manifesto-section {
    background: radial-gradient(circle at center, #132235 0%, var(--navy) 100%);
    position: relative;
}

.manifesto-card {
    background: linear-gradient(135deg, rgba(26, 46, 68, 0.7) 0%, rgba(13, 27, 42, 0.9) 100%);
    border: 1px solid rgba(249, 115, 22, 0.25);
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(249, 115, 22, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.manifesto-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.manifesto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px var(--orange-glow);
    border-color: rgba(249, 115, 22, 0.5);
}

.manifesto-tag {
    display: inline-flex;
    align-items: center;
    background: rgba(249, 115, 22, 0.1);
    color: var(--orange);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.manifesto-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #E2E8F0;
    max-width: 720px;
    margin: 0 auto;
}

.manifesto-text strong {
    color: var(--white);
    background: linear-gradient(135deg, var(--white), #CBD5E1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* Animaciones de Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #08111a;
    color: var(--grey);
}

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    color: #ffffff;
}

/* Animación de pulsos */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsividad */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }
    section { padding: 70px 0; }
    .hero-features { flex-direction: column; align-items: stretch; }
    .hero-features span { justify-content: center; }
    .logo img { max-height: 35px; }
    .manifesto-card { padding: 40px 20px; }
}