/* App Store / Google Play promotion */

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 170px;
    padding: 0.55rem 1.1rem;
    background: #000;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--nb-radius-sm);
    text-decoration: none;
    direction: ltr;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-badge:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--nb-shadow-lg);
}

.store-badge i {
    font-size: 1.75rem;
}

.store-badge-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
    font-family: 'Inter', var(--nb-font);
}

.store-badge-text small {
    font-family: var(--nb-font);
    font-size: 0.72rem;
    opacity: 0.85;
}

.store-badge-text strong {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Download section */
.app-download-section {
    background: var(--nb-gradient);
    color: #fff;
    overflow: hidden;
}

.app-download-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 3rem;
}

.app-download-text h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.app-download-text > p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.app-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: grid;
    gap: 0.75rem;
}

.app-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.app-features i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--nb-teal);
    flex-shrink: 0;
}

/* Phone mockup */
.app-phone {
    justify-self: center;
    width: 250px;
    padding: 10px;
    background: #0f172a;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
    transform: rotate(-4deg);
}

.app-phone-screen {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 31px;
    background: #fff;
}

/* Popup + footer variants */
.popup-app {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--nb-border);
}

.popup-app p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--nb-muted);
}

.popup-app .store-badges,
.footer-app .store-badges {
    justify-content: center;
}

.popup-app .store-badge,
.footer-app .store-badge {
    min-width: 0;
    padding: 0.45rem 0.9rem;
}

.popup-app .store-badge i,
.footer-app .store-badge i {
    font-size: 1.4rem;
}

.footer-app h4 {
    margin-bottom: 0.75rem;
}

.footer-app .store-badges {
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 900px) {
    .app-download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .app-download-text h2 {
        font-size: 2rem;
    }

    .app-features {
        justify-items: center;
    }

    .app-download-section .store-badges {
        justify-content: center;
    }

    .app-phone {
        width: 210px;
    }
}
