/* assets/css/download.css - Download Page Specific Styles */

/* ==================== DOWNLOAD CTA TOP SECTION ==================== */
.download-cta-top {
    padding: calc(var(--header-height) + var(--spacing-xxl)) 0 var(--spacing-xxl);
    background: linear-gradient(135deg, rgba(0, 120, 255, 0.03), rgba(0, 210, 255, 0.03));
    border-bottom: 1px solid var(--border-color);
}

.download-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.download-header {
    margin-bottom: var(--spacing-xl);
}

.download-icon {
    display: inline-flex;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 8px 24px rgba(0, 120, 255, 0.3);
}

.download-icon img {
    filter: brightness(0) invert(1);
}

.download-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.download-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

/* ==================== DOWNLOAD HERO SECTION ==================== */
.download-hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-height) + var(--spacing-xxl)) 0 var(--spacing-xxl);
    overflow: hidden;
}

.download-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xxl);
    align-items: center;
}

.download-hero-text {
    max-width: 600px;
}

.download-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Responsive adjustments matching index.php */
@media (max-width: 1023px) {
    .download-hero-visual {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .download-hero-visual {
        max-width: 280px;
    }
}

.download-buttons-group {
    display: flex;
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    flex-wrap: wrap;
}

.apk-notice {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background-color: rgba(255, 204, 0, 0.1);
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-md);
    line-height: 1.6;
}

.apk-notice img {
    flex-shrink: 0;
    margin-top: 2px;
}

[data-theme="dark"] .apk-notice {
    background-color: rgba(255, 204, 0, 0.15);
    border-color: rgba(255, 204, 0, 0.4);
}

.download-btn.apk {
    border-color: #3DDC84;
}

.download-btn.apk:hover {
    background-color: #3DDC84;
    color: white;
    transform: translateY(-4px);
}

.download-btn.apk .download-btn-icon img {
    filter: brightness(0) saturate(100%) invert(13%) sepia(7%) saturate(9%) hue-rotate(337deg) brightness(96%) contrast(87%);
}

[data-theme="dark"] .download-btn.apk .download-btn-icon img {
    filter: brightness(0) saturate(100%) invert(93%) sepia(0%) saturate(7434%) hue-rotate(293deg) brightness(104%) contrast(100%);
}

.download-btn.apk:hover .download-btn-icon img {
    filter: brightness(0) saturate(100%) invert(100%);
}

.download-btn.apk:hover .download-btn-label,
.download-btn.apk:hover .download-btn-store {
    color: white;
}

.download-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.download-btn.disabled .download-btn-label {
    color: var(--warning-color);
    font-weight: 700;
}

.download-btn.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 120, 255, 0.1), rgba(0, 210, 255, 0.1));
    position: relative;
    overflow: hidden;
}

.download-btn.featured::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.download-btn.featured:hover::before {
    opacity: 1;
}

.download-btn.featured:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: translateY(-6px) scale(1.02);
}

.download-btn.featured:hover .download-btn-label,
.download-btn.featured:hover .download-btn-store {
    color: white;
}

.download-btn.featured .download-btn-store {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.download-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.arrow-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    animation: pulse-text 2s ease-in-out infinite;
}

@keyframes pulse-text {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.arrow-animated {
    color: var(--primary-color);
    animation: bounce-arrow 1.5s ease-in-out infinite;
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.arrow-animated.arrow-up {
    animation: bounce-arrow-up 1.5s ease-in-out infinite;
}

@keyframes bounce-arrow-up {
    0%, 100% { transform: translateY(0) rotate(180deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

.arrow-animated svg {
    display: block;
}

.download-qr-section {
    margin: var(--spacing-xl) 0;
}

.qr-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background-color: var(--card-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.qr-wrapper img {
    border-radius: var(--radius-md);
}

.qr-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.download-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.download-stats .stat-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 500;
    padding: var(--spacing-sm);
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    justify-content: center;
}

.download-stats .stat-item img {
    width: 24px;
    height: 24px;
}

/* Remove old phone mockup styles - use index.php approach */
.phone-mockup-stack,
.phone-mockup-main {
    display: none;
}

/* ==================== APP FEATURES SECTION ==================== */
.app-features-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xxl);
}

.feature-card {
    padding: var(--spacing-xl);
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 120, 255, 0.1), rgba(0, 210, 255, 0.1));
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== SCREENSHOTS SECTION ==================== */
.screenshots-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--surface-color);
}

