/* Enhanced Feature Cards - Visual Improvements */

/* Enhanced Example Cards */
.feature-example {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.feature-example:hover {
    background: rgba(34, 197, 94, 0.15);
    transform: translateY(-2px);
}

.example-tag {
    display: inline-block;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.example-text {
    display: block;
    font-style: italic;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

.example-impact {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Enhanced Demo Button */
.feature-demo {
    margin-top: 1.5rem;
    text-align: center;
}

.demo-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.demo-btn.clicked {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    transform: scale(1.05);
}

.demo-celebration {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border-radius: 0.75rem;
    border: 1px solid rgba(34, 197, 94, 0.3);
    animation: slideIn 0.5s ease-out;
}

.celebration-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #22c55e;
    margin-bottom: 0.5rem;
}

.celebration-stats {
    font-size: 0.9rem;
    color: #94a3b8;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Progress Display */
.feature-progress {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.streak-counter {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 1rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
    border-radius: 0.25rem;
    transition: width 1s ease;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.progress-insights {
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Enhanced AI Script Display */
.feature-script {
    margin-top: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
    position: relative;
}

.script-bubble {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.script-label {
    display: block;
    font-size: 0.75rem;
    color: #a855f7;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.script-confidence {
    font-size: 0.85rem;
    color: #22c55e;
    font-weight: 500;
    text-align: center;
}

/* Enhanced Stats Display */
.feature-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #22c55e;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .feature-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .demo-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .feature-example, .feature-script, .feature-progress {
        padding: 1rem;
    }
}

/* Enhanced Personalization Display */
.feature-personalization {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.personal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.feature-guide-link {
    text-align: center;
    margin-top: 1rem;
}

.guide-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.guide-link:hover {
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
    color: #60a5fa;
}

/* Hover Effects for Feature Cards */
.feature-card:hover .feature-example {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
}

.feature-card:hover .feature-script {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.feature-card:hover .feature-progress {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.feature-card:hover .feature-personalization {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

/* Enhanced Visual Hierarchy */
.feature-card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #f8fafc;
}

.feature-card p {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Interactive Elements */
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}