/* ═══════════════════════════════════════════════════════
   DEEP GROUP — App Promotion Styles
   app_promo.css
   ═══════════════════════════════════════════════════════ */

/* ── MARQUEE: Speed up + gradual hover stop ─────────── */
.home-service-marquee-track {
    animation-duration: 16s !important;
    transition: animation-duration 0.6s ease;
}
.home-service-marquee {
    cursor: pointer;
}
.home-service-marquee:hover .home-service-marquee-track {
    animation-play-state: paused;
}
/* Smooth deceleration/acceleration via a wrapper approach */
.home-service-marquee-track {
    animation-timing-function: linear;
    /* The actual pause/resume is instant in CSS — we fake gradual
       by transitioning opacity on the container as a visual cue */
}
.home-service-marquee::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.5s ease;
    pointer-events: none;
}
.home-service-marquee:hover::after {
    background: rgba(0,0,0,0.08);
}

/* Make marquee clickable → App Store */
.home-service-marquee-track span {
    cursor: pointer;
}

/* ── HERO: App Slide ────────────────────────────────── */
.hero-slide-app .hero-media-app {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 40%, rgba(16,217,140,0.18) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(6,182,212,0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(139,92,246,0.06) 0%, transparent 50%),
        linear-gradient(160deg, #020a06 0%, #030d08 40%, #010503 100%);
}
.hero-slide-app .hero-overlay-app {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0.3) 100%);
}
.hero-slide-app .hero-tag {
    color: #10D98C;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}
.hero-slide-app .hero-tag i {
    font-size: 1.1em;
}
.hero-slide-app .hero-title {
    max-width: 680px;
    background: linear-gradient(135deg, #ffffff 0%, #d1d5db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-slide-app .hero-text {
    color: rgba(255,255,255,0.7);
    max-width: 560px;
}

/* App Store button in hero */
.btn-app-store {
    background: #fff !important;
    color: #000 !important;
    border: none !important;
    font-weight: 700;
    gap: 8px;
    padding: 0 28px;
    min-height: 52px;
    border-radius: 14px;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-app-store:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(16,217,140,0.25);
}
.btn-app-store i {
    font-size: 1.25rem;
}

/* App feature pills in hero */
.hero-app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}
.hero-app-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-app-features span i {
    color: #10D98C;
    font-size: 0.9rem;
}

/* ── APP PROMO CARD (mid-page component) ────────────── */
.app-promo-section {
    padding: 0;
}
.app-promo-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 15% 50%, rgba(16,217,140,0.08) 0%, transparent 60%),
        linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 48px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.app-promo-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16,217,140,0.3), transparent);
}
.app-promo-content {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    flex: 1;
    min-width: 0;
}
.app-promo-icon {
    flex-shrink: 0;
}
.app-promo-icon-img {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    box-shadow:
        0 4px 16px rgba(0,0,0,0.4),
        0 0 0 1px rgba(255,255,255,0.08);
}
.app-promo-copy {
    flex: 1;
    min-width: 0;
}
.app-promo-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    background: #10D98C;
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
.app-promo-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.25;
}
.app-promo-text {
    color: rgba(255,255,255,0.55);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 16px;
    max-width: 520px;
}
.app-promo-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.app-promo-features span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.55);
    font-size: 0.78rem;
    font-weight: 600;
}
.app-promo-features span i {
    color: #10D98C;
    font-size: 0.8rem;
}
.app-promo-action {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.app-promo-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    border-radius: 12px;
    background: #fff;
    color: #000;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}
.app-promo-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16,217,140,0.2);
}
.app-promo-download-btn i {
    font-size: 1.8rem;
}
.app-promo-download-btn div {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.app-promo-dl-small {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.app-promo-dl-big {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}
.app-promo-free {
    color: rgba(255,255,255,0.35);
    font-size: 0.75rem;
    font-weight: 600;
}

/* ── MANAGE PAGE: App banner ────────────────────────── */
.manage-app-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    border-radius: 16px;
    background:
        radial-gradient(ellipse at 10% 50%, rgba(16,217,140,0.06) 0%, transparent 50%),
        linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 28px;
}
.manage-app-banner-icon {
    flex-shrink: 0;
}
.manage-app-banner-icon img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.manage-app-banner-copy {
    flex: 1;
    min-width: 0;
}
.manage-app-banner-copy strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.manage-app-banner-copy span {
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    line-height: 1.4;
}
.manage-app-banner-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 10px;
    background: #fff;
    color: #000;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
}
.manage-app-banner-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(16,217,140,0.2);
}
.manage-app-banner-btn i {
    font-size: 1rem;
}

/* ── FOOTER: App Store link ─────────────────────────── */
.footer-app-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
    margin-top: 8px;
}
.footer-app-link:hover {
    color: #10D98C;
}
.footer-app-link i {
    font-size: 1rem;
}

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 900px) {
    .app-promo-card {
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        text-align: center;
        align-items: center;
    }
    .app-promo-content {
        flex-direction: column;
        align-items: center;
    }
    .app-promo-features {
        justify-content: center;
    }
    .app-promo-text {
        max-width: 100%;
    }
    .hero-app-features {
        gap: 8px;
    }
    .hero-app-features span {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
    .hero-slide-app .hero-title {
        font-size: 32px;
        line-height: 40px;
    }
}
@media (max-width: 640px) {
    .app-promo-card {
        padding: 24px 18px;
    }
    .app-promo-icon-img {
        width: 56px;
        height: 56px;
        border-radius: 13px;
    }
    .app-promo-title {
        font-size: 1.3rem;
    }
    .app-promo-features span {
        font-size: 0.72rem;
        padding: 4px 10px;
    }
    .manage-app-banner {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }
    .hero-slide-app .hero-title {
        font-size: 26px;
        line-height: 34px;
    }
    .btn-app-store {
        font-size: 0.9rem;
        padding: 0 20px;
        min-height: 48px;
    }
}
