/* =====================================================
   🎯 VARIABLES & SISTEMA DE DISEÑO (DARK LUXURY)
   ===================================================== */
:root {
    /* Fondos Midnight Blue */
    --bg-primary: #040D21;
    --bg-secondary: #0B1B3D;
    --bg-tertiary: #142952;

    /* Acento Primario (Azul Ate Optica #002F91 y variaciones brillantes para Dark Mode) */
    --primary-200: #6ea1ff;
    --primary-300: #3b71ca;
    --primary-400: #1a4da6;
    --primary-500: #002F91;
    /* El color del logo/marca */
    --primary-600: #00236e;

    /* Para sombras y brillos, usamos un azul ligeramente más brillante que #002F91 para que destaque en el fondo negro */
    --primary-glow: 26, 77, 166;
    /* RGB de #1a4da6 */

    /* Textos */
    --text-primary: #FFFFFF;
    --text-secondary: #E4E4E7;
    --text-tertiary: #A1A1AA;
}

/* =====================================================
   ✍️ RESET & BASE
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    overflow-x: hidden;
}

body {
    position: relative;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Tipografía */
h1 {
    font-size: clamp(3rem, 5vw, 4.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.text-primary {
    color: var(--primary-200);
}

/* En dark mode el texto resaltado debe ser más claro */

/* Fondos compartidos */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(var(--primary-glow), 0.2) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

/* =====================================================
   ✨ COMPONENTES CSS (GLASSMORPHISM)
   ===================================================== */
.glass-card {
    background: linear-gradient(135deg,
            rgba(var(--primary-glow), 0.15) 0%,
            rgba(var(--primary-glow), 0.05) 50%,
            rgba(var(--primary-glow), 0.15) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(var(--primary-glow), 0.3);
    border-radius: 24px;
    padding: 40px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.5),
        0 2px 4px -2px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: rgba(var(--primary-glow), 0.5);
    box-shadow: 0 25px 50px -12px rgba(var(--primary-glow), 0.4);
}

.btn-primary {
    background: linear-gradient(135deg,
            var(--primary-400) 0%,
            var(--primary-500) 50%,
            var(--primary-600) 100%);
    background-size: 200% 200%;
    animation: gradient-shift 4s ease infinite;
    color: #ffffff;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    box-shadow:
        0 0 0 1px rgba(var(--primary-glow), 0.5),
        0 4px 24px rgba(var(--primary-glow), 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(1.2);
    box-shadow:
        0 0 0 2px rgba(var(--primary-glow), 0.8),
        0 8px 40px rgba(var(--primary-glow), 0.6);
}

.btn-block {
    width: 100%;
    margin-top: 20px;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 12px;
    border: 1px solid rgba(var(--primary-glow), 0.5);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgba(var(--primary-glow), 0.2);
    border-color: var(--primary-300);
}

.glow-primary {
    filter: drop-shadow(0 0 20px rgba(var(--primary-glow), 0.4)) drop-shadow(0 0 40px rgba(var(--primary-glow), 0.2));
}

.glow-text {
    text-shadow:
        0 0 15px rgba(var(--primary-glow), 0.8),
        0 0 30px rgba(var(--primary-glow), 0.6);
    color: var(--primary-200);
}

/* =====================================================
   LAYOUT & SECTIONS
   ===================================================== */
.section-padding {
    padding: 100px 5%;
}

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

.section-header p {
    font-size: 1.125rem;
    color: var(--text-tertiary);
    margin-top: 10px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 5%;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 16px 5%;
    background: rgba(4, 13, 33, 0.8);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(var(--primary-glow), 0.2);
    box-shadow: 0 4px 24px rgba(4, 13, 33, 0.6);
}

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

.logo {
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-300);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* HERO SECTION */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    padding-top: 100px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.label-top {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(var(--primary-glow), 0.2);
    border: 1px solid rgba(var(--primary-glow), 0.5);
    border-radius: 20px;
    color: var(--primary-200);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

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

/* 3D SPHERE HERO */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sphere {
    width: 450px;
    height: 450px;
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sphere-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-glow), 0.2) 0%, rgba(var(--primary-glow), 0.4) 100%);
    border-radius: 50%;
    border: 2px solid rgba(var(--primary-glow), 0.5);
    box-shadow:
        0 0 60px rgba(var(--primary-glow), 0.5),
        0 0 120px rgba(var(--primary-glow), 0.4),
        inset 0 0 60px rgba(var(--primary-glow), 0.3);
    backdrop-filter: blur(10px);
}

.hero-image {
    position: relative;
    z-index: 2;
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
    /* Circle image to fit the sphere */
    border: 4px solid rgba(var(--primary-glow), 0.8);
}

/* SOCIAL PROOF */
.social-proof {
    border-top: 1px solid rgba(var(--primary-glow), 0.2);
    border-bottom: 1px solid rgba(var(--primary-glow), 0.2);
    background: var(--bg-secondary);
    padding: 50px 5%;
}

.metrics-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.metric-item h3 {
    display: inline-block;
    font-size: 3rem;
    color: var(--primary-300);
}

.metric-item span {
    font-size: 3rem;
    color: var(--primary-300);
    font-weight: 700;
}

.metric-item p {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-top: 8px;
}

.partner-img {
    height: 50px;
    border-radius: 8px;
}

/* SERVICES FLIP CARDS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-flip {
    perspective: 1000px;
    height: 400px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: pointer;
}

.service-card-flip:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    overflow: hidden;
}

.service-card-front {
    background-color: var(--bg-tertiary);
    border: 1px solid rgba(var(--primary-glow), 0.3);
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card-flip:hover .service-image {
    transform: scale(1.05);
}

.service-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(4, 13, 33, 1), transparent);
    padding: 30px 20px;
    text-align: left;
}

.service-title-front {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.service-card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.service-title-back {
    margin-bottom: 16px;
    color: var(--primary-300);
}

.service-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-tag {
    background: rgba(var(--primary-glow), 0.2);
    border: 1px solid rgba(var(--primary-glow), 0.4);
    color: var(--primary-200);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ABOUT SECTION */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image-side {
    flex: 1;
}

.about-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-text-side {
    flex: 1;
}

.about-text-side p {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* APPOINTMENT FORM SECTION (DARK UX) */
.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.appointment-benefits {
    margin-top: 30px;
}

.appointment-benefits li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

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

.dark-form .form-row {
    display: flex;
    gap: 20px;
}

.dark-form .form-row .form-group {
    flex: 1;
}

.dark-form label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.dark-form input,
.dark-form select {
    width: 100%;
    padding: 16px;
    background: rgba(4, 13, 33, 0.4);
    border: 1px solid rgba(var(--primary-glow), 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.dark-form input:focus,
.dark-form select:focus {
    outline: none;
    border-color: var(--primary-300);
    box-shadow: 0 0 15px rgba(var(--primary-glow), 0.4);
    background: rgba(4, 13, 33, 0.6);
}

.dark-form select option {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-message {
    margin-top: 15px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    color: #4ade80;
}

/* FOOTER */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(var(--primary-glow), 0.2);
    padding: 80px 5% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 60px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.footer-links h4 {
    margin-bottom: 24px;
    color: var(--primary-200);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-tertiary);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-tertiary);
}

/* =====================================================
   ✨ ANIMACIONES & KEYFRAMES
   ===================================================== */
.animated-element {
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

.animate-in {
    animation: fade-in-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(2deg);
    }

    50% {
        transform: translateY(-5px) rotate(-2deg);
    }

    75% {
        transform: translateY(-20px) rotate(1deg);
    }
}

@keyframes float-particle {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }

    25% {
        transform: translate(100px, -100px);
        opacity: 0.6;
    }

    50% {
        transform: translate(-50px, -200px);
        opacity: 0.4;
    }

    75% {
        transform: translate(-100px, -100px);
        opacity: 0.6;
    }
}

.pulse-glow-btn {
    animation: pulse-glow 3s ease-in-out infinite, gradient-shift 4s ease infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(var(--primary-glow), 0.5),
            0 4px 24px rgba(var(--primary-glow), 0.4),
            0 0 60px rgba(var(--primary-glow), 0.2);
    }

    50% {
        box-shadow:
            0 0 0 2px rgba(var(--primary-glow), 0.8),
            0 8px 40px rgba(var(--primary-glow), 0.6),
            0 0 80px rgba(var(--primary-glow), 0.4);
    }
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

#particles-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-300);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-300);
    animation: float-particle 20s infinite ease-in-out;
}

/* =====================================================
   📱 RESPONSIVE BREAKPOINTS
   ===================================================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
        gap: 60px;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-container {
        flex-direction: column;
    }

    .appointment-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid rgba(var(--primary-glow), 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .sphere {
        width: 250px;
        height: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        flex-direction: column;
        gap: 40px;
    }

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

    .dark-form .form-row {
        flex-direction: column;
        gap: 0;
    }

    .particle:nth-child(n+15) {
        display: none;
    }
}

/* =====================================================
   🤖 AI CHATBOT WIDGET
   ===================================================== */
.chatbot-trigger-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-400), var(--primary-500));
    color: white;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(var(--primary-glow), 0.6);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-trigger-btn:hover {
    transform: scale(1.1);
}

.chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: rgba(4, 13, 33, 0.85); /* Midnight Blue Transparent */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--primary-glow), 0.4);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 20px rgba(var(--primary-glow), 0.3);
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-container.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.chatbot-header {
    background: rgba(var(--primary-glow), 0.2);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-300);
}

.chatbot-header h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-primary);
}

.status-indicator {
    font-size: 0.75rem;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 4px;
}
.status-indicator::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ade80;
}

.chatbot-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-expand-btn,
.chatbot-close-btn {
    background-color: transparent !important;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    outline: none;
    box-shadow: none;
    z-index: 10;
}

.chatbot-expand-btn svg,
.chatbot-close-btn svg {
    pointer-events: none;
}

.chatbot-close-btn {
    font-size: 1.5rem;
}

.chatbot-expand-btn {
    font-size: 1.2rem;
}

.chatbot-expand-btn:hover,
.chatbot-close-btn:hover {
    color: white;
}

/* Estado expandido del chat */
.chatbot-container.expanded {
    width: 450px;
    height: 70vh;
}

@media (min-width: 1200px) {
    .chatbot-container.expanded {
        width: 500px;
        height: 75vh;
    }
}

@media (max-width: 480px) {
    .chatbot-container.expanded {
        width: 95%;
        height: 80vh;
        bottom: 80px;
        right: 2.5%;
    }
}

.chatbot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Scrollbar para el chat */
.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}
.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}
.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
}

.message {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    animation: fade-in-up 0.3s ease forwards;
}

.message-content {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.ai-message {
    align-self: flex-start;
}
.ai-message .message-content {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.user-message {
    align-self: flex-end;
}
.user-message .message-content {
    background: var(--primary-500);
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 2px 10px rgba(var(--primary-glow), 0.4);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    width: fit-content;
}
.typing-indicator span {
    width: 6px;
    height: 6px;
    background: var(--text-tertiary);
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out both;
}
.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
@keyframes typing {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

.chatbot-input-area {
    padding: 15px;
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    gap: 10px;
    align-items: center;
}

#chatbot-input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 12px 16px;
    border-radius: 20px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}
#chatbot-input:focus {
    outline: none;
    border-color: var(--primary-300);
    background: rgba(255,255,255,0.1);
}

#chatbot-send-btn {
    background: var(--primary-500);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}
#chatbot-send-btn:hover {
    background: var(--primary-400);
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .chatbot-container {
        width: 90%;
        height: 70vh;
        bottom: 90px;
        right: 5%;
    }
}