/* assets/css/demo.css - Modern Responsive Styles for Demo Mode */

/* Header Badge Demo Mode */
.demo-badge-container {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 6px 14px;
    border-radius: 50px;
    margin-right: 12px;
}

.demo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.demo-badge .demo-pulse {
    width: 6px;
    height: 6px;
    background-color: #ffffff;
    border-radius: 50%;
    animation: demoPulse 1.8s infinite ease-in-out;
}

.demo-badge-info {
    font-size: 0.78rem;
    color: #f87171;
    font-weight: 500;
}

@keyframes demoPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.4); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

/* Demo Modal Overlay */
.demo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s;
    padding: 1rem;
    box-sizing: border-box;
}

.demo-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Demo Modal Card */
.demo-modal-card {
    position: relative;
    background: #1e293b;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 2.25rem 2rem 2rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(37, 211, 102, 0.15);
    text-align: center;
    color: #f8fafc;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-sizing: border-box;
}

.demo-modal-overlay.active .demo-modal-card {
    transform: scale(1) translateY(0);
}

/* Close Button X */
.demo-modal-close-x {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.demo-modal-close-x:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
    transform: rotate(90deg);
}

/* Modal Header Icon */
.demo-modal-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.2) 0%, rgba(18, 140, 126, 0.3) 100%);
    border: 1px solid rgba(37, 211, 102, 0.4);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: #25D366;
    font-size: 1.85rem;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

/* Modal Text */
.demo-modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    color: #ffffff;
    line-height: 1.3;
}

.demo-modal-desc {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0 0 1.25rem 0;
}

.demo-modal-notice {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Action Buttons */
.demo-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.demo-btn-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.demo-btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.45);
    background: linear-gradient(135deg, #28e06e 0%, #15a090 100%);
}

.demo-btn-continue {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.5rem;
    border-radius: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.demo-btn-continue:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .demo-badge-container {
        margin-right: 0;
        margin-top: 6px;
        padding: 4px 10px;
    }
    .demo-badge-info {
        font-size: 0.7rem;
    }
    .demo-modal-card {
        padding: 1.75rem 1.25rem 1.5rem 1.25rem;
        border-radius: 20px;
    }
    .demo-modal-title {
        font-size: 1.25rem;
    }
    .demo-modal-desc {
        font-size: 0.88rem;
    }
}
