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

:root{
    --bg:#f5f7fb;
    --surface:#ffffff;
    --surface-2:#f8fafc;
    --text:#111827;
    --text-2:#374151;
    --muted:#6b7280;
    --border:rgba(15,23,42,.10);
    --blue:#185FA5;
    --blue-bg:#E6F1FB;
    --green:#3B6D11;
    --green-bg:#EAF3DE;
    --red:#E24B4A;
    --red-bg:#FCEBEB;
    --shadow:0 12px 36px rgba(15,23,42,.08);
}

html[data-theme="dark"]{
    --bg:#0f172a;
    --surface:#111827;
    --surface-2:#1f2937;
    --text:#f8fafc;
    --text-2:#cbd5e1;
    --muted:#94a3b8;
    --border:rgba(255,255,255,.12);
    --blue:#93c5fd;
    --blue-bg:rgba(59,130,246,.14);
    --green:#86efac;
    --green-bg:rgba(34,197,94,.12);
    --red:#fca5a5;
    --red-bg:rgba(239,68,68,.13);
    --shadow:0 12px 36px rgba(0,0,0,.32);
}

body{
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.5;
}



.nav{
    min-height:58px;
    background:var(--surface);
    border-bottom:.5px solid var(--border);
    display:flex;
    align-items:center;
    gap:16px;
    padding:10px 24px;
    position:sticky;
    top:0;
    z-index:100;
}

.nav-brand{
    display:flex;
    align-items:center;
    gap:9px;
    text-decoration:none;
    flex-shrink:0;
}

.nav-icon{
    width:31px;
    height:31px;
    background:var(--blue-bg);
    color:var(--blue);
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:17px;
}

.nav-logo{
    font-size:17px;
    font-weight:700;
    color:var(--text);
    letter-spacing:-.3px;
}

.nav-logo span{
    color:var(--blue);
}

.nav-sep{
    width:.5px;
    height:22px;
    background:var(--border);
    flex-shrink:0;
}

.nav-menu{
    display:flex;
    align-items:center;
    gap:4px;
    flex-shrink:0;
}

.nav-menu a{
    color:var(--muted);
    text-decoration:none;
    font-size:13px;
    font-weight:600;
    padding:8px 9px;
    border-radius:8px;
    display:flex;
    align-items:center;
    gap:5px;
    white-space:nowrap;
}

.nav-menu a:hover{
    color:var(--blue);
    background:var(--blue-bg);
}

.header-search{
    margin-left:auto;
    flex:1;
    max-width:420px;
    height:37px;
    display:flex;
    align-items:center;
    gap:8px;
    background:var(--surface-2);
    border:.5px solid var(--border);
    border-radius:8px;
    padding:0 12px;
}

.header-search:focus-within{
    border-color:var(--blue);
}

.header-search i{
    color:var(--muted);
    font-size:15px;
    flex-shrink:0;
}

.header-search input{
    border:none;
    background:transparent;
    outline:none;
    color:var(--text);
    font-size:13px;
    flex:1;
    min-width:0;
}

.header-search input::placeholder{
    color:var(--muted);
}

.theme-toggle{
    width:35px;
    height:35px;
    border:.5px solid var(--border);
    background:var(--surface-2);
    color:var(--muted);
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:18px;
    flex-shrink:0;
}

.theme-toggle:hover{
    color:var(--blue);
    border-color:var(--blue);
}

.header-analyze{
    height:35px;
    border:none;
    background:#185FA5;
    color:#fff;
    border-radius:8px;
    padding:0 15px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:6px;
    flex-shrink:0;
}

html[data-theme="dark"] .header-analyze{
    background:#2563eb;
}

.mobile-toggle{
    display:none;
    margin-left:auto;
    width:36px;
    height:36px;
    border:.5px solid var(--border);
    background:var(--surface-2);
    color:var(--text);
    border-radius:9px;
    align-items:center;
    justify-content:center;
    font-size:20px;
    cursor:pointer;
}



@media(max-width:980px){
    .nav{
        display:grid;
        grid-template-columns:auto 1fr auto;
        gap:12px;
        padding:10px 16px;
    }

    .nav-brand{
        grid-column:1;
        grid-row:1;
    }

    .theme-toggle{
        grid-column:2;
        grid-row:1;
        margin-left:auto;
    }

    .mobile-toggle{
        display:flex;
        grid-column:3;
        grid-row:1;
        margin-left:0;
    }

    .nav-sep{
        display:none;
    }

    .nav-menu{
        display:none;
        grid-column:1 / -1;
        grid-row:2;
        flex-direction:column;
        align-items:stretch;
        gap:4px;
        background:var(--surface-2);
        border:.5px solid var(--border);
        border-radius:12px;
        padding:8px;
        width:100%;
        margin:0;
    }

    .nav-menu.open{
        display:flex;
    }

    .nav-menu a{
        padding:10px 12px;
    }

    .header-search{
        grid-column:1 / -1;
        grid-row:3;
        max-width:none;
        width:100%;
        margin-left:0;
    }

    .header-analyze{
        grid-column:1 / -1;
        grid-row:4;
        justify-content:center;
        width:100%;
        margin-left:0;
    }
}


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

.footer{
    max-width:1180px;
    margin:42px auto 0;
    border-top:1px solid var(--border);
    padding:26px 20px;
    color:var(--muted);
    font-size:13px;
    display:flex;
    justify-content:space-between;
    gap:20px;
}

@media(max-width:900px){
    .nav{
        padding:10px 18px;
        flex-wrap:wrap;
    }

    .nav-links{
        width:100%;
        overflow:auto;
        gap:12px;
    }

    .footer{
        flex-direction:column;
    }
}


/* Header - aramasız versiyon */
.nav.nav-simple{
    display:flex;
    align-items:center;
}

.nav.nav-simple .nav-menu{
    flex:1;
}

.nav.nav-simple .theme-toggle{
    margin-left:auto;
}

/* Mobil aramasız header düzeltmesi */
@media(max-width:980px){
    .nav.nav-simple{
        display:grid;
        grid-template-columns:auto 1fr auto auto;
        align-items:center;
    }

    .nav.nav-simple .nav-brand{
        grid-column:1;
        grid-row:1;
    }

    .nav.nav-simple .theme-toggle{
        grid-column:3;
        grid-row:1;
        margin-left:0;
    }

    .nav.nav-simple .mobile-toggle{
        grid-column:4;
        grid-row:1;
        margin-left:0;
    }

    .nav.nav-simple .nav-menu{
        grid-column:1 / -1;
        grid-row:2;
    }
}
