/* --- 4. PAGES.CSS (ABOUT, RESULT & INSIGHTS - FINAL) --- */

/* =========================================
   1. ABOUT PAGE STYLES
   ========================================= */

   .about-hero {
    /* Canlı ve Modern Gradyan */
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    /* Navbar payı + Görsel boşluk */
    padding: 100px 20px 100px 20px; 
    border-bottom: 1px solid #dbeafe;
}

.about-hero h1 { 
    margin-bottom: 15px; 
    color: var(--secondary); 
    /* Akıllı Tipografi */
    font-size: clamp(2rem, 5vw, 2.8rem); 
    line-height: 1.2;
}

.about-hero p { 
    max-width: 700px; 
    margin: 0 auto; 
    color: var(--text-light); 
    font-size: 1.15rem; 
}

/* İstatistik Bandı */
.stats-bar {
    background: var(--secondary); 
    color: white;
    padding: 35px 20px;
    /* Hero görselinin üzerine binmesi için negatif margin */
    margin-top: -50px; 
    border-radius: var(--radius-lg);
    max-width: 900px; 
    margin-left: auto; 
    margin-right: auto;
    display: flex; 
    justify-content: center; 
    gap: 60px; 
    flex-wrap: wrap;
    position: relative; 
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.stat-item {
    display: flex; 
    align-items: center; 
    gap: 15px; 
    font-weight: 700; 
    color: #e2e8f0; 
    font-size: 1.05rem;
}

.stat-item i { 
    font-size: 1.8rem; 
    color: #38bdf8; 
    background: rgba(56, 189, 248, 0.1); 
    padding: 12px; 
    border-radius: 50%;
}

/* İçerik Izgarası */
.about-content {
    display: grid; 
    grid-template-columns: 1fr 1fr;
    gap: 60px; 
    max-width: 1100px; 
    margin: 80px auto; 
    padding: 0 20px; 
    align-items: start;
}

.info-block { margin-bottom: 40px; }

.info-block .icon-box {
    width: 60px; height: 60px; 
    background: #e0f2fe; color: var(--primary);
    border-radius: 16px; 
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 20px;
}

.info-block h2 { font-size: 1.6rem; color: var(--secondary); margin-bottom: 15px; }
.info-block p { font-size: 1.05rem; color: var(--text-light); line-height: 1.7; }

/* Doktor Kartı */
.doctor-card {
    background: white; 
    padding: 40px; 
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border-top: 6px solid var(--primary); 
    text-align: center;
    /* Desktop'ta kayarken sabit kalsın */
    position: sticky; top: 120px;
}

.doc-img-placeholder {
    width: 90px; height: 90px; 
    background: #eff6ff; color: var(--primary);
    border-radius: 50%; 
    margin: 0 auto 20px auto;
    display: flex; align-items: center; justify-content: center; 
    font-size: 2.2rem;
}

.doc-title {
    color: var(--primary); 
    font-weight: 700; 
    text-transform: uppercase;
    font-size: 0.85rem; 
    letter-spacing: 1px; 
    display: block; 
    margin-bottom: 10px;
}

/* =========================================
   2. RESULT PAGE STYLES
   ========================================= */

.result-container {
    display: grid; 
    grid-template-columns: 1fr 1fr;
    gap: 40px; 
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto; margin-right: auto;
    padding: 0 20px;
}

.result-card, .action-card {
    background: white; 
    padding: 40px;
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-soft);
    text-align: center;
}

/* Yuvarlak Grafik */
.score-circle-container { display: flex; justify-content: center; margin-bottom: 25px; }

.circular-progress {
    width: 180px; height: 180px; 
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0deg, #f1f5f9 0deg);
    display: flex; align-items: center; justify-content: center;
    position: relative; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.circular-progress::before {
    content: ""; position: absolute; width: 150px; height: 150px;
    border-radius: 50%; background: white;
}

.progress-value {
    position: relative; z-index: 2; 
    font-size: 2.2rem; font-weight: 800; color: var(--secondary);
}

/* Risk Analiz Kutusu */
.percentile-box {
    background: #f8fafc; 
    padding: 12px 18px; 
    border-radius: 12px;
    font-weight: 700; 
    margin-bottom: 25px; 
    display: inline-block;
    border: 1px solid #e2e8f0; 
    color: var(--secondary);
}
.risk-text { font-size: 1.1rem; line-height: 1.7; }

/* Medikal Uyarı Kutusu */
.medical-disclaimer {
    margin-top: 30px; 
    padding: 15px 20px;
    background: #f0fdf4; 
    border-left: 5px solid #16a34a;
    border-radius: 8px; 
    color: #15803d; 
    font-weight: 600;
    font-size: 0.95rem;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    text-align: left;
}

.disclaimer-icon {
    display: flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px;
    background: rgba(22, 163, 74, 0.1);
    border-radius: 50%;
    color: #16a34a; font-size: 1.2rem;
}

/* Aksiyon Butonları */
.result-buttons-container {
    background: #f8fafc;
    padding: 25px;
    border-radius: 16px;
    margin-top: 30px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.premium-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); /* Gold Gradient */
    color: white; border: none; padding: 16px;
    border-radius: 50px; font-weight: 700; font-size: 1rem;
    cursor: pointer; transition: 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}
