/**
 * page-detail.css — REV-107 Premium Mobile-First Yasal Metin Tasarimi
 * Gizlilik Politikasi, KVKK, Aydinlatma Metni, Sozlesmeler icin ortak sayfa.
 *
 * Mobile-first: Tum degerler once mobil icin tanimlanir, sonra tablet/desktop
 * icin media query ile artirilir. Boylece ozellikle 320-414px ekranlarda
 * mukemmel okunabilir ve "premium guven veren" bir izlenim birakir.
 */

/* ===================== TOKENS ===================== */
:root {
    --pd-bg: #f7f8fb;
    --pd-surface: #ffffff;
    --pd-surface-2: #fafbfd;
    --pd-border: #eef0f4;
    --pd-border-strong: #e2e5eb;
    --pd-text: #0f172a;
    --pd-text-2: #334155;
    --pd-text-muted: #64748b;
    --pd-text-faint: #94a3b8;
    --pd-accent: #E31E24;
    --pd-accent-dark: #b91c1f;
    --pd-accent-soft: #fef2f2;
    --pd-ink-1: #0b1220;
    --pd-ink-2: #111827;
    --pd-shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --pd-shadow-md: 0 10px 30px rgba(15, 23, 42, 0.06);
    --pd-shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.08);
    --pd-radius: 14px;
    --pd-radius-lg: 20px;
    --pd-radius-xl: 28px;
    --pd-font-body: 'Poppins', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --pd-font-head: 'Montserrat', 'Poppins', 'Inter', system-ui, sans-serif;
}

/* ===================== BODY BG ===================== */
body.pagedetail-body {
    background: var(--pd-bg);
    font-family: var(--pd-font-body);
    color: var(--pd-text);
}

/* ===================== SCROLL PROGRESS ===================== */
.pd-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    z-index: 9999;
    pointer-events: none;
}
.pd-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--pd-accent), #ff5a5f, var(--pd-accent-dark));
    background-size: 200% 100%;
    animation: pdProgressShimmer 4s ease infinite;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(227, 30, 36, 0.5);
}
@keyframes pdProgressShimmer {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===================== HERO ===================== */
.pd-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(1200px 500px at 90% -10%, rgba(227,30,36,0.25), transparent 60%),
        radial-gradient(900px 400px at -10% 110%, rgba(59,130,246,0.18), transparent 60%),
        linear-gradient(135deg, #0b1220 0%, #111827 50%, #1a1f35 100%);
    padding: 2.25rem 0 2.75rem;
    margin-bottom: 0;
}
.pd-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.pd-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
}
.pd-hero-blob-1 {
    width: 260px; height: 260px;
    background: radial-gradient(circle, #E31E24, transparent 70%);
    top: -60px; right: -40px;
    animation: pdFloat1 14s ease-in-out infinite;
}
.pd-hero-blob-2 {
    width: 220px; height: 220px;
    background: radial-gradient(circle, #6366f1, transparent 70%);
    bottom: -70px; left: -60px;
    animation: pdFloat2 18s ease-in-out infinite;
}
@keyframes pdFloat1 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(-30px,40px) scale(1.1);} }
@keyframes pdFloat2 { 0%,100%{transform:translate(0,0) scale(1);} 50%{transform:translate(40px,-30px) scale(0.95);} }

.pd-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 40%, transparent 75%);
}

.pd-hero .container {
    position: relative;
    z-index: 2;
}

/* Breadcrumb */
.pd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.9rem;
    flex-wrap: wrap;
}
.pd-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 0.25rem 0.6rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}
.pd-breadcrumb a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.pd-breadcrumb a i { font-size: 0.8rem; color: #fca5a5; }
.pd-breadcrumb-sep { opacity: 0.5; font-size: 0.68rem; }
.pd-breadcrumb-current {
    color: rgba(255,255,255,0.95);
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    background: rgba(227,30,36,0.2);
    border: 1px solid rgba(227,30,36,0.3);
    border-radius: 999px;
}

.pd-hero-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.85rem;
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}
.pd-hero-badge {
    display: none;
}