/* ==================== APK INSTALLATION GUIDE SECTION ==================== */
.apk-guide-section {
    padding: var(--spacing-xxl) 0;
    background-color: var(--bg-color);
}

.apk-guide-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.apk-guide-header img {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-md);
    filter: brightness(0) saturate(100%) invert(13%) sepia(7%) saturate(9%) hue-rotate(337deg) brightness(96%) contrast(87%);
}

[data-theme="dark"] .apk-guide-header img {
    filter: brightness(0) saturate(100%) invert(93%) sepia(0%) saturate(7434%) hue-rotate(293deg) brightness(104%) contrast(100%);
}

.installation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.install-step {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.install-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: var(--radius-md);
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.step-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.apk-info-card {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(0, 120, 255, 0.05), rgba(0, 210, 255, 0.05));
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-xl);
    max-width: 800px;
    margin: 0 auto;
}

.info-card-icon {
    flex-shrink: 0;
}

.info-card-icon img {
    width: 32px;
    height: 32px;
}

.info-card-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.info-card-content ul {
    list-style: none;
    padding-left: 0;
}

.info-card-content ul li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-lg);
    color: var(--text-secondary);
    font-size: 0.9375rem;
    position: relative;
}

.info-card-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* ==================== SCREENSHOTS SECTION ==================== */

.screenshots-carousel {
    display: flex;
    gap: var(--spacing-xl);
    overflow-x: auto;
    padding: var(--spacing-xl) 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--border-color);
}

.screenshots-carousel::-webkit-scrollbar {
    height: 8px;
}

.screenshots-carousel::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: var(--radius-full);
}

.screenshots-carousel::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: var(--radius-full);
}

.screenshot-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.screenshot-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.screenshot-label {
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ==================== REQUIREMENTS SECTION ==================== */
.requirements-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--bg-color);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.requirement-card {
    background-color: var(--card-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.requirement-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.requirement-card.ios {
    border-color: rgba(0, 0, 0, 0.2);
}

.requirement-card.ios:hover {
    border-color: #000;
}

.requirement-card.android {
    border-color: rgba(61, 220, 132, 0.3);
}

.requirement-card.android:hover {
    border-color: #3DDC84;
}

[data-theme="dark"] .requirement-card.ios {
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .requirement-card.ios:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.requirement-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.device-card-preview {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 120, 255, 0.05), rgba(0, 210, 255, 0.05));
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.device-card-preview.ios {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1));
    border-color: rgba(0, 0, 0, 0.15);
}

.device-card-preview.android {
    background: linear-gradient(135deg, rgba(61, 220, 132, 0.05), rgba(61, 220, 132, 0.1));
    border-color: rgba(61, 220, 132, 0.2);
}

[data-theme="dark"] .device-card-preview.ios {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.15);
}

.device-card-preview img {
    width: 36px;
    height: 36px;
    filter: brightness(0) saturate(100%) invert(13%) sepia(7%) saturate(9%) hue-rotate(337deg) brightness(96%) contrast(87%);
}

[data-theme="dark"] .device-card-preview img {
    filter: brightness(0) saturate(100%) invert(93%) sepia(0%) saturate(7434%) hue-rotate(293deg) brightness(104%) contrast(100%);
}

.device-card-preview .badge {
    position: absolute;
    top: -6px;
    right: -6px;
    padding: 3px 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 0.5625rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(0, 120, 255, 0.3);
}

.device-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.device-info p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.requirement-card-body {
    flex: 1;
}

