/* Custom styles for chatbot page */
.hero-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #050f1e 0%, #0d1526 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('../../assets/images/circuit-pattern.svg');
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e6e6e6;
}

.chatbot-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.chatbot-feature {
    background: rgba(13, 21, 38, 0.8);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.chat-demo {
    background: rgba(13, 21, 38, 0.5);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    margin: 50px auto;
    max-width: 900px;
}

.chat-header {
    background: linear-gradient(to right, var(--primary-color-dark), var(--primary-color));
    padding: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
}

.chat-header-icon {
    font-size: 1.5rem;
    margin-right: 15px;
}

.chat-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.chat-body {
    padding: 30px;
    max-height: 400px;
    overflow-y: auto;
}

.chat-message {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.bot-message {
    margin-right: auto;
}

.user-message {
    margin-left: auto;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0;
}

.user-message .message-avatar {
    margin-right: 0;
    margin-left: 15px;
}

.bot-avatar {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
}

.message-bubble {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 20px;
    max-width: 70%;
}

.bot-message .message-bubble {
    border-top-left-radius: 0;
    background: rgba(102, 179, 255, 0.1);
}

.user-message .message-bubble {
    border-top-right-radius: 0;
    background: rgba(78, 84, 200, 0.2);
}

.use-cases {
    padding: 80px 0;
    background: rgba(10, 15, 30, 0.3);
}

.use-case-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.use-case-tab {
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.use-case-tab.active, .use-case-tab:hover {
    background: var(--primary-color);
    color: #000000;
    font-weight: 600;
}

.use-case-content {
    display: none;
}

.use-case-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .message-bubble {
        max-width: 85%;
    }
}