.pd-hero-icon-wrap {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    grid-row: span 2;
}
.pd-hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), rgba(255,255,255,0) 60%),
        linear-gradient(135deg, #ef4444 0%, #E31E24 55%, #991b1b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    box-shadow:
        0 10px 24px rgba(227,30,36,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
}
.pd-hero-icon::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 16px;
    border: 1px solid rgba(227,30,36,0.3);
    animation: pdPulse 2.8s ease infinite;
}
@keyframes pdPulse {
    0%,100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0; }
}

.pd-hero-title {
    font-family: var(--pd-font-head);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.pd-hero-subtitle {
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255,255,255,0.7);
    margin: 0.2rem 0 0;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pd-hero-meta {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 0;
}
.pd-hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    backdrop-filter: blur(16px);
    text-align: left;
    transition: all 0.25s ease;
}
.pd-hero-meta-item:hover {
    background: rgba(255,255,255,0.11);
    border-color: rgba(255,255,255,0.22);
}
.pd-hero-meta-item > i {
    width: auto;
    height: auto;
    flex: 0 0 auto;
    border-radius: 0;
    background: transparent;
    color: #fca5a5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
}
.pd-hero-meta-item > div {
    display: inline-flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.3rem;
    line-height: 1;
    min-width: 0;
}
.pd-meta-label {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.pd-meta-value {
    font-size: 0.72rem;
    color: #fff;
    font-weight: 600;
}

/* Wave */
.pd-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
    pointer-events: none;
}
.pd-hero-wave svg {
    display: block;
    width: 100%;
    height: 28px;
}
.pd-hero-wave svg path { fill: var(--pd-bg); }

/* ===================== MAIN LAYOUT ===================== */
.pd-main {
    padding: 1.25rem 0 3rem;
    position: relative;
    z-index: 1;
}
.pd-main .container {
    position: relative;
    z-index: 1;
}
.pd-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 0;
}

/* ===================== TOC (ICINDEKILER) ===================== */
.pd-toc {
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius);
    box-shadow: var(--pd-shadow-md);
    overflow: hidden;
}
.pd-toc-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.15rem;
    background: var(--pd-surface);
    border: 0;
    font-family: inherit;
    font-weight: 700;
    color: var(--pd-text);
    font-size: 0.95rem;
    cursor: pointer;
}
.pd-toc-toggle-left {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.pd-toc-toggle-left i {
    width: 30px; height: 30px;
    border-radius: 9px;
    background: var(--pd-accent-soft);
    color: var(--pd-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.pd-toc-chevron {
    color: var(--pd-text-muted);
    transition: transform 0.25s ease;
}
.pd-toc-toggle[aria-expanded="true"] .pd-toc-chevron {
    transform: rotate(180deg);
}

.pd-toc-inner {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-top: 1px solid var(--pd-border);
}
.pd-toc-inner.pd-toc-open { max-height: 1200px; }

.pd-toc-header {
    display: none;
}

.pd-toc-list {
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--pd-border-strong) transparent;
}
.pd-toc-list::-webkit-scrollbar { width: 6px; }
.pd-toc-list::-webkit-scrollbar-thumb { background: var(--pd-border-strong); border-radius: 4px; }

.pd-toc-link {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.65rem 0.75rem;
    color: var(--pd-text-2);
    text-decoration: none;
    font-size: 0.86rem;
    line-height: 1.45;
    border-radius: 9px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
}
.pd-toc-link:hover {
    background: var(--pd-surface-2);
    color: var(--pd-text);
}
.pd-toc-link.active {
    background: linear-gradient(90deg, var(--pd-accent-soft), transparent);
    color: var(--pd-accent);
    border-left-color: var(--pd-accent);
    font-weight: 600;
}
.pd-toc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 22px;
    padding: 0 6px;
    border-radius: 6px;
    background: var(--pd-surface-2);
    color: var(--pd-text-muted);
    font-size: 0.68rem;
    font-weight: 700;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    margin-top: 1px;
    transition: all 0.2s ease;
}
.pd-toc-link.active .pd-toc-num {
    background: var(--pd-accent);
    color: #fff;
}
.pd-toc-text { flex: 1; min-width: 0; }

.pd-toc-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--pd-border);
    background: var(--pd-surface-2);
}
.pd-toc-read {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--pd-text-muted);
}
.pd-toc-read i { color: var(--pd-accent); }

