/* ==========================================================================
   TIBBITESTLER.COM - Modern Sağlık ve Tıbbi Bilgi Portalı Tasarım Sistemi
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #e0f2fe;
    --primary-ultralight: #f0f9ff;
    --secondary: #0f172a;
    --accent: #059669;
    --accent-light: #d1fae5;
    --warning: #d97706;
    --danger: #dc2626;
    
    --bg-body: #f8fafc;
    --bg-card: #ffffff;
    --bg-alt: #f1f5f9;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --border-color: #e2e8f0;
    --border-focus: #38bdf8;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img, svg {
    vertical-align: middle;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   ÜST BİLGİ VE HEADER ALANI (Desktop: Menü Logo Altında; Mobil: Hamburger)
   ========================================================================== */

/* Top Utility Bar */
.top-bar {
    background-color: #0f172a;
    color: #94a3b8;
    font-size: 0.825rem;
    border-bottom: 1px solid #1e293b;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-links a {
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-links a:hover {
    color: #38bdf8;
}

.badge-emergency {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Brand Row (Logo Alanı) */
.header-brand-row {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}

.header-brand-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #0f172a;
    line-height: 1.1;
    margin: 0;
}

.logo-text h1 span {
    color: var(--primary);
}

.logo-text p {
    font-size: 0.775rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.brand-features-desktop {
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.brand-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: var(--primary-ultralight);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* Masaüstü Menü (Logo Altında Yer Alan Özel Menü Çubuğu) */
.desktop-nav-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.desktop-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
}

.desktop-nav-list li {
    position: relative;
}

.desktop-nav-list a {
    display: block;
    padding: 14px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.desktop-nav-list a:hover,
.desktop-nav-list a.active {
    color: var(--primary);
    background: var(--primary-ultralight);
    border-bottom-color: var(--primary);
}

/* Mobil Hamburger Tetikleyici (Masaüstünde Gizli) */
.mobile-hamburger-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-main);
}

.mobile-hamburger-btn svg {
    width: 28px;
    height: 28px;
}

/* Mobil Menü Çekmecesi (Offcanvas) */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #ffffff;
    z-index: 1001;
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer-overlay.active .mobile-drawer {
    transform: translateX(-320px);
}

.mobile-drawer-header {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.mobile-drawer-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
}

.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-list a {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    color: #334155;
}

.mobile-nav-list a:hover,
.mobile-nav-list a.active {
    background: var(--primary-ultralight);
    color: var(--primary);
}

.mobile-drawer-actions {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ==========================================================================
   BUTONLAR VE ETİKETLER
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff;
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: #ffffff;
}

.btn-secondary {
    background: #0f172a;
    color: #ffffff;
}
.btn-secondary:hover {
    background: #1e293b;
    color: #ffffff;
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary-ultralight);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
}
.btn-whatsapp:hover {
    background: #1eb956;
    color: #ffffff;
}

.btn-block {
    width: 100%;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.badge-success {
    background: var(--accent-light);
    color: #065f46;
}

.badge-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* ==========================================================================
   HERO ARAMA BÖLÜMÜ
   ========================================================================== */
.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 56px 0 64px;
    text-align: center;
    position: relative;
}

.hero-subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    max-width: 860px;
    margin: 0 auto 16px;
    letter-spacing: -0.8px;
}

.hero-title span {
    color: var(--primary);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 36px;
}

/* Arama Alanı */
.search-wrapper {
    max-width: 740px;
    margin: 0 auto;
    position: relative;
}

.search-input-box {
    position: relative;
    display: flex;
    background: #ffffff;
    border: 2px solid #bae6fd;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.12);
    padding: 6px;
    transition: var(--transition);
}

.search-input-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 12px 35px rgba(2, 132, 199, 0.2);
}

.search-icon-inside {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 20px 14px 48px;
    font-size: 1.05rem;
    background: transparent;
    color: var(--text-main);
    border-radius: var(--radius-full);
}

.search-submit-btn {
    border-radius: var(--radius-full);
    padding: 12px 28px;
}

/* Canlı Arama Sonuç Açılır Listesi */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    z-index: 100;
    text-align: left;
    display: none;
    max-height: 420px;
    overflow-y: auto;
}

.search-dropdown.active {
    display: block;
}

.search-result-item {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: var(--transition);
}

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

.search-result-item:hover {
    background: var(--primary-ultralight);
}

