/* demo-configurator.css - Interactive Demo, Configurator & Payment Gateway Styles for LVLBASE */

:root {
    --demo-accent: #ff2d55;
    --demo-purple: #af52de;
    --demo-gold: #ffcc00;
    --demo-green: #30d158;
    --demo-blue: #0a84ff;
}

/* 🔒 Demo Mode Lock Overlay & Badges */
.demo-locked-section {
    position: relative;
    cursor: pointer !important;
}

.demo-locked-section::after {
    content: "🔒 Locked in Demo Mode";
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 15, 0.72);
    backdrop-filter: blur(4px);
    border-radius: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 20;
}

.demo-locked-section:hover::after {
    opacity: 1;
}

/* Modal Popup Overlay */
.configurator-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(20px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.configurator-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.configurator-modal-card {
    background: rgba(18, 20, 29, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    position: relative;
    transform: translateY(30px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.configurator-modal-overlay.active .configurator-modal-card {
    transform: translateY(0);
}

/* Storage Tier Chips */
.storage-tier-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.storage-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border, rgba(255,255,255,0.12));
    border-radius: 12px;
    padding: 10px 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.storage-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.storage-chip.active {
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.25), rgba(175, 82, 222, 0.25));
    border-color: var(--demo-blue);
    box-shadow: 0 0 16px rgba(10, 132, 255, 0.4);
}

.storage-chip-val {
    font-size: 15px;
    font-weight: 900;
    color: #fff;
}

.storage-chip-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 700;
    margin-top: 2px;
}

/* Custom Range Sliders */
.config-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.12);
    outline: none;
    margin-top: 8px;
}

.config-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--demo-accent), var(--demo-purple));
    box-shadow: 0 0 12px var(--demo-accent);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.config-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

/* Coupon Discount Tag */
.coupon-discount-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(48, 209, 88, 0.15);
    border: 1px solid rgba(48, 209, 88, 0.4);
    color: var(--demo-green);
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 800;
}

/* ⏱️ Payment Gateway Timer Header */
.gateway-timer-badge {
    background: linear-gradient(135deg, rgba(255, 45, 85, 0.2), rgba(255, 204, 0, 0.2));
    border: 1px solid rgba(255, 45, 85, 0.4);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 99px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 20px rgba(255, 45, 85, 0.3);
}

.gateway-timer-badge.warning {
    animation: pulseTimer 1s infinite alternate;
}

@keyframes pulseTimer {
    0% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 45, 85, 0.3); }
    100% { transform: scale(1.04); box-shadow: 0 0 35px rgba(255, 45, 85, 0.7); }
}
