/* Mobile App Widget - Fixed Position */
.mobile-app-widget-fixed {
    position: fixed;
    top: 120px;
    right: 20px;
    z-index: 9998;
    width: 320px;
    background: 
        linear-gradient(145deg, rgba(30, 58, 138, 0.95), rgba(59, 130, 246, 0.85));
    border-radius: 24px;
    padding: 25px;
    border: 2px solid rgba(6, 182, 212, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    overflow: hidden;
    animation: slideInRight 1.2s ease-out;
}

.mobile-app-widget-fixed::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(6, 182, 212, 0.1), transparent);
    animation: shimmer 4s infinite;
}

.widget-logo {
    width: auto;
    height: 25px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.mobile-app-content {
    position: relative;
    z-index: 2;
}

.mobile-app-header {
    text-align: center;
    margin-bottom: 20px;
}

.mobile-app-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-app-preview {
    position: relative;
    text-align: center;
    margin-bottom: 25px;
}

.app-preview-image {
    width: 140px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(6, 182, 212, 0.4);
    transition: transform 0.3s ease;
}

.app-preview-image:hover {
    transform: scale(1.05);
}

.bonus-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bonus-text {
    line-height: 1;
    margin-bottom: 2px;
    font-weight: 800;
}

.bonus-subtext {
    font-size: 0.6rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.app-download-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.app-download-btn::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;
}

.app-download-btn:hover::before {
    left: 100%;
}

.app-download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.3);
    border-color: rgba(6, 182, 212, 0.5);
}

.download-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    object-fit: contain;
}

.download-text {
    flex: 1;
}

.download-label {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.download-sublabel {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
}

/* Platform-specific hover effects */
.android-btn:hover {
    border-color: #4ade80;
    box-shadow: 0 6px 20px rgba(74, 222, 128, 0.3);
}

.ios-btn:hover {
    border-color: #a3a3a3;
    box-shadow: 0 6px 20px rgba(163, 163, 163, 0.3);
}

.windows-btn:hover {
    border-color: #60a5fa;
    box-shadow: 0 6px 20px rgba(96, 165, 250, 0.3);
}

/* Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 1400px) {
    .mobile-app-widget-fixed {
        right: 15px;
        width: 300px;
    }
}

@media (max-width: 1200px) {
    .mobile-app-widget-fixed {
        right: 10px;
        width: 280px;
        padding: 20px;
    }
    
    .mobile-app-title {
        font-size: 1.2rem;
    }
    
    .app-preview-image {
        width: 110px;
    }
}

@media (max-width: 1024px) {
    .mobile-app-widget-fixed {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        max-width: none;
        text-align: center;
    }
    
    .mobile-app-widget {
        max-width: 400px;
        margin: 0 auto;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content-wrapper {
        gap: 30px;
        padding: 0 15px;
    }
    
    .mobile-app-widget {
        padding: 24px;
        border-radius: 20px;
        max-width: 350px;
    }
    
    .mobile-app-title {
        font-size: 1.2rem;
    }
    
    .mobile-app-subtitle {
        font-size: 0.9rem;
    }
    
    .app-preview-image {
        width: 110px;
    }
    
    .app-download-buttons {
        gap: 10px;
    }
    
    .app-download-btn {
        padding: 10px 14px;
    }
    
    .download-label {
        font-size: 0.9rem;
    }
    
    .download-sublabel {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-content-wrapper {
        padding: 0 10px;
    }
    
    .mobile-app-widget {
        padding: 20px;
        border-radius: 16px;
        max-width: none;
        margin: 0 10px;
    }
    
    .mobile-app-icon {
        font-size: 2rem;
    }
    
    .mobile-app-title {
        font-size: 1.1rem;
    }
    
    .mobile-app-subtitle {
        font-size: 0.85rem;
    }
    
    .app-preview-image {
        width: 100px;
    }
    
    .bonus-badge {
        padding: 6px 10px;
        font-size: 0.7rem;
    }
    
    .app-download-btn {
        padding: 12px 14px;
    }
    
    .download-icon {
        font-size: 1.3rem;
    }
    
    .download-label {
        font-size: 0.85rem;
    }
    
    .download-sublabel {
        font-size: 0.7rem;
    }
}