﻿/* Variables CSS para consistencia */
:root {
    --primary-color: #e94560;
    --primary-dark: #d13450;
    --secondary-color: #16213e;
    --secondary-dark: #1a1a2e;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-radius: 12px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header styles moved to inline styles in _Layout.cshtml */

nav {
    display: flex;
    justify-content: center;
    background-color: #16213e;
    padding: 10px 0;
}

    nav a {
        color: white;
        text-decoration: none;
        margin: 0 15px;
        font-size: 1rem;
    }

        nav a:hover {
            text-decoration: underline;
        }

.hero {
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.95), rgba(233, 69, 96, 0.85)), 
                url('https://i.ytimg.com/vi/0bwMPRHNFqc/maxresdefault.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(233, 69, 96, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 20px;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        animation: fadeInUp 0.8s ease;
    }

    .hero p {
        font-size: 1.3rem;
        margin-bottom: 15px;
        font-weight: 300;
    }

    .hero .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
        opacity: 0.95;
    }

    .hero-buttons {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 30px;
        position: relative;
        z-index: 1;
    }

    .cta-primary {
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        color: white;
        border: none;
        padding: 15px 35px;
        font-size: 1.1rem;
        cursor: pointer;
        border-radius: 50px;
        font-weight: 600;
        transition: var(--transition);
        box-shadow: 0 8px 15px rgba(233, 69, 96, 0.3);
    }

    .cta-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(233, 69, 96, 0.4);
    }

    .cta-whatsapp {
        background-color: #25D366;
        color: white;
        padding: 15px 35px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        transition: var(--transition);
        box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3);
    }

    .cta-whatsapp:hover {
        background-color: #20BA5A;
        transform: translateY(-3px);
        box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
    }

    .trust-badges {
        display: flex;
        gap: 30px;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 30px;
        position: relative;
        z-index: 1;
    }

    .trust-badges span {
        font-size: 0.95rem;
        padding: 8px 20px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border-radius: 25px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sección de Servicios Tradicionales */
.services-section {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    padding: 80px 20px;
    color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.service-card.featured {
    border: 2px solid rgba(255, 215, 0, 0.8);
    background: rgba(255, 215, 0, 0.15);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: white;
}

.service-card p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.service-card .benefits-list {
    text-align: left;
    margin: 20px 0;
}

.service-card .benefits-list li {
    color: rgba(255, 255, 255, 0.95);
}

.service-card .info-btn {
    background: white;
    color: #f5576c;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-card .info-btn:hover {
    background: #f5576c;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}



.cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

    .cta h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .cta button {
        background-color: var(--primary-color);
        color: white;
        border: none;
        padding: 15px 30px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        border-radius: 50px;
        transition: var(--transition);
        box-shadow: 0 8px 15px rgba(233, 69, 96, 0.3);
    }

        .cta button:hover {
            background-color: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 12px 25px rgba(233, 69, 96, 0.4);
        }

footer {
    background-color: #1a1a2e;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 5px;
}

    footer .socials {
        margin: 10px 0;
    }

        footer .socials a {
            color: white;
            text-decoration: none;
            margin: 0 10px;
            font-size: 1.2rem;
        }

            footer .socials a:hover {
                color: #e94560;
            }

/* Estilos para botones info antiguos - removidos, ahora usan .service-card .info-btn */

/* Estilo del Pop-up */
.popup {
    display: none; /* Inicialmente oculto */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    text-align: center;
}

.popup-close {
    color: #000;
    font-size: 30px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

    .popup-close:hover {
        color: #e94560;
    }

form label {
    display: block;
    margin-bottom: 8px;
    text-align: left;
    font-weight: bold;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    background-color: #e94560;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

    form button:hover {
        background-color: #d13450;
    }


/* .service-benefits - removido, ahora se usa .benefits-list */

/* ===== NUEVAS SECCIONES ===== */

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
}

/* Sección de IA */
.ai-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.ai-service-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
}

.ai-service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.ai-service-card.featured {
    border: 2px solid rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.1);
}

.ai-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.ai-service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.ai-service-card p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefits-list li {
    padding: 8px 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

/* Botones de la sección IA */
.ai-service-card .info-btn,
.ai-service-card button {
    background: white;
    color: #667eea;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 10px;
}

.ai-service-card .info-btn:hover,
.ai-service-card button:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Sección Por Qué Elegirnos */
.why-us-section {
    background: var(--bg-white);
    padding: 80px 20px;
    text-align: center;
}

.why-us-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    padding: 30px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 2px solid transparent;
}

.why-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.why-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 20px;
}

.why-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.why-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Sección de Estadísticas */
.stats-section {
    background: var(--secondary-color);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.stats-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Sección de Testimonios */
.testimonials-section {
    background: var(--bg-light);
    padding: 80px 20px;
    text-align: center;
}

.testimonials-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.7;
}

.testimonial-author {
    text-align: left;
    border-top: 2px solid var(--bg-light);
    padding-top: 15px;
}

.testimonial-author strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Sección de Casos de Éxito */
.case-studies-section {
    background: var(--bg-white);
    padding: 80px 20px;
    text-align: center;
}

.case-studies-section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--secondary-color);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 35px;
    border-radius: var(--border-radius);
    text-align: left;
    transition: var(--transition);
    border-left: 5px solid var(--primary-color);
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.case-card h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.case-card p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.case-card ul {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.case-card ul li {
    padding: 5px 0;
    color: var(--text-dark);
}

/* CTA mejorado */
.cta {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-primary-large {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 18px 45px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(233, 69, 96, 0.4);
}

.cta-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(233, 69, 96, 0.5);
}

.cta-whatsapp-large {
    background-color: #25D366;
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.cta-whatsapp-large:hover {
    background-color: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

/* ===== CHATBOT DEMO STYLES ===== */
.chatbot-demo-container {
    max-width: 420px;
    width: 90%;
    height: auto;
    max-height: 85vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
}

.chatbot-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.chatbot-avatar {
    font-size: 2.2rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chatbot-info h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.chatbot-status {
    margin: 4px 0 0 0;
    font-size: 0.8rem;
    opacity: 0.95;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: #25D366;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-status 2s infinite;
    box-shadow: 0 0 8px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-status {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.95);
    }
}

.chatbot-messages {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e9ecef 100%);
    height: 320px;
    min-height: 320px;
    max-height: 320px;
    flex-shrink: 0;
}

/* Scrollbar personalizado para el área de mensajes */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 10px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
}

.message {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    animation: messageSlideIn 0.4s ease;
    align-items: flex-end;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bot-message {
    justify-content: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.message-avatar {
    font-size: 1.4rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.user-message .message-avatar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.message-content {
    background: white;
    padding: 10px 14px;
    border-radius: 16px;
    max-width: 75%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bot-message .message-content {
    border-radius: 16px 16px 16px 4px;
}

.user-message .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 16px 16px 4px 16px;
    border: none;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3);
}

.message-content p {
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
}

.message-content p + p {
    margin-top: 6px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: #999;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

.chatbot-quick-replies {
    padding: 12px 16px;
    background: white;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.quick-reply-btn {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1.5px solid #dee2e6;
    padding: 7px 14px;
    border-radius: 18px;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.quick-reply-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.quick-reply-btn:active:not(:disabled) {
    transform: translateY(0);
}

.quick-reply-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.chatbot-cta {
    background: white;
    padding: 16px;
    text-align: center;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.chatbot-cta p {
    color: #495057;
    font-weight: 500;
}

.cta-demo-contact {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
    width: 100%;
    max-width: 280px;
}

.cta-demo-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.45);
}

.cta-demo-contact:active {
    transform: translateY(-1px);
}

/* ===== ML DEMO STYLES ===== */
.ml-demo-container {
    max-width: 550px;
    width: 90%;
    max-height: 85vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
}

.ml-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 16px 16px 0 0;
}

.ml-icon-large {
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.ml-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.ml-subtitle {
    margin: 5px 0 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.ml-demo-content {
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    flex: 1;
}

.ml-scenario-selector {
    margin-bottom: 20px;
}

.ml-scenario-selector h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.scenario-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.scenario-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scenario-btn:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #f0f4ff 0%, #e9f0ff 100%);
    transform: translateX(5px);
}

.scenario-btn.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.ml-results {
    background: white;
    border-radius: 12px;
    padding: 20px;
    min-height: 300px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.ml-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ml-loading p {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

.prediction-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.prediction-header h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.1rem;
}

.prediction-header p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.metric-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.metric-label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
}

.metric-trend {
    font-size: 0.8rem;
    margin-top: 3px;
}

.metric-trend.positive {
    color: #28a745;
}

.metric-trend.negative {
    color: #dc3545;
}

.chart-container {
    margin: 20px 0;
}

.chart-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chart-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-label {
    min-width: 60px;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.chart-bar-container {
    flex: 1;
    background: #e9ecef;
    border-radius: 4px;
    height: 24px;
    overflow: hidden;
    position: relative;
}

.chart-bar-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    transition: width 1s ease;
}

.chart-bar-fill.prediction {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.insights-section {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe5cc 100%);
    border-radius: 8px;
    border-left: 4px solid #ff9800;
}

.insights-section h5 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
}

.insights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.insights-list li {
    padding: 5px 0;
    font-size: 0.85rem;
    color: #555;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.insights-list li::before {
    content: "💡";
    flex-shrink: 0;
}

.ml-cta {
    background: white;
    padding: 16px;
    text-align: center;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.ml-cta p {
    color: #495057;
    font-weight: 500;
}

/* ===== RPA DEMO STYLES ===== */
.rpa-demo-container {
    max-width: 580px;
    width: 90%;
    max-height: 85vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
}

.rpa-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 16px 16px 0 0;
}

.rpa-icon-large {
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.rpa-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.rpa-subtitle {
    margin: 5px 0 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.rpa-demo-content {
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    flex: 1;
}

.process-selector {
    margin-bottom: 20px;
}

.process-selector h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.process-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.process-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.process-btn:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #f0f4ff 0%, #e9f0ff 100%);
    transform: translateX(5px);
}

.process-btn.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.rpa-visualization {
    background: white;
    border-radius: 12px;
    padding: 20px;
    min-height: 320px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.rpa-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.rpa-loading p {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.comparison-side {
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.comparison-side.before {
    background: linear-gradient(135deg, #fee 0%, #fdd 100%);
    border: 2px solid #fcc;
}

.comparison-side.after {
    background: linear-gradient(135deg, #efe 0%, #dfd 100%);
    border: 2px solid #cfc;
}

.comparison-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.8;
}

.comparison-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.comparison-side.before .comparison-value {
    color: #dc3545;
}

.comparison-side.after .comparison-value {
    color: #28a745;
}

.comparison-desc {
    font-size: 0.8rem;
    opacity: 0.8;
}

.process-flow {
    margin: 20px 0;
}

.flow-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.flow-step {
    display: flex;
    align-items: center;
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #667eea;
    position: relative;
    animation: slideInRight 0.5s ease forwards;
    opacity: 0;
}

.flow-step:nth-child(1) { animation-delay: 0.1s; }
.flow-step:nth-child(2) { animation-delay: 0.3s; }
.flow-step:nth-child(3) { animation-delay: 0.5s; }
.flow-step:nth-child(4) { animation-delay: 0.7s; }
.flow-step:nth-child(5) { animation-delay: 0.9s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.flow-step-number {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-right: 12px;
}

.flow-step-content {
    flex: 1;
}

.flow-step-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 3px;
}

.flow-step-desc {
    font-size: 0.8rem;
    color: #666;
}

.flow-step-status {
    font-size: 1.2rem;
    margin-left: 10px;
}

.stats-comparison {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.stat-box {
    padding: 12px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe5cc 100%);
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #ff9800;
}

.stat-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.rpa-benefits {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.rpa-benefits h5 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    font-size: 0.85rem;
}

.benefit-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.benefit-text {
    flex: 1;
    color: #555;
}

.rpa-cta {
    background: white;
    padding: 16px;
    text-align: center;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.rpa-cta p {
    color: #495057;
    font-weight: 500;
}

/* ===== VISION DEMO STYLES ===== */
.vision-demo-container {
    max-width: 580px;
    width: 90%;
    max-height: 85vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
}

.vision-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 16px 16px 0 0;
}

.vision-icon-large {
    font-size: 3rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.vision-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.vision-subtitle {
    margin: 5px 0 0 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

.vision-demo-content {
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
    flex: 1;
}

.case-selector {
    margin-bottom: 20px;
}

.case-selector h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 1rem;
    font-weight: 600;
}

.case-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.case-btn {
    background: white;
    border: 2px solid #e0e0e0;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.case-btn:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #f0f4ff 0%, #e9f0ff 100%);
    transform: translateX(5px);
}

.case-btn.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.vision-visualization {
    background: white;
    border-radius: 12px;
    padding: 20px;
    min-height: 280px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.vision-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.vision-loading p {
    margin-top: 15px;
    color: #666;
    font-size: 0.9rem;
}

.detection-simulation {
    position: relative;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    min-height: 200px;
    margin-bottom: 20px;
}

.detection-overlay {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.detection-item {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.detection-item.analyzing {
    animation: scanEffect 2s infinite;
    border-color: #667eea;
}

.detection-item.approved {
    border-color: #28a745;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.detection-item.rejected {
    border-color: #dc3545;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
}

@keyframes scanEffect {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }
}

.detection-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.detection-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.detection-status {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 5px;
}

.detection-status.ok {
    background: #28a745;
    color: white;
}

.detection-status.defect {
    background: #dc3545;
    color: white;
}

.detection-status.scanning {
    background: #667eea;
    color: white;
    animation: pulse 1.5s infinite;
}

.detection-process {
    margin-top: 20px;
    text-align: center;
}

.process-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}

.indicator-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
    animation: pulse 1.5s infinite;
}

.indicator-label {
    font-size: 0.7rem;
    color: #666;
}

.vision-results {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.results-header {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.result-box {
    padding: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #667eea;
}

.result-label {
    font-size: 0.7rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.result-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}

.result-subtext {
    font-size: 0.7rem;
    color: #666;
    margin-top: 3px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.feature-list li {
    padding: 8px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe5cc 100%);
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.vision-cta {
    background: white;
    padding: 16px;
    text-align: center;
    border-radius: 0 0 16px 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.vision-cta p {
    color: #495057;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .ai-services-grid,
    .services-grid,
    .why-us-grid,
    .stats-grid,
    .testimonials-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }

    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .trust-badges {
        flex-direction: column;
        gap: 10px;
    }

    .service-icon,
    .ai-icon {
        font-size: 2.5rem;
    }

    .header-container {
        padding: 20px !important;
        flex-direction: column;
        gap: 15px;
    }

    .logo-container {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .logo-img {
        width: 220px !important;
        height: auto !important;
    }

    .brand-name {
        font-size: 1.5rem !important;
    }

    .brand-tagline {
        font-size: 0.75rem !important;
    }

    .brand-text {
        align-items: center;
    }

    /* Chatbot Demo Responsive */
    .chatbot-demo-container {
        width: 96%;
        max-width: 100%;
        max-height: 90vh;
        border-radius: 12px;
    }

    .chatbot-header {
        padding: 14px 16px;
        border-radius: 12px 12px 0 0;
    }

    .chatbot-avatar {
        font-size: 1.8rem;
        width: 40px;
        height: 40px;
    }

    .chatbot-info h3 {
        font-size: 1rem;
    }

    .chatbot-status {
        font-size: 0.75rem;
    }

    .chatbot-messages {
        height: 280px;
        min-height: 280px;
        max-height: 280px;
        padding: 12px;
    }

    .message-avatar {
        width: 28px;
        height: 28px;
        font-size: 1.2rem;
    }

    .message-content {
        max-width: 78%;
        padding: 9px 12px;
        font-size: 0.85rem;
    }

    .message-content p {
        font-size: 0.85rem;
    }

    .chatbot-quick-replies {
        padding: 10px 12px;
        gap: 5px;
    }

    .quick-reply-btn {
        font-size: 0.78rem;
        padding: 6px 11px;
    }

    .chatbot-cta {
        padding: 12px;
        border-radius: 0 0 12px 12px;
    }

    .chatbot-cta p {
        font-size: 0.88rem;
        margin-bottom: 8px;
    }

    .cta-demo-contact {
        font-size: 0.88rem;
        padding: 10px 20px;
        max-width: 100%;
    }

    /* ML Demo Responsive */
    .ml-demo-container {
        width: 96%;
        max-height: 90vh;
    }

    .ml-header {
        padding: 16px;
    }

    .ml-icon-large {
        font-size: 2.5rem;
        width: 50px;
        height: 50px;
    }

    .ml-header h3 {
        font-size: 1.1rem;
    }

    .ml-demo-content {
        padding: 16px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .metric-card {
        padding: 10px;
    }

    .metric-value {
        font-size: 1.3rem;
    }

    .chart-label {
        min-width: 50px;
        font-size: 0.75rem;
    }

    .chart-bar-fill {
        font-size: 0.7rem;
        padding-right: 5px;
    }

    .scenario-btn {
        font-size: 0.85rem;
        padding: 10px 14px;
    }

    .ml-cta {
        padding: 12px;
    }

    .ml-cta p {
        font-size: 0.88rem;
    }

    /* RPA Demo Responsive */
    .rpa-demo-container {
        width: 96%;
        max-height: 90vh;
    }

    .rpa-header {
        padding: 16px;
    }

    .rpa-icon-large {
        font-size: 2.5rem;
        width: 50px;
        height: 50px;
    }

    .rpa-header h3 {
        font-size: 1.1rem;
    }

    .rpa-demo-content {
        padding: 16px;
    }

    .comparison-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .comparison-value {
        font-size: 1.5rem;
    }

    .process-btn {
        font-size: 0.85rem;
        padding: 10px 14px;
    }

    .flow-step {
        padding: 10px;
    }

    .flow-step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .flow-step-title {
        font-size: 0.85rem;
    }

    .flow-step-desc {
        font-size: 0.75rem;
    }

    .stats-comparison {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    .rpa-cta {
        padding: 12px;
    }

    .rpa-cta p {
        font-size: 0.88rem;
    }

    /* Vision Demo Responsive */
    .vision-demo-container {
        width: 96%;
        max-height: 90vh;
    }

    .vision-header {
        padding: 16px;
    }

    .vision-icon-large {
        font-size: 2.5rem;
        width: 50px;
        height: 50px;
    }

    .vision-header h3 {
        font-size: 1.1rem;
    }

    .vision-demo-content {
        padding: 16px;
    }

    .case-btn {
        font-size: 0.85rem;
        padding: 10px 14px;
    }

    .detection-overlay {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .detection-icon {
        font-size: 1.5rem;
    }

    .detection-label {
        font-size: 0.75rem;
    }

    .detection-status {
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    .process-indicator {
        gap: 10px;
        flex-wrap: wrap;
    }

    .indicator-label {
        font-size: 0.65rem;
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .result-value {
        font-size: 1.2rem;
    }

    .feature-list li {
        font-size: 0.8rem;
        padding: 6px;
    }

    .vision-cta {
        padding: 12px;
    }

    .vision-cta p {
        font-size: 0.88rem;
    }
}
