/* --- MASTERPIECE STYLE v3.0 (Security & Content Update) --- */
:root {
    --bg-deep: #030014;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --primary: #7000df;
    --secondary: #00d4ff;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --gradient-main: linear-gradient(135deg, #7000df 0%, #00d4ff 100%);
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: radial-gradient(circle at 50% 0%, #1a1a2e 0%, #030014 60%);
    min-height: 100vh;
    
    /* GÜVENLİK: Kopyalamayı Engelle */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Inputlara yazı yazılabilsin diye istisna ekliyoruz */
input, textarea { user-select: text; }

/* --- ORTAM IŞIKLARI --- */
.ambient-light {
    position: fixed; width: 600px; height: 600px;
    background: var(--primary); filter: blur(180px); opacity: 0.15;
    border-radius: 50%; z-index: -1; pointer-events: none;
    animation: floatLight 10s infinite alternate;
}
.light-1 { top: -200px; left: -100px; background: var(--secondary); }
.light-2 { bottom: -200px; right: -100px; animation-delay: -5s; }

@keyframes floatLight {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* --- HEADER --- */
header {
    position: fixed; top: 0; left: 0; width: 100%; padding: 15px 0; z-index: 1000;
    backdrop-filter: blur(15px); background: rgba(3, 0, 20, 0.7);
    border-bottom: 1px solid var(--glass-border);
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.header-content { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-family: var(--font-head); font-size: 1.6rem; font-weight: 700;
    color: white; text-decoration: none; display: flex; align-items: center; gap: 10px;
}
.logo i { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    color: var(--text-muted); text-decoration: none; font-weight: 500;
    transition: 0.3s; position: relative;
}
.nav-links a:hover { color: white; text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* --- DİL & BUTONLAR --- */
.header-actions { display: flex; align-items: center; gap: 15px; }

.lang-switch {
    background: var(--glass); border: 1px solid var(--glass-border);
    padding: 5px 15px; border-radius: 30px; display: flex; gap: 8px;
}
.lang-btn {
    background: none; border: none; color: var(--text-muted);
    font-weight: 700; cursor: pointer; transition: 0.3s;
}
.lang-btn.active { color: white; text-shadow: 0 0 8px rgba(255,255,255,0.6); }

.btn-glow {
    background: var(--gradient-main); color: white; padding: 10px 25px;
    border-radius: 50px; text-decoration: none; font-weight: 600;
    border: none; cursor: pointer; box-shadow: 0 0 20px rgba(112, 0, 223, 0.4);
    transition: 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(0, 212, 255, 0.6); }

.btn-glass {
    background: var(--glass); border: 1px solid var(--glass-border);
    color: white; padding: 10px 25px; border-radius: 50px;
    text-decoration: none; font-weight: 600; transition: 0.3s;
}
.btn-glass:hover { border-color: var(--secondary); background: rgba(0, 212, 255, 0.1); }

/* --- HERO --- */
.hero { padding: 180px 0 100px; text-align: center; }
.hero h1 {
    font-family: var(--font-head); font-size: 4rem; line-height: 1.1; margin-bottom: 20px;
}
.gradient-text { background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto 40px; }
.hero-btns { display: flex; justify-content: center; gap: 20px; }

/* --- KARTLAR & GRID --- */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; font-family: var(--font-head); margin-bottom: 10px; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.card {
    background: rgba(10, 10, 20, 0.6); border: 1px solid var(--glass-border);
    border-radius: 20px; padding: 25px; transition: 0.4s; position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
}
.card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px;
    background: var(--gradient-main); transform: scaleX(0); transition: 0.4s; transform-origin: left;
}
.card:hover::before { transform: scaleX(1); }

.card-icon { font-size: 2rem; margin-bottom: 20px; color: var(--secondary); }
.card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }

/* --- PROGRESS BARS --- */
.progress-container { width: 100%; background: rgba(255,255,255,0.1); height: 8px; border-radius: 10px; overflow: hidden; margin-top: auto; }
.progress-bar { height: 100%; background: var(--gradient-main); border-radius: 10px; box-shadow: 0 0 10px var(--primary); }
.progress-info { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 5px; font-weight: 600; }

/* --- STATS SECTION --- */
.stats-container {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin: 60px 0; padding: 40px 0;
}
.stats-grid {
    display: flex; justify-content: space-around; flex-wrap: wrap; text-align: center; gap: 30px;
}
.stat-item h3 {
    font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 5px;
    background: var(--gradient-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-item p { color: var(--text-muted); font-size: 1rem; font-weight: 500; }

/* --- BLOG LISTESI --- */
.blog-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.blog-item {
    display: flex; align-items: center; gap: 20px;
    background: var(--glass); border: 1px solid var(--glass-border);
    padding: 20px; border-radius: 15px; transition: 0.3s;
}
.blog-item:hover { background: rgba(255,255,255,0.05); border-color: var(--secondary); }
.date-badge {
    background: rgba(112, 0, 223, 0.2); color: var(--secondary); border: 1px solid rgba(112, 0, 223, 0.4);
    padding: 10px 15px; border-radius: 10px; text-align: center; min-width: 70px;
}
.date-badge span { display: block; font-size: 1.4rem; font-weight: 700; line-height: 1; }

/* --- MOBİL UYUM --- */
.mobile-menu-btn { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.mobile-overlay {
    position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
    background: rgba(3, 0, 20, 0.98); backdrop-filter: blur(20px);
    z-index: 2000; display: flex; flex-direction: column;
    justify-content: center; align-items: center; transition: 0.4s ease-in-out;
}
.mobile-overlay.active { right: 0; }
.mobile-overlay a { font-size: 2rem; color: white; text-decoration: none; margin: 20px 0; font-weight: 700; }
.close-menu { position: absolute; top: 30px; right: 30px; font-size: 2rem; background: none; border: none; color: var(--secondary); cursor: pointer; }

@media (max-width: 768px) {
    .nav-links, .desktop-only { display: none; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2.8rem; }
    .hero-btns { flex-direction: column; }
    .grid-3 { grid-template-columns: 1fr; }
    .stats-grid { flex-direction: column; }
    .blog-item { flex-direction: column; text-align: center; }
}

/* --- TERMINAL --- */
.terminal-wrapper {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
}
.hidden { display: none !important; }
.terminal-box {
    width: 90%; max-width: 700px; height: 450px; background: #0a0a0a;
    border: 1px solid #333; border-radius: 8px; box-shadow: 0 0 50px rgba(0, 212, 255, 0.2);
    display: flex; flex-direction: column; font-family: 'Courier New', monospace;
}
.terminal-head {
    background: #1a1a1a; padding: 10px 15px; display: flex; justify-content: space-between;
    border-bottom: 1px solid #333;
}
.term-btn { width: 12px; height: 12px; border-radius: 50%; background: #ff5f56; display: inline-block; cursor: pointer;}
.term-body { flex: 1; padding: 15px; color: #00ff00; overflow-y: auto; }
.term-input-area { padding: 10px; background: #000; display: flex; border-top: 1px solid #333; }
.term-input { flex: 1; background: transparent; border: none; color: white; outline: none; font-family: inherit; margin-left: 10px; }