/* =======================================================
   🌟 TRIPDAN - ANA VİTRİN GLOBAL KURUMSURASAL TASARIM MOTORU
   ======================================================= */

/* 1. GENEL SAYFA KURALLARI */
body { 
    font-family: -apple-system, BlinkMacSystemFont, sans-serif; 
    margin: 0; 
    padding: 0; 
    background-color: #f8f9fa; 
    color: #333; 
    line-height: 1.6; 
}

/* 2. DİNAMİK NAVBAR VE LOGO ALANI */
.navbar { 
    background: white; 
    padding: 12px 24px; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); 
    display: flex !important;
    justify-content: space-between !important; 
    align-items: center !important;
    box-sizing: border-box !important;
}

.logo-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
}

.logo-img {
    height: 32px !important; 
    width: auto !important;  
    max-width: 150px !important;
    object-fit: contain !important;
    display: block !important;
}

.brand { 
    font-size: 1.5rem; 
    font-weight: bold; 
    color: #4682B4; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
}

/* 3. HERO (GİRİŞ KAPANIŞ) ALANI */
.hero { 
    background: linear-gradient(135deg, #4682B4, #2a5270); 
    color: white; 
    padding: 60px 20px; 
    text-align: center; 
    box-sizing: border-box !important;
}
.hero h1 { 
    margin: 0 0 20px 0; 
    font-size: 2.2rem; 
    font-weight: bold; 
}
.hero p { 
    margin: 0 auto; 
    max-width: 600px; 
    font-size: 1.2rem; 
    opacity: 0.9; 
}

/* 4. ÖZELLİKLER (FEATURES) ALANI */
.section { 
    padding: 5px 20px !important; 
    max-width: 1000px; 
    margin: 0 auto; 
    text-align: center; 
    box-sizing: border-box !important;
}
.section h2 { 
    font-size: 1.8rem; 
    color: #212529; 
    margin-bottom: 30px; 
}
.features-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
    width: 100%;
}
.feature-card { 
    background: white; 
    padding: 25px; 
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); 
    text-align: left; 
    box-sizing: border-box !important;
}
.feature-card h3 { 
    margin: 0 0 10px 0; 
    color: #4682B4; 
    font-size: 1.3rem; 
}

/* 5. FİYATLANDIRMA (PRICING) ALANI */
.pricing-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 30px; 
    margin-top: 20px; 
    width: 100%;
}
.price-card { 
    background: white; 
    padding: 40px 30px; 
    border-radius: 15px; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); 
    position: relative; 
    border: 2px solid transparent; 
    text-align: left;
    box-sizing: border-box !important;
}
.price-card.popular { 
    border-color: #ffc107; 
}
.price-tag { 
    position: absolute; 
    top: -15px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: #ffc107; 
    color: #000; 
    padding: 5px 15px; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    font-weight: bold; 
}
.price-card h3 { 
    margin: 0 0 15px 0; 
    font-size: 1.5rem; 
    color: #212529; 
}
.price-card .cost { 
    font-size: 2rem; 
    font-weight: bold; 
    color: #4682B4; 
    margin-bottom: 20px; 
}
.price-card ul { 
    list-style: none; 
    padding: 0; 
    margin: 0 0 30px 0; 
}
.price-card ul li { 
    padding: 8px 0; 
    border-bottom: 1px solid #eee; 
    font-size: 0.95rem; 
}
.price-card ul li::before { 
    content: "✓ "; 
    color: #198754; 
    font-weight: bold; 
}

/* 6. BUTONLAR VE ALT BİLGİ (FOOTER) */
.btn-cta { 
    display: block; 
    width: 100%; 
    padding: 12px; 
    background: #4682B4; 
    color: white; 
    border: none; 
    border-radius: 8px; 
    font-size: 1rem; 
    font-weight: bold; 
    text-decoration: none; 
    text-align: center; 
    box-sizing: border-box; 
    transition: background 0.2s ease;
}
.btn-cta:hover { 
    background: #2a5270; 
}

