  :root{
    --f-bg:#0f172a;          /* koyu zemin */
    --f-border:#1f2937;
    --f-text:#e5e7eb;
    --f-muted:#9ca3af;
    --f-link:#e5e7eb;
    --f-linkH:#ffffff;
    --f-accent:#6366f1;     /* vurgu */
  }

  .footer{
    margin-top: 40px;
    background: var(--f-bg);
    border-top: 1px solid var(--f-border);
  }

  .footer .inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 34px 16px 18px;
  }

  .footer .top{
    display:grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
  }

  @media (max-width: 900px){
    .footer .top{ grid-template-columns: 1fr; }
  }

  /* ---------- Brand ---------- */
  .f-brand{
    display:flex;
    gap:14px;
    align-items:flex-start;
  }

  .f-logo{
    width:46px;
    height:46px;
    border-radius:14px;
    background: linear-gradient(135deg,#6366f1,#4338ca);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:18px;
    flex:0 0 auto;
  }

  .f-title{
    margin:0;
    font-weight:900;
    font-size:16px;
    letter-spacing:-.2px;
    color:var(--f-linkH);
  }

  .f-sub{
    margin-top:6px;
    font-size:13px;
    line-height:1.6;
    color:var(--f-muted);
    max-width:420px;
  }

  /* ---------- Columns ---------- */
  .f-col h4{
    margin:0 0 12px;
    font-size:12px;
    font-weight:900;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#c7d2fe;
  }

  .f-links{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px 14px;
  }

  @media (max-width:420px){
    .f-links{ grid-template-columns:1fr; }
  }

  .f-links a{
    text-decoration:none;
    font-size:13px;
    font-weight:700;
    color:var(--f-link);
    opacity:.9;
    transition: color .12s ease, transform .12s ease;
  }

  .f-links a:hover{
    color:var(--f-linkH);
    transform: translateX(2px);
  }

  /* ---------- Bottom ---------- */
  .footer .bottom{
    margin-top:26px;
    padding-top:14px;
    border-top:1px solid var(--f-border);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    font-size:12.5px;
    color:var(--f-muted);
  }

  .footer .bottom a{
    color:#c7d2fe;
    font-weight:800;
    text-decoration:none;
  }

  .footer .bottom a:hover{
    color:#ffffff;
    text-decoration:underline;
  }

  /* ---------- Scroll Top ---------- */
/* Scroll To Top (FIX) */
.toTop{
  position: fixed;
  right: 18px;
  bottom: 18px;

  width: 46px;
  height: 46px;
  border-radius: 16px;

  display: grid;
  place-items: center;

  background: rgba(255,255,255,.88);
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 12px 30px rgba(0,0,0,.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  cursor: pointer;
  user-select: none;

  /* kritik: tıklanabilir olsun */
  pointer-events: auto;

  /* kritik: her şeyin üstünde kalsın (drawer hariç) */
  z-index: 1200;

  /* görünürlük animasyonu */
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.toTop.show{
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

@media (max-width: 520px){
  .toTop{ right: 12px; bottom: 12px; width: 48px; height: 48px; border-radius: 16px; }
}

#toTop.toTop{
  z-index: 999999 !important;
  pointer-events: auto !important;
}