/* =============================================================================
   DEMO SECTION STYLES
   ============================================================================= */

/* Demo Section */
.demo {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(240, 253, 244, 0.6) 50%, 
        rgba(248, 250, 252, 0.8) 100%);
    backdrop-filter: blur(10px);
}

.demo-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.demo-description {
    font-size: 18px;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
}

.demo-features {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.demo-features-list {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 40px;
    list-style: none;
    padding: 0;
}

.demo-features-list li {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding-left: 30px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.6s ease-out forwards;
}

.demo-features-list li:nth-child(1) { animation-delay: 0.3s; }
.demo-features-list li:nth-child(2) { animation-delay: 0.4s; }
.demo-features-list li:nth-child(3) { animation-delay: 0.5s; }
.demo-features-list li:nth-child(4) { animation-delay: 0.6s; }

.demo-features-list li::before {
    content: '✨';
    position: absolute;
    left: 0;
    font-size: 16px;
    animation: twinkle 2s ease-in-out infinite;
}

.demo-features-list li:nth-child(2)::before { animation-delay: 0.5s; }
.demo-features-list li:nth-child(3)::before { animation-delay: 1s; }
.demo-features-list li:nth-child(4)::before { animation-delay: 1.5s; }

.demo-features-list li:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

.demo-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 200%;
    color: white;
    padding: 20px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
    animation: gradient-shift 3s ease-in-out infinite;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out 0.7s forwards, gradient-shift 3s ease-in-out infinite;
}

.demo-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transition: all 0.4s ease;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.demo-button:hover::before {
    width: 300px;
    height: 300px;
}

.demo-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 64, 64, 0.4);
}

.demo-button:active {
    transform: translateY(-2px) scale(1.02);
}

/* Animations */
@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .demo-description,
    .demo-features {
        font-size: 16px;
    }
    
    .demo-features-list {
        text-align: center;
    }
    
    .demo-features-list li {
        text-align: left;
        padding-left: 25px;
    }
}

@media (max-width: 480px) {
    .demo-description,
    .demo-features {
        font-size: 15px;
    }
    
    .demo-features-list li {
        font-size: 14px;
        padding-left: 20px;
    }
    
    .demo-button {
        padding: 16px 32px;
        font-size: 14px;
    }
}