/* ============================================
   Applications Page Styles
   ============================================ */

.apps-section {
    padding: var(--spacing-3xl) 0;
}

.apps-grid {
    display: grid;
    gap: var(--spacing-xl);
}

.app-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    animation: fadeInUp 0.6s ease backwards;
}

.app-card:nth-child(1) { animation-delay: 0.1s; }
.app-card:nth-child(2) { animation-delay: 0.2s; }
.app-card:nth-child(3) { animation-delay: 0.3s; }
.app-card:nth-child(4) { animation-delay: 0.4s; }
.app-card:nth-child(5) { animation-delay: 0.5s; }
.app-card:nth-child(6) { animation-delay: 0.6s; }

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.app-header {
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.app-card.healthcare .app-header {
    background: linear-gradient(135deg, #fef3f3 0%, #ffffff 100%);
}

.app-card.transport .app-header {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
}

.app-card.finance .app-header {
    background: linear-gradient(135deg, #fef9e7 0%, #ffffff 100%);
}

.app-card.education .app-header {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.app-card.manufacturing .app-header {
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 100%);
}

.app-card.entertainment .app-header {
    background: linear-gradient(135deg, #fff1f2 0%, #ffffff 100%);
}

.app-icon {
    font-size: 3.5rem;
    animation: float 3s ease-in-out infinite;
}

.app-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--color-dark);
}

.app-content {
    padding: var(--spacing-xl);
}

.app-content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.app-content h3:first-child {
    margin-top: 0;
}

.app-content p {
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: var(--spacing-md);
}

.app-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--color-border);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
    background: #f8f9fa;
    border-radius: 12px;
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.4;
}

/* Future Apps Section */
.future-apps {
    padding: var(--spacing-3xl) 0;
    background: var(--gradient-dark);
}

.future-apps .section-title {
    color: white;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.future-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-base);
    animation: fadeInUp 0.6s ease backwards;
}

.future-card:nth-child(1) { animation-delay: 0.1s; }
.future-card:nth-child(2) { animation-delay: 0.2s; }
.future-card:nth-child(3) { animation-delay: 0.3s; }
.future-card:nth-child(4) { animation-delay: 0.4s; }

.future-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.future-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
}

.future-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .app-header {
        flex-direction: column;
        text-align: center;
    }
    
    .app-stats {
        grid-template-columns: 1fr;
    }
    
    .future-grid {
        grid-template-columns: 1fr;
    }
}
