﻿:root {
    --primary-color: #5c6ded;
    --secondary-color: #4347bc;
    --tertiary-color: #090355;
    --text-color: #333;
    --light-text: #f8f9fa;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --transition: all 0.3s ease-in-out;
    --primary: #1a1a2e;
    --secondary: #16173e;
    --accent: #0f1360;
    --light: #456be9;
    --text: #ffffff;
    --sombra: 0 4px 12px rgba(0,0,0,0.1);
    --sombra-hover: 0 8px 24px rgba(0,0,0,0.15);
    --borde-redondeado: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    padding: 14px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--sombra);
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
        z-index: -1;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: var(--sombra-hover);
        color: var(--light-text);
    }

        .btn-primary:hover::before {
            opacity: 1;
        }

.hero-section {
    background: url('/img/fondoasae.jpg') no-repeat center center/cover;
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    text-align: center;
    overflow: hidden;
}

.hero-content {
    z-index: 10;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-tagline {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #7575f2;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.typing-container {
    font-size: 3rem;
    font-weight: 700;
    color: #5987f9f7;
    white-space: nowrap;
    overflow: hidden;
    border-right: 0.15em solid var(--light);
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    display: inline-block;
    max-width: 100%;
}

@keyframes typing {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

@keyframes blink-caret {
    from, to {
        border-color: transparent
    }

    50% {
        border-color: var(--light);
    }
}

.shooting-stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shooting-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 5px white, 0 0 10px white, 0 0 15px white;
    opacity: 0;
    animation: shoot 5s linear infinite;
}

@keyframes shoot {
    0% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translate(200px, 200px) rotate(45deg);
        opacity: 0;
    }
}

.section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.about-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: var(--borde-redondeado);
    box-shadow: var(--sombra);
    text-align: center;
    transition: var(--transition);
}

    .about-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--sombra-hover);
    }

.about-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.about-card p {
    color: #666;
}

.partner-section {
    padding: 4rem 0;
    background-color: #f0f2f5;
}

    .partner-section .container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

@media (min-width: 1024px) { /* lg */
    .partner-section .container {
        flex-direction: row;
        justify-content: space-between;
    }
}

.partner-image-column {
    position: relative;
    flex: 1;
    min-width: 300px;
    max-width: 100%;
}

    .partner-image-column img {
        width: 100%;
        height: auto;
        border-radius: var(--borde-redondeado);
        box-shadow: var(--sombra);
    }

.overlay-card {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text);
    padding: 1rem 1.5rem;
    border-radius: var(--borde-redondeado);
    box-shadow: var(--sombra-hover);
    text-align: center;
}

    .overlay-card p {
        font-size: 1.2rem;
        font-weight: 500;
        margin-bottom: 0.25rem;
    }

    .overlay-card span {
        font-size: 1.5rem;
        font-weight: 700;
        display: block;
    }

.partner-content-column {
    flex: 1;
    padding: 1rem;
}

    .partner-content-column .about-company {
        color: var(--primary-color);
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .partner-content-column h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--text-color);
        margin-bottom: 1rem;
        background: linear-gradient(90deg, var(--primary-color), var(--light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }

    .partner-content-column p {
        color: #555;
        font-weight: 400;
        margin-bottom: 1.5rem;
    }

.service-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-box {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--borde-redondeado);
    box-shadow: var(--sombra);
    text-align: center;
    flex: 1 1 calc(50% - 0.5rem);
    transition: var(--transition);
}

    .service-box:hover {
        transform: translateY(-3px);
        box-shadow: var(--sombra-hover);
    }

    .service-box i {
        font-size: 2rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }

    .service-box h3 {
        font-size: 1.2rem;
        font-weight: 600;
        color: var(--text-color);
    }

.features-list {
    list-style: none;
    padding: 0;
}

    .features-list li {
        display: flex;
        align-items: center;
        margin-bottom: 0.75rem;
        color: #666;
    }

        .features-list li i {
            color: var(--primary-color);
            margin-right: 0.75rem;
        }

.feature-card-gradient {
    background: linear-gradient(135deg, rgba(78, 75, 229, 0.797) 0%, rgba(39, 53, 206, 0.7) 100%);
}

.cta-footer-section {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.pexels.com/photos/5716018/pexels-photo-5716018.jpeg') no-repeat center center/cover;
    padding: 4rem 1rem;
    text-align: center;
    color: var(--text);
}

    .cta-footer-section h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 1.2;
        background: linear-gradient(90deg, var(--primary-color), var(--light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }

    .cta-footer-section p {
        font-size: 1.1rem;
        max-width: 800px;
        margin: 0 auto 2rem auto;
    }

#clientes {
    padding: 4rem 0;
    background-color: var(--bg-color);
    text-align: center;
    overflow: hidden;
}

.section-title {
    margin-bottom: 3rem;
}

    .section-title h2 {
        font-size: 2.5rem;
        font-weight: 700;
        color: var(--text-color);
        margin-bottom: 0.5rem;
        background: linear-gradient(90deg, var(--primary-color), var(--light));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }

    .section-title p {
        color: #555;
        font-size: 1.1rem;
        font-weight: 500;
    }

.client-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.client-track {
    display: flex;
    width: max-content;
    animation: scroll-left 60s linear infinite;
}

    .client-track:hover {
        animation-play-state: paused;
    }

.client-slide {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

    .client-slide img {
        max-width: 100%;
        max-height: 100%;
        filter: grayscale(100%);
        opacity: 0.6;
        transition: all 0.3s ease;
    }

        .client-slide img:hover {
            filter: grayscale(0%);
            opacity: 1;
        }

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

#suscripciones {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text);
    text-align: center;
}

.subscription {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
}

    .subscription h2 {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 1rem;
        line-height: 1.2;
        background: white;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }

    .subscription p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .subscription-form {
        flex-direction: row;
    }
}

.subscription-form input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 30px;
    outline: none;
    font-size: 1rem;
    color: #333;
}

.subscription-form button {
    background-color: var(--light);
    color: var(--text);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

    .subscription-form button:hover {
        opacity: 0.9;
        transform: translateY(-2px);
    }


@media (max-width: 767px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .typing-container {
        font-size: 2rem;
    }

    .cta-footer-section h2 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .subscription h2 {
        font-size: 1.8rem;
    }

    .faq-chatbot-window {
        width: 90%;
        left: 5%;
        right: 5%;
        bottom: 80px;
        height: 350px;
    }
}
