﻿html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .btn-lg { /* Mobil görünüm iyileştirmesini masaüstünde normale döndür */
        font-size: 1.25rem;
        padding: 0.5rem 1rem;
    }
}

/* Aksan Odaklanma Stili (Bootstrap varsayılanı korunuyor) */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    /* İkinci tanımda daha iyi focus stili kullanılmış */
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.25rem rgba(59,130,246,.25);
}

body {
    margin-bottom: 60px;
    background: radial-gradient(circle at top left, #f9fafb, #eef2ff);
    /* 'Inter' fontu için harici link gerekir */
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Başlıklar */
h3, h4, h5 {
    letter-spacing: .4px;
}

/* Modallar */
.modal-content {
    border-radius: 1.25rem;
    overflow: hidden;
}

/* Yükleniyor Ekranı */
#loadingOverlay {
    backdrop-filter: blur(4px);
}

/* ------------------------------------------- */
/* 1. Animasyonlar (Tekrar yok) */
/* ------------------------------------------- */

/* Akordiyon Animasyonları */
.accordion-button::before {
    content: "❓";
    margin-right: 0.5rem;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, #ffe0b2, #fff3e0);
    color: #d84315;
}

.accordion-body {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sayfa Giriş Animasyonu */
.initial-fade-in {
    opacity: 0;
    transform: translateY(15px); /* İkinci tanım daha yumuşak */
    animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards; /* İkinci tanım daha uzun/iyi */
}

    /* Gecikmeler için sadece CSS nth-child kullanmak daha iyi */
    .initial-fade-in:nth-child(1) {
        animation-delay: 0.1s;
    }

    .initial-fade-in:nth-child(2) {
        animation-delay: 0.2s;
    }

    .initial-fade-in:nth-child(3) {
        animation-delay: 0.3s;
    }

    .initial-fade-in:nth-child(4) {
        animation-delay: 0.4s;
    }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Roket ikonu animasyonu */
.btn-gradient-danger i {
    animation: rocket 1.8s infinite linear;
}

@keyframes rocket {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}


/* ------------------------------------------- */
/* 2. Bileşen Stilleri (Tekrar Yok) */
/* ------------------------------------------- */

/* Form/Kart Yükselme Efekti */
.card, form {
    transition: all 0.3s ease;
}

    .card:hover, form:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

/* Ana Demo Butonu (Çakışan kural birleştirildi) */
.btn-gradient-danger {
    background: linear-gradient(90deg, #ef4444, #b91c1c); /* Kırmızı ton tercih edildi */
    border: none;
    color: #fff;
    transition: all 0.25s ease;
    box-shadow: 0 4px 10px rgba(244, 67, 54, 0.4);
}

    .btn-gradient-danger:hover {
        background: linear-gradient(90deg, #dc2626, #7f1d1d);
        box-shadow: 0 0 12px rgba(220, 38, 38, 0.4);
        transform: translateY(-2px);
    }

/* İkincil Butonlar Hover */
.btn-outline-primary:hover {
    background: #3b82f6;
    color: #fff !important;
}

.btn-outline-info:hover {
    background: #0ea5e9;
    color: #fff !important;
}

/* Form Kontrolü Odaklanma (Önceki düzeltmelerden) */
.form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.25rem rgba(59,130,246,.25);
}

/* Avantajlar Listesi (Çek İşareti) */
.list-unstyled li::before {
    content: "✔";
    color: #22c55e;
    font-weight: bold;
    margin-right: 8px;
}

/* Avantajlar Paneli (alert-izgi) */
.alert-izgi {
    background: #fff3e0;
    border-left: 6px solid #ff9800;
    padding: 20px;
    transition: all 0.3s ease;
}

    .alert-izgi:hover {
        border-left: 10px solid #f44336;
    }

/* Mobil İyileştirmeler (Sadece Index'te bulunanlar) */
@media (max-width: 768px) {
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }

    .p-5 {
        padding: 2rem !important;
    }
}
