/* ==========================================================================
   WinTradely — App Downloads Section & Store Badges (Welcome Page)
   Matches the exact dark pill badges from user reference screenshot
   ========================================================================== */

.app-downloads-welcome-section {
    position: relative;
    padding: 70px 0 90px;
    background: transparent;
    overflow: hidden;
}

.app-downloads-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.app-downloads-card {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.75) 0%, rgba(11, 15, 25, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.app-downloads-card::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.12) 0%, rgba(0, 229, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.app-downloads-card::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.app-downloads-grid-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

/* Info Column */
.app-downloads-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.app-downloads-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: #00e5ff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    width: fit-content;
}

.app-downloads-pill-dot {
    width: 7px;
    height: 7px;
    background: #00e5ff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00e5ff;
    animation: appDlPulse 2s infinite ease-in-out;
}

@keyframes appDlPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.app-downloads-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.8px;
    margin: 0;
}

.app-downloads-desc {
    font-size: 15.5px;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
    max-width: 540px;
}

.app-downloads-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.app-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 500;
}

.app-feat-item svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Badges Column (Right) */
.app-downloads-badges-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-downloads-badges-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 250px;
}

/* ==========================================================================
   EXACT STORE BADGES STYLING (MATCHING SCREENSHOT)
   ========================================================================== */

.app-badge-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #000000;
    border: 1.5px solid #475569;
    border-radius: 14px;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
    text-decoration: none;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
    transition: all 0.22s cubic-bezier(0.2, 0, 0, 1);
    cursor: pointer;
    user-select: none;
    position: relative;
    overflow: hidden;
}

.app-badge-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.app-badge-btn:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.65);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 18px rgba(255, 255, 255, 0.1);
}

.app-badge-btn:hover::after {
    left: 140%;
}

.app-badge-btn:active {
    transform: translateY(-1px) scale(1);
}

.app-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
}

.app-badge-icon svg {
    display: block;
    width: 28px;
    height: 28px;
}

.app-badge-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.15;
    justify-content: center;
}

.app-badge-sub {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #e2e8f0;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
    opacity: 0.9;
}

.app-badge-main {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Plus Jakarta Sans", sans-serif;
}

/* Specific Badge Typography adjustments matching original font weights */
.app-badge-btn[data-platform="ios"] .app-badge-main {
    font-size: 22px;
    font-weight: 800;
}

.app-badge-btn[data-platform="macos"] .app-badge-main {
    font-size: 20px;
    font-weight: 700;
}

.app-badge-btn[data-platform="windows"] .app-badge-main {
    font-size: 19px;
    font-weight: 700;
}

.app-badge-btn[data-platform="google_play"] .app-badge-main {
    font-size: 18.5px;
    font-weight: 700;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
    .app-downloads-grid-layout {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }

    .app-downloads-info {
        align-items: center;
    }

    .app-downloads-desc {
        max-width: 100%;
    }

    .app-downloads-features {
        align-items: center;
    }

    .app-downloads-badges-box {
        max-width: 280px;
        margin: 0 auto;
    }
}

@media (max-width: 580px) {
    .app-downloads-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .app-downloads-title {
        font-size: 28px;
    }

    .app-downloads-desc {
        font-size: 14px;
    }

    .app-badge-btn {
        padding: 9px 16px;
    }

    .app-badge-main {
        font-size: 18px;
    }
}