/* ===================== ARTICLE ===================== */
.pd-article {
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-lg);
    box-shadow: var(--pd-shadow-md);
    overflow: hidden;
    position: relative;
}
.pd-article::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pd-accent), #ff5a5f, var(--pd-accent));
    background-size: 200% 100%;
    animation: pdProgressShimmer 6s ease infinite;
}
.pd-article-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--pd-border);
    flex-wrap: wrap;
}
.pd-article-head-left { flex: 1; min-width: 0; }
.pd-article-kicker {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pd-accent);
    margin-bottom: 0.35rem;
    padding: 0.25rem 0.6rem;
    background: var(--pd-accent-soft);
    border-radius: 6px;
}
.pd-article-title {
    font-family: var(--pd-font-head);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--pd-ink-2);
    margin: 0.25rem 0 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}
.pd-article-actions {
    display: inline-flex;
    gap: 0.5rem;
}
.pd-icon-btn {
    width: 38px; height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--pd-surface-2);
    border: 1px solid var(--pd-border);
    color: var(--pd-text-2);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}
.pd-icon-btn:hover {
    background: var(--pd-accent-soft);
    color: var(--pd-accent);
    border-color: #fecaca;
    transform: translateY(-2px);
}

/* ===================== ARTICLE BODY (rich content) ===================== */
.pd-article-body {
    padding: 1.5rem 1.25rem;
    color: var(--pd-text-2);
    font-size: 0.95rem;
    line-height: 1.8;
    word-wrap: break-word;
}
.pd-article-body > *:first-child { margin-top: 0; }
.pd-article-body > *:last-child { margin-bottom: 0; }

.pd-article-body h1,
.pd-article-body h2,
.pd-article-body h3,
.pd-article-body h4,
.pd-article-body h5,
.pd-article-body h6 {
    font-family: var(--pd-font-head);
    color: var(--pd-ink-2);
    letter-spacing: -0.01em;
    scroll-margin-top: 90px;
}

.pd-article-body h2 {
    position: relative;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 2.25rem 0 1rem;
    padding: 0.75rem 0.25rem 0.75rem 1rem;
    background: linear-gradient(90deg, var(--pd-accent-soft), rgba(254,242,242,0));
    border-left: 4px solid var(--pd-accent);
    border-radius: 0 10px 10px 0;
}
.pd-article-body h2:first-child { margin-top: 0; }

.pd-article-body h3 {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--pd-ink-1);
    margin: 1.75rem 0 0.75rem;
    padding-left: 0.85rem;
    border-left: 3px solid var(--pd-accent);
    line-height: 1.4;
}

.pd-article-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pd-ink-1);
    margin: 1.5rem 0 0.5rem;
}

.pd-article-body p {
    margin: 0 0 1rem;
}

.pd-article-body strong,
.pd-article-body b {
    color: var(--pd-ink-2);
    font-weight: 700;
}

.pd-article-body a {
    color: var(--pd-accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(227,30,36,0.35);
    transition: all 0.2s ease;
    word-break: break-word;
}
.pd-article-body a:hover {
    color: var(--pd-accent-dark);
    border-bottom-style: solid;
}

.pd-article-body ul,
.pd-article-body ol {
    margin: 0.75rem 0 1.25rem;
    padding-left: 1.5rem;
}
.pd-article-body ul { list-style: none; padding-left: 0; }
.pd-article-body ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.55rem;
}
.pd-article-body ul li::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.65rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pd-accent);
    box-shadow: 0 0 0 4px var(--pd-accent-soft);
}
.pd-article-body ol {
    counter-reset: pdol;
    list-style: none;
    padding-left: 0;
}
.pd-article-body ol li {
    counter-increment: pdol;
    position: relative;
    padding-left: 2.25rem;
    margin-bottom: 0.55rem;
}
.pd-article-body ol li::before {
    content: counter(pdol);
    position: absolute;
    left: 0;
    top: 0.1rem;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--pd-accent), var(--pd-accent-dark));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(227,30,36,0.28);
}

.pd-article-body blockquote {
    margin: 1.5rem 0;
    padding: 1.1rem 1.25rem 1.1rem 1.4rem;
    background: var(--pd-surface-2);
    border-left: 4px solid var(--pd-accent);
    border-radius: 0 12px 12px 0;
    color: var(--pd-text-2);
    font-style: italic;
    position: relative;
}
.pd-article-body blockquote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 3rem;
    color: var(--pd-accent);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.25;
}

.pd-article-body hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pd-border-strong), transparent);
    margin: 2rem 0;
}