.premium-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4);
}

.retry-btn {
    background: white; color: var(--text-light);
    border: 2px solid #e2e8f0; padding: 14px;
    border-radius: 50px; font-weight: 700; cursor: pointer;
    transition: 0.2s;
}
.retry-btn:hover {
    border-color: var(--primary); color: var(--primary); background: #f0f9ff;
}

/* Sosyal Medya */
.share-buttons { display: flex; gap: 15px; justify-content: center; margin: 25px 0; }
.share-btn {
    padding: 12px 25px; border-radius: 12px; border: none;
    color: white; cursor: pointer; font-weight: 600;
    transition: transform 0.2s; display: flex; align-items: center; gap: 8px;
}
.share-btn:hover { transform: scale(1.05); }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }

/* =========================================
   3. INSIGHTS (BLOG) STYLES
   ========================================= */

.insights-hero {
    background: var(--secondary);
    color: white;
    padding: 100px 20px 80px 20px;
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 60px;
    background-image: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.2) 0%, transparent 40%);
}
.insights-hero h1 { font-size: clamp(2rem, 5vw, 2.5rem); margin-bottom: 15px; letter-spacing: -1px; }
.insights-hero p { color: #94a3b8; font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.blog-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Öne Çıkan Makale */
.featured-article {
    background: white;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    margin-bottom: 60px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
}
.featured-article:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08); transform: translateY(-3px); }

.featured-img {
    background: #e0f2fe;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: 4rem;
    min-height: 350px;
}
.featured-content { padding: 50px; display: flex; flex-direction: column; justify-content: center; }

/* Blog Rozetleri */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 20px;
    width: fit-content;
}
.badge.neuro { background: #f3e8ff; color: #9333ea; }
.badge.cardio { background: #fee2e2; color: #dc2626; }
.badge.sleep { background: #e0f2fe; color: #0284c7; }
.badge.diet { background: #dcfce7; color: #16a34a; }

.featured-content h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 20px 0; color: var(--secondary); line-height: 1.2; }
.featured-content p { color: var(--text-light); margin-bottom: 30px; font-size: 1.1rem; }

/* Makale Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    display: flex; flex-direction: column;
}
.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #bfdbfe;
}

.card-img-top {
    height: 200px;
    background: #f8fafc;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-light); font-size: 2.5rem;
}

.article-body { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.article-title { font-size: 1.25rem; font-weight: 700; color: var(--secondary); margin: 15px 0 15px 0; }
.article-excerpt { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; margin-bottom: 20px; flex-grow: 1; }

.article-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 20px; border-top: 1px solid #f1f5f9;
    font-size: 0.85rem; color: #94a3b8; font-weight: 600;
}

.author-box { display: flex; align-items: center; gap: 10px; }
.author-avatar { width: 30px; height: 30px; background: var(--primary); border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; }

.read-link {
    color: var(--primary); text-decoration: none; font-weight: 700;
    display: inline-flex; align-items: center; gap: 5px;
}
.read-link:hover { gap: 8px; }

/* =========================================
   4. GLOBAL MOBILE RESPONSIVENESS
   ========================================= */

@media (max-width: 900px) {
    /* Genel Yapı - Izgaraları Tek Sütuna İndir */
    .about-content, .result-container { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }

    /* Hero Alanları - Navbar Stack olduğu için üst boşluğu artır */
    .about-hero, .insights-hero {
        padding-top: 160px; /* Navbar dikey olduğunda içerik altta kalmasın */
    }

    /* Stats Bar - Dikey Dizilim */
    .stats-bar { 
        gap: 30px; 
        flex-direction: column; 
        margin-top: -20px;
        padding: 30px;
    }

    /* Result Sayfası */
    .result-container { margin-top: 60px; }
    .medical-disclaimer { flex-direction: column; text-align: center; }
    
    /* Blog Featured Card - Dikey */
    .featured-article { grid-template-columns: 1fr; }
    .featured-img { min-height: 250px; font-size: 3rem; }
    .featured-content { padding: 30px; }
    
    /* Doktor Kartı - Sticky Özelliğini Kaldır */
    .doctor-card { 
        position: relative; 
        top: 0; 
        margin-bottom: 40px; 
    }

    /* Grid Kartlar Tam Genişlik */
    .articles-grid {
        grid-template-columns: 1fr;
    }
}