/* Apps Showcase Section - Exact Template Match */
.apps-showcase {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    padding: 60px 0px 40px;
    color: white;
}

.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
    transform: scale(0.75);
    transform-origin: top center;
    padding: 0 10px;
}

.apps-showcase header {
    text-align: center;
    margin-bottom: 40px;
}

.apps-showcase h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.apps-showcase .subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.gallery {
    display: flex;
    gap: 30px;
    padding: 20px 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.mobile-frame {
    flex: 0 0 auto;
    width: 400px;
    height: 780px;
    background: #222;
    border-radius: 40px;
    padding: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.mobile-frame:hover {
    transform: translateY(-10px);
}

.mobile-header {
    height: 60px;
    background: #333;
    border-radius: 30px 30px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    color: white;
}

.mobile-header h2 {
    font-size: 14px;
    font-weight: 500;
}

.status-bar {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-bar span {
    font-size: 12px;
}

.battery {
    width: 20px;
    height: 10px;
    border: 1px solid #fff;
    border-radius: 2px;
    position: relative;
}

.battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 2px;
    width: 2px;
    height: 6px;
    background: #fff;
    border-radius: 0 1px 1px 0;
}

.battery-level {
    height: 100%;
    width: 70%;
    background: #4CAF50;
    border-radius: 1px;
}

.screen {
    height: calc(100% - 120px);
    background: white;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.try-now-btn {
    position: absolute;
    bottom: 3px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 100;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.try-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.try-now-btn i {
    font-size: 12px;
}

.website-frame {
    width: 100%;
    height: 100%;
    border: none;
}

.loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.mobile-footer {
    height: 60px;
    background: #333;
    border-radius: 0 0 30px 30px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 20px;
}

.nav-button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-button:hover {
    color: #3498db;
}

.home-button {
    width: 40px;
    height: 4px;
    background: #555;
    border-radius: 5px;
    margin-top: 10px;
}

.scroll-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.scroll-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.scroll-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.frame-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .gallery-container {
        transform: scale(0.85);
        padding: 0 5px;
    }
    
    .mobile-frame {
        width: 340px;
        height: 680px;
    }
    
    .apps-showcase h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .try-now-btn {
        bottom: 3px;
        right: 15px;
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .try-now-btn i {
        font-size: 11px;
    }
    
    .gallery {
        gap: 20px;
    }
}

