/* 
  GEO (Generative Engine Optimization) Blog Styles
  Premium Glassmorphism & AI-Friendly UI
*/

/* 1. TOC (İçindekiler) Card */
.geo-toc-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body:not(.dark) .geo-toc-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

.geo-toc-header {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--bs-primary, #0d6efd);
    border-bottom: 1px solid rgba(128, 128, 128, 0.2);
    padding-bottom: 12px;
}

.geo-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.geo-toc-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.geo-toc-list li::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--bs-primary, #0d6efd);
    opacity: 0.6;
    font-size: 14px;
}

.geo-toc-list li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.2s ease;
}

body:not(.dark) .geo-toc-list li a {
    color: #334155;
}

.geo-toc-list li a:hover {
    color: var(--bs-primary, #0d6efd);
    padding-left: 4px;
}

.toc-h3 {
    margin-left: 20px;
    font-size: 14px !important;
}

/* 2. TL;DR (Önemli Çıkarımlar) Box */
.geo-tldr-box {
    background: linear-gradient(135deg, rgba(var(--cl1), 0.1) 0%, rgba(var(--cl1), 0.02) 100%);
    border-left: 4px solid rgba(var(--cl1));
    border-radius: 0 12px 12px 0;
    padding: 20px;
    margin-bottom: 30px;
}
.geo-tldr-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: rgba(var(--txtall));
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.geo-tldr-box h3 i {
    color: rgba(var(--cl1));
}
.geo-tldr-box ul {
    margin: 0;
    padding-left: 20px;
    color: rgba(var(--txtall), 0.9);
}
.geo-tldr-box ul li {
    margin-bottom: 6px;
}

/* 3. E-E-A-T Author Card (Glassmorphism) */
.author-eeat-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}
body:not(.dark) .author-eeat-card {
    background: #ffffff !important;
    border-color: rgba(0,0,0,0.05) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.author-eeat-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: rgba(var(--cl1), 0.3);
    filter: blur(40px);
    border-radius: 50%;
    pointer-events: none;
}

.author-eeat-card h4 {
    color: rgba(var(--txtall));
}

/* 4. Article typography enhancements for AI crawling */
.post-body h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 800;
    scroll-margin-top: 100px; /* Anchor link offset */
}
.post-body h3 {
    margin-top: 30px;
    margin-bottom: 12px;
    font-weight: 700;
    scroll-margin-top: 100px;
}

/* Premium In-Article CTA */
.blog-seo-cta-card {
    position: relative;
    background: linear-gradient(135deg, #141824 0%, #1a2030 100%);
    border-radius: 20px;
    padding: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}
body:not(.dark) .blog-seo-cta-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}
.bs-cta-inner {
    position: relative;
    z-index: 2;
}
.bs-cta-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(225, 29, 72, 0.1);
    color: #e11d48;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 15px;
}
.bs-cta-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #fff;
}
body:not(.dark) .bs-cta-title { color: #0f172a; }

.bs-cta-desc {
    font-size: 15px;
    color: #94a3b8;
    margin-bottom: 20px;
}
body:not(.dark) .bs-cta-desc { color: #475569; }

.bs-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.btn-cta-primary, .btn-cta-dark, .btn-cta-light {
    padding: 10px 18px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}
.btn-cta-primary {
    background: #e11d48;
    color: #fff;
}
.btn-cta-primary:hover { background: #be123c; color: #fff; transform: translateY(-2px); }

.btn-cta-dark {
    background: #000;
    color: #fff;
}
.btn-cta-dark:hover { background: #111; color: #fff; transform: translateY(-2px); }

.btn-cta-light {
    background: #ff0000;
    color: #fff;
}
.btn-cta-light:hover { background: #cc0000; color: #fff; transform: translateY(-2px); }
