/* ═══════════════════════════════════════════════════════════════
   FINANZEN DEMO - ESTILOS DE BLOQUEIO
   ═══════════════════════════════════════════════════════════════ */

:root {
    --demo-banner-height: 50px;
}

.demo-top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
    color: white;
    font-size: 14px;
    box-shadow: 0 4px 20px var(--primary-bg);
}

.demo-banner-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.demo-banner-content i {
    font-size: 24px;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(15deg); }
}

.demo-banner-content div {
    display: flex;
    flex-direction: column;
}

.demo-banner-content span {
    font-size: 12px;
    opacity: 0.9;
}

.demo-banner-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: white;
    color: var(--purple);
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.demo-banner-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px var(--primary-bg);
}

.demo-mode .app {
    padding-top: var(--demo-banner-height, 50px);
}

.demo-mode .sidebar {
    top: var(--demo-banner-height, 50px);
    height: calc(100vh - var(--demo-banner-height, 50px));
}

.demo-mode .mobile-app-bar {
    top: var(--demo-banner-height, 50px);
}

@media (max-width: 768px) {
    .demo-top-banner {
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
    }

    .demo-banner-cta {
        width: 100%;
        justify-content: center;
    }
}

.demo-blocked-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: inherit;
}

.demo-blocked-content {
    text-align: center;
    padding: 32px;
    max-width: 300px;
}

.demo-blocked-content i:first-child {
    font-size: 48px;
    color: var(--warning);
    margin-bottom: 16px;
    display: block;
}

.demo-blocked-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.demo-blocked-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.demo-blocked-btn {
    position: relative;
    opacity: 0.7;
}

.demo-blocked-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: transparent;
    cursor: not-allowed;
}

.demo-lock-icon {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 12px;
    background: var(--warning);
    color: white;
    border-radius: 50%;
    padding: 2px;
}

.pro-badge {
    font-size: 9px;
    background: linear-gradient(135deg, var(--warning) 0%, var(--accent) 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: auto;
    font-weight: 700;
}

.upgrade-modal {
    max-width: 420px;
    text-align: center;
    padding: 0;
    overflow: hidden;
}

.upgrade-modal-header {
    background: linear-gradient(135deg, var(--purple) 0%, var(--accent) 100%);
    padding: 32px 24px;
    color: white;
}

.upgrade-icon {
    width: 64px;
    height: 64px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.upgrade-icon i {
    font-size: 32px;
    color: var(--purple);
}

.upgrade-modal-header h2 {
    margin-bottom: 8px;
}

.upgrade-features {
    padding: 24px;
    text-align: left;
}

.upgrade-features h4 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.upgrade-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.upgrade-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.upgrade-features li i {
    color: var(--primary);
    font-size: 18px;
}

.upgrade-price {
    padding: 24px;
    background: var(--bg-tertiary);
}

.price-old {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-current {
    font-size: 36px;
    font-weight: 700;
    color: var(--success);
    font-family: var(--font-heading);
}

.price-current span {
    font-size: 48px;
}

.price-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.upgrade-actions {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.upgrade-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background: var(--success-bg);
    color: var(--success);
    font-size: 13px;
}

.btn-glow {
    animation: glow 2s infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--primary-bg), 0 0 20px var(--primary-bg);
    }
    50% {
        box-shadow: 0 0 10px var(--primary-bg), 0 0 40px var(--primary-bg);
    }
}

.welcome-modal {
    max-width: 450px;
    padding: 0;
    overflow: hidden;
}

.welcome-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 32px;
    text-align: center;
    color: white;
}

.welcome-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.welcome-header h2 {
    margin-bottom: 8px;
}

.welcome-content {
    padding: 24px;
}

.welcome-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
}

.welcome-feature i {
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.welcome-feature strong {
    display: block;
    margin-bottom: 4px;
}

.welcome-feature p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.welcome-actions {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 768px) {
    .demo-top-banner {
        flex-direction: column;
        gap: 10px;
        padding: 12px 16px;
        text-align: center;
    }

    .demo-mode .app {
        padding-top: 80px;
    }

    .demo-mode .sidebar {
        top: 80px;
        height: calc(100vh - 80px);
    }

    .upgrade-features ul {
        grid-template-columns: 1fr;
    }
}
