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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    overflow-x: hidden;
}

.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   background: linear-gradient(135deg, #be123c 0%, #e11d48 30%, #f97316 60%, #fb923c 85%, #fbbf24 100%);
    z-index: 0;
}

.content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

/* Logo Styles */
.logo-container {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.logo-box {
    display: inline-block;
    border-radius: 1rem;
    padding: 1.5rem;
   /*  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);*/
}

.logo-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    max-width: 200px;
    height: auto;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 300;
    color: white;
    letter-spacing: 0.1em;
}

/* Video Styles */
.video-container {
    width: 100%;
    max-width: 56rem;
    margin-bottom: 2rem;
}

.video-wrapper {
    background: black;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    aspect-ratio: 16/9;
}

video {
    width: 100%;
    height: 100%;
    display: block;
}

.video-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* Chatbot Styles */
.chatbot-container {
    width: 100%;
    max-width: 56rem;
}

.chatbot {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.chatbot-header {
    background: linear-gradient(to right, #be123c, #e11d48, #f97316);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chatbot-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chatbot-title {
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.chatbot-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}



/* Messages */
.messages {
    height: 24rem;
    overflow-y: auto;
    padding: 1rem;
    background: linear-gradient(to bottom, white, rgba(245, 243, 255, 0.3));
}

.messages::-webkit-scrollbar {
    width: 6px;
}

.messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.messages::-webkit-scrollbar-thumb {
    background: #f97316;
    border-radius: 10px;
}

.messages::-webkit-scrollbar-thumb:hover {
    background: #ea580c;
}

.message {
    display: flex;
    margin-bottom: 1rem;
}

.message.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.message.user .message-bubble {
    background: linear-gradient(to right, #e11d48, #f97316);
    color: white;
}

.message.assistant .message-bubble {
    background: white;
    border: 1px solid #e5e7eb;
    color: #1f2937;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Loading */
.loading {
    display: none;
    justify-content: flex-start;
    padding: 0 1rem 1rem 1rem;
}

.loading.active {
    display: flex;
}

.spinner {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #f97316;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Input Area */
.input-area {
    padding: 1rem;
    background: white;
    border-top: 1px solid #e5e7eb;
}

.input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.message-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 2rem;
    font-size: 0.875rem;
    outline: none;
}

.message-input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.message-input:disabled {
    background: #f9fafb;
    cursor: not-allowed;
}

.send-btn {
    background: linear-gradient(to right, #e11d48, #f97316, #fb923c);
    color: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.send-btn:hover:not(:disabled) {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
.footer {
    margin-top: 2rem;
    text-align: center;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-text {
        font-size: 2rem;
    }
    
    .messages {
        height: 20rem;
    }

    .content {
        padding: 1rem 0.5rem;
    }
}