.interactive-demo-container {
    background: linear-gradient(135deg, #f8faff 0%, #e8f4fd 100%);
    border-radius: 24px;
    padding: 32px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.demo-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
}

.demo-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.progress-step {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 24px;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
    z-index: 1;
    transition: all 0.3s;
}

.progress-step.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: #fff;
    transform: scale(1.05);
}

.demo-step {
    text-align: center;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1a1a2e;
}

.demo-chat-bubble {
    background: #fff;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 16px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    min-height: 56px;
    display: flex;
    align-items: center;
}

.typing-text {
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
}

.typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.demo-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.loading-container {
    margin: 28px 0;
}

.loading-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.loading-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
}

.loading-text {
    font-size: 0.85rem;
    color: #888;
}

.ai-particles {
    position: relative;
    height: 80px;
    margin-top: 16px;
}

.ai-particles::before,
.ai-particles::after {
    content: '✨';
    position: absolute;
    font-size: 22px;
    animation: float 2s infinite ease-in-out;
}

.ai-particles::before {
    left: 25%;
    animation-delay: 0s;
}

.ai-particles::after {
    right: 25%;
    animation-delay: 1s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-16px);
    }
}

.strength-tags {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.strength-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    opacity: 0;
    animation: popIn 0.5s forwards;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    70% {
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.ai-insight {
    background: #fff;
    border-left: 4px solid #667eea;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 18px;
    display: flex;
    gap: 10px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.insight-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.ai-insight p {
    margin: 0;
    line-height: 1.6;
    color: #333;
    font-size: 0.92rem;
}

.next-step-card {
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border: 2px solid #ff6b6b;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 18px;
    text-align: left;
}

.next-step-card h4 {
    margin: 0 0 6px 0;
    color: #ff6b6b;
    font-size: 0.95rem;
}

.next-step-card p {
    margin: 0;
    color: #333;
    font-size: 0.9rem;
}

.demo-cta {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .interactive-demo-container {
        padding: 20px;
    }

    .demo-progress {
        flex-direction: column;
        gap: 6px;
    }

    .demo-progress::before {
        display: none;
    }
}