.footer { 
    background: #212529; 
    color: #adb5bd; 
    text-align: center; 
    padding: 30px 20px; 
    font-size: 0.9rem; 
    margin-top: 50px; 
    box-sizing: border-box !important;
}

/* 7. BİLGİSAYAR VE TABLET UYUM MOTORU (RESPONSIVE) */
@media (min-width: 768px) {
    .features-grid { 
        flex-direction: row !important; 
    }
    .feature-card { 
        flex: 1 !important; 
    }
    .pricing-grid { 
        flex-direction: row !important; 
        justify-content: center !important; 
    }
    .price-card { 
        flex: 1 !important; 
        max-width: 320px !important; 
    }
}

/* =======================================================
   🌟 YÖNETİCİ GİRİŞ PANELİ NİHAİ MERKEZİ STİL MOTORU (b2b TEMİZLENDİ)
   ======================================================= */

/* 1. Sayfa ilk açıldığında sağ üstte duran küçük kibar popover hali */
#ust-giris-paneli {
    display: none; 
    position: absolute !important;
    right: 25px !important;
    width: 250px !important; 
    padding: 15px 20px !important; 
    top: 55px !important; 
    background: #ffffff !important;      
    background-color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3) !important; 
    border: 1px solid #ced4da !important;
    box-sizing: border-box !important;
    z-index: 999999 !important; 
}

/* 2. Şifre doğru girildiğinde ekranın ortasına fırlayan modern popup hali */
#ust-giris-paneli.merkez-popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;   
    margin: 0 !important;
    transform: translate(-50%, -50%) !important; 
    width: 95% !important;
    max-width: 400px !important;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.5) !important; 
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-radius: 16px !important;
    padding: 30px !important;
    transition: all 0.3s ease-in-out !important;
}

#ust-giris-paneli h4 {
    font-size: 1rem !important;
    margin: 0 0 12px 0 !important;
    color: #4682B4 !important;
    text-align: center !important;
    font-weight: bold !important;
}

#ust-giris-paneli select, 
#ust-giris-paneli input {
    width: 100% !important;
    padding: 6px 10px !important; 
    font-size: 0.8rem !important;
    margin-bottom: 8px !important;
    border-radius: 5px !important;
    box-sizing: border-box !important;
    border: 1px solid #ced4da !important;
    background-color: #ffffff !important;
}

#ust-giris-paneli label {
    display: block !important;
    font-size: 0.75rem !important;
    font-weight: bold !important;
    color: #495057 !important;
    margin-bottom: 3px !important;
}

#ust-giris-paneli button {
    width: 100% !important;
    padding: 8px !important;
    font-size: 0.85rem !important;
    border-radius: 5px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    border: none !important;
}

.gizle {
    display: none !important;
}

#popup-kapat-btn:hover {
    color: #dc3545 !important; 
}

/* 🎯 SİSTEMİN GİRİŞ VE AÇILIŞ MANTIĞINI %100 KORUYAN BUTON RENK MÜHÜRÜ */
#yonetim-aksiyon-butonlari button {
    height: 42px !important;
    font-weight: bold !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
    font-family: sans-serif !important;
    width: 100% !important;
    margin-bottom: 6px !important;
    font-size: 0.8rem !important;
    cursor: pointer !important;
}

/* 1. Buton: QR Üretim Paneli (Arka planı dolu olan kurumsal mavi) */
#yonetim-aksiyon-butonlari #btn-qr-panel {
    background: #4682B4 !important;
    color: #ffffff !important;
    border: 2px solid #4682B4 !important;
}

/* 2. ve 3. Butonlar: Veri Paneli ile Müşteri Yorum & Resimler */
#yonetim-aksiyon-butonlari #btn-airtable-panel,
#yonetim-aksiyon-butonlari #btn-yorum-kanit-paneli {
    background: #ffffff !important;
    color: #4682B4 !important;
    border: 2px solid #4682B4 !important;
}