.search-result-name {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.search-result-cat {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Örnek Arama Etiketleri */
.example-searches {
    margin-top: 18px;
    font-size: 0.875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.example-tag {
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    color: var(--primary-dark);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.example-tag:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Hero İstatistik Sayacı */
.hero-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 760px;
    margin: 48px auto 0;
    background: #ffffff;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.stat-item {
    border-right: 1px solid var(--border-color);
    padding: 0 16px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.825rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   BÖLÜM BAŞLIKLARI VE KARTLAR
   ========================================================================== */
.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
}

.section-title-wrap h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-title-wrap p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Kategori Izgarası */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.category-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.category-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--primary-ultralight);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

.category-card-meta {
    margin-top: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Test Kartları Izgarası */
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}

.test-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.test-card:hover {
    border-color: #38bdf8;
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.test-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.test-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.test-card-title a {
    color: #0f172a;
    text-decoration: none;
}

.test-card-title a:hover {
    color: var(--primary);
}

.test-card-synonyms {
    font-size: 0.775rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.test-card-summary {
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 18px;
    flex: 1;
}

.test-card-details {
    background: var(--bg-body);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.test-detail-row {
    display: flex;
    justify-content: space-between;
}

.test-detail-label {
    color: var(--text-muted);
    font-weight: 500;
}

.test-detail-val {
    color: #0f172a;
    font-weight: 600;
}

.test-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
    margin-top: auto;
}

.specialist-approval-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #065f46;
    background: var(--accent-light);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
}

/* ==========================================================================
   TEST DETAY SAYFASI
   ========================================================================== */
.breadcrumb-wrap {
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-list a {
    color: var(--primary);
}

.test-detail-header-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.test-detail-header-card h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.test-quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
    background: var(--primary-ultralight);
    border: 1px solid #bae6fd;
    border-radius: var(--radius-md);
    padding: 18px;
}

.fact-item {
    display: flex;
    flex-direction: column;
}

.fact-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fact-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2px;
}

/* Detay Sayfası İki Kolon Düzeni */
.detail-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 28px;
    margin-bottom: 60px;
}

.content-block {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.content-block h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.content-block p {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 16px;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* SSS Accordion */
.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    background: #ffffff;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: var(--bg-alt);
}

.faq-answer {
    padding: 0 20px 16px;
    color: #475569;
    font-size: 0.925rem;
    line-height: 1.6;
}

/* Yan Panel Kartları */
.sidebar-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}

/* Bilimsel Uzman Onayı Kutusu */
.doctor-badge-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 20px;
}

.doctor-avatar-circle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: #059669;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ==========================================================================
   YAPAY ZEKA TEST ASİSTANI (FLOATING CHAT WIDGET)
   ========================================================================== */
.ai-assistant-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.ai-toggle-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4);
    transition: var(--transition);
}

.ai-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(2, 132, 199, 0.5);
}

.ai-chat-window {
    position: fixed;
    bottom: 84px;
    right: 24px;
    width: 380px;
    height: 520px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    display: none;
    animation: fadeIn 0.25s ease-out;
}

.ai-chat-window.active {
    display: flex;
}

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

.ai-chat-header {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-chat-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-chat-close {
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.8;
}

.ai-chat-close:hover {
    opacity: 1;
}

.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

.chat-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.5;
}

.chat-bubble.assistant {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid var(--border-color);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-bubble.user {
    background: var(--primary);
    color: #ffffff;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-disclaimer {
    font-size: 0.725rem;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    margin-top: 6px;
}

.ai-chat-footer {
    padding: 12px;
    border-top: 1px solid var(--border-color);
    background: #ffffff;
    display: flex;
    gap: 8px;
}

.ai-chat-input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 8px 14px;
    font-size: 0.875rem;
    outline: none;
}

.ai-chat-input:focus {
    border-color: var(--primary);
}

.ai-send-btn {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-full);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* ==========================================================================
   FOOTER (Yasal ve Tıbbi Uyarı)
   ========================================================================== */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 24px;
    border-top: 1px solid #1e293b;
    font-size: 0.875rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 36px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-col h4 {
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: #cbd5e1;
}

.footer-col a:hover {
    color: #38bdf8;
}

/* Yasal Sorumluluk Reddi Bildirimi */
.footer-disclaimer-box {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid #334155;
    border-radius: var(--radius-md);
    padding: 18px 24px;
    margin-bottom: 36px;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-disclaimer-box strong {
    color: #f1f5f9;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    font-size: 0.8rem;
}

/* ==========================================================================
   RESPONSIVE UYARLAMALARI (Masaüstü ve Mobil Ayrımı)
   ========================================================================== */
@media (max-width: 992px) {
    .desktop-nav-bar {
        display: none; /* Mobilde masaüstü menü gizlenir */
    }

    .brand-features-desktop {
        display: none; /* Mobilde sağdaki özellikler gizlenir */
    }

    .mobile-hamburger-btn {
        display: block; /* SADECE hamburger butonu görünür */
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .top-bar {
        display: none;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-stats-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 12px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ai-chat-window {
        width: calc(100vw - 32px);
        right: 16px;
        bottom: 80px;
        height: 480px;
    }
}
