/* --- Apps Grid Section --- */
.apps-grid-section {
    position: relative;
    padding: 100px 20px 80px;
    background-color: #f8f9fa; /* Very light grey */
}

/* Curved Top Effect */
.apps-grid-section::before {
    content: '';
    position: absolute;
    top: -100px; /* Pulls the curve up */
    left: 0;
    width: 100%;
    height: 100px;
    background-color: #f8f9fa;
    border-top-left-radius: 100% 100%;
    border-top-right-radius: 100% 100%;
}

.apps-grid-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
}

.app-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 25px 20px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    border: 1px solid #eef2f7;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.app-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.app-icon i {
    font-size: 1.8rem;
    color: white;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-sizing: border-box;
    padding: 2px;
}

.app-icon img.cover {
    object-fit: cover;
    padding: 0;
}

.app-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Icon Colors */
.bg-purple { background: #8B5CF6; }
.bg-orange { background: #F97316; }
.bg-blue { background: #3B82F6; }
.bg-green { background: #22C55E; }
.bg-red { background: #EF4444; }
.bg-dark { background: #18181b; }
.bg-teal { background: #14B8A6; }
.bg-yellow { background: #EAB308; }
.bg-white { background: #ffffff; border: 1px solid #eef2f7; }
.bg-light-gray { background: #4a4a4b; border: 1px solid #6785a9; }

.apps-footer-link {
    text-align: center;
    margin-top: 50px;
}
.apps-footer-link a {
    color: #555;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.apps-footer-link a:hover {
    color: var(--color-primary);
}

/* Coming Soon App Card Overlay */
.app-card.coming-soon {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.app-card.coming-soon::after {
    content: 'Coming Soon';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF6F00; /* Theme Orange */
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    z-index: 5;
    border-radius: 16px;
    transition: all 0.3s ease;
}

/* Smoothly blur the underlying content */
.app-card.coming-soon > * {
    filter: blur(2.5px);
    opacity: 0.5;
}