/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header y Navegación */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: #0F4761;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: -5px;
}

.logo span {
    color: #467886;
    font-size: 0.9rem;
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #0F4761;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0F4761;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0F4761 0%, #467886 100%);
    color: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: #e0f2fe;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #b3e5fc;
}

.hero-experimental-notice {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero-experimental-notice p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
    text-align: center;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #FF6B35;
    color: white;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #0F4761;
    transform: translateY(-2px);
}

.hero-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
}

.hero-illustration i {
    animation: float 6s ease-in-out infinite;
}

.hero-illustration i:nth-child(2) {
    animation-delay: 2s;
}

.hero-illustration i:nth-child(3) {
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #0F4761;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: #0F4761;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
    line-height: 1.8;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: #0F4761;
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

.about-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6rem;
    color: #0F4761;
    opacity: 0.1;
}

/* Results Section */
.results {
    padding: 80px 0;
    background: white;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.result-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.result-icon {
    font-size: 3rem;
    color: #0F4761;
    margin-bottom: 1rem;
}

.result-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.result-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.result-numbers .before {
    color: #dc3545;
}

.result-numbers .after {
    color: #28a745;
}

.result-numbers i {
    color: #0F4761;
    font-size: 1.2rem;
}

.improvement {
    color: #28a745;
    font-weight: 600;
    font-size: 1.1rem;
}

.results-disclaimer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 10px;
    text-align: center;
}

.results-disclaimer p {
    margin: 0;
    color: #1565c0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Testimonials */
.testimonials {
    text-align: center;
}

.testimonials h3 {
    font-size: 2rem;
    color: #0F4761;
    margin-bottom: 2rem;
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #0F4761;
}

.quote {
    position: relative;
    margin-bottom: 1rem;
}

.quote i:first-child {
    color: #0F4761;
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.quote i:last-child {
    color: #0F4761;
    font-size: 1.5rem;
    margin-left: 0.5rem;
}

.quote p {
    font-size: 1.1rem;
    color: #555;
    font-style: italic;
    line-height: 1.6;
    margin: 1rem 0;
}

.author strong {
    color: #0F4761;
    font-size: 1rem;
}

.testimonials-disclaimer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    text-align: center;
}

.testimonials-disclaimer p {
    margin: 0;
    color: #856404;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Technology Section */
.technology {
    padding: 80px 0;
    background: #f8f9fa;
}

.tech-principles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.principle {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.principle:hover {
    transform: translateY(-5px);
}

.principle i {
    font-size: 2.5rem;
    color: #0F4761;
    margin-bottom: 1rem;
}

.principle h4 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.principle p {
    color: #666;
    line-height: 1.6;
}

/* Neuroagentes Section */
.neuroagentes {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.neuroagentes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.1" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.neuroagentes-content {
    position: relative;
    z-index: 2;
}

.neuroagentes-intro {
    margin-bottom: 60px;
}

.neuroagentes-intro h3 {
    color: #FF6B35;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-align: center;
}

.neuroagentes-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #e0e0e0;
}

.neuroagentes-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.neuro-feature {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.neuro-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: #FF6B35;
}

.neuro-feature i {
    font-size: 3rem;
    color: #FF6B35;
    margin-bottom: 20px;
}

.neuro-feature h4 {
    color: #FF6B35;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.neuro-feature p {
    color: #b0b0b0;
    line-height: 1.6;
}

.neuroagentes-research {
    margin-bottom: 60px;
}

.neuroagentes-research h3 {
    color: #FF6B35;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.research-quotes {
    display: grid;
    gap: 30px;
}

.quote-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #FF6B35;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.quote-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.quote-content {
    position: relative;
    margin-bottom: 20px;
}

.quote-content i.fa-quote-left {
    color: #FF6B35;
    font-size: 1.5rem;
    margin-right: 10px;
}

.quote-content i.fa-quote-right {
    color: #FF6B35;
    font-size: 1.5rem;
    margin-left: 10px;
}

.quote-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
    font-style: italic;
    margin: 0;
}

.quote-author {
    text-align: right;
}

.quote-author strong {
    color: #FF6B35;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.quote-author span {
    color: #888;
    font-size: 0.9rem;
}

