/*!
 * Wuffi Pet — Public Static Pages Stylesheet
 * Used by: legal pages (KVKK, Gizlilik, etc.), Kayıt Başarılı,
 *          Doğrulama Gerekli, ve benzeri standalone static sayfalar.
 *
 * Stil felsefesi: Ana sayfa (anasayfa2.php) ile birebir aynı
 * background gradient, glass card, gold/purple buton, ve prose
 * tipografisi. Sitenin "tek bir hayvan" gibi hissedilmesini sağlar.
 *
 * @package WuffiPetCore
 * @since 4.2.0
 */

/* ═══════════════════════════════════════════════════════════════
   1. BODY SHELL — wf-bg-anim arka planı görsünün diye transparent
   FAZ C3 (v4.2): body gradient KALDIRILDI çünkü .wf-bg-anim div'i
   kendi sabit z-index:-2 background'ı sağlıyor (anasayfa2 ile aynı).
   ═══════════════════════════════════════════════════════════════ */

body.wf-static-page,
body.wf-legal-page {
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--wf-text-primary);
    overflow-x: clip;
    padding-bottom: 100px;
    min-height: 100vh;
    /* background: wf-bg-anim div'i sağlar (purple + pudra otomatik) */
}

/* ═══════════════════════════════════════════════════════════════
   2. ARTIK YOK — wf-bg-anim'e geçildi
   FAZ C3 (v4.2): .wf-static-bg-orbs sistemi anasayfa2 ile birebir
   uyumlu olsun diye .wf-bg-anim + .wf-bg-overlay sistemine taşındı.
   wuffi-bg-anim.css yasal sayfa template'lerinde enqueue edilir.
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   3. ARTICLE CONTAINER + BREADCRUMB
   ═══════════════════════════════════════════════════════════════ */

.wf-legal__article,
.wf-static__article {
    position: relative;
    z-index: 2; /* wf-bg-anim:-2, wf-bg-overlay:-1, header:1000 — content arada */
    max-width: 860px;
    margin: 110px auto 80px;  /* 110px = header offset + breath */
    padding: 0 24px;
}

.wf-legal__breadcrumb,
.wf-static__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(243, 238, 255, 0.55);
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.wf-legal__breadcrumb a,
.wf-static__breadcrumb a {
    color: rgba(243, 238, 255, 0.75);
    text-decoration: none;
    transition: color .15s ease;
}

.wf-legal__breadcrumb a:hover,
.wf-static__breadcrumb a:hover {
    color: #ffb923;
}

[data-theme="pudra"] .wf-legal__breadcrumb,
[data-theme="pudra"] .wf-static__breadcrumb {
    color: rgba(26, 22, 64, 0.55);
}

[data-theme="pudra"] .wf-legal__breadcrumb a,
[data-theme="pudra"] .wf-static__breadcrumb a {
    color: rgba(26, 22, 64, 0.75);
}

[data-theme="pudra"] .wf-legal__breadcrumb a:hover,
[data-theme="pudra"] .wf-static__breadcrumb a:hover {
    color: #7c5cbf;
}

.wf-legal__sep,
.wf-static__sep {
    color: rgba(243, 238, 255, 0.3);
}

.wf-legal__current,
.wf-static__current {
    color: rgba(243, 238, 255, 0.4);
}

