/* Demo Section Styles */
.section-demo {
padding: 80px 0;
background: linear-gradient(90deg, #00c6ff, #0072ff, #0052d4);
position: relative;
overflow: hidden;
}

.section-demo::before {
content: '';
position: absolute;
top: -50%;
right: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
animation: float 20s ease-in-out infinite;
}

@keyframes float {
0%, 100% { transform: translate(0, 0) rotate(0deg); }
33% { transform: translate(-10px, -10px) rotate(120deg); }
66% { transform: translate(10px, -10px) rotate(240deg); }
}

.demo-card {
background: rgba(255, 255, 255, 0.98);
border-radius: 24px;
padding: 60px 50px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
position: relative;
backdrop-filter: blur(10px);
}

.demo-badge {
position: absolute;
top: -15px;
left: 50%;
transform: translateX(-50%);
background: linear-gradient(90deg, #ff6b6b, #feca57);
padding: 8px 24px;
border-radius: 50px;
box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.demo-badge span {
color: white;
font-weight: 700;
font-size: 13px;
letter-spacing: 1px;
text-transform: uppercase;
}

.demo-title {
font-size: 2.5rem;
font-weight: 800;
color: #2c3e50;
margin-bottom: 20px;
line-height: 1.2;
}

.demo-description {
font-size: 1.15rem;
color: #5a6c7d;
margin-bottom: 30px;
line-height: 1.6;
}

.demo-features {
list-style: none;
padding: 0;
margin: 0 0 30px 0;
}

.demo-features li {
display: flex;
align-items: center;
margin-bottom: 15px;
font-size: 1.05rem;
color: #4a5568;
}

.demo-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
background: linear-gradient(90deg, #00c6ff, #0072ff, #0052d4);
color: white;
border-radius: 50%;
margin-right: 12px;
font-weight: bold;
flex-shrink: 0;
}

.demo-preview {
margin-bottom: 30px;
position: relative;
}

.demo-device {
position: relative;
max-width: 300px;
margin: 0 auto;
background: #f8f9fa;
border-radius: 20px;
padding: 10px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.demo-screen {
border-radius: 12px;
overflow: hidden;
position: relative;
}

.demo-screen::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, transparent 0%, rgba(0, 114, 255, 0.1) 100%);
pointer-events: none;
}

.btn-demo {
background: linear-gradient(90deg, #00c6ff, #0072ff, #0052d4);
color: white;
border: none;
padding: 18px 40px;
font-size: 1.1rem;
font-weight: 600;
border-radius: 50px;
transition: all 0.3s ease;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 10px;
box-shadow: 0 10px 30px rgba(0, 114, 255, 0.3);
position: relative;
overflow: hidden;
}

.btn-demo:hover {
transform: translateY(-3px);
box-shadow: 0 15px 40px rgba(0, 114, 255, 0.4);
color: white;
}

.btn-demo::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
transition: left 0.5s ease;
}

.btn-demo:hover::before {
left: 100%;
}

.btn-demo-icon {
font-size: 1.3rem;
animation: pulse 2s infinite;
}

@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); }
}

.demo-hint {
margin-top: 15px;
font-size: 0.9rem;
color: #718096;
font-style: italic;
}

/* Мобильная адаптация */
@media (max-width: 991px) {
.section-demo {
    padding: 60px 0;
}

.demo-card {
    padding: 40px 30px;
}

.demo-title {
    font-size: 2rem;
}

.demo-preview {
    margin-top: 30px;
}

.demo-device {
    max-width: 250px;
}
}

@media (max-width: 575px) {
.demo-card {
    padding: 30px 20px;
}

.demo-title {
    font-size: 1.75rem;
}

.demo-description {
    font-size: 1rem;
}

.btn-demo {
    padding: 15px 30px;
    font-size: 1rem;
}
}
