﻿:root {
    --primary-blue: #2563eb;
    --blue-dark: #1e40af;
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #d1d5db;
    --white: #ffffff;
    --soft-gray: #f9fafb;
    --accent-purple: #8b5cf6;
    --text-heading: #1a202c;
    --text-body: #4a5568;
    --primary-chat: #9da6ee;
    --secondary-chat: #4b8beb;
    --tertiary-chat: #1367e4;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--soft-gray);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Estilos para la sección principal */
.py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.lg\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.relative {
    position: relative;
}

.overflow-hidden {
    overflow: hidden;
}

.abstract-circle {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    position: absolute;
    z-index: 2;
}

.w-\[800px\] {
    width: 800px;
}

.h-\[800px\] {
    height: 800px;
}

.absolute {
    position: absolute;
}

.bottom-\[-400px\] {
    bottom: -400px;
}

.left-1\/2 {
    left: 50%;
}

.-translate-x-1\/2 {
    transform: translateX(-50%);
}

.opacity-0\.05 {
    opacity: 0.05;
}

.z-0 {
    z-index: 0;
}

.z-10 {
    z-index: 10;
}

.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.lg\:flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-16 {
    gap: 4rem;
}

.flex-1 {
    flex: 1;
}

.text-center {
    text-align: center;
}

.lg\:text-left {
    text-align: left;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.bg-indigo-100 {
    background-color: rgba(224, 231, 255, 0.8);
}

.rounded-full {
    border-radius: 9999px;
}

.justify-center {
    justify-content: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.lg\:mx-0 {
    margin-left: 0;
    margin-right: 0;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.text-indigo-600 {
    color: #4f46e5;
}

.text-3xl {
    font-size: 1.875rem;
}

.sm\:text-4xl {
    font-size: 2.25rem;
}

.font-bold {
    font-weight: 700;
}

.text-gray-900 {
    color: #111827;
}

.leading-tight {
    line-height: 1.25;
}

.mb-4 {
    margin-bottom: 1rem;
}

.hidden {
    display: none;
}

.sm\:inline {
    display: inline;
}

.color-blue-55 {
    color: #3068f6;
}

.text-gray-600 {
    color: #4b5563;
}

.text-base {
    font-size: 1rem;
}

.sm\:text-lg {
    font-size: 1.125rem;
}

.leading-relaxed {
    line-height: 1.625;
}

.text-gray-500 {
    color: #6b7280;
}

.text-sm {
    font-size: 0.875rem;
}

.justify-end {
    justify-content: flex-end;
}

.space-x-8 > * + * {
    margin-left: 2rem;
}

.w-full {
    width: 100%;
}

.lg\:w-auto {
    width: auto;
}

.mockup-phone {
    width: 16rem;
    height: 24rem;
    background-color: #e9eaed;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.sm\:w-72 {
    width: 18rem;
}

.sm\:h-\[400px\] {
    height: 400px;
}

.lg\:w-80 {
    width: 20rem;
}

.lg\:h-\[450px\] {
    height: 450px;
}

.p-4 {
    padding: 1rem;
}

.flex-col {
    flex-direction: column;
}

.h-full {
    height: 100%;
}

.mb-4 {
    margin-bottom: 1rem;
}

.w-28 {
    width: 7rem;
}

.h-28 {
    height: 7rem;
}

.text-blue-400 {
    color: #60a5fa;
}

.text-xl {
    font-size: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.text-gray-800 {
    color: #1f2937;
}

.mt-2 {
    margin-top: 0.5rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-y-8 {
    --tw-translate-y: 2rem;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.text-4xl {
    font-size: 2.25rem;
}

.text-purple-700 {
    color: #7e22ce;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.rounded-full {
    border-radius: 9999px;
}

.text-white {
    color: white;
}

.font-semibold {
    font-weight: 600;
}

.btn-gradient {
    background: linear-gradient(90deg, #3068f6, #1d207b);
}

.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hover\:shadow-lg:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.transition-shadow {
    transition-property: box-shadow;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.bottom-4 {
    bottom: 1rem;
}

.left-4 {
    left: 1rem;
}

.w-16 {
    width: 4rem;
}

.h-16 {
    height: 4rem;
}

.bg-blue-500 {
    background-color: #3b82f6;
}

.opacity-30 {
    opacity: 0.3;
}

.bottom-10 {
    bottom: 2.5rem;
}

.right-4 {
    right: 1rem;
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.bg-purple-500 {
    background-color: #a855f7;
}

/* Estilos para la notificación */
.notification {
    position: fixed;
    top: 120px;
    right: 30px;
    background-color: var(--accent-purple);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(150%);
    opacity: 0;
    z-index: 1000;
    animation: showNotification 5s ease-in-out forwards;
    min-width: 200px;
}

.notification-icon {
    font-size: 1.8rem;
    color: var(--white);
}

.notification-content h4 {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.notification-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

@keyframes showNotification {
    0% {
        transform: translateX(150%);
        opacity: 0;
    }

    10% {
        transform: translateX(0);
        opacity: 1;
    }

    90% {
        transform: translateX(0);
        opacity: 1;
    }

    100% {
        transform: translateX(150%);
        opacity: 0;
    }
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .lg\:py-32 {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .flex-col {
        flex-direction: column;
    }

    .gap-16 {
        gap: 2rem;
    }

    .space-x-8 {
        flex-direction: column;
        gap: 2rem;
    }

        .space-x-8 > * + * {
            margin-left: 0;
            margin-top: 2rem;
        }

    .mockup-phone {
        width: 14rem;
        height: 22rem;
    }

    .sm\:w-72 {
        width: 16rem;
    }

    .sm\:h-\[400px\] {
        height: 360px;
    }

    .transform.translate-y-8 {
        transform: none;
    }

    .hidden.sm\:block {
        display: none;
    }

    /* Ocultar notificación en móviles */
    .notification {
        display: none;
    }

    .text-center {
        text-align: center;
    }

    .text-3xl, .sm\:text-4xl {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .mockup-phone {
        width: 12rem;
        height: 20rem;
    }

    .w-28, .h-28 {
        width: 5rem;
        height: 5rem;
    }

    .text-xl {
        font-size: 1rem;
    }

    .text-4xl {
        font-size: 1.75rem;
    }

    .px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
<style >
:root {
    --primary-chat: #1367d4;
    --tertiary-chat: #4499D5;
    --primary-color: #2d2bb7;
    --primary-light: #5a58c5;
    --accent-color: #4499D5;
    --accent-light: #6ab1e0;
    --tertiary-color: #6a67d3;
    --text-color: #333;
    --text-light: #666;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Estilos para el chatbot */
.chatbot-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.chatbot-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.chatbot-windows {
    position: absolute;
    bottom: 0;
    right: 70px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    z-index: 10000;
}

    .chatbot-btn:hover {
        transform: scale(1.1);
    }

.whatsapp-btn {
    background-color: #25D366;
}

.faq-btn {
    background: linear-gradient(135deg, var(--primary-chat), var(--tertiary-chat));
}

.chatbot-window {
    width: 350px;
    height: 500px;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: none;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
    position: relative;
}

    .chatbot-window.active {
        display: block;
        transform: translateY(0);
        opacity: 1;
    }

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-chat), var(--tertiary-chat));
    color: white;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chatbot-header h3 {
    font-size: 1rem;
    margin: 0;
}

.chatbot-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

    .chatbot-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
}

.close-chatbot {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-body {
    height: calc(100% - 120px);
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.chat-message {
    max-width: 80%;
    padding: 0.8rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-message {
    background-color: #f1f1f1;
    border-top-left-radius: 0;
    margin-right: auto;
    animation: fadeIn 0.3s ease-out;
}

.user-message {
    background: linear-gradient(135deg, var(--primary-chat), var(--tertiary-chat));
    color: white;
    border-top-right-radius: 0;
    margin-left: auto;
    animation: fadeIn 0.3s ease-out;
}

.faq-question-button {
    display: block;
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    background-color: #f1f1f1;
    border: none;
    border-radius: 0.8rem;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 0.9rem;
}

    .faq-question-button:hover {
        background-color: #e0e0e0;
    }

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 1rem;
    background-color: #f1f1f1;
    border-radius: 1rem;
    border-top-left-radius: 0;
    width: fit-content;
    margin-right: auto;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #999;
    border-radius: 50%;
    animation: typingAnimation 1.4s infinite ease-in-out;
}

    .typing-dot:nth-child(2) {
        animation-delay: 0.2s;
    }

    .typing-dot:nth-child(3) {
        animation-delay: 0.4s;
    }

@keyframes typingAnimation {
    0%, 60%, 100% {
        transform: translateY(0);
    }

    30% {
        transform: translateY(-5px);
    }
}

.chatbot-input {
    display: flex;
    padding: 1rem;
    border-top: 1px solid #eee;
    gap: 0.5rem;
}

    .chatbot-input input {
        flex: 1;
        padding: 0.8rem 1rem;
        border: 1px solid #ddd;
        border-radius: 2rem;
        outline: none;
        font-size: 0.9rem;
    }

    .chatbot-input button {
        background: linear-gradient(135deg, var(--primary-chat), var(--tertiary-chat));
        color: white;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividad para el chatbot */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: 1rem;
        right: 1rem;
    }

    .chatbot-window {
        width: calc(100vw - 2rem);
        height: 400px;
        right: 0;
        bottom: 70px;
    }

    .chatbot-windows {
        right: 0;
    }

    .chatbot-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .chatbot-body {
        padding: 0.8rem;
    }

    .chat-message {
        max-width: 90%;
        font-size: 0.85rem;
    }

    .faq-question-button {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
}

