:root {
    --primary-blue: #0A192F;    /* Derin Lacivert (Arka plan) */
    --secondary-blue: #112240;  /* Kart Arka planı */
    --accent-orange: #FF6B00;   /* Canlı Turuncu (Vurgu) */
    --accent-orange-hover: #E65100;
    --text-main: #CCD6F6;       /* Açık Gri/Mavi Metin */
    --text-white: #FFFFFF;
    --gradient-main: linear-gradient(135deg, #FF6B00 0%, #FF9E40 100%);
    --border-light: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-blue);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

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

.browser-mockup {
    border-top: 30px solid #cbd5e1; /* Tarayıcı üst barı rengi */
    border-radius: 8px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden; /* Köşelerin yuvarlak kalması için */
    margin-top: 20px;
}

/* Tarayıcı noktaları (Kırmızı, Sarı, Yeşil buton süsü) */
.browser-mockup::before {
    content: '•••';
    position: absolute;
    top: -25px;
    left: 15px;
    color: white;
    font-size: 24px;
    letter-spacing: 2px;
    line-height: 20px;
    font-family: monospace;
}

.browser-mockup img {
    display: block;
    width: 100%;
    height: auto;
}

/* --- NAVBAR --- */
.navbar {
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 100px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-orange);
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
}

.btn-secondary {
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background-color: rgba(255, 107, 0, 0.1);
}

.btn-text {
    font-weight: 600;
    color: var(--text-white);
}

.menu-toggle { display: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* --- HERO SECTION --- */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    z-index: 2;
}

.hero-text { flex: 1; }

.badge {
    display: inline-block;
    background: rgba(255, 107, 0, 0.1);
    color: var(--accent-orange);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.highlight {
    background: linear-gradient(to right, #FF6B00, #FFD54F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.tech-stack {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: #8892b0;
}

.tech-stack .icons i {
    font-size: 1.5rem;
    margin-right: 10px;
    color: var(--text-main);
    transition: color 0.3s;
}

.tech-stack .icons i:hover { color: var(--accent-orange); }

.hero-visual { flex: 1; position: relative; }

.visual-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border-light);
    background: var(--secondary-blue);
}

.visual-card img {
    width: 100%;
    display: block;
    opacity: 0.9;
}

.floating-badge {
    position: absolute;
    background: rgba(17, 34, 64, 0.9);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid var(--accent-orange);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-badge i { color: var(--accent-orange); }
.top-right { top: 50px; right: 50px; animation: float 6s ease-in-out infinite 1s; }
.top-left { top: 20px; left: 50px; animation: float 6s ease-in-out infinite;  }
.bottom-left { bottom: 20px; left: 20px; animation: float 6s ease-in-out infinite 3s; }
.bottom-right { bottom: 50px; right: 20px; animation: float 6s ease-in-out infinite 1s; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,107,0,0.15) 0%, rgba(10,25,47,0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* --- SECTIONS --- */
.section { padding: 100px 0; }
.strip-section { background-color: var(--secondary-blue); }

.section-header { margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.2rem; color: var(--text-white); margin-bottom: 15px; }
.highlight-text { color: var(--accent-orange); }
.text-center { text-align: center; }

/* GRID */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--primary-blue);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 0, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.feature-card h3 { color: var(--text-white); margin-bottom: 10px; }

/* --- PRODUCT PAGE STYLES --- */
.page-header {
    padding-top: 140px;
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(to bottom, var(--primary-blue), var(--secondary-blue));
}
.page-header h1 { font-size: 3rem; color: var(--text-white); margin-bottom: 10px; }

.tech-block {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
}

/* Eraser.io Dark Mode Görseli ile Uyumlu Wrapper */
/* DÜZELTME: Diyagramın arka planını koyu yapıyoruz */
.diagram-wrapper {
    background: #0f172a; /* Sitenizin ana rengiyle uyumlu koyu lacivert */
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); /* Gölgeyi belirginleştirdik */
    margin-bottom: 60px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1); /* İnce bir çerçeve ekledik */
    position: relative;
    overflow: hidden;
}

/* İsteğe bağlı: Diyagramın arkasına hafif bir ışıltı efekti */
.diagram-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,107,0,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.diagram-wrapper img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

/* Görselin kenarlarını yumuşat */
.diagram-wrapper img {
    box-shadow: none; /* Resmin kendi gölgesini kaldırıyoruz, wrapper'ınki yeterli */
    max-width: 100%;
} 
.tech-block.reverse { flex-direction: row-reverse; }

.tech-content { flex: 1; }
.tech-visual { flex: 1; }

