/* =========================================
   SLA PAGE (SERVICE LEVEL AGREEMENT)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&display=swap');

:root {
    --bg-body: #ffffff;
    --primary: #4f46e5;
    --secondary: #0f172a;
    --success: #10b981;
    --text-main: #334155;
    --text-muted: #64748b;
    --card-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.08);
}

body {
    background-color: var(--bg-body);
    font-family: 'Outfit', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
}

/* 1. HERO SECTION */
.sla-hero {
    padding: 160px 0 100px;
    background: radial-gradient(circle at center, #f8fafc 0%, #ffffff 80%);
    text-align: center; border-bottom: 1px solid #f1f5f9;
}
.hero-badge {
    display: inline-block; padding: 8px 25px; border-radius: 50px;
    background: #ecfdf5; color: var(--success); font-weight: 700; font-size: 0.9rem;
    margin-bottom: 25px; letter-spacing: 1px; border: 1px solid #a7f3d0;
}
.hero-title {
    font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px;
    color: var(--secondary); letter-spacing: -1px;
}
.hero-desc {
    font-size: 1.2rem; color: var(--text-muted); max-width: 800px; margin: 0 auto;
}

/* 2. GUARANTEE CARDS (3 ANA SÜTUN) */
.guarantee-section { padding: 100px 0; }
.g-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.g-card {
    background: white; padding: 40px 30px; border-radius: 20px;
    box-shadow: var(--card-shadow); border: 1px solid #f1f5f9;
    text-align: center; transition: 0.3s;
}
.g-card:hover { transform: translateY(-10px); border-color: var(--primary); }

.g-icon {
    font-size: 3rem; margin-bottom: 20px; color: var(--primary);
    background: #eef2ff; width: 80px; height: 80px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 25px;
}
.g-title { font-size: 1.5rem; font-weight: 800; color: var(--secondary); margin-bottom: 15px; }
.g-desc { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }
.g-highlight {
    display: block; margin-top: 20px; font-size: 1.1rem; font-weight: 700; color: var(--success);
}

/* 3. CREDIT TABLE (HESAPLAMA) */
.table-section { padding: 80px 0; background: #f8fafc; }
.section-header { text-align: center; margin-bottom: 50px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; color: var(--secondary); margin-bottom: 15px; }

.sla-table-wrapper {
    background: white; border-radius: 20px; overflow: hidden;
    box-shadow: var(--card-shadow); max-width: 900px; margin: 0 auto;
}
.sla-table { width: 100%; border-collapse: collapse; }
.sla-table th {
    background: var(--secondary); color: white; padding: 20px; text-align: left;
    font-weight: 700; font-size: 1.1rem;
}
.sla-table td {
    padding: 20px; border-bottom: 1px solid #f1f5f9; color: var(--text-main); font-size: 1rem;
}
.sla-table tr:last-child td { border-bottom: none; }
.sla-table tr:hover { background: #f8fafc; }
.credit-badge {
    background: #ecfdf5; color: var(--success); padding: 5px 15px; border-radius: 50px; font-weight: 700;
}

/* 4. EXCLUSIONS (AKORDEON/LİSTE) */
.exclusions-section { padding: 100px 0; }
.ex-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }

.ex-content h3 { font-size: 1.8rem; font-weight: 800; color: var(--secondary); margin-bottom: 20px; }
.ex-list { list-style: none; padding: 0; }
.ex-list li {
    position: relative; padding-left: 30px; margin-bottom: 20px;
    font-size: 1.05rem; color: var(--text-muted); line-height: 1.6;
}
.ex-list li::before {
    content: '\f057'; /* FontAwesome X icon */
    font-family: 'Font Awesome 6 Free'; font-weight: 900;
    position: absolute; left: 0; top: 3px; color: #ef4444; font-size: 1.2rem;
}

.claim-box {
    background: var(--secondary); color: white; padding: 40px; border-radius: 24px;
    text-align: center;
}
.claim-box h4 { font-size: 1.5rem; font-weight: 700; margin-bottom: 15px; }
.claim-box p { opacity: 0.8; margin-bottom: 25px; line-height: 1.6; }
.btn-claim {
    background: white; color: var(--secondary); padding: 15px 30px; border-radius: 10px;
    font-weight: 700; text-decoration: none; transition: 0.3s; display: inline-block;
}
.btn-claim:hover { background: #e0e7ff; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .g-grid { grid-template-columns: 1fr; }
    .ex-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.5rem; }
    .sla-table-wrapper { overflow-x: auto; } /* Tablo taşarsa kaydır */
    .sla-table { min-width: 600px; }
}

/* =========================================
   5. SLA PACKAGES (YENİ EKLENTİ)
   ========================================= */
.sla-packages-section {
    padding: 100px 0;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}

/* Tab Menü */
.sla-tabs {
    display: flex; justify-content: center; gap: 15px; margin-bottom: 60px; flex-wrap: wrap;
}
.sla-tab-btn {
    padding: 15px 40px; border-radius: 50px; border: 1px solid #e2e8f0;
    background: #f8fafc; color: var(--text-muted); font-weight: 700;
    cursor: pointer; transition: 0.3s; font-size: 1.1rem;
}
.sla-tab-btn:hover, .sla-tab-btn.active {
    background: var(--secondary); color: white; border-color: var(--secondary);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

/* Paket Grid */
.sla-pkg-grid {
    display: none; /* JS ile açılacak */
    grid-template-columns: repeat(3, 1fr); gap: 30px;
    animation: fadeIn 0.5s ease-out;
}
.sla-pkg-grid.active { display: grid; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Paket Kartı */
.sla-pkg-card {
    background: white; border: 1px solid #e2e8f0; border-radius: 24px;
    overflow: hidden; transition: 0.4s; position: relative;
    display: flex; flex-direction: column;
}
.sla-pkg-card:hover {
    transform: translateY(-10px); box-shadow: var(--card-shadow); border-color: var(--primary);
}

/* Önerilen Paket (Ortadaki) */
.sla-pkg-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.15);
    transform: scale(1.05); z-index: 2;
}
.sla-pkg-card.popular:hover { transform: scale(1.05) translateY(-10px); }

.pkg-header {
    padding: 40px 30px 20px; text-align: center;
    background: radial-gradient(circle at top, #f8fafc 0%, #ffffff 100%);
    border-bottom: 1px dashed #e2e8f0;
}
.pkg-name { font-size: 1.5rem; font-weight: 800; color: var(--secondary); display: block; margin-bottom: 10px; }
.pkg-level { 
    display: inline-block; background: #e0e7ff; color: var(--primary); 
    padding: 5px 15px; border-radius: 8px; font-size: 0.85rem; font-weight: 700;
}

.pkg-features { padding: 30px; flex: 1; }
.pkg-list { list-style: none; padding: 0; margin: 0; }
.pkg-list li {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 15px; font-size: 0.95rem; color: var(--text-main);
}
.pkg-list li strong { color: var(--secondary); }
.pkg-list li i { color: #10b981; margin-right: 10px; } /* Yeşil Tik */
.pkg-list li.disabled { opacity: 0.5; text-decoration: line-through; }

/* Responsive */
@media (max-width: 992px) {
    .sla-pkg-grid { grid-template-columns: 1fr; gap: 40px; }
    .sla-pkg-card.popular { transform: none; }
    .sla-pkg-card.popular:hover { transform: translateY(-10px); }
    .sla-tabs { flex-direction: column; padding: 0 20px; }
    .sla-tab-btn { width: 100%; text-align: center; }
}