<!DOCTYPE html>
<html lang="tr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hemen Su - Kurye Uygulaması İndir</title>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: linear-gradient(135deg, #FF6000 0%, #E55100 50%, #FF8F00 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .container {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 24px;
            box-shadow: 
                0 20px 40px rgba(0, 0, 0, 0.1),
                0 8px 16px rgba(255, 96, 0, 0.05);
            max-width: 480px;
            width: 100%;
            padding: 40px 35px;
            text-align: center;
        }

        .container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, #FF6000, #E55100, #FF8F00);
            border-radius: 24px 24px 0 0;
        }

        .app-icon {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #FF6000, #E55100);
            border-radius: 20px;
            margin: 0 auto 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 
                0 12px 24px rgba(255, 96, 0, 0.25),
                0 4px 8px rgba(0, 0, 0, 0.08);
        }

        .app-icon::before {
            content: '📱';
            font-size: 45px;
            filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
        }

        .app-title {
            font-size: 32px;
            font-weight: 800;
            background: linear-gradient(135deg, #FF6000, #E55100);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 10px;
            letter-spacing: -0.5px;
        }

        .app-subtitle {
            font-size: 16px;
            color: #64748B;
            margin-bottom: 30px;
            line-height: 1.5;
            font-weight: 500;
        }

        .version-card {
            background: rgba(255, 96, 0, 0.04);
            border: 1px solid rgba(255, 96, 0, 0.12);
            border-radius: 16px;
            padding: 20px;
            margin-bottom: 30px;
            position: relative;
        }

        .version-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background: linear-gradient(180deg, #FF6000, #E55100);
            border-radius: 2px;
        }

        .version-title {
            font-size: 13px;
            font-weight: 700;
            color: #FF6000;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 0.8px;
        }

        .version-details {
            font-size: 14px;
            color: #475569;
            line-height: 1.6;
            font-weight: 500;
        }

        .features-section {
            margin-bottom: 30px;
        }

        .features-title {
            font-size: 18px;
            font-weight: 700;
            color: #1E293B;
            margin-bottom: 18px;
        }

        .features-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
            text-align: left;
        }

        .feature-item {
            display: flex;
            align-items: center;
            padding: 14px;
            background: rgba(255, 255, 255, 0.7);
            border-radius: 12px;
            border: 1px solid rgba(255, 96, 0, 0.06);
            transition: all 0.2s ease;
        }

        .feature-item:hover {
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(255, 96, 0, 0.1);
            background: rgba(255, 255, 255, 0.9);
        }

        .feature-icon {
            width: 28px;
            height: 28px;
            background: linear-gradient(135deg, #10B981, #059669);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            flex-shrink: 0;
            box-shadow: 0 2px 6px rgba(16, 185, 129, 0.2);
        }

        .feature-icon::before {
            content: '✓';
            color: white;
            font-size: 12px;
            font-weight: bold;
        }

        .feature-text {
            font-size: 13px;
            color: #475569;
            font-weight: 500;
            line-height: 1.3;
        }

        .download-section {
            margin-bottom: 25px;
        }

        .download-btn {
            background: linear-gradient(135deg, #FF6000, #E55100);
            color: white;
            border: none;
            border-radius: 16px;
            padding: 18px 40px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            width: 100%;
            margin-bottom: 15px;
            transition: all 0.2s ease;
            box-shadow: 0 8px 20px rgba(255, 96, 0, 0.25);
            text-decoration: none;
            display: inline-block;
        }

        .download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 28px rgba(255, 96, 0, 0.35);
        }

        .download-btn:active {
            transform: translateY(0);
            box-shadow: 0 6px 16px rgba(255, 96, 0, 0.3);
        }

        .download-icon {
            margin-right: 8px;
            font-size: 18px;
            display: inline-block;
        }

        .loading {
            display: none;
            margin-top: 12px;
        }

        .loading-spinner {
            width: 28px;
            height: 28px;
            border: 2px solid rgba(255, 96, 0, 0.1);
            border-top: 2px solid #FF6000;
            border-radius: 50%;
            margin: 0 auto 12px;
        }

        .loading-text {
            font-size: 14px;
            color: #64748B;
            font-weight: 500;
        }

        .info-card {
            background: rgba(59, 130, 246, 0.04);
            border: 1px solid rgba(59, 130, 246, 0.12);
            border-radius: 16px;
            padding: 20px;
            margin-top: 25px;
            text-align: left;
        }

        .info-title {
            font-size: 15px;
            font-weight: 700;
            color: #3B82F6;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }

        .info-title::before {
            content: '💡';
            margin-right: 6px;
            font-size: 16px;
        }

        .info-text {
            font-size: 13px;
            color: #475569;
            line-height: 1.6;
            font-weight: 500;
        }

        .footer {
            margin-top: 30px;
            padding-top: 25px;
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            font-size: 12px;
            color: #94A3B8;
            font-weight: 500;
        }

        .footer p:first-child {
            font-weight: 600;
            color: #64748B;
        }

        /* Mobile optimizations */
        @media (max-width: 480px) {
            .container {
                margin: 10px;
                padding: 30px 20px;
                border-radius: 20px;
            }
            
            .app-title {
                font-size: 26px;
            }
            
            .download-btn {
                padding: 16px 32px;
                font-size: 15px;
            }

            .features-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .app-icon {
                width: 85px;
                height: 85px;
            }

            .app-icon::before {
                font-size: 38px;
            }
        }

        /* Warning card */
        .warning-card {
            background: rgba(245, 158, 11, 0.06);
            border: 1px solid rgba(245, 158, 11, 0.15);
            border-radius: 16px;
            padding: 18px;
            margin-bottom: 25px;
            text-align: left;
            position: relative;
        }

        .warning-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background: linear-gradient(180deg, #F59E0B, #D97706);
            border-radius: 2px;
        }

        .warning-title {
            font-size: 14px;
            font-weight: 700;
            color: #D97706;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
        }

        .warning-title::before {
            content: '⚠️';
            margin-right: 6px;
            font-size: 16px;
        }

        .warning-text {
            font-size: 13px;
            color: #92400E;
            line-height: 1.5;
            font-weight: 500;
        }

        /* Success state */
        .success-state {
            background: linear-gradient(135deg, #10B981, #059669) !important;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="app-icon"></div>
        
        <h1 class="app-title">Hemen Su</h1>
        <p class="app-subtitle">Profesyonel Kurye Yönetim Sistemi</p>
        
        <div class="warning-card">
            <div class="warning-title">Önemli Uyarı</div>
            <div class="warning-text">
                Yeni sürümü yüklemeden önce, bir önceki sürümü telefonunuzdan kaldırdığınıza emin olunuz.
            </div>
        </div>
        
        <div class="version-card">
            <div class="version-title">Güncel Sürüm</div>
            <div class="version-details">
                <strong>Sürüm:</strong> v2.1.0<br>
                <strong>Boyut:</strong> ~15 MB<br>
                <strong>Son Güncelleme:</strong> 27 Aralık 2024
            </div>
        </div>

        <div class="features-section">
            <div class="features-title">Özellikler</div>
            <div class="features-grid">
                <div class="feature-item">
                    <div class="feature-icon"></div>
                    <div class="feature-text">Sipariş Takibi & Yönetimi</div>
                </div>
                <div class="feature-item">
                    <div class="feature-icon"></div>
                    <div class="feature-text">Gerçek Zamanlı Bildirimler</div>
                </div>
                <div class="feature-item">
                    <div class="feature-icon"></div>
                    <div class="feature-text">Performans Raporları</div>
                </div>
                <div class="feature-item">
                    <div class="feature-icon"></div>
                    <div class="feature-text">Mağaza Durumu Takibi</div>
                </div>
                <div class="feature-item">
                    <div class="feature-icon"></div>
                    <div class="feature-text">Modern Arayüz</div>
                </div>
                <div class="feature-item">
                    <div class="feature-icon"></div>
                    <div class="feature-text">Güvenli Veri Senkronizasyonu</div>
                </div>
            </div>
        </div>

        <div class="download-section">
            <a href="bcsmesrubat.com/trend/login.php" class="download-btn" onclick="startDownload()" id="downloadBtn">
                Uygulamayı İndir
            </a>

            <div class="loading" id="loading">
                <div class="loading-spinner"></div>
                <div class="loading-text">İndiriliyor...</div>
            </div>
        </div>

        <div class="info-card">
            <div class="info-title">Kurulum Rehberi</div>
            <div class="info-text">
                APK dosyasını indirdikten sonra, cihazınızda <strong>"Bilinmeyen kaynaklardan uygulama yükleme"</strong> 
                seçeneğini aktif etmeniz gerekebilir. Bu ayar <strong>Ayarlar → Güvenlik → Bilinmeyen Kaynaklar</strong> 
                menüsünde bulunur. Kurulum tamamlandıktan sonra bu ayarı tekrar kapatabilirsiniz.
            </div>
        </div>

        <div class="footer">
            <p>© 2024 Hemen Su - Tüm hakları saklıdır</p>
            <p style="margin-top: 8px;">Teknik destek için sistem yöneticinizle iletişime geçin</p>
        </div>
    </div>

    <script>
        function startDownload() {
            const btn = document.getElementById('downloadBtn');
            const loading = document.getElementById('loading');
            
            // Butonu gizle ve loading göster
            btn.style.display = 'none';
            loading.style.display = 'block';
            
            // 2.5 saniye sonra başarı durumuna geç
            setTimeout(() => {
                loading.style.display = 'none';
                btn.style.display = 'inline-block';
                
                // Başarı durumu
                btn.innerHTML = 'İndirme Başladı!';
                btn.classList.add('success-state');
                
                // 4 saniye sonra orijinal haline dön
                setTimeout(() => {
                    btn.innerHTML = 'Uygulamayı İndir';
                    btn.classList.remove('success-state');
                }, 4000);
            }, 2500);
        }
    </script>
</body>
</html>