.requirement-card-body h4 {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.requirement-card-body h4 img {
    width: 18px;
    height: 18px;
    filter: brightness(0) saturate(100%) invert(13%) sepia(7%) saturate(9%) hue-rotate(337deg) brightness(96%) contrast(87%);
}

[data-theme="dark"] .requirement-card-body h4 img {
    filter: brightness(0) saturate(100%) invert(93%) sepia(0%) saturate(7434%) hue-rotate(293deg) brightness(104%) contrast(100%);
}

/* Keep old styles for compatibility */
.requirements-content {
    display: flex;
    gap: var(--spacing-xxl);
    align-items: flex-start;
}

.requirements-text {
    flex: 1;
}

.requirement-group {
    display: inline-block;
    margin-right: var(--spacing-xxl);
    margin-top: var(--spacing-lg);
    vertical-align: top;
}

.requirement-platform {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.requirement-platform img {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(13%) sepia(7%) saturate(9%) hue-rotate(337deg) brightness(96%) contrast(87%);
}

[data-theme="dark"] .requirement-platform img {
    filter: brightness(0) saturate(100%) invert(93%) sepia(0%) saturate(7434%) hue-rotate(293deg) brightness(104%) contrast(100%);
}

.requirement-list {
    list-style: none;
    padding-left: 0;
}

.requirement-list li {
    padding: 6px 0;
    padding-left: var(--spacing-lg);
    color: var(--text-secondary);
    font-size: 0.875rem;
    position: relative;
    line-height: 1.5;
}

.requirement-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 0.875rem;
}

.requirements-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.devices-stack {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
    width: 100%;
    max-width: 400px;
}

.device-card {
    position: relative;
    padding: var(--spacing-xl);
    background-color: var(--card-color);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.device-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.device-card.ios {
    border-color: #000;
}

.device-card.android {
    border-color: #3DDC84;
}

.device-card img {
    width: 64px;
    height: 64px;
    margin-bottom: var(--spacing-md);
    filter: brightness(0) saturate(100%) invert(13%) sepia(7%) saturate(9%) hue-rotate(337deg) brightness(96%) contrast(87%);
}

[data-theme="dark"] .device-card img {
    filter: brightness(0) saturate(100%) invert(93%) sepia(0%) saturate(7434%) hue-rotate(293deg) brightness(104%) contrast(100%);
}

.device-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
}

.device-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.device-card .badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

/* ==================== TRUST SECTION ==================== */
.trust-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--surface-color);
}

.trust-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.trust-stat {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.trust-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.trust-stat-icon {
    margin-bottom: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.trust-stat-icon img {
    width: 32px;
    height: 32px;
    display: block;
}

.trust-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
    line-height: 1.2;
}

.trust-stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.3;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1024px) {
    .download-hero-content,
    .requirements-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .download-hero-visual,
    .requirements-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .download-hero-section {
        min-height: 70vh;
        padding-top: calc(var(--header-height) + var(--spacing-xl));
    }
    
    .download-cta-top {
        padding: calc(var(--header-height) + var(--spacing-lg)) 0 var(--spacing-lg);
    }
    
    .download-title {
        font-size: 1.75rem;
    }
    
    .download-description {
        font-size: 0.9375rem;
    }
    
    /* Download stats - compact single row */
    .download-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }
    
    .download-stats .stat-item {
        font-size: 0.75rem;
        gap: 4px;
        padding: 6px 8px;
        flex-direction: column;
        text-align: center;
    }
    
    .download-stats .stat-item img {
        width: 18px;
        height: 18px;
    }
    
    /* Hide requirements section on mobile */
    .requirements-section {
        display: none;
    }
    
    .download-hero-text {
        text-align: center;
    }
    
    .download-buttons-group {
        flex-direction: column;
    }
    
    .download-btn {
        width: 100%;
    }
    
    .download-arrow {
        margin-top: var(--spacing-md);
    }
    
    .qr-wrapper {
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .installation-steps {
        grid-template-columns: 1fr;
    }
    
    .install-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin: 0 auto;
    }
    
    .apk-info-card {
        flex-direction: column;
        text-align: center;
    }
    
    .info-card-icon {
        margin: 0 auto;
    }
    
    .screenshots-carousel {
        gap: var(--spacing-md);
    }
    
    .screenshot-item {
        flex: 0 0 240px;
    }
    
    .trust-section {
        padding: var(--spacing-lg) 0;
    }
    
    .trust-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-sm);
        margin-top: var(--spacing-md);
    }
    
    .trust-stat {
        padding: var(--spacing-sm);
        border-radius: var(--radius-md);
    }
    
    .trust-stat-icon {
        margin-bottom: var(--spacing-xs);
    }
    
    .trust-stat-icon img {
        width: 24px;
        height: 24px;
    }
    
    .trust-stat-value {
        font-size: 1rem;
        margin-bottom: 2px;
    }
    
    .trust-stat-label {
        font-size: 0.625rem;
    }
}

