.container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.title {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.icon-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.chatbot-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
    cursor: pointer;
}

.icon-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.icon-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.use-case {
    font-size: 12px;
    color: #4facfe;
    font-weight: 500;
    background: rgba(79, 172, 254, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-block;
}

/* Default Chatbot */
.chatbot-default {
    background: linear-gradient(145deg, #4facfe, #00f2fe);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.3);
}

.chatbot-default::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 22px;
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 24px 0 0 white;
    animation: blink 3s infinite;
}

.chatbot-default::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 6px;
    background: white;
    border-radius: 3px;
}

/* Typing Chatbot */
.chatbot-typing {
    background: linear-gradient(145deg, #667eea, #764ba2);
    border-radius: 50%;
    position: relative;
}

.chatbot-typing::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    box-shadow: 15px 0 0 white, 30px 0 0 white;
    animation: typing-dots 1.5s infinite;
}

.chatbot-typing::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 4px;
    background: white;
    border-radius: 2px;
    animation: pulse 2s infinite;
}

/* Thinking Chatbot */
.chatbot-thinking {
    background: linear-gradient(145deg, #ffecd2, #fcb69f);
    border-radius: 50%;
    position: relative;
}

.chatbot-thinking::before {
    content: '💭';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 24px;
    animation: float 2s ease-in-out infinite;
}

.chatbot-thinking::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 30px;
    width: 20px;
    height: 20px;
    border: 3px solid #ff6b6b;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Speaking Chatbot */
.chatbot-speaking {
    background: linear-gradient(145deg, #a8edea, #fed6e3);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.chatbot-speaking::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    width: 10px;
    height: 10px;
    background: #333;
    border-radius: 50%;
    box-shadow: 20px 0 0 #333;
}

.chatbot-speaking::after {
    content: '';
    position: absolute;
    bottom: 20px;
    left: 25px;
    width: 6px;
    height: 6px;
    background: #ff6b6b;
    border-radius: 50%;
    box-shadow: 8px 0 0 #ff6b6b, 16px 0 0 #ff6b6b, 24px 0 0 #ff6b6b;
    animation: sound-wave 0.8s infinite;
}

/* Listening Chatbot */
.chatbot-listening {
    background: linear-gradient(145deg, #d299c2, #fef9d7);
    border-radius: 50%;
    position: relative;
}

.chatbot-listening::before {
    content: '🎧';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
}

.chatbot-listening::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

/* Error Chatbot */
.chatbot-error {
    background: linear-gradient(145deg, #ff9a9e, #fecfef);
    border-radius: 50%;
    position: relative;
}

.chatbot-error::before {
    content: '⚠️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    animation: shake 0.5s infinite;
}

/* Success Chatbot */
.chatbot-success {
    background: linear-gradient(145deg, #84fab0, #8fd3f4);
    border-radius: 50%;
    position: relative;
}

.chatbot-success::before {
    content: '✅';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
    animation: bounce 2s infinite;
}

/* Offline Chatbot */
.chatbot-offline {
    background: linear-gradient(145deg, #bdc3c7, #2c3e50);
    border-radius: 50%;
    position: relative;
    opacity: 0.7;
}

.chatbot-offline::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    width: 10px;
    height: 10px;
    background: #7f8c8d;
    border-radius: 50%;
    box-shadow: 20px 0 0 #7f8c8d;
}

.chatbot-offline::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 4px;
    background: #7f8c8d;
    border-radius: 2px;
}

/* AI Processing */
.chatbot-ai {
    background: linear-gradient(145deg, #667eea, #0e83e4);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.chatbot-ai::before {
    content: 'T-ID';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.chatbot-ai::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite;
}

/* Happy Chatbot */
.chatbot-happy {
    background: linear-gradient(145deg, #ffeaa7, #fab1a0);
    border-radius: 50%;
    position: relative;
}

.chatbot-happy::before {
    content: '😊';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    animation: wiggle 2s infinite;
}

/* Demo Section */
.demo-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
}

.demo-title {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.size-variants {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.icon-small { width: 40px; height: 40px; }
.icon-medium { width: 60px; height: 60px; }
.icon-large { width: 100px; height: 100px; }

.usage-example {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.code-snippet {
    background: #2d3748;
    color: #e2e8f0;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    overflow-x: auto;
}

/* Animations */
@keyframes blink {
    0%, 90%, 100% { opacity: 1; }
    95% { opacity: 0; }
}

@keyframes typing-dots {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-8px); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes sound-wave {
    0%, 100% { transform: scaleY(1); }
    25% { transform: scaleY(1.5); }
    50% { transform: scaleY(0.8); }
    75% { transform: scaleY(1.2); }
}

@keyframes shake {
    0%, 100% { transform: translate(-50%, -50%) translateX(0); }
    25% { transform: translate(-50%, -50%) translateX(-2px); }
    75% { transform: translate(-50%, -50%) translateX(2px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, -50%) translateY(0); }
    40% { transform: translate(-50%, -50%) translateY(-8px); }
    60% { transform: translate(-50%, -50%) translateY(-4px); }
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes wiggle {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    25% { transform: translate(-50%, -50%) rotate(-5deg); }
    75% { transform: translate(-50%, -50%) rotate(5deg); }
}

@media (max-width: 768px) {
    .icons-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .chatbot-icon {
        width: 70px;
        height: 70px;
    }
    
    .title {
        font-size: 36px;
    }
}