/* Download Page Custom Styles */

/* Download Hero - Grid Layout */
.download-hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
}

.download-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(251, 177, 47, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(251, 177, 47, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.download-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.download-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

/* Left Column */
.download-left {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.download-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin: 0 0 1rem 0;
    line-height: 1.1;
}

.download-header .highlight {
    color: var(--secondary-color);
}

.download-header p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
}

/* Selection Cards Section */
.app-selection-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.selection-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    margin: 0;
}

.selection-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0 0 0;
}

/* App Cards */
.app-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    overflow: hidden;
}

.app-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.app-card.active {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 30px rgba(251, 177, 47, 0.3);
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(110, 65, 158, 0.05), rgba(251, 177, 47, 0.05));
    border-bottom: 1px solid rgba(110, 65, 158, 0.1);
}

.app-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(110, 65, 158, 0.3);
    flex-shrink: 0;
}

.app-info {
    flex: 1;
}

.app-info h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.3rem 0;
}

.app-info p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}

.app-card-body {
    padding: 1.5rem;
}

.app-card-body h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
}

.app-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0 0 1.2rem 0;
}

.download-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: var(--gray-900);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.store-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(251, 177, 47, 0.5);
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary-color));
}

.store-btn i {
    font-size: 2rem;
    color: var(--gray-900);
}

.store-btn span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.store-btn small {
    font-size: 0.7rem;
    opacity: 0.8;
    font-weight: 500;
}

.store-btn strong {
    font-size: 0.95rem;
    font-weight: 700;
}

/* Right Column - Benefits */
.download-right {
    position: sticky;
    top: 140px;
}

.benefits-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gray-900);
    margin: 0 auto 1.5rem;
    box-shadow: 0 6px 20px rgba(251, 177, 47, 0.4);
}

.benefit-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 0.8rem 0;
}

.benefit-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .download-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .download-right {
        position: static;
    }

    .benefits-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .benefit-card {
        flex: 1 1 calc(33.333% - 1rem);
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .download-hero {
        padding: 100px 0 40px;
    }

    .download-header h1 {
        font-size: 2.5rem;
    }

    .download-header p {
        font-size: 1.1rem;
    }

    .download-buttons {
        grid-template-columns: 1fr;
    }

    .benefits-cards {
        flex-direction: column;
    }

    .benefit-card {
        min-width: auto;
    }

    .app-card-header {
        flex-direction: column;
        text-align: center;
    }

    .app-info h4 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .download-container {
        padding: 0 1rem;
    }

    .download-header h1 {
        font-size: 2rem;
    }

    .app-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}