.neuroagentes-future {
    margin-bottom: 40px;
}

.neuroagentes-future h3 {
    color: #FF6B35;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.neuroagentes-future p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 30px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.future-vision {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(15, 71, 97, 0.2) 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.3);
    margin-top: 30px;
}

.future-vision h4 {
    color: #FF6B35;
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.future-vision p {
    color: #d0d0d0;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.future-vision p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #0F4761;
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: #0F4761;
    margin-top: 0.2rem;
}

.contact-item strong {
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    line-height: 1.6;
}

.contact-form h3 {
    font-size: 1.8rem;
    color: #0F4761;
    margin-bottom: 2rem;
    font-weight: 600;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0F4761;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Estilos para mensajes del formulario de contacto */
.contact-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.contact-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: #0F4761;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section p {
    color: #b3e5fc;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b3e5fc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: #b3e5fc;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #467886;
    color: #b3e5fc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .neuroagentes-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .neuro-feature {
        padding: 20px;
    }
    
    .quote-item {
        padding: 20px;
    }
    
    .future-vision {
        padding: 25px;
    }
    
    .neuroagentes-intro h3,
    .neuroagentes-research h3,
    .neuroagentes-future h3 {
        font-size: 1.8rem;
    }
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .hero-text h2 {
        font-size: 1.3rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-principles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text,
.hero-image,
.feature,
.result-card,
.principle {
    animation: fadeInUp 0.8s ease-out;
}

/* Scroll suave para enlaces internos */
html {
    scroll-behavior: smooth;
}

/* Estilos para el formulario de contacto */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

/* Efectos hover mejorados */
.feature:hover,
.result-card:hover,
.principle:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Transiciones suaves */
* {
    transition: all 0.3s ease;
}

/* Chat Styles */
.chat-toggle {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    background: linear-gradient(135deg, #0F4761 0%, #467886 100%) !important;
    color: white !important;
    padding: 15px 20px !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    box-shadow: 0 5px 25px rgba(15, 71, 97, 0.3) !important;
    transition: all 0.3s ease !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-weight: 600 !important;
    border: 2px solid red !important; /* Debug: borde rojo para ver si está ahí */
}

.chat-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(15, 71, 97, 0.4);
}

.chat-toggle i {
    font-size: 1.2rem;
}

.chat-label {
    font-size: 0.9rem;
}

/* Chat Modal */
.chat-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 10000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    border: 3px solid blue !important; /* Debug: borde azul para ver si está ahí */
}

.chat-modal.active {
    display: flex;
}

.chat-container {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    height: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.chat-header {
    background: linear-gradient(135deg, #0F4761 0%, #467886 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-title i {
    font-size: 1.5rem;
}

.chat-title h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
}

.message {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: #0F4761;
    color: white;
}

.user-message .message-avatar {
    background: #FF6B35;
    color: white;
}

.message-content {
    background: white;
    padding: 15px;
    border-radius: 18px;
    max-width: 80%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bot-message .message-content {
    background: white;
    border-bottom-left-radius: 5px;
}

.user-message .message-content {
    background: #0F4761;
    color: white;
    border-bottom-right-radius: 5px;
    margin-left: auto;
}

.message-content p {
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.message-content li {
    margin-bottom: 5px;
}

.chat-input {
    padding: 20px;
    background: white;
    border-top: 1px solid #e9ecef;
}

.input-container {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

#chatInput {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

#chatInput:focus {
    outline: none;
    border-color: #0F4761;
}

.send-button {
    background: #0F4761;
    color: white;
    border: none;
    padding: 12px 16px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.send-button:hover {
    background: #467886;
    transform: scale(1.05);
}

.send-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.chat-info {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
}

/* Responsive Chat */
@media (max-width: 768px) {
    .chat-toggle {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
    }
    
    .chat-label {
        display: none;
    }
    
    .chat-container {
        height: 80vh;
        max-width: 100%;
        border-radius: 15px;
    }
    
    .chat-header {
        padding: 15px;
    }
    
    .chat-title h3 {
        font-size: 1rem;
    }
    
    .chat-messages {
        padding: 15px;
    }
    
    .chat-input {
        padding: 15px;
    }
}

/* Loading animation for bot responses */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 15px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0F4761;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}
