/* ==========================================================================
   GRANDZEIT WIKI CSS - VISUAL STYLE GUIDE & STYLING
   Inherited from Grandzeit "Çift İlişki İşletim Sistemi"
   ========================================================================== */

/* --- CSS Değişkenleri --- */
:root {
    --bg-primary: #ffffff;
    --text-primary: #111111;
    --text-secondary: #4a4a4f;
    --text-muted: #95959f;
    --border-color: rgba(0, 0, 0, 0.05);
    --border-glass: rgba(255, 255, 255, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.65);
    --bg-glass-active: rgba(255, 255, 255, 0.92);
    
    /* Vurgu Renkleri - Redesigned to pure monochrome style */
    --accent-purple: #111111;
    --accent-indigo: #111111;
    --accent-rose: #262626;
    --accent-amber: #404040;
    --accent-emerald: #525252;
    
    /* Soft Callout Arka Planları */
    --callout-note-bg: rgba(0, 0, 0, 0.015);
    --callout-note-border: rgba(0, 0, 0, 0.15);
    --callout-tip-bg: rgba(0, 0, 0, 0.01);
    --callout-tip-border: rgba(0, 0, 0, 0.12);
    --callout-warning-bg: rgba(0, 0, 0, 0.02);
    --callout-warning-border: rgba(0, 0, 0, 0.18);
    
    /* Font Tanımları */
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Playfair Display', Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    
    /* Geçişler */
    --transition-lux: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Temel Sınırlamalar ve Resetler --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-primary);
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* --- Nokta Izgara ve Balon Tasarımı --- */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(rgba(0, 0, 0, 0.02) 1.2px, transparent 1.2px);
    background-size: 28px 28px;
    z-index: -1;
    pointer-events: none;
}

.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(130px);
    opacity: 0.55;
    mix-blend-mode: multiply;
}

.blob-1 {
    top: -10%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, rgba(129, 140, 248, 0.12) 60%, transparent 100%);
    animation: float-blob-1 25s infinite ease-in-out;
}

.blob-2 {
    top: 25%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.18) 0%, rgba(253, 230, 138, 0.08) 50%, transparent 100%);
    animation: float-blob-2 18s infinite ease-in-out;
}

.blob-3 {
    bottom: -10%;
    left: 15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(45, 212, 191, 0.18) 0%, rgba(99, 102, 241, 0.12) 60%, transparent 100%);
    animation: float-blob-3 22s infinite ease-in-out;
}

@keyframes float-blob-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.06); }
}
@keyframes float-blob-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 50px) scale(0.95); }
}
@keyframes float-blob-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -40px) scale(1.04); }
}

/* --- Premium Cam Kart Tasarımı (Glassmorphism) --- */
.glass-card-lux {
    background: var(--bg-glass);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.015), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    transition: var(--transition-lux);
}

.glass-card-lux:hover {
    background: var(--bg-glass-active);
    border-color: rgba(24, 24, 27, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.035), inset 0 1px 1px rgba(255, 255, 255, 1);
}

/* --- Header / Üst Menü --- */
.wiki-header {
    position: sticky;
    top: 16px;
    z-index: 100;
    max-width: 1400px;
    width: calc(100% - 2rem);
    margin: 16px auto 0 auto;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-fast);
}

.wiki-header:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon-svg {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.logo-link:hover .logo-icon-svg {
    transform: rotate(6deg);
}

.logo-brand {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 300;
    text-transform: capitalize;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 8px;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Arama Kutusu Arayüzü */
.search-wrapper {
    position: relative;
    flex: 1;
    max-width: 500px;
}

.search-bar-container {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(24, 24, 27, 0.12);
    border-radius: 9999px;
    padding: 8px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
    transition: var(--transition-fast);
}

.search-bar-container:focus-within {
    border-color: var(--text-primary);
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.search-icon {
    color: var(--text-muted);
    font-size: 14px;
    margin-right: 10px;
}

.search-bar-container input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--text-primary);
}

.search-bar-container input::placeholder {
    color: var(--text-muted);
}

.search-clear-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.search-clear-btn:hover {
    color: var(--text-primary);
}

/* Arama Sonuç Dropdown Paneli */
.search-results-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    max-height: 400px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(24, 24, 27, 0.12);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    z-index: 110;
    display: none;
    flex-direction: column;
    overflow-y: auto;
}

.search-results-panel.active {
    display: flex;
}

.search-result-item {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(24, 24, 27, 0.05);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(24, 24, 27, 0.03);
}

.search-result-title {
    font-size: 13px;
    font-weight: 700;
}

