/* ==========================================================================
   CSS Değişkenleri ve Temel Ayarlar (Aesthetics)
   ========================================================================== */
:root {
    --bg-color: #0D0F14; /* Uygulamanın karanlık arka planı */
    --text-primary: #FFFFFF;
    --text-secondary: #A0AAB2;
    --primary-color: #6C63FF; /* Canlı neon mor/mavi vurgu */
    --primary-hover: #5A52D9;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(108, 99, 255, 0.15), transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(108, 99, 255, 0.1), transparent 25%);
    background-attachment: fixed;
}

/* ==========================================================================
   Cam Efekti (Glassmorphism) Sınıfları
   ========================================================================== */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* ==========================================================================
   Navigasyon Çubuğu (Navbar)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 8px; /* İsteğe bağlı, köşeleri yumuşatmak için */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-primary-small {
    background-color: var(--primary-color);
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
}

.btn-primary-small:hover {
    background-color: var(--primary-hover);
    color: white !important;
}

/* ==========================================================================
   Hero Bölümü (Giriş)
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 5% 50px 5%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(108, 99, 255, 0.15);
    color: #a7a3ff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(108, 99, 255, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, #FFFFFF 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.store-buttons {
    display: flex;
    gap: 15px;
}

.store-btn {
    display: flex;
    transition: transform 0.2s;
}

.store-btn:hover {
    transform: translateY(-3px);
}

.store-btn img {
    height: 50px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-placeholder {
    width: 300px;
    height: 600px;
    background: rgba(255,255,255,0.02);
    border: 2px dashed rgba(255,255,255,0.1);
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-secondary);
    text-align: center;
    padding: 20px;
}

/* ==========================================================================
   Özellikler (Bento Box)
   ========================================================================== */
.features {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    auto-rows: minmax(200px, auto);
}

.bento-card {
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.col-span-2 {
    grid-column: span 2;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: #fff;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* Feature Images in Bento Box (Redesign) */
.feature-with-image {
    padding: 0; /* İçeriğin tam oturması için varsayılan boşluğu kaldır */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden; /* Dışarı taşan resimleri kes */
    position: relative;
    min-height: 400px;
}

.feature-text {
    padding: 40px 40px 20px 40px; /* Metin boşluklarını tekrar ekle */
    z-index: 2;
}

.feature-img-wrapper {
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Resmi alta daya */
    padding: 0 40px; /* Yanlardan hafif boşluk bırak (Apple stili) */
    overflow: hidden;
}

.feature-img {
    width: 100%;
    max-width: 85%; /* Çok genişlemesini engelle, ama geniş kartlarda yatay görsellerin rahatça yayılmasına izin ver */
    height: auto;
    object-fit: cover;
    object-position: top;
    border-radius: 20px 20px 0 0; /* Sadece üst köşeleri yuvarlat */
    box-shadow: 0 -10px 30px rgba(0,0,0,0.3); /* Resme derinlik kat */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: -10px; /* Alt kısımdan boşluk kalmaması için hafif aşağı çek */
}

.hover-scale:hover .feature-img {
    transform: translateY(-15px) scale(1.02); /* Üzerine gelince yukarı çıksın */
}

.card-gradient {
    background: linear-gradient(135deg, rgba(108, 99, 255, 0.2), rgba(255, 255, 255, 0.05));
}

/* ==========================================================================
   Güvenlik Bölümü
   ========================================================================== */
.security {
    padding: 100px 5%;
    display: flex;
    justify-content: center;
}

.security-content {
    max-width: 800px;
    width: 100%;
    padding: 60px;
    border-radius: 30px;
    text-align: center;
}

.security-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.security-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.security-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    font-size: 1.1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 5% 30px 5%;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   Animasyonlar ve Efektler
   ========================================================================== */
.hover-scale {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.hover-scale:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-color: rgba(108, 99, 255, 0.3);
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

/* ==========================================================================
   Responsive (Mobil Uyumluluk)
   ========================================================================== */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 150px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .store-buttons {
        justify-content: center;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .col-span-2 {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .security-content {
        padding: 40px 20px;
    }
}
