/* SEO Analiz + SEO Rapor sayfalarinin ortak stili (2026-09-05: aspx icinden buraya alindi,
   rapor sayfasi da ayni gorunumu kullaniyor) */

/* Skor renkleri */
.skor-basarili { color: #28a745; }
.skor-uyari { color: #e67e22; }
.skor-hata { color: #dc3545; }
.badge-basarili { background: #28a745; color: #fff; }
.badge-uyari { background: #e67e22; color: #fff; }
.badge-hata { background: #dc3545; color: #fff; }

/* Skor dairesi */
.seo-score-circle { width: 200px; height: 200px; margin: 0 auto; position: relative; }

/* Loading */
#yukleniyorAlani { display:none; }
.analiz-steps { max-width: 500px; margin: 0 auto; text-align: left; }
.analiz-step { padding: 10px 16px; margin-bottom: 6px; border-radius: 8px; display: flex; align-items: center; gap: 12px; opacity: 0.3; transition: all 0.4s ease; }
.analiz-step.active { opacity: 1; }
.analiz-step.done { opacity: 0.6; }
.analiz-step .step-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.analiz-step.active .step-icon { background: #6259ca; color: #fff; }
.analiz-step.done .step-icon { background: #28a745; color: #fff; }
.analiz-step .step-icon { background: rgba(128,128,128,.2); }
.loading-progress { height: 4px; border-radius: 2px; background: rgba(128,128,128,.15); overflow: hidden; margin-top: 20px; }
.loading-progress-bar { height: 100%; background: linear-gradient(90deg, #6259ca, #28a745); width: 0; transition: width 0.5s ease; border-radius: 2px; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.analiz-step.active { animation: pulse 1.5s ease infinite; }

/* Sonuc */
#analizSonuc { display:none; }
.ozet-badge { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 24px; font-size: 14px; font-weight: 600; }

/* Gecmis / trend */
.trend-kutu { display:inline-flex; align-items:center; gap:10px; padding:10px 16px; border-radius:12px; background:rgba(98,89,202,.08); font-size:14px; margin-top:14px; }
.trend-kutu .trend-fark { font-weight:800; font-size:16px; }
.trend-kutu .trend-fark.arti { color:#28a745; }
.trend-kutu .trend-fark.eksi { color:#dc3545; }

/* Google Snippet */
.google-snippet { border-radius: 12px; padding: 20px; max-width: 620px; }
.google-snippet .snippet-title { color: #1a0dab; font-size: 20px; line-height: 1.3; }
.google-snippet .snippet-url { color: #006621; font-size: 13px; margin: 6px 0; }
.google-snippet .snippet-desc { font-size: 14px; line-height: 1.6; opacity: .7; color:#000 }

/* Oncelikli aksiyonlar */
.oncelik-item { display:flex; gap:14px; padding:14px 0; border-top:1px solid rgba(128,128,128,.12); }
.oncelik-item:first-child { border-top:0; padding-top:0; }
.oncelik-no { width:30px; height:30px; border-radius:50%; background:#6259ca; color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:14px; }
.oncelik-item.hata .oncelik-no { background:#dc3545; }
.oncelik-item.uyari .oncelik-no { background:#e67e22; }
.oncelik-kat { font-size:12px; text-transform:uppercase; letter-spacing:.6px; opacity:.6; }

/* PageSpeed */
.psi-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.psi-skor { text-align:center; padding:14px 8px; border-radius:12px; background:rgba(128,128,128,.06); }
.psi-skor .psi-val { font-size:28px; font-weight:800; line-height:1; }
.psi-skor .psi-ad { font-size:12px; opacity:.7; margin-top:6px; }
.psi-metrik { display:flex; justify-content:space-between; padding:8px 0; border-top:1px solid rgba(128,128,128,.12); font-size:14px; }
@media (max-width:576px){ .psi-grid { grid-template-columns:repeat(2,1fr); } }

/* Paylas / rozet */
.rozet-onizleme { display:inline-block; padding:10px; border-radius:12px; background:rgba(128,128,128,.06); }
.kod-kutu { font-family:Consolas,Menlo,monospace; font-size:12px; background:#0f1419; color:#e5e7eb; padding:12px 14px; border-radius:10px; word-break:break-all; white-space:pre-wrap; }
.paylas-link { font-family:Consolas,Menlo,monospace; font-size:13px; }

/* Kategori kartlari */
.kategori-card { margin-bottom: 10px; border-radius: 10px !important; overflow: hidden; transition: transform 0.2s; }
.kategori-card:hover { transform: translateY(-1px); }
.kategori-header { cursor: pointer; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; transition: all 0.2s; }
.kategori-header .kat-left { display: flex; align-items: center; gap: 14px; }
.kategori-header .kat-icon-wrap { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.kategori-header .kat-right { display: flex; align-items: center; gap: 10px; }
.kategori-header .kat-puan { font-size: 15px; font-weight: 700; }
.kategori-header .kat-chevron { transition: transform 0.3s; font-size: 16px; opacity: .5; }
.kategori-header.open .kat-chevron { transform: rotate(180deg); }
.kategori-body { display: none; }
.kategori-body.show { display: block; }
.progress-thin { height: 5px; border-radius: 3px; }

/* Kontrol satirlari */
.kontrol-item { padding: 12px 20px; border-top: 1px solid rgba(128,128,128,.1); display: flex; align-items: flex-start; gap: 12px; }
.kontrol-icon { font-size: 18px; min-width: 22px; text-align: center; margin-top: 1px; }
.kontrol-icon.basarili { color: #28a745; }
.kontrol-icon.uyari { color: #e67e22; }
.kontrol-icon.hata { color: #dc3545; }

/* FAQ */
.faq-item { border: 1px solid rgba(128,128,128,.15); border-radius: 10px; margin-bottom: 10px; overflow: hidden; }
.faq-soru { padding: 16px 20px; cursor: pointer; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.faq-cevap { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.3s, padding 0.3s; }
.faq-cevap.show { max-height: 300px; padding: 16px 20px; }
.seo-icerik-bolumu h2 { font-size: 1.4rem; margin-top: 2rem; margin-bottom: .8rem; }
.ipucu-item { padding: 12px 0; border-bottom: 1px solid rgba(128,128,128,.1); }

/* Animasyon */
@keyframes fadeInUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.fade-in-up { animation: fadeInUp 0.5s ease forwards; }