.search-result-excerpt {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 300;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-no-results {
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* Geri Dön Butonu ve Hamburger */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-back-to-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-glass);
    border: 1px solid rgba(24, 24, 27, 0.15);
    color: var(--text-primary);
    padding: 8px 18px;
    border-radius: 9999px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: var(--transition-lux);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.btn-back-to-app:hover {
    background: #ffffff;
    border-color: rgba(24, 24, 27, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Hamburger Menü Butonu (Mobil) */
.mobile-toggle {
    display: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    cursor: pointer;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 16px;
    z-index: 1010;
    transition: var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.mobile-toggle:hover {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.15);
}

.mobile-toggle .toggle-close-icon {
    display: none;
}

.mobile-toggle.active {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.mobile-toggle.active .toggle-bars-icon {
    display: none;
}

.mobile-toggle.active .toggle-close-icon {
    display: inline-block;
}

/* --- Ana Konteyner / Wiki Yerleşimi --- */
.wiki-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    min-height: calc(100vh - 80px);
}

/* --- Sol Menü / Sidebar --- */
.wiki-sidebar {
    position: sticky;
    top: 120px;
    height: fit-content;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    padding-right: 15px;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

/* Sidebar Scrollbar Özelleştirme */
.wiki-sidebar::-webkit-scrollbar {
    width: 3px;
}
.wiki-sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 99px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.category-group {
    display: flex;
    flex-direction: column;
}

.category-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 8px 10px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    text-align: left;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.category-header:hover {
    background: rgba(0, 0, 0, 0.02);
}

.category-header.active {
    color: #000000;
}

.icon-spacing {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    opacity: 0.6;
}

.arrow-icon {
    font-size: 8px;
    opacity: 0.5;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-header:not(.active) .arrow-icon {
    transform: rotate(-90deg);
}

/* Accordion İçerikleri */
.category-content {
    display: none;
    flex-direction: column;
    gap: 3px;
    padding-left: 10px;
    margin-top: 6px;
    border-left: 1px solid rgba(0, 0, 0, 0.04);
}

.category-content.show {
    display: flex;
}

.sidebar-link {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 7px 12px;
    margin: 1px 0;
    border-radius: 8px;
    font-weight: 350;
    transition: var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
}

.sidebar-link:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.02);
}

.sidebar-link.active {
    color: #000000;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding-left: 14px;
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    width: 3px;
    height: 50%;
    background-color: #000000;
    border-radius: 2px;
}

.sidebar-link.hidden {
    display: none !important;
}

/* --- Sağ Dokümantasyon Alanı --- */
.wiki-main-content {
    min-width: 0; /* Flexbox/Grid taşma hatasını engeller */
}

.content-card {
    padding: 48px;
    min-height: 500px;
}

/* Makale Görünürlük Kontrolü */
.wiki-article {
    display: none;
    animation: fadeInArticle 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wiki-article.active {
    display: block;
}

@keyframes fadeInArticle {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Makale Başlığı */
.article-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 9999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 14px;
}

.article-header h1 {
    font-family: var(--font-serif);
    font-size: 38px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.article-subtitle {
    font-size: 14.5px;
    color: var(--text-secondary);
    font-weight: 350;
    letter-spacing: 0.2px;
}

/* Makale Gövdesi */
.article-body {
    font-size: 14.5px;
    color: var(--text-secondary);
    font-weight: 350;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body strong {
    font-weight: 700;
    color: var(--text-primary);
}

.article-body h2 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 36px;
    margin-bottom: 16px;
}

.article-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 10px;
}

.article-body ul, 
.article-body ol {
    margin-bottom: 24px;
    padding-left: 20px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body code {
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 85%;
    color: var(--text-primary);
    font-weight: 500;
}

/* Satır İçi Parlayan Belirteçler (Inline Badges) */
.inline-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 1px 6px;
    margin: 0 2px;
    letter-spacing: 0.2px;
}

.article-body blockquote {
    border-left: 3px solid var(--text-primary);
    padding-left: 18px;
    margin: 28px 0;
    font-style: italic;
    font-size: 15px;
    color: var(--text-primary);
}

/* Makale İçi Linkler */
.article-body a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.2);
    padding-bottom: 1px;
    transition: var(--transition-fast);
}

.article-body a:hover {
    color: #000000;
    border-bottom-style: solid;
    border-bottom-color: #000000;
}

/* Tablolar */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 13px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 0 1px var(--border-color);
}

.article-body th {
    background: rgba(24, 24, 27, 0.03);
    color: var(--text-primary);
    font-weight: 700;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.article-body td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
}

.article-body tr:last-child td {
    border-bottom: none;
}

/* --- Belirteçler / Callouts (Premium Left-Bordered) --- */
.wiki-callout {
    display: flex;
    gap: 18px;
    padding: 22px 24px;
    border-radius: 20px;
    margin: 32px 0;
    font-size: 13.5px;
    border: 1px solid transparent;
    border-left-width: 5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
    transition: var(--transition-lux);
}

.wiki-callout:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.callout-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.callout-body {
    font-weight: 350;
    color: var(--text-secondary);
    line-height: 1.65;
}

.callout-body strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Bilgi Kutusu [BİLGİ / NOT] (Soft Mavi/Indigo) */
.wiki-callout-note {
    background: rgba(0, 0, 0, 0.015);
    border-color: rgba(0, 0, 0, 0.05) rgba(0, 0, 0, 0.05) rgba(0, 0, 0, 0.05) var(--accent-indigo);
}
.wiki-callout-note .callout-icon {
    color: var(--accent-indigo);
}

/* İpucu Kutusu (Soft Yeşil) */
.wiki-callout-tip {
    background: rgba(0, 0, 0, 0.01);
    border-color: rgba(0, 0, 0, 0.04) rgba(0, 0, 0, 0.04) rgba(0, 0, 0, 0.04) var(--accent-emerald);
}
.wiki-callout-tip .callout-icon {
    color: var(--accent-emerald);
}

/* Uyarı Kutusu [UYARI / DİKKAT] (Soft Kehribar/Sarı) */
.wiki-callout-warning {
    background: rgba(0, 0, 0, 0.018);
    border-color: rgba(0, 0, 0, 0.06) rgba(0, 0, 0, 0.06) rgba(0, 0, 0, 0.06) var(--accent-amber);
}
.wiki-callout-warning .callout-icon {
    color: var(--accent-amber);
}

/* Önemli Kriter Kutusu [ÖNEMLİ] (Grandzeit Mor Geçişli) */
.wiki-callout-important {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.005));
    border-color: rgba(0, 0, 0, 0.05) rgba(0, 0, 0, 0.05) rgba(0, 0, 0, 0.05) var(--accent-purple);
}
.wiki-callout-important .callout-icon {
    color: var(--accent-purple);
}

