/* ============================================
   SISTEMA ODIN - Automatización con IA
   Estilos principales con animaciones modernas
   ============================================ */

:root {
    --color-primary: #0a1628;
    --color-secondary: #1e3a8a;
    --color-accent: #2196f3;
    --color-accent-light: #64b5f6;
    --color-white: #ffffff;
    --color-bg: #ffffff;
    --color-text: #1a1a1a;
    --color-text-light: #555;
    --color-border: #e5e7eb;
    --color-card: #ffffff;
    --color-success: #10b981;
    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.08);
    --shadow-md: 0 8px 24px rgba(10, 22, 40, 0.12);
    --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.15);
    --shadow-glow: 0 0 40px rgba(33, 150, 243, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Orbitron', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   ANIMACIONES KEYFRAMES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(33, 150, 243, 0.4),
                    0 0 40px rgba(33, 150, 243, 0.2);
    }
    50% {
        box-shadow: 0 0 30px rgba(33, 150, 243, 0.7),
                    0 0 60px rgba(33, 150, 243, 0.4);
    }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

@keyframes typing-dots {
    0%, 20% { opacity: 0.2; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
    80%, 100% { opacity: 0.2; transform: scale(0.8); }
}

@keyframes message-appear {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes neon-flicker {
    0%, 100% {
        text-shadow: 0 0 10px rgba(33, 150, 243, 0.8),
                     0 0 20px rgba(33, 150, 243, 0.5),
                     0 0 30px rgba(33, 150, 243, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(33, 150, 243, 1),
                     0 0 40px rgba(33, 150, 243, 0.8),
                     0 0 60px rgba(33, 150, 243, 0.5);
    }
}

@keyframes scan-line {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes orbit {
    from { transform: rotate(0deg) translateX(170px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(170px) rotate(-360deg); }
}

@keyframes orbit-mid {
    from { transform: rotate(0deg) translateX(135px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(135px) rotate(-360deg); }
}

@keyframes orbit-inner {
    from { transform: rotate(0deg) translateX(105px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(105px) rotate(-360deg); }
}

@keyframes draw-line {
    from { stroke-dashoffset: 1000; }
    to { stroke-dashoffset: 0; }
}

/* ============================================
   NAVEGACIÓN
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    z-index: 1000;
    padding: 18px 0;
    box-shadow: 0 4px 30px rgba(10, 22, 40, 0.3);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-accent) 50%,
        transparent 100%);
    animation: shimmer 3s infinite linear;
    background-size: 1000px 100%;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-white);
    transition: var(--transition);
}

.nav-logo img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    transition: var(--transition);
}

.nav-logo:hover img {
    transform: rotate(-10deg) scale(1.1);
    filter: drop-shadow(0 0 10px var(--color-accent));
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.nav-logo-text .brand {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--color-white);
}

.nav-logo-text .tagline {
    font-size: 0.65rem;
    color: var(--color-accent);
    letter-spacing: 2px;
    margin-top: 3px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 8px;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 18px;
    border-radius: 6px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: var(--color-accent);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 60%;
}

.nav-menu a.active {
    color: var(--color-accent);
}

.nav-cta {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: var(--color-white) !important;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    transition: var(--transition) !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
    color: var(--color-white) !important;
}

.nav-cta::before {
    display: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--color-white);
    padding: 120px 30px 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(33, 150, 243, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(30, 58, 138, 0.08) 0%, transparent 40%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(10, 22, 40, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 22, 40, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInLeft 1s ease forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(33, 150, 243, 0.1);
    color: var(--color-secondary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(33, 150, 243, 0.2);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
    box-shadow: 0 0 10px var(--color-success);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    opacity: 0.3;
    border-radius: 4px;
    z-index: -1;
}

.hero p.subtitle {
    font-size: 1.15rem;
    color: var(--color-text-light);
    margin-bottom: 36px;
    max-width: 580px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: 0.6s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(33, 150, 243, 0.6);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   HERO VISUAL - LOGO ANIMADO + ORBITALES
   ============================================ */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 0.8s ease forwards;
}

.logo-container {
    position: relative;
    width: 420px;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-glow-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center,
        rgba(33, 150, 243, 0.18) 0%,
        rgba(33, 150, 243, 0.05) 40%,
        transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.logo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.logo-circle:nth-of-type(1) {
    width: 100%;
    height: 100%;
    border: 1.5px dashed rgba(33, 150, 243, 0.4);
    animation: rotate-slow 30s linear infinite;
}

.logo-circle:nth-of-type(2) {
    width: 80%;
    height: 80%;
    border: 1.5px solid rgba(30, 58, 138, 0.35);
    animation: rotate-slow 22s linear infinite reverse;
}

.logo-circle:nth-of-type(3) {
    width: 62%;
    height: 62%;
    border: 1px dotted rgba(100, 181, 246, 0.5);
    animation: rotate-slow 16s linear infinite;
}

.logo-image-wrap {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

.logo-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(10, 22, 40, 0.25))
            drop-shadow(0 0 25px rgba(33, 150, 243, 0.4));
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    box-shadow: 0 0 15px currentColor;
    top: 50%;
    left: 50%;
    margin: -6px 0 0 -6px;
    pointer-events: none;
}

.orbit-dot:nth-of-type(1) {
    color: var(--color-accent);
    background: var(--color-accent);
    animation: orbit 12s linear infinite;
}

.orbit-dot:nth-of-type(2) {
    color: var(--color-secondary);
    background: var(--color-secondary);
    animation: orbit-mid 16s linear infinite reverse;
}

.orbit-dot:nth-of-type(3) {
    color: var(--color-accent-light);
    background: var(--color-accent-light);
    animation: orbit-inner 9s linear infinite;
}

/* ============================================
   SECCIONES GENERALES
   ============================================ */
section {
    padding: 100px 30px;
    position: relative;
}

.section-container {
    max-width: 1300px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-tag {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 16px;
    padding: 6px 18px;
    background: rgba(33, 150, 243, 0.1);
    border-radius: 50px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Sección con fondo oscuro */
.section-dark {
    background: var(--color-primary);
    color: var(--color-white);
    overflow: hidden;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(33, 150, 243, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33, 150, 243, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.section-dark .section-title {
    color: var(--color-white);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.servicio-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.servicio-card:hover::before {
    transform: scaleX(1);
}

.servicio-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.3);
}

.servicio-card:hover .servicio-icon {
    transform: rotate(-8deg) scale(1.1);
}

.servicio-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 14px;
}

.servicio-card p {
    color: var(--color-text-light);
    line-height: 1.7;
}

.servicio-card ul {
    list-style: none;
    margin-top: 18px;
}

.servicio-card ul li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.servicio-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* ============================================
   CHATBOT DEMOS - CONVERSACIONES
   ============================================ */
.chatbot-demos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.chatbot-demo {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 25px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.chatbot-demo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
    animation: shimmer 3s infinite linear;
    background-size: 1000px 100%;
}

.chatbot-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.chatbot-avatar {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid var(--color-accent);
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.5);
}

.chatbot-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chatbot-info h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    font-family: var(--font-display);
    margin-bottom: 2px;
}

.chatbot-info .status {
    color: var(--color-success);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chatbot-info .status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-success);
    animation: pulse-glow 2s infinite;
}

.chat-window {
    min-height: 320px;
    max-height: 420px;
    overflow-y: auto;
    padding: 10px 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.chat-window::-webkit-scrollbar {
    width: 5px;
}

.chat-window::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.chat-window::-webkit-scrollbar-thumb {
    background: rgba(33, 150, 243, 0.3);
    border-radius: 10px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.5;
    animation: message-appear 0.5s ease forwards;
    opacity: 0;
}

.message.bot {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.message.user {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    border-bottom-right-radius: 4px;
    align-self: flex-end;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.message.product {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 14px;
    padding: 14px;
    color: var(--color-white);
    align-self: flex-start;
    max-width: 90%;
}

.message.product .product-title {
    color: var(--color-accent-light);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.message.product .product-price {
    color: var(--color-success);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 4px;
}

.typing-indicator {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    padding: 14px 18px;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    display: none;
    gap: 5px;
}

.typing-indicator.active {
    display: flex;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: typing-dots 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding: 0 4px;
    align-self: flex-start;
    max-width: 100%;
    animation: message-appear 0.4s ease forwards;
}

.quick-reply {
    background: rgba(33, 150, 243, 0.12);
    color: var(--color-accent-light);
    border: 1px solid rgba(33, 150, 243, 0.4);
    padding: 8px 14px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.82rem;
    font-family: var(--font-body);
    transition: var(--transition);
    white-space: nowrap;
}

.quick-reply:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-2px);
    border-color: var(--color-accent);
}

.chat-input-area {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    padding: 12px 18px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    outline: none;
    transition: var(--transition);
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chat-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
}

.chat-send {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.chat-send:hover:not(:disabled) {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.5);
}

.chat-send:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.demo-restart {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
    padding: 6px 10px;
    transition: var(--transition);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.demo-restart:hover {
    color: var(--color-accent-light);
}

.demo-hint {
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.78rem;
    margin-top: 12px;
    font-style: italic;
}

/* ============================================
   PRECIOS
   ============================================ */
.precios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.precio-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px 32px;
    border: 2px solid var(--color-border);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.precio-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.precio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.precio-card:hover::before {
    opacity: 1;
}

.precio-card.featured {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    border-color: var(--color-accent);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.precio-card.featured::after {
    content: 'MÁS POPULAR';
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--color-accent);
    color: var(--color-white);
    padding: 4px 40px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    transform: rotate(45deg);
}

.precio-card.featured h3,
.precio-card.featured .precio-amount {
    color: var(--color-white);
}

.precio-card.featured .precio-features li {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
}

.precio-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    position: relative;
}

.precio-card .precio-desc {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
    position: relative;
}

.precio-card.featured .precio-desc {
    color: rgba(255, 255, 255, 0.7);
}

.precio-amount {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 4px;
    position: relative;
}

.precio-amount .currency {
    font-size: 1rem;
    vertical-align: top;
    color: var(--color-text-light);
}

.precio-amount .price-from {
    font-size: 1rem;
    color: var(--color-accent);
    display: block;
    font-weight: 600;
    margin-bottom: -8px;
}

.precio-card.featured .precio-amount .currency {
    color: var(--color-accent-light);
}

.precio-iva {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-bottom: 24px;
    position: relative;
}

.precio-card.featured .precio-iva {
    color: rgba(255, 255, 255, 0.6);
}

.precio-features {
    list-style: none;
    margin: 24px 0;
    text-align: left;
    position: relative;
}

.precio-features li {
    padding: 12px 0 12px 30px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-light);
    font-size: 0.92rem;
    position: relative;
}

.precio-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 800;
    font-size: 1.1rem;
}

.precio-card.featured .precio-features li::before {
    color: var(--color-accent-light);
}

.precio-features li:last-child {
    border-bottom: none;
}

/* ============================================
   CRONOGRAMA / TIMELINE
   ============================================ */
.cronograma {
    margin-top: 70px;
    position: relative;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.cronograma::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        var(--color-accent) 0%,
        var(--color-secondary) 50%,
        var(--color-accent) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.cronograma-item {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.cronograma-content {
    background: var(--color-white);
    padding: 24px 28px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.cronograma-content:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.cronograma-item:nth-child(odd) .cronograma-content {
    grid-column: 1;
    text-align: right;
}

.cronograma-item:nth-child(even) .cronograma-content {
    grid-column: 3;
    text-align: left;
}

.cronograma-marker {
    grid-column: 2;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    margin: 0 auto;
    box-shadow: 0 0 0 6px var(--color-white), 0 0 30px rgba(33, 150, 243, 0.5);
    position: relative;
    z-index: 2;
    animation: pulse-glow 3s ease-in-out infinite;
}

.cronograma-content h4 {
    font-family: var(--font-display);
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.cronograma-content .week {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
    display: block;
}

.cronograma-content p {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   CLIENTES / TESTIMONIOS
   ============================================ */
.clientes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cliente-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.cliente-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: Georgia, serif;
    font-size: 8rem;
    color: rgba(33, 150, 243, 0.15);
    line-height: 1;
}

.cliente-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-accent);
    box-shadow: 0 20px 60px rgba(33, 150, 243, 0.2);
}

.cliente-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.cliente-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    flex-shrink: 0;
}

.cliente-info h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.cliente-info .industria {
    color: var(--color-accent-light);
    font-size: 0.85rem;
}

.cliente-quote {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cliente-resultados {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.resultado {
    text-align: center;
}

.resultado-numero {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-accent-light);
    display: block;
}

.resultado-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    display: block;
}

/* ============================================
   CONTACTO / CTA FINAL
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    text-align: center;
    padding: 100px 30px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(33, 150, 243, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33, 150, 243, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
    color: var(--color-white);
}

.cta-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FORMULARIO DE CONTACTO
   ============================================ */
.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 50px;
}

.contacto-info {
    padding: 20px 0;
}

.contacto-item {
    display: flex;
    gap: 18px;
    margin-bottom: 32px;
    align-items: flex-start;
}

.contacto-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}

.contacto-item h4 {
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.contacto-item p,
.contacto-item a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: var(--transition);
}

.contacto-item a:hover {
    color: var(--color-accent);
}

.contacto-form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--color-border);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(33, 150, 243, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: none;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-success);
    border: 1px solid var(--color-success);
    display: block;
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid #ef4444;
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 60px 30px 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--color-accent) 50%,
        transparent 100%);
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .nav-logo {
    margin-bottom: 10px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col h5 {
    font-family: var(--font-display);
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-col a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ============================================
   WHATSAPP FLOAT BUTTON
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse-glow 2s infinite;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 2px solid #25d366;
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse-glow 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) rotate(-10deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

/* ============================================
   AOS - ANIMACIONES AL HACER SCROLL
   ============================================ */
.aos-init {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.aos-init[data-aos="fade-up"] {
    transform: translateY(40px);
}

.aos-init[data-aos="fade-left"] {
    transform: translateX(-40px);
}

.aos-init[data-aos="fade-right"] {
    transform: translateX(40px);
}

.aos-init[data-aos="zoom-in"] {
    transform: scale(0.9);
}

.aos-animate {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
    .hero-container,
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        height: 400px;
    }

    .logo-container {
        width: 300px;
        height: 300px;
    }

    .logo-image-wrap {
        width: 220px;
        height: 220px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .cronograma::before {
        left: 30px;
    }

    .cronograma-item {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }

    .cronograma-marker {
        grid-column: 1;
    }

    .cronograma-item:nth-child(odd) .cronograma-content,
    .cronograma-item:nth-child(even) .cronograma-content {
        grid-column: 2;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: var(--color-primary);
        flex-direction: column;
        padding: 30px 20px;
        transition: right 0.4s ease;
        align-items: stretch;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        padding: 14px 16px;
    }

    .hero {
        padding: 100px 20px 40px;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    section {
        padding: 60px 20px;
    }

    .precio-card.featured {
        transform: scale(1);
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .chatbot-demos {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
}
