/* ==========================================================
   NEYE İHTİYACINIZ VAR? — sağ kenar sekmesi + panel
   ========================================================== */
.need-tab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 45;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 11px 20px;
  border: 0;
  border-radius: 14px 0 0 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #1d4ed8, #1e40af);
  color: #fff;
  font: 700 14px/1 var(--font);
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: -8px 10px 28px -12px rgba(29, 78, 216, .7);
  transition: padding .25s ease, box-shadow .25s ease, opacity .25s, transform .3s ease;
}
.need-tab .txt { writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; }
.need-tab:hover, .need-tab:focus-visible { padding-right: 17px; box-shadow: -12px 12px 32px -12px rgba(29, 78, 216, .9); }
.need-tab:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.need-ico { width: 20px; height: 20px; fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.need-tab .dot { position: absolute; top: 8px; left: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); animation: need-pulse 2s infinite; }
.need-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--yellow), var(--red)); }
@keyframes need-pulse { 0% { box-shadow: 0 0 0 0 rgba(251, 191, 36, .7); } 70% { box-shadow: 0 0 0 9px rgba(251, 191, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); } }

/* Panel, menü veya başka bir pencere açıkken sekme gizlenir */
.need-open .need-tab,
body.no-scroll .need-tab { opacity: 0; pointer-events: none; transform: translate(100%, -50%); }

.need-backdrop { position: fixed; inset: 0; z-index: 88; background: rgba(2, 6, 23, .45); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.need-open .need-backdrop { opacity: 1; visibility: visible; }

.need-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 89;
  width: min(420px, 100vw);
  display: flex;
  flex-direction: column;
  color: #cbd5e1;
  background:
    radial-gradient(420px 260px at 100% 0%, rgba(29, 78, 216, .35), transparent 70%),
    radial-gradient(360px 260px at 0% 100%, rgba(225, 29, 42, .14), transparent 70%),
    #0f172a;
  box-shadow: -30px 0 60px -20px rgba(2, 6, 23, .6);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .45s;
}
.need-open .need-panel { transform: none; visibility: visible; transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
.need-panel::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--blue), var(--yellow), var(--red)); }

.need-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 22px 16px 28px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.need-head h2 { margin: 0; color: #fff; font-size: 1.05rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; }
.need-head p { margin: 4px 0 0; font-size: .86rem; color: #94a3b8; }
.need-close { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--yellow); color: #111827; font-size: 24px; line-height: 1; font-weight: 700; text-align: center; transition: transform .2s, background .2s; }
.need-close:hover { background: #fcc93f; transform: rotate(90deg); }

.need-list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 14px 10px 18px; scrollbar-width: thin; scrollbar-color: #334155 transparent; }
.need-item { border-bottom: 1px solid rgba(255, 255, 255, .07); opacity: 0; transform: translateX(26px); }
.need-open .need-item { opacity: 1; transform: none; transition: opacity .4s ease var(--d), transform .4s ease var(--d); }
.need-q { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 10px; border-radius: 10px; color: #e2e8f0; font-weight: 600; font-size: .98rem; line-height: 1.35; text-align: left; transition: background .2s, color .2s; }
.need-q:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.need-q:focus-visible { outline: 2px solid var(--yellow); outline-offset: -2px; }
.need-q .chev { flex-shrink: 0; width: 18px; height: 18px; fill: none; stroke: var(--c); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.need-item.open .need-q { color: #fff; }
.need-item.open .need-q .chev { transform: rotate(90deg); }
.need-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.need-item.open .need-a { grid-template-rows: 1fr; }
.need-a > div { overflow: hidden; }
.need-a p { margin: 0 10px 12px 40px; font-size: .92rem; line-height: 1.6; color: #aab4c4; }
.need-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 10px 16px 40px; }
.need-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: .86rem; line-height: 1; border: 1px solid transparent; transition: transform .15s, background .2s, border-color .2s, color .2s; }
.need-btn:hover { transform: translateY(-1px); }
.need-btn.primary { background: var(--c); color: var(--ink); }
.need-btn.ghost { background: transparent; color: #e2e8f0; border-color: rgba(255, 255, 255, .2); }
.need-btn.ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.need-foot { padding: 18px 22px 22px 28px; border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(2, 6, 23, .3); }
.need-foot b { display: block; color: #fff; margin-bottom: 4px; }
.need-foot > span { font-size: .88rem; color: #94a3b8; }
.need-foot .need-main { margin-top: 14px; width: 100%; justify-content: center; padding: 12px; background: var(--yellow); color: #111827; font-size: .95rem; }
.need-foot .need-main:hover { background: #fcc93f; }
.need-foot .contact { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: .86rem; }
.need-foot .contact a { color: #cbd5e1; } .need-foot .contact a:hover { color: var(--yellow); }

@media (max-width: 680px) {
  /* Mobilde yalnızca küçük ampul düğmesi; metin içeriği kapatmasın */
  .need-tab { top: auto; bottom: 84px; transform: none; padding: 12px 9px 14px; gap: 0; }
  .need-tab .txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .need-tab .dot { top: 5px; left: 5px; width: 6px; height: 6px; }
  .need-tab:hover { padding-right: 9px; }
  .need-open .need-tab, body.no-scroll .need-tab { transform: translateX(100%); }
  .need-panel { width: 100vw; }
  .need-head { padding: 18px 16px 14px 22px; }
  .need-list { padding: 4px 8px 8px 12px; }
  .need-a p, .need-actions { margin-left: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .need-tab .dot { animation: none; }
  .need-panel, .need-item, .need-a { transition: none !important; }
  .need-item { opacity: 1; transform: none; }
}
