/* =========================================
   AURA OMNI - SYSTEM CORE STYLES v2.0
   Design: Cyberpunk / Sci-Fi / Minimalist
   ========================================= */

/* --- 1. DEĞİŞKENLER VE KURULUM --- */
:root {
    /* Renk Paleti */
    --bg-deep: #020202;       /* En koyu arka plan */
    --bg-panel: #0a0a0c;      /* Panel arka planı */
    --bg-card: #111113;       /* Kart/Widget arka planı */
    --border: #222;           /* Kenarlıklar */
    
    --accent: #00ff9d;        /* Ana Vurgu Rengi (Neon Yeşil) */
    --accent-glow: rgba(0, 255, 157, 0.2);
    
    --gold: #ffd700;          /* Premium Rengi */
    --danger: #ff3366;        /* Hata/Negatif Rengi */
    --info: #0077b5;          /* Bilgi/Linkedin Rengi */
    
    --text-main: #e0e0e0;     /* Ana Metin */
    --text-muted: #666;       /* Silik Metin */
    
    /* Fontlar */
    --font-head: 'Rajdhani', sans-serif;   /* Başlıklar */
    --font-body: 'Space Grotesk', sans-serif; /* İçerik */
}

* { box-sizing: border-box; outline: none; user-select: none; -webkit-tap-highlight-color: transparent; }

body { 
    margin: 0; 
    background: var(--bg-deep); 
    color: var(--text-main); 
    font-family: var(--font-body); 
    height: 100vh; 
    overflow: hidden; 
    display: flex; 
}

/* Scrollbar Özelleştirme */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* --- 2. ARKA PLAN EFEKTLERİ (CRT GRID) --- */
.sys-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 10;
    background: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
        linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%; 
    opacity: 0.4;
}

/* --- 3. SOL MENÜ (SIDEBAR) --- */
.sidebar { 
    width: 280px; 
    background: var(--bg-panel); 
    border-right: 1px solid var(--border); 
    padding: 25px; 
    display: flex; 
    flex-direction: column; 
    z-index: 20; 
    box-shadow: 5px 0 30px rgba(0,0,0,0.5);
}

.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.brand-icon { font-size: 2.2rem; color: var(--accent); text-shadow: 0 0 15px var(--accent-glow); animation: pulse 3s infinite; }
.brand-text { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; letter-spacing: 2px; line-height: 1; }
.brand-text span { color: var(--accent); }

/* Kullanıcı Bilgi Paneli */
#userPanel {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.2) 100%);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
#userPanel::before { content:''; position:absolute; top:0; left:0; width:2px; height:100%; background:var(--accent); }
#panelName { font-weight: 700; color: #fff; margin-bottom: 5px; font-size: 1rem; }
#panelCredits { font-size: 0.85rem; color: #aaa; font-family: monospace; }
#userPanel button {
    margin-top: 10px; width: 100%; padding: 8px;
    background: rgba(255,255,255,0.1); border: 1px solid #444; color: #fff;
    border-radius: 5px; cursor: pointer; font-size: 0.7rem; font-weight: bold;
    transition: 0.2s;
}
#userPanel button:hover { background: var(--accent); color: #000; border-color: var(--accent); }

