/* ====================================
   Download Buttons - Modern Design
   ==================================== */

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

/* Primary Download Button (iOS/iPadOS) */
.btn-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-download:hover::before {
    left: 100%;
}

/* iOS Button - Primary (Soft Yellow/Gold - Premium style) */
.btn-download--ios {
    background: linear-gradient(135deg, #FFD93D 0%, #F6C344 100%);
    color: #1a1a1a;
    border: none;
    box-shadow: 0 6px 20px rgba(246, 195, 68, 0.3);
}

.btn-download--ios:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(246, 195, 68, 0.4);
    background: linear-gradient(135deg, #FFE07A 0%, #F8CA5C 100%);
}

.btn-download--ios:active {
    transform: translateY(-1px);
}

/* Android Button - Secondary (Dark with border) */
.btn-download--android {
    background: #ffffff;
    color: #14142b;
    border: 2px solid rgba(20, 20, 43, 0.15);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.btn-download--android:hover {
    border-color: #F6C344;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(246, 195, 68, 0.25);
}

.btn-download--android:active {
    transform: translateY(0);
}

/* Desktop Button (Coming Soon) */
.btn-download--coming-soon {
    background: linear-gradient(135deg, #f7f7fc 0%, #ebebf0 100%);
    color: #99a0ab;
    border: 2px dashed rgba(20, 20, 43, 0.15);
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-download--coming-soon:hover {
    transform: none;
    box-shadow: none;
}

/* Button Content Layout */
.btn-download__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.btn-download__left {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.btn-download__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-download__icon svg {
    width: 100%;
    height: 100%;
}

.btn-download__text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-download__label {
    font-size: 0.65rem;
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 2px;
}

.btn-download__title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
}

.btn-download__badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.625rem;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #000000;
}

.btn-download--android .btn-download__badge {
    background: rgba(246, 195, 68, 0.15);
    color: #1a1a1a;
}

.btn-download--coming-soon .btn-download__badge {
    background: rgba(20, 20, 43, 0.08);
    color: #99a0ab;
}

.btn-download__arrow {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.btn-download:hover .btn-download__arrow {
    transform: translateX(4px);
}

.btn-download--coming-soon:hover .btn-download__arrow {
    transform: none;
}

/* Desktop Layout */
@media screen and (min-width: 1024px) {
    .download-buttons {
        flex-direction: row;
        gap: 1rem;
    }

    .download-buttons--grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .btn-download {
        flex: 1;
        min-width: 240px;
    }

    .btn-download--full {
        grid-column: 1 / -1;
    }
}

/* Mobile Priority Layout - show ONLY mobile buttons */
@media screen and (max-width: 1023px) {
    .btn-download--ios {
        order: 1;
    }

    .btn-download--android {
        order: 2;
    }

    .btn-download--coming-soon {
        display: none !important;
    }

    /* Hide desktop button group on mobile */
    .download-buttons--grid {
        display: none !important;
    }
}

/* Desktop - hide mobile-only buttons, show grid */
@media screen and (min-width: 1024px) {
    .download-buttons:not(.download-buttons--grid) {
        display: none !important;
    }

    .download-buttons--grid {
        display: grid !important;
    }
}
