.apps-page {
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: clamp(22px, 4vw, 42px);
    padding: clamp(18px, 3vw, 34px);
}

.apps-header,
.apps-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--muted);
    font-size: clamp(0.78rem, 1.5vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.back-link {
    padding: 8px 0;
    color: var(--muted);
}

.back-link:hover {
    color: var(--ink);
}

.apps-hero {
    width: min(1040px, 100%);
    margin: 0 auto;
    display: grid;
}

.apps-hero h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(2.8rem, 9vw, 6.8rem);
    line-height: 0.92;
    letter-spacing: 0;
}

.apps-grid {
    width: min(1040px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.app-card {
    min-height: 184px;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow:
        18px 24px 48px rgba(80, 94, 116, 0.12),
        -12px -14px 28px rgba(255, 255, 255, 0.76),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.app-card:hover {
    transform: translateY(-3px);
    box-shadow:
        22px 28px 56px rgba(80, 94, 116, 0.16),
        -14px -16px 32px rgba(255, 255, 255, 0.82),
        inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.app-mark {
    width: 108px;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #ffffff;
    box-shadow:
        10px 14px 28px rgba(80, 94, 116, 0.12),
        inset 5px 6px 12px rgba(255, 255, 255, 0.72),
        inset -7px -8px 16px rgba(80, 94, 116, 0.08);
}

.app-card.gohan .app-mark {
    background: #ff8a1f;
}

.app-card.uolog .app-mark {
    background: #2a6f97;
}

.app-mark img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    filter: drop-shadow(0 8px 12px rgba(42, 53, 77, 0.12));
}

.app-card.emofleets .app-mark img {
    width: 66%;
    height: 66%;
}

.app-card.gohan .app-mark img {
    width: 92%;
    height: 92%;
}

.app-body {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.app-name {
    color: var(--ink);
    font-size: clamp(1.25rem, 2.4vw, 1.7rem);
    font-weight: 700;
    line-height: 1.15;
}

.app-copy {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.94rem;
    font-weight: 600;
}

.app-platform {
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(32, 38, 50, 0.06);
    color: rgba(32, 38, 50, 0.66);
    font-size: 0.74rem;
    font-weight: 700;
}

.apps-footer {
    justify-content: flex-end;
}

@media (max-width: 820px) {
    .apps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .apps-page {
        padding: 16px;
        gap: 20px;
    }

    .app-card {
        min-height: 0;
        grid-template-columns: 76px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
        border-radius: 22px;
    }

    .app-mark {
        width: 76px;
    }

    .app-copy {
        font-size: 0.84rem;
    }
}