[data-theme="pudra"] .wf-legal__sep,
[data-theme="pudra"] .wf-legal__current,
[data-theme="pudra"] .wf-static__sep,
[data-theme="pudra"] .wf-static__current {
    color: rgba(26, 22, 64, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   4. HEADER (TITLE + META)
   ═══════════════════════════════════════════════════════════════ */

.wf-legal__header,
.wf-static__header {
    margin-bottom: 36px;
}

.wf-legal__title,
.wf-static__title {
    font-family: Fredoka, Inter, sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 8px;
    background: var(--wf-title-gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
}

.wf-legal__meta,
.wf-static__meta {
    color: rgba(243, 238, 255, 0.45);
    font-size: 13px;
    margin: 0;
}

[data-theme="pudra"] .wf-legal__meta,
[data-theme="pudra"] .wf-static__meta {
    color: rgba(26, 22, 64, 0.55);
}

/* Gold accent line — sayfa başlığının altı */
.wf-legal__title::after,
.wf-static__title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    background: var(--wf-accent-line);
    border-radius: 2px;
    margin-top: 14px;
}

/* ═══════════════════════════════════════════════════════════════
   5. CONTENT (PROSE — uzun form metin)
   ═══════════════════════════════════════════════════════════════ */

.wf-legal__content,
.wf-static__content,
.wf-prose {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 36px clamp(20px, 4vw, 48px);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

[data-theme="pudra"] .wf-legal__content,
[data-theme="pudra"] .wf-static__content,
[data-theme="pudra"] .wf-prose {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(124, 92, 191, 0.12);
    box-shadow: 0 8px 32px rgba(124, 92, 191, 0.06);
}

.wf-prose,
.wf-legal__content,
.wf-static__content {
    color: #f3eeff;
    font-size: 16px;
    line-height: 1.75;
}

[data-theme="pudra"] .wf-prose,
[data-theme="pudra"] .wf-legal__content,
[data-theme="pudra"] .wf-static__content {
    color: #1a1640;
}

.wf-prose h1,
.wf-prose h2,
.wf-prose h3,
.wf-prose h4 {
    font-family: Fredoka, Inter, sans-serif;
    color: #f3eeff;
    font-weight: 700;
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.wf-prose h2 {
    font-size: 1.6em;
    color: #ffb923;
    border-bottom: 1px solid rgba(255, 185, 35, 0.18);
    padding-bottom: 0.3em;
}

.wf-prose h3 {
    font-size: 1.25em;
    color: #c4b5fd;
}

.wf-prose h4 {
    font-size: 1.1em;
    color: #d6c8ff;
}

[data-theme="pudra"] .wf-prose h1,
[data-theme="pudra"] .wf-prose h2,
[data-theme="pudra"] .wf-prose h3,
[data-theme="pudra"] .wf-prose h4 {
    color: #1a1640;
}

[data-theme="pudra"] .wf-prose h2 {
    color: #c98700;
    border-bottom-color: rgba(201, 135, 0, 0.22);
}

[data-theme="pudra"] .wf-prose h3 {
    color: #7c5cbf;
}

[data-theme="pudra"] .wf-prose h4 {
    color: #5e3fa3;
}

.wf-prose p {
    margin: 0 0 1.1em;
}

.wf-prose a {
    color: #ffb923;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .15s ease;
}

.wf-prose a:hover {
    color: #ff9800;
}

[data-theme="pudra"] .wf-prose a {
    color: #c98700;
}

[data-theme="pudra"] .wf-prose a:hover {
    color: #e6a200;
}

.wf-prose ul,
.wf-prose ol {
    margin: 0 0 1.2em;
    padding-left: 1.6em;
}

.wf-prose li {
    margin-bottom: 0.5em;
}

.wf-prose li::marker {
    color: #ffb923;
}

[data-theme="pudra"] .wf-prose li::marker {
    color: #c98700;
}

.wf-prose strong {
    color: #fff;
    font-weight: 700;
}

[data-theme="pudra"] .wf-prose strong {
    color: #1a1640;
}

.wf-prose em {
    font-style: italic;
    color: rgba(243, 238, 255, 0.85);
}

[data-theme="pudra"] .wf-prose em {
    color: rgba(26, 22, 64, 0.85);
}

.wf-prose blockquote {
    border-left: 3px solid #ffb923;
    padding: 0.8em 1em;
    margin: 1.5em 0;
    color: rgba(243, 238, 255, 0.85);
    background: rgba(255, 185, 35, 0.06);
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

[data-theme="pudra"] .wf-prose blockquote {
    border-left-color: #c98700;
    color: rgba(26, 22, 64, 0.85);
    background: rgba(201, 135, 0, 0.05);
}

.wf-prose code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.2em 0.45em;
    border-radius: 6px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.9em;
    color: #ffb923;
}

[data-theme="pudra"] .wf-prose code {
    background: rgba(124, 92, 191, 0.08);
    color: #5e3fa3;
}

.wf-prose pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px 20px;
    border-radius: 12px;
    overflow-x: auto;
    margin: 1.4em 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="pudra"] .wf-prose pre {
    background: rgba(124, 92, 191, 0.05);
    border-color: rgba(124, 92, 191, 0.1);
}

.wf-prose pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

.wf-prose hr {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 185, 35, 0.4), transparent);
    margin: 2.5em 0;
}

.wf-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95em;
}

.wf-prose table th,
.wf-prose table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wf-prose table th {
    background: rgba(255, 185, 35, 0.08);
    color: #ffb923;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.05em;
}

[data-theme="pudra"] .wf-prose table th {
    background: rgba(201, 135, 0, 0.08);
    color: #c98700;
}

[data-theme="pudra"] .wf-prose table th,
[data-theme="pudra"] .wf-prose table td {
    border-bottom-color: rgba(124, 92, 191, 0.12);
}

/* ═══════════════════════════════════════════════════════════════
   6. FOOTER (CONTACT BOX)
   ═══════════════════════════════════════════════════════════════ */