.pd-article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.88rem;
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: 10px;
    overflow: hidden;
    display: block;
    overflow-x: auto;
}
.pd-article-body table thead { background: var(--pd-ink-2); }
.pd-article-body table th {
    background: var(--pd-ink-2);
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 0.85rem;
    text-align: left;
    white-space: nowrap;
}
.pd-article-body table td {
    padding: 0.7rem 0.85rem;
    border-top: 1px solid var(--pd-border);
    color: var(--pd-text-2);
}
.pd-article-body table tr:hover td { background: var(--pd-surface-2); }

.pd-article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
    box-shadow: var(--pd-shadow-sm);
}

.pd-article-body code {
    font-family: 'JetBrains Mono', Consolas, monospace;
    background: #0f172a;
    color: #fecaca;
    padding: 0.15rem 0.45rem;
    border-radius: 5px;
    font-size: 0.85em;
}

/* Article footer */
.pd-article-footer {
    padding: 1.25rem;
    background: var(--pd-surface-2);
    border-top: 1px solid var(--pd-border);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}
.pd-article-footer-note {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--pd-text-muted);
    line-height: 1.5;
}
.pd-article-footer-note i {
    color: var(--pd-accent);
    font-size: 1rem;
    margin-top: 1px;
}
.pd-article-footer-note strong { color: var(--pd-ink-2); }

.pd-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.5rem;
    background: var(--pd-ink-2);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.pd-back-btn:hover {
    background: var(--pd-accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(227,30,36,0.3);
}
.pd-back-btn i { transition: transform 0.2s ease; }
.pd-back-btn:hover i { transform: translateX(-4px); }

/* ===================== TRUST / GUVEN ===================== */
.pd-trust {
    margin-top: 2.5rem;
    padding: 2rem 1rem;
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-lg);
    box-shadow: var(--pd-shadow-sm);
}
.pd-trust-header { text-align: center; margin-bottom: 1.75rem; }
.pd-section-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pd-accent);
    padding: 0.3rem 0.75rem;
    background: var(--pd-accent-soft);
    border-radius: 999px;
    margin-bottom: 0.6rem;
}
.pd-section-title {
    font-family: var(--pd-font-head);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--pd-ink-2);
    margin: 0 0 0.4rem;
    letter-spacing: -0.01em;
}
.pd-section-subtitle {
    color: var(--pd-text-muted);
    font-size: 0.9rem;
    margin: 0 auto;
    max-width: 520px;
    line-height: 1.6;
}

