:root {
    --primary-dark: #003164;
    --primary: #004894;
    --primary-light: #0E5AA6;
    --primary-very-light: #E8F0FE; 
    --primary-extra-light: #F5F9FF; 
    --accent: #FF8A00;
    --accent-light: #F2832A;
    --accent-very-light: #FFF5EB; 
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --dark: #212529;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    color: var(--dark);
    background-color: var(--primary-extra-light); 
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* animaciones del fondo */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-very-light) 0%, var(--primary-extra-light) 100%);
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2; 
    animation: float 25s infinite ease-in-out;
}

.shape1 {
    width: 400px;
    height: 400px;
    background: var(--accent-very-light);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape2 {
    width: 500px;
    height: 500px;
    background: var(--primary-very-light);
    top: 50%;
    right: 10%;
    animation-delay: 7s;
}

.shape3 {
    width: 450px;
    height: 450px;
    background: var(--accent-very-light);
    bottom: 10%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(100px, -100px) rotate(120deg); }
    66% { transform: translate(-100px, 100px) rotate(240deg); }
}


header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); /* Sombra más suave */
    z-index: 1000;
    transition: all 0.3s ease;
}

header:hover {
    box-shadow: 0 6px 30px rgba(0, 72, 148, 0.1); /* Sombra más suave */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}


.logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 50px;
    height: 50px;
    flex-shrink: 0 !important;
    background: transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 72, 148, 0.15);
    padding: 5px;
    overflow: hidden;
    border: 2px solid var(--primary-light);
}

.logo-text {
    display: inline-block !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-dark);
    transition: all 0.3s ease;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}
.logo-img {
    width: 100%;
    height: 100%;
    border-radius: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)); 
}


.logo:hover .logo-img {
    transform: scale(1.1);
}

.logo:hover .logo-icon {
    transform: rotate(360deg);
    box-shadow: 0 6px 25px rgba(0, 72, 148, 0.25);
    border-color: var(--accent); 
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 72, 148, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 72, 148, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 72, 148, 0.2);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}


.hero {
    padding: 100px 5% 80px;
    background: linear-gradient(135deg, var(--primary-very-light) 0%, var(--white) 100%);
    color: var(--primary-dark);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    text-align: center;
    margin-bottom: 80px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
    color: var(--primary-dark);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.3s both;
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

.highlight {
    color: var(--accent);
    display: inline-block;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px rgba(255, 138, 0, 0.3); }
    50% { text-shadow: 0 0 40px rgba(255, 138, 0, 0.5); }
}

/* cards infor */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--white);
    backdrop-filter: blur(20px);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--primary-very-light);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 72, 148, 0.08);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-very-light) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.05);
    background: var(--white);
    border-color: var(--primary-light);
    box-shadow: 0 20px 60px rgba(0, 72, 148, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    display: inline-block;
    color: var(--accent);
}

.feature-card:hover .feature-icon {
    transform: scale(1.3) rotate(360deg);
    filter: drop-shadow(0 0 20px rgba(255, 138, 0, 0.4));
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
    color: var(--primary-dark);
}

.feature-card:hover h3 {
    color: var(--accent);
}

.feature-card p {
    color: var(--gray);
}

.benefits {
    padding: 100px 5%;
    background: var(--white);
}

.benefits.light-bg {
    background: var(--primary-extra-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    transition: width 0.6s ease;
}

.section-title:hover h2::after {
    width: 100%;
}

.section-title p {
    font-size: 1.3rem;
    color: var(--gray);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.benefit-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--primary-very-light);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 72, 148, 0.05), transparent);
    transition: left 0.6s ease;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 72, 148, 0.1);
    border-color: var(--primary-light);
}

.benefit-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    transition: all 0.4s ease;
    display: inline-block;
    color: var(--primary);
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px rgba(0, 72, 148, 0.3));
}

.benefit-card h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.benefit-card:hover h3 {
    color: var(--primary);
}

.benefit-card p {
    color: var(--gray);
    line-height: 1.8;
}

/* Secciones de funcionalidades */
.features-detail {
    padding: 100px 5%;
    background: linear-gradient(180deg, var(--white) 0%, var(--primary-extra-light) 100%);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-detail-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border-left: 5px solid var(--primary);
    border: 1px solid var(--primary-very-light);
}

.feature-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 72, 148, 0.1);
    border-left-color: var(--accent);
}

.feature-detail-card h3 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-detail-card h3 i {
    color: var(--accent);
}

.feature-detail-card ul {
    list-style: none;
    padding: 0;
}

.feature-detail-card li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-detail-card li:last-child {
    border-bottom: none;
}

.feature-detail-card li i {
    color: var(--accent);
    margin-top: 5px;
    flex-shrink: 0;
}

/* validaciones */
.validation {
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--primary-very-light) 0%, var(--white) 100%);
    color: var(--primary-dark);
    position: relative;
}

.validation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-light), transparent);
}

.validation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.validation-card {
    background: var(--white);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--primary-very-light);
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 72, 148, 0.05);
}

.validation-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    border-color: var(--primary-light);
    box-shadow: 0 15px 40px rgba(0, 72, 148, 0.1);
}

.validation-card h4 {
    color: var(--accent);
    margin-bottom: 15px;
}

.validation-list {
    list-style: none;
    padding: 0;
}

.validation-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--primary-very-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.validation-list li:last-child {
    border-bottom: none;
}

.validation-list li i {
    color: #48bb78;
    font-weight: bold;
}

/* Sección de  videos */
.tutorials {
    padding: 100px 5%;
    background: var(--white);
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.tutorial-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 72, 148, 0.1);
}