/* Navigasyon Butonları */
.nav-menu { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.nav-btn {
    width: 100%; background: transparent; border: 1px solid transparent; 
    color: #888; padding: 14px 18px; text-align: left;
    cursor: pointer; display: flex; align-items: center; gap: 15px; 
    border-radius: 8px; transition: all 0.2s ease; font-weight: 600;
    position: relative; overflow: hidden;
}
.nav-btn .icon { font-size: 1.2rem; }
.nav-btn:hover { background: rgba(255,255,255,0.03); color: #ccc; transform: translateX(5px); }
.nav-btn.active { 
    background: rgba(0, 255, 157, 0.08); 
    color: #fff; 
    border: 1px solid rgba(0, 255, 157, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.05);
}
.nav-btn.danger:hover { color: var(--danger); border-color: rgba(255, 51, 102, 0.3); background: rgba(255, 51, 102, 0.05); }

.sys-status { 
    margin-top: auto; border-top: 1px solid var(--border); padding-top: 20px;
    font-family: monospace; font-size: 0.7rem; color: #444; line-height: 1.6;
}

/* --- 4. ANA SAHNE (VIEWPORT) --- */
.viewport { flex: 1; position: relative; overflow: hidden; background: radial-gradient(circle at center, #050505 0%, #000 100%); }

.view { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    padding: 40px; opacity: 0; pointer-events: none; 
    transform: scale(0.98) translateY(10px); 
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1); 
    overflow-y: auto; 
}
.view.active { opacity: 1; pointer-events: all; transform: scale(1) translateY(0); }

/* --- 5. YÜKLEME EKRANI (HERO) --- */
.center-stage { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 30; }
.hero-title { 
    font-family: var(--font-head); font-size: 4.5rem; margin: 0; 
    letter-spacing: -2px; line-height: 1; text-align: center; 
    background: linear-gradient(180deg, #fff, #666); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.hero-sub { color: var(--text-muted); margin-bottom: 50px; font-size: 1.2rem; font-weight: 300; }

.upload-module {
    width: 600px; height: 350px; 
    border: 2px dashed #333; background: rgba(255,255,255,0.01);
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    border-radius: 20px; cursor: pointer; transition: 0.3s; position: relative; overflow: hidden;
}
.upload-module:hover { border-color: var(--accent); background: rgba(0, 255, 157, 0.03); box-shadow: 0 0 50px rgba(0,255,157,0.05); }
.upload-icon { font-size: 4rem; margin-bottom: 20px; opacity: 0.4; transition: 0.3s; color: #fff; }
.upload-module:hover .upload-icon { opacity: 1; transform: scale(1.1); color: var(--accent); text-shadow: 0 0 20px var(--accent); }
.upload-text { font-family: var(--font-head); font-weight: 700; letter-spacing: 2px; font-size: 1.2rem; }
.upload-hint { font-size: 0.8rem; color: #555; margin-top: 15px; background: #000; padding: 5px 10px; border-radius: 4px; }

/* Cinsiyet Seçimi */
.gender-lock { display: flex; gap: 15px; margin-top: 30px; }
.g-opt { 
    padding: 12px 40px; border: 1px solid var(--border); cursor: pointer; 
    border-radius: 8px; color: #666; font-weight: 700; transition:0.2s; 
    background: rgba(0,0,0,0.5); font-family: var(--font-head); letter-spacing: 1px;
}
.g-opt:hover { border-color: #555; color: #fff; }
.g-opt.active { background: var(--accent); color: #000; border-color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }

/* --- 6. ANALİZ EKRANI (SPLIT SCREEN) --- */
.split-screen { display: flex; height: 100%; gap: 30px; }

/* Sol Taraf (Görsel) */
.col-visual { 
    flex: 1; background: #000; border: 1px solid var(--border); 
    border-radius: 16px; position: relative; overflow: hidden; 
    display: flex; align-items: center; justify-content: center; 
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}
.canvas-wrapper { position: relative; max-width: 95%; max-height: 95%; border: 1px solid #333; }
canvas { max-width: 100%; max-height: 100%; display: block; }
.scan-beam { 
    position: absolute; top: 0; left: 0; width: 100%; height: 3px; 
    background: var(--accent); box-shadow: 0 0 30px var(--accent); 
    animation: scan 2.5s infinite ease-in-out; z-index: 5;
}
.hud-data { 
    position: absolute; bottom: 20px; left: 20px; 
    font-family: monospace; font-size: 0.75rem; color: var(--accent); 
    background: rgba(0,0,0,0.9); padding: 10px 15px; 
    border-radius: 6px; border: 1px solid rgba(0, 255, 157, 0.3);
    backdrop-filter: blur(5px);
    display: flex; gap: 15px;
}

/* Sağ Taraf (Veri Akışı) */
.col-stream { 
    width: 480px; background: var(--bg-panel); border: 1px solid var(--border); 
    border-radius: 16px; display: flex; flex-direction: column; overflow: hidden; 
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
}
.terminal-header { display: flex; border-bottom: 1px solid var(--border); background: #080808; padding: 0 10px; }
.term-tab { 
    flex: 1; text-align: center; padding: 18px 0; cursor: pointer; 
    font-size: 0.8rem; color: #666; font-weight: 700; transition: 0.2s; 
    border-bottom: 3px solid transparent; font-family: var(--font-head); letter-spacing: 1px;
}
.term-tab:hover { color: #fff; background: rgba(255,255,255,0.02); }
.term-tab.active { color: var(--accent); border-bottom-color: var(--accent); background: linear-gradient(180deg, rgba(0,255,157,0.05) 0%, rgba(0,0,0,0) 100%); }
.terminal-body { flex: 1; padding: 30px; overflow-y: auto; position: relative; }

/* --- 7. WIDGETLAR VE İÇERİK TASARIMLARI --- */
.widget { 
    background: var(--bg-card); padding: 25px; border-radius: 12px; 
    margin-bottom: 25px; border: 1px solid #222; position: relative;
}
.widget::after { content:''; position: absolute; top:0; left:0; width:4px; height:100%; background:#222; border-top-left-radius: 12px; border-bottom-left-radius: 12px;}

.w-head { 
    font-size: 0.7rem; color: #555; text-transform: uppercase; 
    margin-bottom: 20px; letter-spacing: 2px; border-bottom: 1px solid #222; 
    padding-bottom: 10px; font-weight: 800; font-family: var(--font-head);
}
.narrative-text { line-height: 1.8; font-size: 1rem; color: #ccc; }
.narrative-text p { margin-bottom: 15px; }
.narrative-text strong { color: #fff; font-weight: 600; }

/* Skor Kutuları (Grid) */
.score-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 25px;
}
.score-box {
    background: linear-gradient(145deg, #151515, #0d0d0d);
    border: 1px solid #222; padding: 20px; border-radius: 10px;
    text-align: center; transition: 0.3s; position: relative;
}
.score-box:hover { border-color: var(--accent); box-shadow: 0 5px 20px rgba(0,255,157,0.1); transform: translateY(-2px); }
.score-box div:first-child { font-size: 0.7rem; color: #666; font-weight: bold; margin-bottom: 8px; letter-spacing: 1px; }
.sc-val { font-size: 2.2rem; font-weight: 700; color: #fff; font-family: var(--font-head); }

/* Renk Paleti Çubuğu */
.palette-bar { display: flex; height: 60px; border-radius: 8px; overflow: hidden; border: 1px solid #333; margin-top: 15px; }
.palette-swatch { flex: 1; position: relative; transition: 0.3s; }
.palette-swatch:hover { flex: 1.5; }

/* Market Öğeleri */
.shop-item { 
    display: flex; gap: 20px; padding: 20px; background: #0e0e0e; 
    border: 1px solid #222; margin-bottom: 15px; border-radius: 8px; 
    text-decoration: none; color: inherit; transition: 0.2s; align-items: center; 
}
.shop-item:hover { border-color: var(--accent); transform: translateX(5px); background: #161616; }
.shop-item b { color: #fff; font-size: 1.1rem; }

/* --- 8. PREMIUM KİLİT EFEKTİ --- */
.premium-lock { position: relative; width: 100%; height: 100%; min-height: 400px; display: flex; align-items: center; justify-content: center; background: #0a0a0c; border-radius: 12px; border: 1px solid #222; overflow: hidden; }
.premium-blur { 
    position: absolute; top:0; left:0; width:100%; height:100%; 
    filter: blur(15px); opacity: 0.3; pointer-events: none; 
    background: url('data:image/svg+xml;base64,...'); /* Desen eklenebilir */
}
.lock-overlay { text-align: center; width: 80%; z-index: 100; position: relative; }
.lock-icon { font-size: 4rem; margin-bottom: 20px; filter: drop-shadow(0 0 20px rgba(255,215,0,0.5)); }
.lock-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border: none; padding: 16px 40px; color: #000; font-weight: 800; font-size: 1.1rem;
    cursor: pointer; border-radius: 50px; box-shadow: 0 0 30px rgba(255, 165, 0, 0.3);
    animation: pulse 2s infinite; margin-top: 25px; text-transform: uppercase; letter-spacing: 2px;
}
.lock-btn:hover { transform: scale(1.05); box-shadow: 0 0 50px rgba(255, 165, 0, 0.6); color: #000; }

/* --- 9. MODALLAR VE FORMLAR --- */
.modal-backdrop { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(0,0,0,0.95); backdrop-filter: blur(20px); 
    z-index: 9999; display: none; align-items: center; justify-content: center; 
}

.modal-content { 
    background: #0a0a0c; border: 1px solid #333; padding: 50px; 
    border-radius: 16px; position: relative; box-shadow: 0 0 100px rgba(0,0,0,1); 
    max-width: 95vw;
}

.form-input { 
    width: 100%; padding: 16px; margin-bottom: 15px; 
    background: #050505; border: 1px solid #333; color: #fff; 
    border-radius: 8px; font-family: inherit; font-size: 1rem; transition: 0.2s;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 15px rgba(0,255,157,0.1); background: #000; }
.form-input::placeholder { color: #444; }

/* Fiyatlandırma Kartları */
.pricing-card {
    flex: 1; border: 1px solid #333; padding: 40px; border-radius: 16px; text-align: center; transition: 0.3s;
}
.pricing-card.pro {
    border: 2px solid var(--accent); background: linear-gradient(180deg, rgba(0,255,157,0.05) 0%, rgba(0,0,0,0) 100%);
    transform: scale(1.05);
}
.pricing-card ul li { margin-bottom: 15px; color: #bbb; border-bottom: 1px solid #222; padding-bottom: 10px; }

/* --- 10. KÜTÜPHANE GRID --- */
.grid-layout { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; margin-top: 20px; }
.lib-item { 
    border: 1px solid #222; border-radius: 10px; overflow: hidden; cursor: pointer; 
    transition: 0.2s; opacity: 0.7; aspect-ratio: 1; background: #000;
}
.lib-item img { width: 100%; height: 100%; object-fit: cover; }
.lib-item:hover { opacity: 1; border-color: var(--accent); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* --- 11. ANİMASYONLAR --- */
@keyframes scan { 
    0% { top: 0; opacity: 0; } 
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; } 
}
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

.loader { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; color: #666; font-family: monospace; }
.spinner { width: 50px; height: 50px; border: 3px solid #222; border-top-color: var(--accent); border-radius: 50%; animation: spin 1s infinite linear; margin-bottom: 25px; }

/* --- 12. RESPONSIVE --- */
@media (max-width: 1000px) {
    .split-screen { flex-direction: column; height: auto; }
    .col-visual { height: 400px; }
    .col-stream { width: 100%; height: auto; min-height: 500px; }
    .sidebar { display: none; } /* Mobil için sidebar gizlenir (İleride hamburger menü eklenebilir) */
    body { overflow-y: auto; }
    .viewport { overflow: visible; }
}