.pd-trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}
.pd-trust-card {
    padding: 1.15rem;
    background: var(--pd-surface-2);
    border: 1px solid var(--pd-border);
    border-radius: 14px;
    transition: all 0.28s ease;
    position: relative;
    overflow: hidden;
}
.pd-trust-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(227,30,36,0.05), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.pd-trust-card:hover {
    transform: translateY(-3px);
    border-color: var(--pd-border-strong);
    box-shadow: var(--pd-shadow-md);
}
.pd-trust-card:hover::before { opacity: 1; }
.pd-trust-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}
.pd-trust-icon-red    { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #dc2626; }
.pd-trust-icon-blue   { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #2563eb; }
.pd-trust-icon-green  { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #059669; }
.pd-trust-icon-purple { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #7c3aed; }

.pd-trust-card h4 {
    font-family: var(--pd-font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--pd-ink-2);
    margin: 0 0 0.4rem;
    position: relative;
    z-index: 1;
}
.pd-trust-card p {
    font-size: 0.86rem;
    color: var(--pd-text-muted);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ===================== CTA ===================== */
.pd-cta {
    margin-top: 2rem;
    border-radius: var(--pd-radius-xl);
    overflow: hidden;
    position: relative;
    color: #fff;
    background:
        radial-gradient(600px 300px at 110% 10%, rgba(227,30,36,0.35), transparent 60%),
        radial-gradient(400px 300px at -10% 110%, rgba(99,102,241,0.25), transparent 60%),
        linear-gradient(135deg, #0b1220, #1a1f35);
    box-shadow: var(--pd-shadow-lg);
}
.pd-cta-inner {
    padding: 2rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
}
.pd-cta-text { text-align: center; }
.pd-cta-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fca5a5;
    padding: 0.3rem 0.8rem;
    background: rgba(227,30,36,0.2);
    border: 1px solid rgba(227,30,36,0.35);
    border-radius: 999px;
    margin-bottom: 0.75rem;
}
.pd-cta-text h3 {
    font-family: var(--pd-font-head);
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.55rem;
    letter-spacing: -0.01em;
}
.pd-cta-text p {
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}
.pd-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.pd-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.95rem 1.4rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.pd-cta-btn-primary {
    background: linear-gradient(135deg, var(--pd-accent), var(--pd-accent-dark));
    color: #fff;
    box-shadow: 0 10px 24px rgba(227,30,36,0.35);
}
.pd-cta-btn-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(227,30,36,0.45);
    filter: brightness(1.05);
}
.pd-cta-btn-ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
}
.pd-cta-btn-ghost:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    transform: translateY(-2px);
}

/* ===================== BACK TO TOP ===================== */
.pd-back-top {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, var(--pd-accent), var(--pd-accent-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 24px rgba(227,30,36,0.4);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1040;
}
.pd-back-top.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.pd-back-top:hover {
    transform: translateY(-4px) scale(1.05);
    filter: brightness(1.1);
}
/* Mobil alt navigation varsa yukari kaydir */
body.has-mobile-nav .pd-back-top { bottom: 78px; }

/* ===================== 404 ===================== */
.pd-main-404 { padding: 4rem 0; }
.pd-404 {
    max-width: 480px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1.25rem;
    background: var(--pd-surface);
    border: 1px solid var(--pd-border);
    border-radius: var(--pd-radius-lg);
    box-shadow: var(--pd-shadow-md);
}
.pd-404-icon {
    width: 84px; height: 84px;
    margin: 0 auto 1.25rem;
    background: var(--pd-accent-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pd-accent);
    font-size: 2.4rem;
    animation: pdPulse2 2.4s ease infinite;
}
@keyframes pdPulse2 { 0%,100%{transform:scale(1);} 50%{transform:scale(1.08);} }
.pd-404 h1 {
    font-family: var(--pd-font-head);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--pd-ink-2);
    margin: 0 0 0.6rem;
}
.pd-404 p {
    color: var(--pd-text-muted);
    font-size: 0.95rem;
    margin: 0 0 1.5rem;
}
.pd-404-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(135deg, var(--pd-accent), var(--pd-accent-dark));
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(227,30,36,0.3);
    transition: all 0.25s ease;
}
.pd-404-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* ===================== TABLET (>=768px) ===================== */
@media (min-width: 768px) {
    .pd-hero { padding: 2.75rem 0 3.25rem; }
    .pd-hero-title { font-size: 1.65rem; }
    .pd-hero-subtitle { font-size: 0.88rem; -webkit-line-clamp: unset; display: block; overflow: visible; }
    .pd-hero-icon { width: 60px; height: 60px; font-size: 1.6rem; border-radius: 14px; }
    .pd-hero-inner { gap: 1.1rem; }
    .pd-hero-meta { gap: 0.55rem; margin-top: 1rem; }
    .pd-hero-meta-item { padding: 0.4rem 0.8rem; }
    .pd-meta-label { font-size: 0.65rem; }
    .pd-meta-value { font-size: 0.8rem; }
    .pd-hero-wave svg { height: 42px; }

    .pd-article-head { padding: 1.75rem 2rem 1.5rem; }
    .pd-article-title { font-size: 1.65rem; }
    .pd-article-body { padding: 2rem; font-size: 1rem; }
    .pd-article-body h2 { font-size: 1.4rem; padding: 0.9rem 1rem 0.9rem 1.25rem; }
    .pd-article-body h3 { font-size: 1.15rem; }

    .pd-article-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 1.5rem 2rem;
    }
    .pd-article-footer-note { flex: 1; }

    .pd-trust { padding: 2.5rem 2rem; }
    .pd-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .pd-section-title { font-size: 1.75rem; }

    .pd-cta-inner {
        grid-template-columns: 1.3fr 1fr;
        padding: 2.5rem 2rem;
        gap: 2rem;
    }
    .pd-cta-text { text-align: left; }
    .pd-cta-text h3 { font-size: 1.7rem; }

    .pd-back-top { width: 52px; height: 52px; right: 24px; bottom: 24px; }
    body.has-mobile-nav .pd-back-top { bottom: 24px; }

    .pd-404 { padding: 3rem 2rem; }
    .pd-404 h1 { font-size: 2rem; }
}