.tech-icon { font-size: 2.5rem; color: var(--accent-orange); margin-bottom: 20px; }
.tech-content h2 { font-size: 2rem; color: var(--text-white); margin-bottom: 5px; }
.tech-content h3 { font-size: 1.2rem; color: var(--accent-orange); margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }

.check-list { margin-top: 20px; }
.check-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}
.check-list li::before {
    content: '\f00c'; /* FontAwesome Check */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-orange);
}

/* Code Window Style */
.code-window {
    background: #011627;
    border-radius: 8px;
    border: 1px solid #1E2D3D;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.code-header {
    background: #011627;
    padding: 10px 15px;
    border-bottom: 1px solid #1E2D3D;
    font-family: monospace;
    color: #5F7E97;
    font-size: 0.85rem;
}
pre { padding: 20px; overflow-x: auto; }
code { font-family: 'Consolas', monospace; color: #d6deeb; font-size: 0.9rem; }

/* Diagram Box (Simple CSS Diagram) */
.diagram-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px;
    background: var(--secondary-blue);
    border-radius: 8px;
    border: 1px dashed var(--border-light);
}
.db-node {
    background: #fff;
    color: #000;
    padding: 15px;
    border-radius: 4px;
    font-weight: bold;
}
.arrow-stream {
    color: var(--accent-orange);
    font-weight: bold;
    font-family: monospace;
    animation: pulse 1s infinite;
}

@keyframes pulse { 0% { opacity: 0.5; } 100% { opacity: 1; } }

.divider { border: 0; height: 1px; background: var(--border-light); margin: 0; }

/* CTA SECTION */
.cta-section { background: var(--accent-orange); padding: 60px 0; margin-top: 50px; }
.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cta-text h2 { color: #fff; font-size: 2rem; }
.cta-text p { color: rgba(255,255,255,0.9); }
.btn-white {
    background: #fff;
    color: var(--accent-orange);
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: bold;
}
.btn-white:hover { background: #f0f0f0; }

/* FOOTER */
footer {
    background-color: #020c1b;
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-light);
}
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.footer-logo-icon { width: 50px; margin-bottom: 15px; }
.footer-brand h3 { color: var(--text-white); margin-bottom: 5px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--accent-orange); }
.footer-bottom { text-align: center; font-size: 0.85rem; color: #5F7E97; }

/* RESPONSIVE */
/* --- RESPONSIVE (MOBİL) GÜÇLENDİRİLMİŞ AYARLAR --- */
@media (max-width: 768px) {
    /* 1. İkonun Dokunma Alanını Büyütelim */
    .menu-toggle { 
        display: block; 
        z-index: 2000; /* En üstte olduğundan emin olalım */
        padding: 15px; /* Parmakla basmayı kolaylaştırır */
        margin-right: -15px; /* Hizayı bozmadan alanı genişlet */
        cursor: pointer;
        /* Seçilmeyi engelle (Mavi kutu çıkmasın) */
        -webkit-tap-highlight-color: transparent; 
        user-select: none;
    }

    /* 2. Menü Arka Planı ve Yapısı */
    .nav-links, .nav-buttons { 
        display: none; 
        width: 100%;
        text-align: center;
        position: fixed; /* Absolute yerine Fixed daha kararlıdır */
        left: 0;
        background-color: rgba(10, 25, 47, 0.98); 
        backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--border-light);
    }

    /* 3. Menü Açıldığında */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        top: 80px; /* Navbar yüksekliği */
        padding: 30px 0 10px 0;
        gap: 25px;
        z-index: 1999;
    }

    /* Butonları Linklerin Hemen Altına Koyuyoruz */
    /* Not: Magic Number (320px) yerine CSS ile hizalayalım */
    .nav-buttons.active {
        display: flex;
        flex-direction: column;
        /* Linklerin bittiği yerden başlaması için yaklaşık bir değer */
        /* Link sayınız sabit olduğu için bu değer güvenlidir */
        top: 330px; 
        padding-bottom: 40px;
        z-index: 1999;
        border-top: none; 
    }

    /* Hero ve Diğer Alanlar Mobilde */
    .hero-content { flex-direction: column; text-align: center; padding-top: 40px; }
    .hero h1 { font-size: 2.2rem; } /* Fontu mobilde biraz küçülttük */
    .hero-actions { justify-content: center; }
    .tech-stack { justify-content: center; margin-top: 20px;}
    
    .tech-block, .tech-block.reverse { flex-direction: column; text-align: center; gap: 30px; }
    .cta-content { flex-direction: column; gap: 20px; text-align: center; }
    .docs-sidebar { display: none; }
    .docs-content { margin-left: 0; padding: 100px 20px 40px; }
}