/* Interactive Feature Demonstrations */

.feature-card {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.benefit-highlight {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6366f1;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-example {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 1rem 0;
}

.example-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #a855f7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.example-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
}

.feature-cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.feature-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
    color: white;
    text-decoration: none;
}

.priority-feature {
    border: 2px solid #6366f1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.05));
}

.priority-feature::before {
    content: "🚀 TOP PRIORITY";
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

/* Demo Modal Styles */
.demo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.demo-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.demo-content {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 90vw;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1rem;
}

/* Mobile optimization for demo modals */
@media (max-width: 768px) {
    .demo-content {
        padding: 1.5rem;
        max-height: 95vh;
        margin: 0.5rem;
        border-radius: 0.75rem;
    }
    
    .demo-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .mock-dashboard {
        padding: 1rem;
    }
    
    .mock-insight .insight-text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Premium teaser styling */
.premium-teaser {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(99, 102, 241, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1rem;
    text-align: center;
}

.premium-teaser strong {
    color: #a855f7;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.premium-teaser p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.premium-badge {
    background: rgba(255,255,255,0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    display: inline-block;
}

.demo-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.demo-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.demo-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mock-dashboard {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1rem 0;
}

.mock-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mock-metric:last-child {
    border-bottom: none;
}

.metric-label {
    color: rgba(255, 255, 255, 0.7);
}

.metric-value {
    font-weight: 600;
    color: #10b981;
}

.mock-insight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 1rem 0;
}

.insight-text {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    line-height: 1.6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .demo-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .demo-title {
        font-size: 1.25rem;
    }
}