/* --- Kod Blokları --- */
.wiki-code-block {
    background: #09090b;
    border-radius: 16px;
    margin: 28px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.code-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.code-header span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.copy-code-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-fast);
}

.copy-code-btn:hover {
    color: #ffffff;
}

.wiki-code-block pre {
    margin: 0;
    padding: 18px;
    overflow-x: auto;
}

.wiki-code-block code {
    font-family: var(--font-mono);
    color: #e4e4e7;
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-size: 12.5px;
    line-height: 1.5;
    display: block;
}

/* --- Özellikler Kart Izgarası --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.feature-mini-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(24, 24, 27, 0.06);
    border-radius: 18px;
    padding: 24px;
    transition: var(--transition-lux);
}

.feature-mini-card:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(24, 24, 27, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}

.mini-card-icon {
    font-size: 20px;
    color: var(--accent-indigo);
    margin-bottom: 12px;
}

.feature-mini-card h3 {
    margin: 0 0 6px 0 !important;
    font-size: 13.5px !important;
    font-weight: 700;
}

.feature-mini-card p {
    margin: 0 !important;
    font-size: 11.5px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* SSS Ayrıntıları */
.faq-item {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(24, 24, 27, 0.05);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    transition: var(--transition-lux);
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.02);
}

.faq-item h3 {
    margin-top: 0 !important;
    font-size: 14px !important;
    font-weight: 700;
    margin-bottom: 10px !important;
    color: var(--text-primary);
}

.faq-item p {
    margin: 0 !important;
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-secondary);
    font-weight: 350;
}


/* ==========================================================================
   RESPONSIVE DESIGN (MOBİL UYUM)
   ========================================================================== */

@media (max-width: 991px) {
    /* İki sütundan tek sütuna geçiş */
    .wiki-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 24px;
    }
    
    /* Mobil Sidebar gizleme */
    .wiki-sidebar {
        position: fixed;
        top: 0;
        left: -320px;
        width: 280px;
        height: 100vh;
        max-height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-right: 1px solid var(--border-color);
        z-index: 1000;
        padding: 80px 20px 30px 20px;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        margin: 0;
    }

    .wiki-sidebar.active {
        transform: translateX(320px);
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.05);
    }
    
    /* Karartma Overlay */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.15);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        z-index: 990;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .sidebar-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
    
    /* Mobil Header Ayarları */
    .mobile-toggle {
        display: flex;
    }
    
    .search-wrapper {
        display: none;
    }
    
    .btn-back-to-app span {
        display: none;
    }
    .btn-back-to-app {
        width: 38px;
        height: 38px;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 12px !important;
    }
    .btn-back-to-app svg {
        margin-right: 0 !important;
        width: 16px !important;
        height: 16px !important;
    }
    
    .content-card {
        padding: 24px;
        border-radius: 18px;
    }
    
    .article-header h1 {
        font-size: 28px;
    }
    
    .wiki-sidebar {
        border-right: none !important;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 12px 16px;
    }
    .logo-brand {
        font-size: 18px;
    }
    .logo-sub {
        font-size: 8px;
        padding: 1px 6px;
        letter-spacing: 1px;
    }
}

@media (max-width: 576px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .wiki-container {
        padding: 16px 12px;
    }
    
    .content-card {
        padding: 18px;
        border-radius: 14px;
    }
    
    .article-header h1 {
        font-size: 24px;
    }
    
    .article-subtitle {
        font-size: 13px;
    }
    
    .wiki-callout {
        padding: 16px;
        gap: 12px;
        margin: 20px 0;
    }
}
