/* =====================================================
   DEMO PAGE STYLES
===================================================== */

/* Demo Hero */
.demo-hero {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 100%);
    padding: 140px 24px 80px;
    text-align: center;
}

.demo-hero__container {
    max-width: 800px;
    margin: 0 auto;
}

.demo-hero__badge {
    display: inline-block;
    background: rgba(43, 104, 159, 0.2);
    color: var(--accent-400);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    border: 1px solid rgba(43, 104, 159, 0.3);
}

.demo-hero__title {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.demo-hero__title em {
    color: var(--accent-400);
    font-style: normal;
}

.demo-hero__desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Demo Section */
.demo-section {
    padding: 80px 24px;
    background: #fff;
}

.demo-section__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Demo Showcase */
.demo-showcase {
    position: relative;
}

.demo-showcase__image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.demo-showcase__image img {
    width: 100%;
    height: auto;
    display: block;
}

.demo-showcase__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-showcase__image:hover .demo-showcase__overlay {
    opacity: 1;
}

.demo-showcase__play {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.demo-showcase__play:hover {
    transform: scale(1.05);
}

.demo-showcase__play i {
    width: 70px;
    height: 70px;
    background: var(--accent-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.demo-showcase__play span {
    font-size: 15px;
    font-weight: 600;
}

/* Demo Info */
.demo-info {
    padding: 20px 0;
}

.demo-info__header {
    margin-bottom: 32px;
}

.demo-info__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.demo-info__subtitle {
    font-size: 14px;
    color: var(--accent-500);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.demo-info__content {
    margin-bottom: 32px;
}

.demo-info__content p {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

.demo-info__features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.demo-info__features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--gray-700);
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.demo-info__features li:last-child {
    border-bottom: none;
}

.demo-info__features i {
    width: 24px;
    height: 24px;
    background: var(--accent-50);
    color: var(--accent-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

/* Demo Actions */
.demo-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.demo-btn--primary {
    background: var(--accent-500);
    color: #fff;
}

.demo-btn--primary:hover {
    background: var(--accent-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 104, 159, 0.3);
}

/* Downloads Section */
.demo-downloads {
    padding: 80px 24px;
    background: var(--gray-50);
}

.demo-downloads__container {
    max-width: 900px;
    margin: 0 auto;
}

.demo-downloads__header {
    text-align: center;
    margin-bottom: 48px;
}

.demo-downloads__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.demo-downloads__desc {
    font-size: 16px;
    color: var(--gray-500);
}

.demo-downloads__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Download Card */
.download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: var(--accent-300);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.download-card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-card__icon i {
    font-size: 24px;
    color: #fff;
}

.download-card__content {
    flex: 1;
}

.download-card__content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.download-card__content p {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

.download-card__action {
    width: 40px;
    height: 40px;
    background: var(--gray-100);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.download-card:hover .download-card__action {
    background: var(--accent-500);
    color: #fff;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
    .demo-section__container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .demo-showcase__image {
        max-width: 700px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .demo-hero {
        padding: 120px 20px 60px;
    }
    
    .demo-hero__title {
        font-size: 32px;
    }
    
    .demo-hero__desc {
        font-size: 15px;
    }
    
    .demo-section {
        padding: 60px 20px;
    }
    
    .demo-info__title {
        font-size: 26px;
    }
    
    .demo-downloads {
        padding: 60px 20px;
    }
    
    .demo-downloads__grid {
        grid-template-columns: 1fr;
    }
    
    .demo-downloads__title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .demo-hero__title {
        font-size: 28px;
    }
    
    .demo-btn {
        width: 100%;
        justify-content: center;
    }
    
    .download-card {
        padding: 20px;
    }
    
    .download-card__icon {
        width: 48px;
        height: 48px;
    }
    
    .download-card__icon i {
        font-size: 20px;
    }
}
