/* WhatsApp Demo Styles */
.whatsapp-demo {
    background: linear-gradient(135deg, #f0f2f5 0%, #e8eaed 100%);
    padding: 80px 0;
}

/* Example Selector Buttons */
.example-btn {
    background: white;
    border: 2px solid #25D366;
    color: #25D366;
    padding: 12px 24px;
    margin: 0 8px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.example-btn:hover {
    background: #f0f2f5;
    transform: translateY(-2px);
}

.example-btn.active {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-demo h2 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.whatsapp-demo .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.demo-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* WhatsApp Phone Mockup */
.phone-mockup {
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 100px;
}

.phone-screen {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
}

.whatsapp-header {
    background: #075E54;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.business-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.business-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}

.business-info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

.chat-area {
    background: #e5ddd5;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" opacity="0.05"><text x="10" y="50" font-size="40">💬</text></svg>');
    padding: 20px 15px;
    height: 500px;
    overflow-y: auto;
}

.message {
    margin-bottom: 12px;
    display: flex;
    animation: slideIn 0.3s ease-out;
}

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

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

.message.ai {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
}

.message.customer .message-bubble {
    background: #dcf8c6;
    border-bottom-right-radius: 2px;
}

.message.ai .message-bubble {
    background: #ffffff;
    border-bottom-left-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.message-text {
    font-size: 14px;
    line-height: 1.4;
    color: #000;
    margin: 0;
}

.message-time {
    font-size: 11px;
    color: #667781;
    text-align: right;
    margin-top: 4px;
}

.product-card {
    background: #f0f2f5;
    border-radius: 8px;
    padding: 10px;
    margin-top: 8px;
}

.product-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 8px;
}

.product-info {
    font-size: 13px;
}

.product-info strong {
    display: block;
    margin-bottom: 4px;
    color: #000;
}

.product-info .price {
    color: #25D366;
    font-weight: 600;
    font-size: 16px;
}

.product-info .original-price {
    text-decoration: line-through;
    color: #667781;
    margin-left: 8px;
    font-size: 14px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 12px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #667781;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* Flow Steps */
.demo-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #25D366;
}

.step-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-weight: 600;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.step .highlight {
    color: #25D366;
    font-weight: 600;
}

.notification-badge {
    background: #25D366;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    margin-top: 12px;
}

/* Inventory Management Section */
.inventory-management {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
}

.inventory-management h2 {
    text-align: center;
    color: white;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.inventory-management .subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    font-size: 1.25rem;
}

.inventory-hero {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.inventory-description h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.inventory-description p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-list li:last-child {
    border-bottom: none;
}

.use-case-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    font-size: 1.125rem;
    color: white;
}

.inventory-demo {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    margin-top: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.inventory-demo h3 {
    color: #333;
}

.benefits-grid {
    margin-top: 3rem;
}

.benefits-grid h3 {
    color: white;
    font-size: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .demo-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .phone-mockup {
        position: relative;
        top: 0;
        max-width: 400px;
        margin: 0 auto;
    }

    .chat-area {
        height: 400px;
    }

    .example-btn {
        font-size: 14px;
        padding: 10px 16px;
        margin: 4px;
        display: inline-block;
    }

    .inventory-hero {
        padding: 2rem;
    }

    .inventory-demo {
        padding: 1.5rem;
    }

    .feature-list li {
        font-size: 1rem;
    }
}
