/**
 * App Promo Component
 * Used by: includes/components/app-promo.php
 * Pair with tools that load Font Awesome 5.
 */

.app-promo {
    margin: 48px auto 64px;
    max-width: 1100px;
    padding: 0 20px;
}

.app-promo-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
    padding: 56px 56px 56px 64px;
    border-radius: 24px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(11, 193, 255, 0.18) 0%, transparent 55%),
        radial-gradient(120% 140% at 0% 100%, rgba(159, 122, 234, 0.18) 0%, transparent 55%),
        linear-gradient(180deg, #141821 0%, #0e1118 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.app-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(11, 193, 255, 0.12);
    border: 1px solid rgba(11, 193, 255, 0.25);
    color: #0bc1ff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
}

.app-promo-copy h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    line-height: 1.15;
    margin: 0 0 14px;
    color: #fff;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #b8d8ff 60%, #c9b3ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-promo-copy > p {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.65;
    margin: 0 0 22px;
    max-width: 52ch;
}

.app-promo-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 10px;
}

.app-promo-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
}

.app-promo-list i {
    color: #0bc1ff;
    font-size: 0.85rem;
}

.app-promo-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.app-promo-store {
    display: inline-flex;
    line-height: 0;
    transition: transform 0.2s ease;
}

.app-promo-store:hover { transform: translateY(-2px); }

.app-promo-learn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.app-promo-learn i {
    transition: transform 0.2s ease;
    font-size: 0.8rem;
}

.app-promo-learn:hover i { transform: translateX(4px); }

.app-promo-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-promo-visual img {
    width: 100%;
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
}

@media (max-width: 720px) {
    .app-promo-inner {
        grid-template-columns: 1fr;
        padding: 36px 24px;
        gap: 28px;
        text-align: center;
    }
    .app-promo-badge { margin-left: auto; margin-right: auto; }
    .app-promo-copy > p { margin-left: auto; margin-right: auto; }
    .app-promo-list { justify-items: start; max-width: 320px; margin-left: auto; margin-right: auto; }
    .app-promo-actions { justify-content: center; }
    .app-promo-visual { order: -1; }
    .app-promo-visual img { max-width: 200px; }
}
