/* ==================== Latest App — Promo Banner ==================== */
.latest-app-section {
    position: relative;
    padding: 60px 0 20px;
    background-color: #0c0c0e;
    overflow: hidden;
}

.latest-app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Section eyebrow */
.latest-app-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #60a5fa;
    margin: 0 0 28px 0;
}

.latest-app-eyebrow::before,
.latest-app-eyebrow::after {
    content: '';
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3));
}

.latest-app-eyebrow::after {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.3), transparent);
}

.latest-app-eyebrow span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 100px;
    background: rgba(59, 130, 246, 0.06);
    border: 1px solid rgba(59, 130, 246, 0.1);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.latest-app-eyebrow span::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(59, 130, 246, 0.08) 50%, transparent 60%);
    background-size: 250% 100%;
    animation: eyebrowShimmer 4s linear infinite;
    border-radius: inherit;
}

@keyframes eyebrowShimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.latest-app-eyebrow i {
    font-size: 6px;
    animation: dotPulseEye 2s ease-in-out infinite;
}

@keyframes dotPulseEye {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.5); }
}

/* ── Banner Card ── */
.latest-app-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 36px 48px;
    min-height: 160px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(24, 24, 27, 0.85) 0%, rgba(15, 15, 18, 0.92) 100%);
    border: 1px solid rgba(59, 130, 246, 0.08);
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.latest-app-banner:hover {
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-3px);
    box-shadow:
        0 24px 60px -16px rgba(59, 130, 246, 0.12),
        0 0 0 1px rgba(59, 130, 246, 0.06);
}

/* Top accent line */
.latest-app-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.35), transparent);
    z-index: 2;
}

/* Grid texture */
.latest-app-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 28px 28px;
    border-radius: inherit;
    pointer-events: none;
}

/* Ambient glow */
.latest-app-glow {
    position: absolute;
    top: -60%;
    left: -5%;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
}

/* ── 1. Logo (Left) ── */
.latest-app-logo-side {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.latest-app-logo-wrapper {
    position: relative;
    width: 90px;
    height: 90px;
}

/* Soft breathing glow behind logo */
.latest-app-logo-wrapper::before {
    content: '';
    position: absolute;
    inset: -14px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    animation: breatheGlow 4s ease-in-out infinite;
}

@keyframes breatheGlow {
    0%, 100% { opacity: 0.4; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* Subtle border ring */
.latest-app-logo-wrapper::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 26px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    z-index: 0;
    pointer-events: none;
    animation: ringPulse 3s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { opacity: 0.3; border-color: rgba(59, 130, 246, 0.1); }
    50% { opacity: 1; border-color: rgba(59, 130, 246, 0.3); }
}

.latest-app-logo-wrapper img {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s ease;
}

.latest-app-banner:hover .latest-app-logo-wrapper img {
    transform: scale(1.05);
}

/* ── 2. Content (Center) ── */
.latest-app-content {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.latest-app-top-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.latest-app-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.25;
    white-space: nowrap;
    margin: 0;
}

.latest-app-new-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.18);
    color: #60a5fa;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    flex-shrink: 0;
}

.latest-app-new-badge i {
    font-size: 6px;
    color: #3b82f6;
    animation: dotPulse 1.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

.latest-app-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #71717a;
    margin: 0 0 12px 0;
    max-width: 440px;
}

/* Feature pills */
.latest-app-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.latest-app-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12px;
    color: #a1a1aa;
    transition: all 0.3s ease;
}

.latest-app-feature-pill i {
    font-size: 10px;
    color: #3b82f6;
}

.latest-app-banner:hover .latest-app-feature-pill {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.12);
}

/* ── Vertical divider ── */
.latest-app-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    flex-shrink: 0;
    z-index: 1;
}

/* ── 3. CTA (Right) ── */
.latest-app-cta {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.latest-app-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
    white-space: nowrap;
}

.latest-app-download-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.latest-app-download-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow:
        0 12px 36px rgba(59, 130, 246, 0.35),
        0 0 20px rgba(59, 130, 246, 0.1);
    color: #fff;
}

.latest-app-download-btn:hover::before {
    opacity: 1;
}

.latest-app-download-btn:active {
    transform: translateY(0) scale(1);
}

.latest-app-download-btn i {
    font-size: 15px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.latest-app-download-btn span {
    position: relative;
    z-index: 1;
}

.latest-app-download-btn:hover i {
    transform: translateY(2px);
}

/* ══════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════ */

/* Large tablets / small laptops */
@media (max-width: 1024px) {
    .latest-app-banner {
        gap: 32px;
        padding: 32px 36px;
    }

    .latest-app-title {
        font-size: 20px;
    }

    .latest-app-download-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .latest-app-section {
        padding: 50px 0 16px;
    }

    .latest-app-eyebrow {
        margin-bottom: 20px;
    }

    .latest-app-eyebrow::before,
    .latest-app-eyebrow::after {
        max-width: 40px;
    }

    .latest-app-banner {
        flex-direction: column;
        gap: 20px;
        padding: 30px 24px;
        text-align: center;
        min-height: auto;
    }

    .latest-app-divider {
        display: none;
    }

    .latest-app-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .latest-app-top-row {
        justify-content: center;
        flex-wrap: wrap;
    }

    .latest-app-title {
        font-size: 20px;
        white-space: normal;
    }

    .latest-app-desc {
        max-width: 400px;
    }

    .latest-app-features {
        justify-content: center;
    }

    .latest-app-download-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .latest-app-section {
        padding: 36px 0 10px;
    }

    .latest-app-container {
        padding: 0 16px;
    }

    .latest-app-eyebrow {
        gap: 10px;
        font-size: 10px;
        letter-spacing: 2px;
        margin-bottom: 16px;
    }

    .latest-app-eyebrow::before,
    .latest-app-eyebrow::after {
        max-width: 24px;
    }

    .latest-app-eyebrow span {
        padding: 5px 14px;
        gap: 6px;
    }

    .latest-app-banner {
        padding: 22px 18px;
        border-radius: 16px;
        gap: 16px;
    }

    /* Smaller logo */
    .latest-app-logo-wrapper {
        width: 64px;
        height: 64px;
    }

    .latest-app-logo-wrapper img {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .latest-app-logo-wrapper::after {
        inset: -4px;
        border-radius: 18px;
    }

    .latest-app-logo-wrapper::before {
        inset: -10px;
    }

    .latest-app-title {
        font-size: 17px;
    }

    .latest-app-new-badge {
        font-size: 9px;
        padding: 2px 8px;
    }

    .latest-app-desc {
        font-size: 13px;
        margin-bottom: 10px;
    }

    /* Hide feature pills on mobile to declutter */
    .latest-app-features {
        display: none;
    }

    .latest-app-download-btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 13px 24px;
        font-size: 14px;
        border-radius: 12px;
    }
}

/* Small phones */
@media (max-width: 360px) {
    .latest-app-banner {
        padding: 18px 14px;
        gap: 12px;
    }

    .latest-app-logo-wrapper {
        width: 56px;
        height: 56px;
    }

    .latest-app-logo-wrapper img {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }

    .latest-app-title {
        font-size: 15px;
    }

    .latest-app-desc {
        font-size: 12px;
    }

    .latest-app-download-btn {
        padding: 12px 20px;
        font-size: 13px;
    }
}