.wf-legal__footer,
.wf-static__footer {
    margin-top: 32px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    text-align: center;
}

[data-theme="pudra"] .wf-legal__footer,
[data-theme="pudra"] .wf-static__footer {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(124, 92, 191, 0.1);
}

.wf-legal__contact,
.wf-static__contact {
    color: rgba(243, 238, 255, 0.65);
    font-size: 14px;
    margin: 0;
}

.wf-legal__contact a,
.wf-static__contact a {
    color: #ffb923;
    text-decoration: none;
    font-weight: 500;
    transition: color .15s ease;
}

.wf-legal__contact a:hover,
.wf-static__contact a:hover {
    color: #ff9800;
    text-decoration: underline;
}

[data-theme="pudra"] .wf-legal__contact,
[data-theme="pudra"] .wf-static__contact {
    color: rgba(26, 22, 64, 0.65);
}

[data-theme="pudra"] .wf-legal__contact a,
[data-theme="pudra"] .wf-static__contact a {
    color: #c98700;
}

[data-theme="pudra"] .wf-legal__contact a:hover,
[data-theme="pudra"] .wf-static__contact a:hover {
    color: #e6a200;
}

/* ═══════════════════════════════════════════════════════════════
   7. CTA BUTTONS — anasayfa2 .wf-cta-btn ile birebir uyumlu
   ═══════════════════════════════════════════════════════════════ */

.wf-cta-btn,
.wf-static__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
    line-height: 1;
    white-space: nowrap;
}

.wf-cta-btn.gold,
.wf-static__btn.gold,
.wf-static__btn--primary {
    background: linear-gradient(90deg, #FFB923, #ff9800);
    color: #1a0800;
    box-shadow: 0 8px 25px rgba(255, 185, 35, 0.3);
}

.wf-cta-btn.gold:hover,
.wf-static__btn.gold:hover,
.wf-static__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 185, 35, 0.45);
}

.wf-cta-btn.ghost,
.wf-static__btn.ghost,
.wf-static__btn--ghost {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wf-cta-btn.ghost:hover,
.wf-static__btn.ghost:hover,
.wf-static__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

[data-theme="pudra"] .wf-cta-btn.ghost,
[data-theme="pudra"] .wf-static__btn.ghost,
[data-theme="pudra"] .wf-static__btn--ghost {
    background: rgba(124, 92, 191, 0.06);
    color: #1a1640;
    border-color: rgba(124, 92, 191, 0.22);
}

[data-theme="pudra"] .wf-cta-btn.ghost:hover,
[data-theme="pudra"] .wf-static__btn.ghost:hover,
[data-theme="pudra"] .wf-static__btn--ghost:hover {
    background: rgba(124, 92, 191, 0.12);
    border-color: rgba(124, 92, 191, 0.4);
}

[data-theme="pudra"] .wf-cta-btn.gold,
[data-theme="pudra"] .wf-static__btn.gold,
[data-theme="pudra"] .wf-static__btn--primary {
    color: #2a1700;
}

/* ═══════════════════════════════════════════════════════════════
   8. ICON / BIG ILLUSTRATION (kayıt-başarılı, doğrulama-gerekli vb.)
   ═══════════════════════════════════════════════════════════════ */

.wf-static__hero-icon {
    font-size: 80px;
    margin-bottom: 24px;
    display: inline-block;
    line-height: 1;
    filter: drop-shadow(0 8px 24px rgba(255, 185, 35, 0.35));
}

.wf-static__hero {
    text-align: center;
    margin-bottom: 32px;
}

.wf-static__hero-title {
    font-family: Fredoka, Inter, sans-serif;
    font-size: clamp(28px, 4.5vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 12px;
    background: var(--wf-title-gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wf-static__hero-subtitle {
    color: var(--wf-text-secondary);
    font-size: 17px;
    line-height: 1.6;
    max-width: 540px;
    margin: 0 auto 32px;
}

.wf-static__cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
}

/* ═══════════════════════════════════════════════════════════════
   9. RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 720px) {
    .wf-legal__article,
    .wf-static__article {
        margin-top: 90px;
        padding: 0 16px;
    }
    .wf-legal__content,
    .wf-static__content,
    .wf-prose {
        padding: 24px 18px;
        border-radius: 18px;
    }
    .wf-static__hero-icon {
        font-size: 64px;
    }
    .wf-cta-btn,
    .wf-static__btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        max-width: 100%; /* v4.4: padding overflow guard */
        box-sizing: border-box;
    }
    .wf-static__cta {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .wf-static-bg-orbs::before,
    .wf-static-bg-orbs::after {
        animation: none;
    }
}
