/* Hero Innovation Section */
.hero-innovation {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-innovation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 20% 30%, rgba(44, 125, 250, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(251, 91, 69, 0.1) 0%, transparent 50%),
            radial-gradient(circle at 40% 80%, rgba(44, 125, 250, 0.05) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.8; }
    100% { opacity: 1; }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-badge {
    background: rgba(44, 125, 250, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(44, 125, 250, 0.3);
    border-radius: 50px;
    padding: 12px 25px;
    display: inline-block;
    margin-bottom: 30px;
    font-size: 0.9em;
    font-weight: 500;
    color: #00d4ff;
}

.hero-main-title {
    font-size: 4.5em;
    font-weight: 200;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #2C7DFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5em;
    opacity: 0.85;
    line-height: 1.4;
    margin-bottom: 50px;
    max-width: 600px;
    font-weight: 300;
}

.hero-cta-group {
    display: flex;
    gap: 25px;
    margin-bottom: 50px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #2C7DFA 0%, #00b4d8 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(44, 125, 250, 0.3);
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(44, 125, 250, 0.4);
    color: white;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 16px 38px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Nueva sección de imagen */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-square-image {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.hero-square-image:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(44, 125, 250, 0.2);
}

/* Tarjetas profesionales ahora en la parte inferior del hero */
.professional-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 80px;
    z-index: 3;
    position: relative;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.6s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    border-color: rgba(44, 125, 250, 0.5);
    box-shadow: 0 15px 40px rgba(44, 125, 250, 0.2);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
    display: block;
}

.feature-card h4 {
    color: white;
    margin-bottom: 12px;
    font-size: 1.2em;
    font-weight: 600;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9em;
    line-height: 1.5;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .hero-innovation {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero-main-title {
        font-size: 3em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 40px;
    }

    .hero-square-image {
        height: 300px;
        margin-top: 40px;
    }

    .professional-features {
        flex-direction: column;
        gap: 20px;
        margin-top: 50px;
        padding: 0 20px;
    }

    .feature-card {
        min-width: auto;
        max-width: none;
        padding: 25px 20px;
    }

    .feature-card h4 {
        font-size: 1.1em;
    }

    .feature-card p {
        font-size: 0.85em;
    }

    .feature-icon {
        font-size: 2.2em;
        margin-bottom: 12px;
    }
}

@media (max-width: 480px) {
    .hero-innovation {
        padding: 60px 0 50px;
    }

    .hero-main-title {
        font-size: 2.5em;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1em;
        margin-bottom: 30px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 15px 30px;
        font-size: 0.9em;
        text-align: center;
        display: block;
        width: 100%;
    }

    .hero-square-image {
        height: 250px;
        margin-top: 30px;
    }

    .professional-features {
        gap: 15px;
        margin-top: 40px;
        padding: 0 15px;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .feature-icon {
        font-size: 2em;
    }
}

/* Para tablets */
@media (max-width: 992px) and (min-width: 769px) {
    .hero-square-image {
        height: 350px;
        margin-top: 30px;
    }

    .professional-features {
        gap: 25px;
        margin-top: 60px;
        padding: 0 20px;
    }

    .feature-card {
        min-width: 220px;
        max-width: 280px;
    }
}

/* About AvalTrust Section */
.about-avaltrust {
    background: #ffffff;
    padding: 120px 0;
    position: relative;
}

.about-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-title {
    font-size: 3.2em;
    color: #1a1a2e;
    margin-bottom: 25px;
    font-weight: 300;
}

.about-subtitle {
    font-size: 1.3em;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 2em;
    color: #2C7DFA;
    margin-right: 20px;
    min-width: 50px;
}

.feature-content h4 {
    font-size: 1.3em;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 120px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(44, 125, 250, 0.15);
    border-color: #2C7DFA;
}

.service-icon {
    font-size: 3em;
    margin-bottom: 25px;
    color: #2C7DFA;
}

.service-title {
    font-size: 1.4em;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-service {
    background: linear-gradient(135deg, #2C7DFA 0%, #00b4d8 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(44, 125, 250, 0.3);
    color: white;
}

/* Why FinTech Section */
.why-fintech-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 120px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
}

.process-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2C7DFA, #00b4d8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8em;
    font-weight: bold;
    color: white;
}

.process-step h4 {
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: 600;
}

.process-step p {
    opacity: 0.9;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    background: #ffffff;
    padding: 120px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    border-left: 4px solid #2C7DFA;
}

.testimonial-quote {
    font-size: 1.2em;
    font-style: italic;
    color: #1a1a2e;
    margin-bottom: 25px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background: #2C7DFA;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5em;
}

.testimonial-info h5 {
    margin: 0;
    color: #1a1a2e;
    font-weight: 600;
}

.testimonial-info span {
    color: #666;
    font-size: 0.9em;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 120px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1.1em;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    padding: 0 30px 25px;
    color: #666;
    line-height: 1.6;
    display: none;
}

.faq-answer.show {
    display: block;
}

.faq-icon {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Final CTA Section */
.final-cta {
    background: linear-gradient(135deg, #022939 0%, #061123 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="30" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="90" r="2.5" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: sparkle 15s linear infinite;
    pointer-events: none;
}

@keyframes sparkle {
    0% { transform: translateX(0); }
    100% { transform: translateX(100px); }
}

.final-cta-content {
    position: relative;
    z-index: 2;
}

.final-cta-title {
    font-size: 3.5em;
    font-weight: 300;
    margin-bottom: 25px;
    line-height: 1.2;
}

.final-cta-text {
    font-size: 1.3em;
    margin-bottom: 50px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-final-cta {
    background: white;
    color: #0f192a;
    padding: 20px 50px;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.btn-final-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    color: #00b4d8;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-main-title { font-size: 3em; }
    .hero-cta-group { flex-direction: column; align-items: center; }
    .floating-cards { display: none; }
    .about-title { font-size: 2.5em; }
    .final-cta-title { font-size: 2.5em; }
    .features-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
}