/* ===================== DESKTOP (>=992px) ===================== */
@media (min-width: 992px) {
    .pd-hero { padding: 3.25rem 0 3.75rem; }
    .pd-hero-title { font-size: 1.95rem; letter-spacing: -0.02em; }
    .pd-hero-subtitle { font-size: 0.95rem; }

    /* TOC sidebar'a donusur */
    .pd-layout {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
        align-items: start;
        margin-top: 0;
    }
    .pd-toc {
        position: sticky;
        top: 90px;
        max-height: calc(100vh - 110px);
        display: flex;
        flex-direction: column;
    }
    .pd-toc-toggle { display: none; }
    .pd-toc-inner {
        max-height: none !important;
        overflow: hidden;
        border-top: 0;
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }
    .pd-toc-header {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 1rem 1.15rem;
        font-family: var(--pd-font-head);
        font-weight: 800;
        color: var(--pd-ink-2);
        font-size: 0.92rem;
        border-bottom: 1px solid var(--pd-border);
        letter-spacing: 0.02em;
        background: var(--pd-surface-2);
    }
    .pd-toc-header i {
        color: var(--pd-accent);
        font-size: 1.05rem;
    }
    .pd-toc-list {
        flex: 1;
        min-height: 0;
        padding: 0.6rem;
        max-height: none;
    }

    .pd-article-head { padding: 2rem 2.5rem 1.75rem; }
    .pd-article-title { font-size: 1.85rem; }
    .pd-article-body { padding: 2.5rem; font-size: 1.02rem; line-height: 1.85; }
    .pd-article-body h2 { font-size: 1.5rem; margin-top: 2.75rem; }
    .pd-article-body h3 { font-size: 1.2rem; }
    .pd-article-footer { padding: 1.75rem 2.5rem; }

    .pd-trust { margin-top: 3rem; padding: 3rem 2.5rem; }
    .pd-trust-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
    .pd-trust-card { padding: 1.4rem; }
    .pd-trust-card h4 { font-size: 1.05rem; }

    .pd-section-title { font-size: 2rem; }

    .pd-cta { margin-top: 2.5rem; }
    .pd-cta-inner { padding: 3rem 2.5rem; }
    .pd-cta-text h3 { font-size: 1.9rem; }
    .pd-cta-actions { flex-direction: row; justify-content: flex-end; flex-wrap: wrap; }
}

/* ===================== LARGE (>=1200px) ===================== */
@media (min-width: 1200px) {
    .pd-layout { grid-template-columns: 300px 1fr; gap: 2.5rem; }
    .pd-hero-title { font-size: 2.15rem; }
}

/* ===================== PRINT ===================== */
@media print {
    .pd-progress, .pd-back-top, .pd-article-actions, .pd-toc,
    .pd-hero-blob, .pd-hero-grid, .pd-hero-wave,
    .pd-trust, .pd-cta, .pd-article-footer,
    .breadcrumb-section, header, footer, .mobile-bottom-nav {
        display: none !important;
    }
    body.pagedetail-body { background: #fff; }
    .pd-hero {
        background: #fff !important;
        color: #111 !important;
        padding: 1rem 0 !important;
    }
    .pd-hero-badge, .pd-hero-icon-wrap, .pd-breadcrumb { display: none !important; }
    .pd-hero-title { color: #111 !important; font-size: 1.5rem !important; }
    .pd-hero-subtitle, .pd-hero-meta { display: none !important; }
    .pd-article {
        box-shadow: none !important;
        border: 0 !important;
    }
    .pd-article::before { display: none !important; }
    .pd-main { padding: 0; }
    .pd-layout { grid-template-columns: 1fr !important; margin-top: 0 !important; }
    .pd-article-body { padding: 0 !important; color: #111 !important; font-size: 11pt !important; }
    .pd-article-body h2 {
        background: #f5f5f5 !important;
        color: #111 !important;
        border-left-color: #E31E24 !important;
    }
    .pd-article-body a { color: #111 !important; border-bottom: 0; }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
    .pd-hero-blob-1, .pd-hero-blob-2, .pd-progress-bar, .pd-hero-icon::before,
    .pd-404-icon, .pd-article::before {
        animation: none !important;
    }
}
