/* -----------------------------------------------------------------------------
   Mobile Hub — /mobile
----------------------------------------------------------------------------- */

/* --- HERO COMPACT OVERRIDE --- */
.hero-custom--compact {
    padding: 64px 0;
    min-height: 544px;
}

/* --- APP CARDS --- */
.mob-app-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.mob-app-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.09);
    transform: translateY(-3px);
}

.mob-app-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

.mob-app-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.13);
}

.mob-app-name {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--navbar-bg);
    line-height: 1.2;
    margin-bottom: 0.3rem;
}

.mob-ios-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

.mob-app-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.mob-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.mob-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: var(--light-green);
    color: var(--primary-green-darker);
    border: 1px solid rgba(123, 185, 62, 0.28);
    border-radius: 20px;
    padding: 0.25rem 0.7rem;
    font-size: 0.77rem;
    font-weight: 500;
}

.mob-app-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    gap: 0.75rem;
}

.mob-appstore-btn {
    display: inline-block;
    background: var(--navbar-bg);
    border-radius: var(--radius-small);
    padding: 3px;
    line-height: 0;
    flex-shrink: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mob-appstore-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.mob-detail-link {
    font-size: 0.83rem;
    font-weight: 500;
    color: var(--primary-green-darker);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    transition: gap 0.2s ease;
}

.mob-detail-link:hover {
    gap: 0.55rem;
    color: var(--primary-green-darker);
}

/* --- PLATFORM PILLARS --- */
.mob-pillars {
    background: #fff;
    padding: 4.5rem 0;
}

.mob-pillar {
    text-align: center;
    padding: 0 1rem;
}

.mob-pillar-icon {
    width: 56px;
    height: 56px;
    background: var(--light-green);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.1rem;
    font-size: 1.35rem;
    color: var(--primary-green);
}

.mob-pillar-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--navbar-bg);
    margin-bottom: 0.5rem;
}

.mob-pillar-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 240px;
    margin: 0 auto;
}

/* --- CTA --- */
.mob-cta {
    background: linear-gradient(135deg, #14161A 0%, #1a2e10 100%);
    padding: 4.5rem 0;
    text-align: center;
}

/* --- HERO APP GRID --- */
/* --- GHOST BUTTON (CTA white outline) --- */
.mob-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2rem;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-radius: var(--btn-radius);
    color: rgba(255, 255, 255, 0.85);
    background: transparent;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.mob-btn-ghost:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}

/* --- RESPONSIVE --- */
@media screen and (max-width: 1023px) {
    .mob-hero-grid { padding-left: 0; margin-top: 2.5rem; }
    .mob-hero-tile:nth-child(even) { margin-top: 0; }
}

@media screen and (max-width: 768px) {
    .mob-app-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .mob-hero-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .mob-hero-tile { padding: 0.85rem; }
    .mob-pillars { padding: 3rem 0; }
    .mob-cta { padding: 3rem 0; }
}
