:root{
    --bg:#000000;
    --surface:#f8fafc;
    --blue:#FFD700;
    --green:#007FFF;
    --orange:#f59e0b;
    --text:#0f172a;
    --muted:#FFFFFF;
    --border:#FFFFFF;
    --h2-dark:#FFD700; /* koyu volkanik gri */
}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial;background:var(--bg);color:var(--text);line-height:1.7}
.container{max-width:1100px;margin:auto;padding:20px}

/* HEADER */
header{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.logo{font-weight:800;font-size:22px;color:var(--blue)}
nav{display:flex;gap:14px;align-items:center}
nav a{color:var(--blue);text-decoration:none;font-weight:700}
nav a:hover{color:var(--orange)}

/* MOBILE MENU */
.menu-btn{display:none;background:none;border:none;font-size:26px;color:#FFD700}
.mobile-nav{display:none;flex-direction:column;background:var(--surface);padding:10px 0;border-radius:14px;margin-top:10px;border:1px solid var(--border)}
.mobile-nav a{color:var(--blue);text-decoration:none;font-weight:700;padding:12px 16px}
.mobile-nav a:hover{color:var(--orange);background:#ffffff}
.mobile-nav a + a{border-top:1px solid var(--border)}

/* HERO */
.hero{padding:40px 0 20px 0}
h1{font-size:42px;line-height:1.2;margin-bottom:12px;color:#FFD700}
.lead{color:var(--border);max-width:700px}
.cta{margin-top:18px;display:flex;gap:10px}
.btn{padding:12px 18px;border-radius:10px;border:none;font-weight:700;cursor:pointer}
.btn-primary{background:#FFD700;color:var(--bg);border:0px solid var(--border)}
.btn-ghost{background:#FFD700;color:var(--bg);border:0px solid var(--border)}

/* SABİT RENKLER (Butonlar ve Features h3 linkleri) */
.btn, .btn a {
    color: var(--bg) !important;
    text-decoration: none !important;
}
.btn-primary:hover, .btn-ghost:hover,
.btn a:hover {
    color: var(--bg) !important;
}
.feature h3, .feature h3 a {
    color: var(--blue) !important;
    text-decoration: none !important;
}
.feature h3 a:hover {
    color: var(--blue) !important;
}

/* SADECE MASAÜSTÜ */
@media (min-width:901px){
    .hero{
        max-width:80%;
        margin-left:auto;
        margin-right:auto;
    }
}

/* ARTICLE */
.article{
    margin-top:40px;
    background:var(--bg);
    border:1px solid var(--border);
    border-radius:18px;
    padding:28px
}
.article h2{margin-bottom:10px;font-size:28px;color:#FFD700;line-height:1.25}
.article h3{margin-top:14px;margin-bottom:6px;color:var(--green);line-height:1.25}
.article p{margin-bottom:18px;color:#FFFFFF}
.article ul{margin:10px 0 18px 18px;padding-left:10px}
.article li{margin-bottom:8px;color:#334155}
.article li::marker{color:var(--green)}
.article .article-image{margin:14px 0 18px 0;border-radius:14px;overflow:hidden;border:1px solid var(--border)}
.article .article-image img{width:100%;height:auto;display:block}

/* SADECE MASAÜSTÜ */
@media (min-width:901px){
    .article{
        max-width:80%;
        margin-left:auto;
        margin-right:auto;
    }
}

/* FEATURES */
.features{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.feature{background:#000000;border:1px solid var(--border);padding:18px;border-radius:14px}
.feature h3{margin-bottom:6px;color:var(--blue)}
.feature p{color:#d3d3d3}

/* FAQ */
.faq-section{margin-top:40px}
.faq-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:22px;align-items:stretch}
.faq-image{border:1px solid var(--border);border-radius:16px;overflow:hidden;background:#ffffff}
.faq-image img{width:100%;height:100%;object-fit:cover;display:block}
.faq-box{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:20px}
.faq-box h2{color:var(--h2-dark);margin-bottom:10px}
.faq-item{margin-bottom:12px}
.faq-q{font-weight:700;color:var(--blue);margin-bottom:4px}
.faq-a{color:#334155}

footer{margin-top:40px;color:var(--muted);font-size:14px}

/* RESPONSIVE */
@media (max-width:900px){
    nav{display:none}
    .menu-btn{display:block}
    .features{grid-template-columns:1fr}
    h1{font-size:32px}
    .faq-grid{grid-template-columns:1fr}
}

/* ================= toc ================= */
.my-float{margin-top:16px}
#toc {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
}
#toc h2 {
    margin-top: 0;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#toc h2::after {
    content: "▼";
    font-size: 12px;
    transition: transform 0.3s ease;
}
#toc.closed ul{display:none}
#toc.closed h2::after{transform:rotate(-90deg)}
#toc ul{list-style-type:none;padding-left:0}
#toc ul li{margin-bottom:5px;font-size:14px}
#toc ul li.h3{margin-left:20px;font-size:13px}
#toc ul li.h4{margin-left:40px;font-size:12px}
#toc a{text-decoration:none;color:#0073e6;font-size:inherit}
#toc a:hover{text-decoration:underline}

/* === MOBIL MENU FIX (KAYMA YOK) === */
@media (max-width:900px){
  .mobile-nav{
    position:fixed;
    top:80px;
    left:10px;
    right:10px;
    display:none;
    z-index:999;
    background:var(--bg);
    border:1px solid var(--border);
    border-radius:14px;
    padding:10px 0;
  }
  .mobile-nav a{
    padding:12px 16px;
    display:block;
    border-top:0;
  }
}

/* DESKTOP SUB MENU */
.has-sub{position:relative;display:flex;align-items:center}
.sub-menu{display:none;position:absolute;top:28px;left:0;background:var(--bg);border:0px solid var(--border);border-radius:10px;padding:6px 0;min-width:160px;flex-direction:column}
.sub-menu a{padding:8px 14px;display:block;white-space:nowrap}
.has-sub:hover .sub-menu{display:flex}

/* MOBILE SUB MENU */
.has-sub-mobile span{display:block;padding:12px 16px;font-weight:700;color:var(--blue);cursor:pointer}
.sub-menu-mobile{display:none;flex-direction:column}
.sub-menu-mobile a{padding-left:28px}
.sub-menu-mobile.open{display:flex}
.has-sub > a::after{content:"▾";font-size:12px;margin-left:6px}
.has-sub-mobile > span::after{content:"▾";float:right;font-size:12px}