﻿/* =========================================================
   ALSWIN APPS - INDEX
   Rustige app-cards met compact icoon en tekst eronder
========================================================= */

.alswin-app-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 10px 30px rgba(20, 24, 40, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

    .alswin-app-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 42px rgba(20, 24, 40, 0.14);
    }

.alswin-app-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.alswin-app-icon-small {
    width: 118px;
    height: 118px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.14);
    background: #ffffff;
}

.alswin-app-card-content-small {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #222;
}

    .alswin-app-card-content-small h2 {
        color: #241b52;
        font-weight: 700;
    }

    .alswin-app-card-content-small p {
        color: #555b68;
        line-height: 1.6;
        min-height: 72px;
    }

.alswin-app-label {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(47, 42, 69, 0.08);
    border: 1px solid rgba(47, 42, 69, 0.12);
    color: #4b5563;
}

.alswin-app-card .btn {
    border-radius: 0.75rem;
    font-weight: 700;
}

/* =========================================================
   ALSWIN APPS - HOME TILES
   Wordt gebruikt op Home/Index bij Uitgelichte apps
========================================================= */

.alswin-app-tile {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

    .alswin-app-tile:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    }

.alswin-app-image-wrap {
    background: linear-gradient(135deg, #f5f6fa 0%, #eceef5 100%);
    padding: 28px;
    text-align: center;
}

.alswin-app-image {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.alswin-app-body {
    padding: 22px;
}

.alswin-app-platform {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 10px;
}

.alswin-app-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f2335;
}

.alswin-app-text {
    color: #4b5563;
    min-height: 58px;
}

.alswin-app-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
}

.alswin-app-price {
    font-weight: 700;
    color: #312857;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767.98px) {
    .alswin-app-card {
        padding: 1.5rem;
    }

    .alswin-app-icon-small {
        width: 104px;
        height: 104px;
        border-radius: 24px;
    }

    .alswin-app-card-content-small p {
        min-height: auto;
    }

    .alswin-app-footer {
        gap: 1rem;
        align-items: flex-start;
        flex-direction: column;
    }
}
/* =========================================
   APPS HERO
========================================= */

.alswin-apps-hero {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.alswin-apps-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.alswin-apps-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(5, 10, 30, 0.82) 0%, rgba(5, 10, 30, 0.55) 45%, rgba(5, 10, 30, 0.70) 100% );
}

.alswin-apps-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 5rem 0;
}

    .alswin-apps-hero-content h1 {
        letter-spacing: -1px;
    }

.text-white-75 {
    color: rgba(255,255,255,0.82);
}

/* =========================================
   APPS SECTION
========================================= */

.alswin-apps-section {
    position: relative;
    margin-top: -40px;
    z-index: 5;
    padding-bottom: 4rem;
}

/* =========================================
   APP CARD
========================================= */

.alswin-app-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

    .alswin-app-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    }

.alswin-app-icon-wrapper {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
}

.alswin-app-icon-small {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: 28px;
}

.alswin-app-card-content-small {
    text-align: center;
    padding: 1.5rem 2rem 2rem;
}

.alswin-app-label {
    display: inline-block;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: #f1f1f5;
    color: #4a5568;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
}

.alswin-project-btn {
    border-radius: 14px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .alswin-apps-hero {
        min-height: 240px;
    }

    .alswin-apps-hero-content {
        padding: 3rem 0;
    }

        .alswin-apps-hero-content h1 {
            font-size: 2.3rem;
        }

    .alswin-app-icon-small {
        width: 92px;
        height: 92px;
    }

    .alswin-apps-section {
        margin-top: -20px;
    }
}