.tutorial-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 72, 148, 0.2);
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 5rem;
    transition: all 0.3s ease;
}

.tutorial-card:hover .video-placeholder {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 3px solid var(--white);
    transition: all 0.3s ease;
}

.tutorial-card:hover .play-overlay {
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.video-duration {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tutorial-content {
    padding: 25px;
}

.tutorial-content h3 {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.tutorial-card:hover .tutorial-content h3 {
    color: var(--accent);
}

.tutorial-content p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.tutorial-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: var(--gray);
}

.tutorial-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tutorial-meta i {
    color: var(--primary);
}

.tutorials-cta {
    text-align: center;
    margin-top: 60px;
}

/* Responsive para la seccion de videos */
@media (max-width: 768px) {
    .tutorials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .video-placeholder {
        font-size: 4rem;
    }
    
    .play-overlay {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

.pricing {
    padding: 100px 5%;
    background: linear-gradient(135deg, var(--primary-extra-light) 0%, var(--primary-very-light) 100%);
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.pricing-card {
    background: var(--white);
    border: 3px solid transparent;
    border-radius: 25px;
    padding: 50px 40px;
    position: relative;
    transition: all 0.5s ease;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 72, 148, 0.08);
    border: 1px solid var(--primary-very-light);
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 25px;
    padding: 3px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 72, 148, 0.2);
    border-color: var(--primary-light);
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    transform: scale(1.08);
    border: 3px solid var(--accent);
}

.pricing-card.featured:hover {
    transform: translateY(-20px) scale(1.13);
    box-shadow: 0 40px 100px rgba(0, 72, 148, 0.3);
}

.pricing-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    padding: 8px 25px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(255, 138, 0, 0.4);
    animation: pulse 2s infinite;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

.pricing-card h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.pricing-card.featured h3 {
    color: var(--white);
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.pricing-card.featured .pricing-price {
    color: var(--accent-light);
}

.pricing-price span {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--gray);
}

.pricing-card.featured .pricing-price span {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-period {
    margin-bottom: 20px;
    opacity: 0.8;
    color: var(--gray);
}

.pricing-card.featured .pricing-period {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pricing-features li {
    padding: 15px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--primary-very-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li:hover {
    transform: translateX(10px);
    color: var(--primary);
}

.pricing-card.featured .pricing-features li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card.featured .pricing-features li:hover {
    color: var(--accent-light);
}

.check-icon {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    min-width: 24px;
}

.pricing-card.featured .check-icon {
    color: var(--accent-light);
}

.pricing-card .btn {
    width: 100%;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.1rem;
}

/* Preguntas frecuentes */
.faq {
    padding: 100px 5%;
    background: var(--white);
}

.faq-container {
    max-width: 900px;
    margin: 60px auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-very-light);
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 72, 148, 0.08);
    border-color: var(--primary-light);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    background: var(--primary-extra-light);
}

.faq-question:hover {
    background: var(--primary-very-light);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin: 0;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
    color: var(--primary);
}

.faq-question i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-very-light), rgba(255, 138, 0, 0.05));
    border-radius: 20px;
    border: 1px solid var(--primary-very-light);
}

.faq-cta p {
    font-size: 1.3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

/* Fondo más claro */
.cta {
    padding: 120px 5%;
    background: linear-gradient(135deg, var(--primary-very-light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 72, 148, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: moveGrid 20s linear infinite;
}

@keyframes moveGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.cta-glass {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px);
    border: 2px solid var(--primary-very-light);
    border-radius: 30px;
    padding: 80px 50px;
    position: relative;
    transition: all 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 72, 148, 0.1);
}

.cta-glass:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 72, 148, 0.2);
    border-color: var(--primary-light);
}

.cta-glass h2 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.cta-glass p {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
footer {
    background: rgb(1, 6, 34);
    color: var(--white);
    padding: 80px 5% 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    margin-bottom: 25px;
    font-size: 1.4rem;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
    transform: translateX(10px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Boton de whatsapp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: floatPulse 3s infinite;
}

@keyframes floatPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
        box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.5);
    animation: none;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.2;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-text {
    position: absolute;
    right: 85px;
    background: var(--primary-dark);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    white-space: nowrap;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.whatsapp-text::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--primary-dark);
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    right: 95px;
}

.btn-link {
    background: none;
    border: none;
    color: #1a3c6e;
    font-weight: 500;
    text-decoration: none;
    margin-right: 15px;
    cursor: pointer;
}

.btn-link:hover {
    text-decoration: underline;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: white;
    width: 500px;
    max-width: 90%;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    animation: fadeIn 0.3s ease;
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
}

.modal-content h2 {
    margin-bottom: 25px;
    color: var(--accent);
    text-align: center;
}

.modal-content h5 {
    color: var(--primary);
}
/* Animación de entrada */
.modal.fade .modal-dialog {
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.25s ease;
}

.modal.fade.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.modal-custom {
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: none;
}


.icon-box {
    width: 40px;
    height: 40px;
    background: #eef2f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paso-item{
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.paso-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.paso-item h4 {
    margin: 0;
    color: var(--primary-dark);
}

.paso-item p {
    margin: 5px 0 0;
    color: var(--gray);
    line-height: 1.6;
}
.bg-naranja {
    background: var(--accent-light);
}

.bg-azul {
    background: var(--primary);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 8px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .features-container {
        grid-template-columns: 1fr;
    }

    .validation-grid {
        grid-template-columns: 1fr;
    }

    .cta-glass h2 {
        font-size: 2rem;
    }

    .cta-glass {
        padding: 40px 25px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-large {
        width: 100%;
        max-width: 300px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .benefit-card,
    .feature-detail-card,
    .validation-card {
        padding: 25px;
    }
}