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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: visible;
}

.header {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: visible;
    border-radius: 20px 20px 0 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.header-logo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
    font-weight: 600;
}

.header .subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: help;
    position: relative;
    font-size: 0.9rem;
    z-index: 2000;
}

.info-icon:hover {
    background: rgba(255, 255, 255, 0.3);
}

.tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #2d3748;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 320px;
    z-index: 2001;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
}

.tooltip::before {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid white;
}

.info-icon:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.main-content {
    padding: 40px;
}

.chatbots-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.chatbot-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    min-width: 240px;
    max-width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.chatbot-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.15);
    border-color: #2563eb;
}

.chatbot-icon {
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.chatbot-icon::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.chatbot-icon i {
    font-size: 2.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

.chatbot-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.chatbot-number {
    display: inline-block;
    background: #2563eb;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.chatbot-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
}

.chatbot-description {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.chatbot-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: linear-gradient(135deg, #1e40af 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: auto;
}

.chatbot-button:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.chatbot-button i {
    font-size: 1rem;
}

.footer {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 20px 20px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    border-left: 4px solid #10b981;
}

.notification i {
    color: #10b981;
    font-size: 1.5rem;
}

@media (max-width: 968px) {
    .header h1 {
        font-size: 2rem;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .header-logo {
        width: 100px;
        height: 100px;
    }

    .chatbots-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .chatbot-card {
        min-width: 280px;
        max-width: 280px;
    }

    .tooltip {
        width: 280px;
    }
}