/* Apps Page Specific Styles */

/* Active nav link */
.nav-link.active {
    color: #00d4ff;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.nav-link.active::after {
    width: 100%;
}

/* Apps Hero Section */
.apps-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    overflow: hidden;
    margin-top: 80px;
}

/* Apps Grid Section */
.apps-grid-section {
    padding: 6rem 0;
    background: #0f0f0f;
}

/* Coming Soon Styles */
.app-card.coming-soon {
    opacity: 0.7;
    position: relative;
}

.app-card.coming-soon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    border-radius: 24px;
    z-index: 3;
    pointer-events: none;
}

.coming-soon-badge {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.app-button.coming-soon {
    background: linear-gradient(135deg, #666, #444);
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

.app-button.coming-soon:hover {
    transform: none;
    box-shadow: none;
}

.app-button.coming-soon::before {
    display: none;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.app-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 153, 204, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.app-card:hover::before {
    opacity: 1;
}

.app-card:hover {
    transform: translateY(-15px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 25px 50px rgba(0, 212, 255, 0.15);
}

.app-card-content {
    position: relative;
    z-index: 2;
}

.app-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    position: relative;
    overflow: hidden;
    padding: 0.5rem;
}

.app-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.app-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.app-name {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #00d4ff;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-description {
    color: #b0b0b0;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.app-button {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 200px;
}

.app-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.app-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.app-button:hover::before {
    left: 100%;
}

/* Updates Section */
.updates-section {
    padding: 6rem 0;
    background: #0a0a0a;
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.update-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.update-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.update-app {
    color: #00d4ff;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.update-version {
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.update-date {
    color: #666;
    font-size: 0.9rem;
}

.updates-cta {
    text-align: center;
}

.cta-button.secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button.secondary:hover {
    background: #00d4ff;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* Footer Updates */
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #666;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.social-link:hover {
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .apps-hero {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .app-card {
        padding: 2rem;
    }
    
    .app-image {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .app-name {
        font-size: 1.5rem;
    }
    
    .app-description {
        font-size: 1rem;
    }
    
    .updates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .update-card {
        padding: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .apps-hero {
        min-height: 40vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .app-card {
        padding: 1.5rem;
    }
    
    .app-image {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .app-name {
        font-size: 1.25rem;
    }
    
    .update-card {
        padding: 1.25rem;
    }
}

/* Loading Animation */
.app-card.loading {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-card.loading:nth-child(1) { animation-delay: 0.1s; }
.app-card.loading:nth-child(2) { animation-delay: 0.2s; }
.app-card.loading:nth-child(3) { animation-delay: 0.3s; }
