/* custom blue palette - MEJORADA */
:root {
    --primary-blue: #0A66C2;
    --primary-dark: #004182;
    --primary-light: #EFF5FF;
    --accent-blue: #2C7CD1;
    --soft-bg: #F0F7FF;
    --card-shadow: 0 12px 28px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.02);
    --hover-shadow: 0 20px 30px -12px rgba(10, 102, 194, 0.2);
    --gradient-start: #00b4d8;
    --gradient-end: #2563eb;
    --gradient-dark: #1a3a5c;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #17293a;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== HEADER MEJORADO ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

header.scrolled {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

header.scrolled .nav-links a {
    color: #8ca3c9;
}



nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-easy {
    height: 60px;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* ===== VIDEO ===== */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.9;
}

/* ===== HERO ===== */
.hero {
    overflow: hidden;
    padding: 7% 1% 1% 1%;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(180deg, #00010e00,#05162979,#173757, #17293a);
    overflow: hidden;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
    padding: 10px 24px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

/* ===== BADGE & HEADER ===== */
.expert-badge {
    display: inline-flex;
    margin-bottom: 30px;
    gap: 8px;
    width: 100%;
}

.expert-badge img {
    width: 180px;
    filter: drop-shadow(0 0 10px rgba(0,180,216,0.3));
}

.img_contpaqi {
    position: relative;
    width: 100%;
    height: auto;
    padding: 0;
}

.contpaqi {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
    text-align: left;
    padding: 60px 24px;
}

/* ===== TIPOGRAFÍA MEJORADA ===== */
.light {
    font-family: 'Poppins', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00b4d8 0%, #3b82f6 50%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* ===== BOTONES MEJORADOS ===== */
.contact-btn {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    padding: 16px 60px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,180,216,0.3);
    letter-spacing: 1px;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,180,216,0.5);
    background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
}

.demo-btn {
    background: transparent;
    border: 2px solid var(--gradient-start);
    padding: 14px 50px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 1px;
}

.demo-btn:hover {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,180,216,0.4);
}

.demo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0 50px 0;
}

/* ===== BANNER DE INTEGRACIÓN ===== */
.integration-banner {
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: 60px;
    text-align: center;
    margin: 30px 0;
    border-left: 5px solid var(--gradient-start);
    font-weight: 500;
    color: white;
    font-size: 1.1rem;
}

.integration-banner i {
    font-size: 1.5rem;
    margin-right: 12px;
    color: var(--gradient-start);
}

/* ===== BOTONES DEL GRID (CONTABILIDAD, BANCOS, ETC) ===== */
.contenedor {
    display: grid;
    grid-template-columns: repeat(5, auto);
    gap: 20px;
    padding: 50px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.contenedor a{
    text-decoration: none;
    color: white;
}
.btn {
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.btn.activo {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    box-shadow: 0 4px 15px rgba(0,180,216,0.3);
}

.btn.oscuro {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn:hover {
    transform: translateY(-3px);
}

.btn.activo:hover {
    box-shadow: 0 8px 25px rgba(0,180,216,0.5);
}

.btn.oscuro:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--gradient-start);
}

/* ===== GRID DE CONTENIDO ===== */
.contabilidad-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 40px 0;
}

.texto-contabilidad {
    padding: 20px;
}

.texto-contabilidad img {
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.container h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: white;
    font-weight: 600;
    line-height: 1.3;
}

.container li {
    font-size: 1rem;
    color: #cbd5e1;
    padding: 0px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}


.texto-contabilidad span {
    font-weight: 700;
    color: var(--gradient-start);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-top: 15px;
    display: inline-block;
}

/* ===== VIDEOS ===== */
.img-video {
    width: 100%;
    height: auto;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.img-video iframe {
    width: 100%;
    max-width: 500px;
    height: 280px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ===== SECCIÓN FINAL "INTEGRA" ===== */
.text {
    text-align: center;
    padding: 80px 0 60px;
}

.text h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.text h1 span {
    font-size: 5rem;
    display: inline-block;
    margin-bottom: 20px;
}

.text .light {
    font-size: 4rem;
    display: inline-block;
}

 
/* ===== RESPONSIVE (MANTENIENDO ESTRUCTURA) ===== */
@media (max-width: 1024px) {
    .contpaqi {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .contabilidad-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .texto-contabilidad {
        text-align: center;
    }
    
    .texto-contabilidad ul {
        align-items: center;
    }
    
    .contenedor {
        grid-template-columns: repeat(3, auto);
        gap: 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .light {
        font-size: 2.5rem;
    }
    
    .text h1 {
        font-size: 2.5rem;
    }
    
    .text h1 span {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: 0.3s;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .contenedor {
        grid-template-columns: repeat(2, auto);
        gap: 12px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
    
    .contact-btn {
        padding: 12px 40px;
    }
    
    .demo-btn {
        padding: 12px 35px;
    }
    
    .img-video iframe {
        height: 200px;
    }
    
    .container h2 {
        font-size: 1.5rem;
    }
    @media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
    }
}
}

@media (max-width: 480px) {
    .contenedor {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero {
        padding: 20% 0 10%;
    }
    
    .expert-badge img {
        width: 120px;
    }
    
    .light {
        font-size: 1.8rem;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .text h1 span {
        font-size: 2.5rem;
    }
    
    .text .light {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 16px;
    }
}

/* ===== ANIMACIONES SUTILES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contabilidad-grid {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 10px;
}

/* ===== MENÚ HAMBURGUESA - CORREGIDO ===== */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    padding: 10px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--gradient-start);
}

/* Estilos para el menú en móvil */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: 0.4s ease-in-out;
        z-index: 1000;
        box-shadow: -5px 0 30px rgba(0,0,0,0.5);
        border-left: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-links.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.5s; }
    
    .nav-links a {
        color: white !important;
        font-size: 1.2rem;
        font-weight: 500;
    }
    
    /* Overlay cuando el menú está abierto */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        backdrop-filter: blur(3px);
    }
}

@media (max-width: 480px) {
    .nav-links {
        width: 85%;
    }
}

/* Asegurar que el header tenga posición relativa para el menú */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

/* Logo más pequeño en móvil */
@media (max-width: 768px) {
    .logo-easy {
        height: 45px;
    }
}