/* Temel Sıfırlamalar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Sayfa Temeli ve Teknolojik Koyu Mavi */
body {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px; /* Üst ve alt boşluk dengelendi */
    overflow-x: hidden; /* Yatay taşmayı engeller */
    overflow-y: auto;   /* Mobilde dikeyde gerekirse rahatça kaydırılabilmesi için */
    background-color: #050a18;
    color: #ffffff;
}

/* Teknolojik Arka Plan Canvası */
#tech-bg {
    position: fixed; /* absolute yerine fixed yapıldı ki sayfa mobilde hafif kaysa bile ağ arkada sabit kalsın */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Cam efekti maske katmanı (Görünürlük ayarlı) */
.bg-overlay {
    position: fixed; /* Arka planla uyumlu olarak sabitlendi */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.25) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Ana Kart (Glassmorphism) */
.portal-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Logo Alanı */
.logo-area {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

/* Yazı Alanları */
.portal-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    background: linear-gradient(120deg, #ffffff, #38bdf8); /* Teknolojik mavi-beyaz geçiş */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portal-subtitle {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 300;
}

/* Bilgi Rozetleri */
.app-info-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
}

.badge {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Tekli Buton Grubu */
.button-group {
    margin-bottom: 25px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    padding: 20px; /* Buton daha dolgun ve basılması kolay hale getirildi */
    border-radius: 18px;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.icon {
    font-size: 22px;
}

/* İndirme Butonu: Parlak ve Dikkat Çekici Teknolojik Mavi/Cyan */
.btn-download {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.3);
}

/* Hover Animasyonu */
.btn-download:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(2, 132, 199, 0.5);
    filter: brightness(1.2);
}

.btn-download:active {
    transform: translateY(-2px) scale(1);
}

/* Kurulum Notu */
.installation-note {
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 35px;
    text-align: left;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border-radius: 10px;
    border-left: 3px solid #64748b;
}

/* Footer */
.portal-footer {
    color: #475569;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-top: 10px; /* Üstteki gri kutudan biraz daha ayrışması için */
}

/* Mobil Uyumluluk */
@media (max-width: 480px) {
    body {
        padding: 30px 15px 50px 15px; /* Alt boşluk 50px yapılarak görseldeki yapışma engellendi */
        align-items: center; /* Merkeze sadık kalındı */
    }

    .portal-container {
        padding: 40px 20px;
        border-radius: 24px;
        margin-bottom: 10px; /* Mobilde alta hafif esneme payı */
    }
    
    .logo {
        max-width: 150px;
    }

    .portal-title {
        font-size: 21px;
    }
    
    .btn {
        padding: 18px;
        font-size: 16px;
    }
    
    .badge {
        padding: 4px 10px;
        font-size: 11px;
    }
}