:root {
    /* Kurumsal Kimlik Rengimiz */
    --accent: rgb(100, 84, 244); 
    --accent-glow: rgba(100, 84, 244, 0.1);
    --accent-hover: rgba(100, 84, 244, 0.15);
    
    --bg-color: #f5f5f7;
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(255, 255, 255, 0.8);
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --font-sans: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body { 
    background-color: var(--bg-color); 
    color: var(--text-main); 
    font-family: var(--font-sans); 
    overflow-x: hidden; /* Taşmaları engelle */
    scroll-behavior: smooth;
    background-image: 
        radial-gradient(circle at 15% 50%, var(--accent-glow), transparent 25%),
        radial-gradient(circle at 85% 30%, var(--accent-glow), transparent 25%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   SİHİRLİ DOKUNUŞ: STICKY HEADER FİX
========================================= */
site-header { 
    display: block; 
    width: 100%; 
    position: sticky; 
    top: 0; 
    z-index: 9999; 
}
site-footer { display: block; width: 100%; }

/* Navigasyon Stilleri */
nav { padding: 1.2rem 5%; display: flex; justify-content: space-between; align-items: center; backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-bottom: 1px solid rgba(0,0,0,0.06); background: rgba(255, 255, 255, 0.85); box-shadow: 0 4px 30px rgba(0,0,0,0.03); }
.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-main); text-decoration: none; letter-spacing: -0.5px; }
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent); }

/* YENİ: Radar (Ripple) Animasyonlu Statüs Rozeti */
.status-badge { display: flex; align-items: center; gap: 0.8rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--text-main); background: rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.05); padding: 0.4rem 1.2rem; border-radius: 20px; font-weight: 600; }
.status-dot-wrapper { position: relative; width: 10px; height: 10px; display: flex; justify-content: center; align-items: center; }
.status-dot { width: 8px; height: 8px; background-color: #34c759; border-radius: 50%; z-index: 2; }
.status-ripple { position: absolute; width: 100%; height: 100%; border: 2px solid #34c759; border-radius: 50%; animation: ripple 2s cubic-bezier(0.65, 0, 0.34, 1) infinite; z-index: 1; }

@keyframes ripple { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(3.5); opacity: 0; } }

/* =========================================
   ANA YAPI & BENTO GRID
========================================= */
.main-container { max-width: 1200px; margin: 4rem auto; display: flex; flex-direction: column; gap: 5rem; padding: 0 2rem; }

.section-header { font-size: 0.85rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.section-header::after { content: ''; flex-grow: 1; height: 1px; background-color: rgba(0,0,0,0.06); }

.bento-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(200px, auto); gap: 1.5rem; }

.bento-card {
    background: var(--card-bg); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--card-border); border-radius: 28px; padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(100, 84, 244, 0.08); border-color: rgba(100, 84, 244, 0.3); }

.span-2-2 { grid-column: span 2; grid-row: span 2; }
.span-2-1 { grid-column: span 2; grid-row: span 1; }
.span-3-1 { grid-column: span 3; grid-row: span 1; }
.span-1-2 { grid-column: span 1; grid-row: span 2; }
.span-1-1 { grid-column: span 1; grid-row: span 1; }

.tag { align-self: flex-start; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--accent); background: var(--accent-glow); padding: 0.5rem 1rem; border-radius: 20px; margin-bottom: 1.5rem; }
h1 { font-size: 3.2rem; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 1rem; color: #000; }
h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 0.8rem; letter-spacing: -0.5px; color: #1d1d1f; }
p { color: var(--text-muted); line-height: 1.6; font-size: 1.05rem; }
.huge-data { font-size: 4rem; font-weight: 800; font-family: var(--font-mono); color: var(--accent); margin-top: auto; line-height: 1; }
.data-label { color: var(--text-main); font-weight: 600; font-size: 1rem; margin-top: 1rem; }

.project-link { margin-top: auto; padding-top: 1.5rem; color: var(--text-main); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.3s; }
.bento-card:hover .project-link { color: var(--accent); }

/* YENİ: Listelerdeki İkon Etkileşimi */
ul.strategy-list { list-style: none; margin-top: 1rem; }
ul.strategy-list li { padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); display: flex; justify-content: space-between; color: var(--text-muted); transition: transform 0.2s ease; cursor: default;}
ul.strategy-list li:hover { transform: translateX(5px); }
ul.strategy-list li:last-child { border-bottom: none; }
ul.strategy-list li strong { color: var(--text-main); font-weight: 600; }

