/* --- DEĞİŞKENLER --- */
:root {
    --primary-blue: #000000;
    --accent-red: #ff4655;
    --bg-dark: #020408;
    --card-bg: rgba(13, 17, 23, 0.7);
    --text-gray: #94a3b8;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Rajdhani', sans-serif;
}

/* --- GENEL AYARLAR --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Genişleme sorununu önleyen en kritik ayar */
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Sağ tarafa taşmaları engeller */
}

body {
    font-family: var(--font-main);
    color: white;
    line-height: 1.6;
    background: radial-gradient(circle at center, #0a192f 0%, #020408 100%);
    position: relative;
    min-height: 100vh;
}

/* Hareketli Yıldızlar & Nebula (Aynı Kaldı) */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    animation: spaceMove 100s linear infinite;
    pointer-events: none;
}
@keyframes spaceMove {
    from { background-position: 0 0; }
    to { background-position: 1000px 1000px; }
}
body::after {
    content: "";
    position: fixed;
    top: 50%; left: 50%;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(177, 177, 177, 0.096) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(90px);
    pointer-events: none;
}

/* --- MARQUEE BAR --- */
.marquee-bar {
    background: var(--primary-blue);
    color: #000;
    padding: 8px 0;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid rgba(255,255,255,0.2);
    width: 100%;
    position: relative;
}

.marquee-inner {
    display: inline-block;
    animation: marquee 20s linear infinite;
}
@keyframes marquee {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* --- HEADER & NAVBAR (DÜZELTİLEN KISIM) --- */
/* --- YENİ NESİL NAVBAR TASARIMI --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(2, 4, 8, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky; /* Sayfa kaydıkça üstte kalması için */
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Logo Stili */
.logo { 
    font-family: var(--font-display); 
    font-weight: 800; 
    font-size: 26px; 
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.logo span { color: var(--primary-blue); transition: 0.3s; }
.logo:hover span { text-shadow: 0 0 15px var(--primary-blue); }

/* Navigasyon Linkleri */
.nav-links { 
    display: flex; 
    gap: 30px; 
    list-style: none; 
}
.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 13px;
    transition: 0.3s ease;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.nav-links a i { font-size: 14px; opacity: 0.7; }

/* Link Alt Çizgi Animasyonu */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: 0.3s;
    box-shadow: 0 0 10px var(--primary-blue);
}

.nav-links a:hover { color: white; }
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover i { color: var(--primary-blue); opacity: 1; }

/* Butonlar */
.auth-btns { display: flex; align-items: center; gap: 20px; }
.auth-btns .login { 
    color: var(--text-gray); 
    text-decoration: none; 
    font-size: 14px; 
    font-weight: 700; 
    transition: 0.3s;
}
.auth-btns .login:hover { color: white; }

.auth-btns .register {
    background: linear-gradient(135deg, var(--primary-blue), #0088ff);
    color: #000;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    transition: 0.4s ease;
    border: 1px solid rgba(255,255,255,0.2);
}
.auth-btns .register:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(0, 210, 255, 0.4);
    filter: brightness(1.1);
}

/* Scroll durumunda header'ın küçülmesi */
header.scrolled {
    padding: 12px 10%;
    background: rgba(2, 4, 8, 0.95);
    border-bottom: 1px solid var(--primary-blue);
}

.auth-btns .login { color: white; text-decoration: none; margin-right: 20px; font-size: 14px; font-weight: 600; }
.auth-btns .register {
    background: var(--primary-blue);
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
}
.auth-btns .register:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--primary-blue); }

/* --- HERO SECTION --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0; /* Header relative olduğu için çok büyük padding'e gerek kalmadı */
    min-height: 80vh;
}

.hero-text { flex: 1; z-index: 2; }
.hero-text h1 { font-family: var(--font-display); font-size: 80px; line-height: 0.9; margin-bottom: 25px; }
.hero-text h1 span { color: var(--primary-blue); }
.hero-desc { color: var(--text-gray); font-size: 18px; max-width: 500px; margin-bottom: 30px; }

.feature-mini { list-style: none; margin-bottom: 40px; }
.feature-mini li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; color: #e2e8f0; font-size: 15px; }
.feature-mini i { color: var(--primary-blue); font-size: 18px; }

.btn-main {
    display: inline-block;
    background: white;
    color: black;
    padding: 18px 45px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    transition: 0.4s;
    border: 2px solid transparent;
}
.btn-main:hover { background: var(--primary-blue); color: white; transform: translateY(-5px); }

.hero-image { flex: 1; display: flex; justify-content: flex-end; }
.hero-image img {
    max-width: 100%;
    height: 800px;
    filter: drop-shadow(0 0 50px rgba(0, 210, 255, 0.2));
    animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-30px); } }

/* --- SHOWCASE SECTION --- */
.showcase {
    padding: 100px 0;
    background: rgba(126, 126, 126, 0);
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.showcase-title { text-align: center; margin-bottom: 60px; }
.showcase-title h2 { font-family: var(--font-display); font-size: 45px; }
.showcase-flex { display: flex; gap: 50px; align-items: center; }
.showcase-info { flex: 1; background: var(--card-bg); padding: 50px; border-radius: 30px; }
.showcase-video { flex: 1.5; height: 400px; border-radius: 30px; overflow: hidden; border: 2px solid var(--primary-blue); }

/* --- CHAT TRIGGER --- */
#chat-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px; height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; color: #000;
    z-index: 1000;
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero, .showcase-flex { flex-direction: column; text-align: center; }
    .hero-text h1 { font-size: 50px; }
    .hero-image img { height: 400px !important; }
    header { padding: 20px 5%; }
    .nav-links { display: none; }
}