:root {
      --navy: #0d1b3e;
      --navy-mid: #142150;
      --accent-orange: #f97316;
      --accent-blue: #2563eb;
      --accent-blue-light: #3b82f6;
      --white: #ffffff;
      --light-bg: #f5f7fb;
      --text-muted-custom: #6b7280;
      --border-light: #e5e7eb;
      --card-shadow: 0 4px 24px rgba(13,27,62,0.10);
      --radius: 14px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      color: #1e2535;
      background: #fff;
      line-height: 1.7;
      overflow-x: hidden;
    }

    a { text-decoration: none; }

    /* ===== TOPBAR ===== */
    #topbar {
      background: var(--navy);
      color: rgba(255,255,255,0.85);
      font-size: 0.82rem;
      padding: 9px 0;
    }

    .trust-msg { display: flex; align-items: center; gap: 6px; font-weight: 500; }
    .trust-msg i { color: #f97316; }

    .topbar-social { display: flex; align-items: center; gap: 4px; }
    .topbar-social a {
      display: inline-flex; align-items: center; justify-content: center;
      width: 28px; height: 28px; border-radius: 6px;
      color: rgba(255,255,255,0.65); font-size: 0.95rem;
      transition: color 0.18s, background 0.18s;
    }
    .topbar-social a:hover { color: #fff; background: rgba(255,255,255,0.12); }

    /* ===== NAVBAR ===== */
    #mainNav {
      background: #fff;
      box-shadow: 0 2px 16px rgba(13,27,62,0.10);
      padding: 0;
      position: sticky;
      top: 0;
      z-index: 1060;
    }

    .navbar-inner {
      display: flex; align-items: center;
      justify-content: space-between; min-height: 64px;
    }

    .nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
    .nav-logo-icon {
      width: 42px; height: 42px; border-radius: 10px;
      background: linear-gradient(135deg, var(--navy), var(--accent-blue));
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 1.15rem; flex-shrink: 0;
    }
    .nav-logo-name { font-size: 1.05rem; font-weight: 800; color: var(--navy); display: block; }
    .nav-logo-name span { color: var(--accent-orange); }
    .nav-logo-sub { font-size: 0.68rem; color: var(--text-muted-custom); font-weight: 500; letter-spacing: 0.5px; display: block; }

    .nav-links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
    .nav-links li a {
      display: block; padding: 8px 13px; font-size: 0.88rem; font-weight: 600;
      color: #374151; border-radius: 8px; transition: color 0.18s, background 0.18s;
    }
    .nav-links li a:hover, .nav-links li a.active { color: var(--accent-blue); background: rgba(37,99,235,0.07); }

    .nav-cta-group { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

    .btn-nav-wa {
      background: #25d366; color: #fff; border: none; border-radius: 8px;
      font-size: 0.82rem; font-weight: 700; padding: 8px 14px;
      display: inline-flex; align-items: center; gap: 5px;
      transition: opacity 0.18s; white-space: nowrap;
    }
    .btn-nav-wa:hover { opacity: 0.88; color: #fff; }

    .btn-nav-call {
      background: var(--accent-orange); color: #fff; border: none; border-radius: 8px;
      font-size: 0.82rem; font-weight: 700; padding: 8px 14px;
      display: inline-flex; align-items: center; gap: 5px;
      transition: opacity 0.18s; white-space: nowrap;
    }
    .btn-nav-call:hover { opacity: 0.88; color: #fff; }

    .nav-toggler {
      display: none; background: none; border: 1.5px solid var(--border-light);
      border-radius: 8px; padding: 7px 10px; cursor: pointer;
      color: var(--navy); font-size: 1.25rem; line-height: 1;
    }

    .nav-drawer { display: none; background: #fff; border-top: 1px solid var(--border-light); padding: 16px 0 20px; }
    .nav-drawer.open { display: block; }
    .nav-drawer ul { list-style: none; margin: 0 0 16px; padding: 0; }
    .nav-drawer ul li a {
      display: flex; align-items: center; gap: 8px; padding: 11px 0;
      font-size: 0.95rem; font-weight: 600; color: #374151;
      border-bottom: 1px solid var(--border-light); transition: color 0.18s;
    }
    .nav-drawer ul li a i { width: 20px; text-align: center; color: var(--accent-blue); }
    .nav-drawer ul li a:hover { color: var(--accent-blue); }
    .nav-drawer-btns { display: flex; gap: 10px; }
    .nav-drawer-btns a { flex: 1; justify-content: center; font-size: 0.95rem; padding: 12px 10px; }

    @media (max-width: 991px) {
      .nav-links, .nav-cta-group { display: none; }
      .nav-toggler { display: flex; align-items: center; }
    }

    /* ===== HERO (Blog Kapak) ===== */
    .blog-hero {
      background: linear-gradient(135deg, var(--navy) 0%, #1a3060 60%, #162a58 100%);
      padding: 60px 0 50px;
      position: relative;
      overflow: hidden;
    }

    .blog-hero::before {
      content: '';
      position: absolute;
      width: 400px; height: 400px; border-radius: 50%;
      background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
      top: -80px; right: -60px; pointer-events: none;
    }

    .blog-breadcrumb {
      display: flex; align-items: center; gap: 8px;
      font-size: 0.8rem; color: rgba(255,255,255,0.55);
      margin-bottom: 20px; flex-wrap: wrap;
    }
    .blog-breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.18s; }
    .blog-breadcrumb a:hover { color: #fff; }
    .blog-breadcrumb i { font-size: 0.65rem; }

    .blog-hero-cat {
      display: inline-flex; align-items: center; gap: 6px;
      background: rgba(37,99,235,0.25); border: 1px solid rgba(37,99,235,0.4);
      color: #93c5fd; border-radius: 50px; padding: 4px 14px;
      font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
      text-transform: uppercase; margin-bottom: 16px;
    }

    .blog-hero h1 {
      font-size: clamp(1.6rem, 4vw, 2.4rem);
      font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 20px;
    }

    .blog-hero-meta {
      display: flex; align-items: center; gap: 20px;
      flex-wrap: wrap; margin-bottom: 0;
    }

    .blog-hero-author {
      display: flex; align-items: center; gap: 10px;
    }

    .blog-author-avatar {
      width: 40px; height: 40px; border-radius: 50%;
      background: linear-gradient(135deg, var(--navy), var(--accent-blue));
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-weight: 700; font-size: 0.95rem; flex-shrink: 0;
      border: 2px solid rgba(255,255,255,0.2);
    }

    .blog-author-name { font-size: 0.88rem; font-weight: 700; color: #fff; display: block; }
    .blog-author-role { font-size: 0.74rem; color: rgba(255,255,255,0.55); }

    .blog-hero-info {
      display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    }

    .blog-hero-info span {
      display: flex; align-items: center; gap: 5px;
      font-size: 0.8rem; color: rgba(255,255,255,0.6);
    }

    .blog-hero-info i { font-size: 0.8rem; }

    /* ===== LAYOUT ===== */
    .blog-layout {
      padding: 60px 0 80px;
      background: #fff;
    }

    /* ===== İÇERİK ===== */
    .blog-content {
      max-width: 100%;
    }

    .blog-content h2 {
      font-size: 1.45rem; font-weight: 800;
      color: var(--navy); margin: 40px 0 14px;
      padding-top: 8px;
    }

    .blog-content h3 {
      font-size: 1.15rem; font-weight: 700;
      color: var(--navy); margin: 28px 0 10px;
    }

    .blog-content p {
      font-size: 1rem; color: #374151;
      line-height: 1.8; margin-bottom: 18px;
    }

    .blog-content ul, .blog-content ol {
      padding-left: 0; margin-bottom: 20px; list-style: none;
    }

    .blog-content ul li, .blog-content ol li {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: 0.97rem; color: #374151; margin-bottom: 10px;
      line-height: 1.65;
    }

    .blog-content ul li::before {
      content: '\F26E'; font-family: 'bootstrap-icons';
      color: var(--accent-blue); font-size: 0.9rem;
      flex-shrink: 0; margin-top: 3px;
    }

    .blog-content ol { counter-reset: ol-counter; }
    .blog-content ol li { counter-increment: ol-counter; }
    .blog-content ol li::before {
      content: counter(ol-counter);
      background: var(--accent-blue); color: #fff;
      width: 22px; height: 22px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.72rem; font-weight: 700; flex-shrink: 0; margin-top: 2px;
    }

    .blog-content strong { color: var(--navy); }

    /* Info box */
    .info-box {
      background: rgba(37,99,235,0.06);
      border-left: 4px solid var(--accent-blue);
      border-radius: 0 12px 12px 0;
      padding: 18px 20px;
      margin: 24px 0;
    }

    .info-box-title {
      font-size: 0.85rem; font-weight: 700;
      color: var(--accent-blue); margin-bottom: 6px;
      display: flex; align-items: center; gap: 6px;
    }

    .info-box p { font-size: 0.9rem; margin: 0; color: #374151; }

    /* Warning box */
    .warn-box {
      background: #fff7ed;
      border-left: 4px solid var(--accent-orange);
      border-radius: 0 12px 12px 0;
      padding: 18px 20px;
      margin: 24px 0;
    }

    .warn-box-title {
      font-size: 0.85rem; font-weight: 700;
      color: var(--accent-orange); margin-bottom: 6px;
      display: flex; align-items: center; gap: 6px;
    }

    .warn-box p { font-size: 0.9rem; margin: 0; color: #78350f; }

    /* Stat kartı */
    .stat-highlight-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px; margin: 28px 0;
    }

    @media (max-width: 575px) {
      .stat-highlight-grid { grid-template-columns: 1fr 1fr; }
    }

    .stat-highlight-card {
      background: var(--light-bg);
      border-radius: var(--radius);
      padding: 18px 16px;
      text-align: center;
    }

    .stat-highlight-card .num {
      font-size: 1.6rem; font-weight: 800;
      color: var(--accent-blue); display: block; line-height: 1;
    }

    .stat-highlight-card .lbl {
      font-size: 0.78rem; color: var(--text-muted-custom);
      margin-top: 5px; display: block;
    }

    /* Tablo */
    .blog-table {
      width: 100%; border-collapse: collapse;
      margin: 24px 0; font-size: 0.88rem;
    }

    .blog-table th {
      background: var(--navy); color: #fff;
      padding: 12px 16px; text-align: left;
      font-weight: 700; font-size: 0.82rem;
    }

    .blog-table th:first-child { border-radius: 8px 0 0 0; }
    .blog-table th:last-child { border-radius: 0 8px 0 0; }

    .blog-table td {
      padding: 11px 16px; border-bottom: 1px solid var(--border-light);
      color: #374151;
    }

    .blog-table tr:nth-child(even) td { background: var(--light-bg); }
    .blog-table tr:last-child td:first-child { border-radius: 0 0 0 8px; }
    .blog-table tr:last-child td:last-child { border-radius: 0 0 8px 0; }

    .td-good { color: #16a34a; font-weight: 700; }
    .td-bad  { color: #dc2626; font-weight: 700; }

    /* Divider */
    .blog-divider {
      border: none; border-top: 1px solid var(--border-light);
      margin: 36px 0;
    }

    /* İçindekiler */
    .toc-box {
      background: var(--light-bg);
      border: 1px solid var(--border-light);
      border-radius: var(--radius);
      padding: 22px 24px;
      margin-bottom: 36px;
    }

    .toc-box h6 {
      font-size: 0.78rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1px;
      color: var(--text-muted-custom); margin-bottom: 14px;
      display: flex; align-items: center; gap: 7px;
    }

    .toc-box ol {
      margin: 0; padding: 0; list-style: none;
      counter-reset: toc-counter;
    }

    .toc-box ol li {
      counter-increment: toc-counter;
      margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
    }

    .toc-box ol li::before {
      content: counter(toc-counter);
      background: var(--accent-blue); color: #fff;
      width: 20px; height: 20px; border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 0.68rem; font-weight: 700; flex-shrink: 0;
    }

    .toc-box ol li a {
      font-size: 0.88rem; font-weight: 500; color: var(--navy);
      transition: color 0.18s;
    }

    .toc-box ol li a:hover { color: var(--accent-blue); }

    /* ===== SIDEBAR ===== */
    .blog-sidebar { position: sticky; top: 80px; }

    .sidebar-card {
      background: #fff;
      border: 1px solid var(--border-light);
      border-radius: var(--radius);
      padding: 22px 20px;
      margin-bottom: 20px;
      box-shadow: var(--card-shadow);
    }

    .sidebar-card h6 {
      font-size: 0.78rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: 1px;
      color: var(--text-muted-custom); margin-bottom: 16px;
      display: flex; align-items: center; gap: 7px;
    }

    .sidebar-card h6 i { color: var(--accent-blue); }

    /* Yazar kutusu */
    .sidebar-author {
      text-align: center;
    }

    .sidebar-author-avatar {
      width: 64px; height: 64px; border-radius: 50%;
      background: linear-gradient(135deg, var(--navy), var(--accent-blue));
      display: flex; align-items: center; justify-content: center;
      color: #fff; font-size: 1.6rem; margin: 0 auto 12px;
    }

    .sidebar-author-name { font-size: 1rem; font-weight: 800; color: var(--navy); }
    .sidebar-author-role { font-size: 0.78rem; color: var(--text-muted-custom); margin-bottom: 12px; }
    .sidebar-author-desc { font-size: 0.82rem; color: #4b5563; line-height: 1.55; margin-bottom: 16px; }

    .btn-sidebar-wa {
      display: flex; align-items: center; justify-content: center; gap: 7px;
      background: #25d366; color: #fff; border: none; border-radius: 9px;
      font-size: 0.88rem; font-weight: 700; padding: 10px 16px; width: 100%;
      transition: opacity 0.18s;
    }
    .btn-sidebar-wa:hover { opacity: 0.88; color: #fff; }

    /* İlgili yazılar */
    .related-post {
      display: flex; gap: 12px; padding: 10px 0;
      border-bottom: 1px solid var(--border-light);
    }

    .related-post:last-child { border-bottom: none; padding-bottom: 0; }

    .related-post-img {
      width: 54px; height: 54px; border-radius: 8px;
      flex-shrink: 0; display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem; color: rgba(255,255,255,0.5);
    }

    .related-post-title {
      font-size: 0.82rem; font-weight: 600; color: var(--navy);
      line-height: 1.35; margin-bottom: 4px;
      display: block; transition: color 0.18s;
    }

    .related-post-title:hover { color: var(--accent-blue); }
    .related-post-date { font-size: 0.72rem; color: var(--text-muted-custom); }

    /* Tag cloud */
    .tag-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
    .tag-item {
      background: var(--light-bg); border: 1px solid var(--border-light);
      border-radius: 6px; padding: 4px 10px; font-size: 0.76rem;
      font-weight: 600; color: #374151; transition: background 0.18s, color 0.18s, border-color 0.18s;
    }
    .tag-item:hover { background: var(--accent-blue); color: #fff; border-color: var(--accent-blue); }

    /* ===== CTA KUTUSU ===== */
    .blog-cta-box {
      background: linear-gradient(135deg, var(--navy), #1c3468);
      border-radius: 18px;
      padding: 36px 32px;
      margin-top: 48px;
      display: flex; align-items: center;
      justify-content: space-between; gap: 24px; flex-wrap: wrap;
    }

    .blog-cta-icon { font-size: 2.5rem; color: #4ade80; flex-shrink: 0; }

    .blog-cta-title { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 6px; }
    .blog-cta-sub { font-size: 0.9rem; color: rgba(255,255,255,0.65); }

    .btn-blog-cta {
      background: var(--accent-orange); color: #fff; border: none; border-radius: 11px;
      font-size: 0.95rem; font-weight: 700; padding: 13px 24px;
      display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
      transition: transform 0.18s, box-shadow 0.18s;
      box-shadow: 0 4px 18px rgba(249,115,22,0.4); flex-shrink: 0;
    }
    .btn-blog-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(249,115,22,0.5); color: #fff; }

    @media (max-width: 576px) {
      .blog-cta-box { flex-direction: column; padding: 26px 20px; }
      .btn-blog-cta { width: 100%; justify-content: center; }
    }

    /* ===== GERİ DÖNÜŞ ===== */
    .back-link {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 0.85rem; font-weight: 600; color: var(--text-muted-custom);
      margin-bottom: 28px; transition: color 0.18s;
    }
    .back-link:hover { color: var(--accent-blue); }

    /* ===== FOOTER ===== */
    footer {
      background: var(--navy);
      color: rgba(255,255,255,0.75);
      padding: 40px 0;
    }

    .footer-bottom-inner {
      display: flex; justify-content: space-between; align-items: center;
      flex-wrap: wrap; gap: 12px;
    }

    .footer-logo-text { font-size: 1.1rem; font-weight: 800; color: #fff; }
    .footer-logo-text span { color: var(--accent-orange); }

    footer p { font-size: 0.8rem; color: rgba(255,255,255,0.4); margin: 0; }

    .footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
    .footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); transition: color 0.18s; }
    .footer-links a:hover { color: rgba(255,255,255,0.75); }

    /* Sticky mobil */
    .sticky-mobile-btns {
      position: fixed; bottom: 0; left: 0; right: 0;
      z-index: 2000; display: flex;
      box-shadow: 0 -2px 20px rgba(0,0,0,0.18);
    }

    .sticky-btn {
      flex: 1; display: flex; align-items: center; justify-content: center;
      gap: 8px; font-size: 0.95rem; font-weight: 700; color: #fff;
      padding: 14px 10px; border: none; transition: filter 0.18s; text-decoration: none;
    }
    .sticky-btn:hover { filter: brightness(0.92); color: #fff; }
    .sticky-btn-wa { background: #25d366; }
    .sticky-btn-call { background: var(--accent-orange); }

    @media (min-width: 768px) {
      .sticky-mobile-btns { display: none !important; }
    }

    .pb-sticky { padding-bottom: 60px; }
    @media (min-width: 768px) { .pb-sticky { padding-bottom: 0; } }

    [id] { scroll-margin-top: 80px; }