/* YENİ: AI Kartı Scanner Efekti */
.ai-scanner { position: absolute; left: 0; width: 2px; height: 30px; background: #f59e0b; box-shadow: 0 0 10px #f59e0b; animation: scan 3s linear infinite; opacity: 0.5; }
@keyframes scan { 0% { top: 10%; opacity: 0; } 10%, 90% { opacity: 0.5; } 100% { top: 80%; opacity: 0; } }

/* SİSTEM MONİTÖRÜ WIDGET CSS */
.system-monitor { background: #0a0a0c; border: 1px solid rgba(255,255,255,0.1); color: #fff; }
.system-monitor:hover { border-color: rgba(255,255,255,0.2); box-shadow: 0 15px 35px rgba(0,0,0,0.2); }
.monitor-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.monitor-tag { background: rgba(52, 199, 89, 0.15); color: #34c759; border: 1px solid rgba(52, 199, 89, 0.3); margin-bottom: 0; }
.live-bars { display: flex; gap: 5px; align-items: flex-end; height: 30px; }
.live-bars .bar { width: 6px; background: var(--accent); border-radius: 3px; animation: equalize 1s infinite alternate ease-in-out; }
.live-bars .bar:nth-child(1) { animation-delay: 0.1s; height: 60%; }
.live-bars .bar:nth-child(2) { animation-delay: 0.4s; height: 100%; background: #34c759;}
.live-bars .bar:nth-child(3) { animation-delay: 0.0s; height: 40%; }
.live-bars .bar:nth-child(4) { animation-delay: 0.5s; height: 80%; background: #00f2fe;}
.live-bars .bar:nth-child(5) { animation-delay: 0.2s; height: 50%; }
@keyframes equalize { 0% { height: 20%; } 100% { height: 100%; } }

.monitor-stats { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; margin-top: auto; }
.stat-box { display: flex; flex-direction: column; }
.stat-value { font-size: 2.2rem; font-weight: 800; font-family: var(--font-mono); line-height: 1; }
.stat-label { color: #86868b; font-size: 0.8rem; margin-top: 0.5rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;}

/* BLOG WIDGET STİLLERİ */
.blog-widget-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.blog-widget-header h2 { margin-bottom: 0; }
.view-all-link { font-size: 0.9rem; color: var(--accent); text-decoration: none; font-weight: 600; font-family: var(--font-mono); transition: opacity 0.2s; }
.view-all-link:hover { opacity: 0.7; }
.blog-widget-list { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.blog-widget-item { display: flex; flex-direction: column; gap: 0.3rem; padding: 1rem; border-radius: 16px; background: rgba(255,255,255,0.4); border: 1px solid rgba(0,0,0,0.03); transition: all 0.3s; text-decoration: none; }
.blog-widget-item:hover { background: var(--accent-glow); border-color: var(--accent-hover); transform: translateX(5px); }
.blog-widget-date { font-family: var(--font-mono); font-size: 0.75rem; color: var(--accent); font-weight: 600; }
.blog-widget-title { color: var(--text-main); font-weight: 600; font-size: 1rem; line-height: 1.4; }

/* FOOTER */
footer { margin-top: 4rem; padding: 6rem 5% 3rem; border-top: 1px solid rgba(0,0,0,0.06); background: linear-gradient(to top, var(--accent-glow), transparent); }
.footer-content { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.5rem; max-width: 800px; margin: 0 auto; }
.footer-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -1px; line-height: 1.1; color: var(--text-main); }
.footer-desc { color: var(--text-muted); font-size: 1.2rem; margin-bottom: 2rem; }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; } /* Mobil Wrap Eklendi */
.footer-links a { color: var(--text-main); text-decoration: none; font-size: 1.1rem; font-weight: 600; padding: 0.8rem 2rem; border-radius: 30px; border: 1px solid rgba(0,0,0,0.08); transition: all 0.3s; background: rgba(255,255,255,0.5); }
.footer-links a:hover { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 4px 15px var(--accent-glow); }
.footer-bottom { margin-top: 6rem; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.06); color: var(--text-muted); font-size: 0.9rem; font-family: var(--font-mono); display: flex; justify-content: space-between; width: 100%; max-width: 1200px; margin-inline: auto; font-weight: 500;}

/* =========================================
   KUSURSUZ MOBİL UYUM (RESPONSIVE)
========================================= */
@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .span-2-2, .span-2-1, .span-3-1 { grid-column: span 2; }
    .span-1-2 { grid-column: span 1; grid-row: span 1; }
    h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
    /* Grid'i Tek Sütuna İndir */
    .bento-grid { grid-template-columns: 1fr; gap: 1rem;}
    .span-2-2, .span-2-1, .span-3-1, .span-1-2, .span-1-1 { grid-column: span 1; grid-row: auto; }
    
    body { padding: 0; }
    .main-container { padding: 0 1rem; gap: 3rem; margin-top: 2rem; }
    
    /* Yazıları ve Boşlukları Küçült */
    .bento-card { padding: 1.5rem; border-radius: 20px;}
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.4rem; }
    p { font-size: 0.95rem; }
    
    /* İstatistikleri Alt Alta Al */
    .monitor-stats { flex-direction: column; gap: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;}
    .stat-box { flex-direction: row; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed rgba(255,255,255,0.1); padding-bottom: 0.5rem;}
    .stat-label { margin-top: 0; }
    .stat-value { font-size: 1.8rem; }

    /* Menü ve Footer Ayarları */
    nav { padding: 1rem; }
    .nav-links { display: none; /* Mobilde hamburger menü gerekir, şimdilik gizli */ }
    .status-badge { display: none; }
    .footer-content { gap: 1rem; padding: 0 1rem;}
    .footer-title { font-size: 2rem; }
    .footer-desc { font-size: 1rem; margin-bottom: 1rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; align-items: center; text-align: center; margin-top: 3rem; padding-top: 1.5rem;}
}