@media (max-width: 480px) {
    .download-hero-section {
        padding-top: calc(var(--header-height) + var(--spacing-md));
        padding-bottom: var(--spacing-lg);
    }
    
    .download-cta-top {
        padding: calc(var(--header-height) + var(--spacing-md)) 0 var(--spacing-md);
    }
    
    .download-icon {
        width: 56px;
        height: 56px;
        margin-bottom: var(--spacing-md);
    }
    
    .download-icon img {
        width: 32px;
        height: 32px;
    }
    
    .download-title {
        font-size: 1.5rem;
    }
    
    .download-description {
        font-size: 0.875rem;
    }
    
    /* Ultra-compact download stats for mobile */
    .download-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        margin-top: var(--spacing-sm);
    }
    
    .download-stats .stat-item {
        font-size: 0.625rem;
        gap: 2px;
        flex-direction: column;
        text-align: center;
        padding: 4px 6px;
    }
    
    .download-stats .stat-item img {
        width: 16px;
        height: 16px;
    }
    
    .section-header h2 {
        font-size: 1.25rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .section-header p {
        font-size: 0.75rem;
    }
    
    .trust-section {
        padding: var(--spacing-md) 0;
    }
    
    .trust-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 4px;
        margin-top: var(--spacing-sm);
    }
    
    .trust-stat {
        padding: 6px 4px;
        border-radius: var(--radius-sm);
    }
    
    .trust-stat-icon {
        margin-bottom: 2px;
    }
    
    .trust-stat-icon img {
        width: 18px;
        height: 18px;
    }
    
    .trust-stat-value {
        font-size: 0.75rem;
        margin-bottom: 1px;
        font-weight: 700;
    }
    
    .trust-stat-label {
        font-size: 0.5rem;
        line-height: 1.1;
    }
    
    .download-btn {
        padding: 8px 12px;
    }
    
    .download-btn-icon img {
        width: 24px;
        height: 24px;
    }
    
    .download-btn-label {
        font-size: 0.625rem;
    }
    
    .download-btn-store {
        font-size: 0.875rem;
    }
    
    .download-btn.featured .download-btn-label {
        font-size: 0.75rem;
    }
    
    .download-btn.featured .download-btn-store {
        font-size: 0.9375rem;
    }
    
    .arrow-text {
        font-size: 0.875rem;
    }
    
    .arrow-animated svg {
        width: 40px;
        height: 40px;
    }
    
    .apk-notice {
        font-size: 0.75rem;
        padding: var(--spacing-sm);
    }
    
    .download-hero-text h1 {
        font-size: 1.75rem;
    }
    
    .download-hero-text p {
        font-size: 0.9375rem;
    }
    
    .qr-wrapper {
        padding: var(--spacing-md);
    }
    
    .qr-wrapper img {
        width: 120px;
        height: 120px;
    }
    
    .device-card img {
        width: 48px;
        height: 48px;
    }
}
