/* ==========================================================================
   Sayfaya özel düzenler
   ========================================================================== */

/* ==========================================================================
   ANASAYFA
   ========================================================================== */

/* --- Hero ----------------------------------------------------------------- */

.hero { position: relative; padding-block: var(--s-8) var(--s-9); overflow: hidden; }
.hero::before {
  content: '';
  position: absolute;
  top: -220px; left: 50%;
  width: 900px; height: 620px;
  transform: translateX(-62%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(109, 63, 224, .09), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--s-8); align-items: center; }

.hero__title { font-size: var(--fs-display); }
.hero__title em { font-style: normal; color: var(--brand-600); }
/* Referanstaki elle çizilmiş altı çizgi hissi, tek bir jest olarak korunuyor */
.hero__title .underline { position: relative; white-space: nowrap; }
.hero__title .underline::after {
  content: '';
  position: absolute; left: 2px; right: 2px; bottom: -.14em;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--brand-200);
}
/* İkinci satır işletme tarafını temsil eder; renk sistemi başlıkta da geçerli */
.hero__title .underline--biz { color: var(--biz-700); }
.hero__title .underline--biz::after { background: var(--biz-200); }

.hero__lead { margin-top: var(--s-5); max-width: 46ch; }

.hero__paths { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); margin-top: var(--s-6); }

.path {
  display: flex; flex-direction: column; gap: var(--s-3);
  padding: var(--s-5);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-base);
}
.path:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.path__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); font-size: 1.25rem; }
.path__title { font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 800; letter-spacing: -0.015em; }
.path__text { flex: 1; font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }
.path .btn { margin-top: var(--s-2); }

/* Subgrid varsa iki kartın ikonu, başlığı, metni ve butonu satır satır aynı
   hizada durur — başlık iki satıra düşse bile. Yoksa .path__text esneyerek
   butonları yine de dibe/aynı hizaya indirir. */
@supports (grid-template-rows: subgrid) {
  .hero__paths { grid-template-rows: auto auto 1fr auto; }
  .path {
    display: grid; grid-row: span 4;
    grid-template-rows: subgrid; row-gap: var(--s-3);
  }
  .path .btn { margin-top: 0; align-self: end; }
}

.path--earn { border-color: var(--brand-200); background: linear-gradient(180deg, var(--brand-50), var(--surface) 60%); }
.path--earn:hover { border-color: var(--brand-400); }
.path--earn .path__icon { background: var(--brand-600); color: #fff; }
.path--earn .path__title { color: var(--brand-800); }

.path--biz { border-color: var(--biz-200); background: linear-gradient(180deg, var(--biz-50), var(--surface) 60%); }
.path--biz:hover { border-color: var(--biz-500); box-shadow: var(--sh-biz); }
.path--biz .path__icon { background: var(--biz-700); color: #fff; }
.path--biz .path__title { color: var(--biz-800); }

.hero__proof { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-6); }
.hero__proof p { font-size: var(--fs-sm); color: var(--muted); }

/* Kanıt paneli — CTA taşımaz, yalnızca ürünün çalıştığını gösterir */
.hero__visual { position: relative; }

/* --- İşletme sayfası maketi (.shot) --------------------------------------
   Ekran görüntüsü yerine maket: her çözünürlükte net, tek dosya, telifsiz.
   Yıldız rengi ve avatarlar ürünün kendi bileşenlerinden gelir. */
.shot {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
}

.shot__bar {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 9px var(--s-4);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.shot__dots { display: flex; gap: 5px; flex: none; }
.shot__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.shot__url {
  flex: 1; min-width: 0;
  display: flex; align-items: center; gap: 6px;
  padding: 4px var(--s-3);
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: 11px; color: var(--muted-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.shot__url .bi { font-size: 9px; color: var(--ok); }

.shot__cover {
  position: relative; height: 116px;
  background-image:
    radial-gradient(120% 90% at 14% 8%, rgba(255, 208, 150, .92), transparent 55%),
    radial-gradient(100% 80% at 88% 22%, rgba(150, 186, 255, .5), transparent 60%),
    radial-gradient(120% 110% at 55% 105%, rgba(109, 63, 224, .5), transparent 62%),
    linear-gradient(158deg, #2C2245 0%, #191430 100%);
}
.shot__logo {
  position: absolute; left: var(--s-5); bottom: -24px;
  display: grid; place-items: center; width: 56px; height: 56px;
  border-radius: var(--r-md); border: 3px solid var(--surface);
  background: var(--brand-600); color: #fff;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 800;
}
.shot__open {
  position: absolute; right: var(--s-4); top: var(--s-4);
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.92); color: var(--ok);
  font-size: 11px; font-weight: 700;
}
.shot__open .bi { font-size: 6px; }

.shot__body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6) var(--s-5) var(--s-5); }
.shot__name {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em;
}
.shot__name .bi { font-size: .85rem; color: var(--brand-600); }
.shot__meta { margin-top: 2px; font-size: var(--fs-xs); color: var(--muted); }

.shot__rating { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.shot__score {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 1.75rem; font-weight: 700; letter-spacing: -.04em; line-height: 1;
}
.shot__count { font-size: var(--fs-xs); color: var(--muted); }

/* Dağılım: beşinci çubuk dolu, üstteki tek bakışta "5 yıldız" der */
.shot__bars { display: flex; flex-direction: column; gap: 4px; }
.shot__bar-row { display: grid; grid-template-columns: 10px 1fr; align-items: center; gap: 8px; }
.shot__bar-star { font-size: 10px; color: var(--muted-2); font-family: var(--font-mono); }
.shot__bar-track { height: 5px; border-radius: var(--r-pill); background: var(--line); overflow: hidden; }
.shot__bar-fill { display: block; height: 100%; border-radius: var(--r-pill); background: var(--star); }

.shot__reviews { display: flex; flex-direction: column; gap: var(--s-3); margin-top: var(--s-2); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.shot__review { display: flex; gap: var(--s-3); }
.shot__review-body { min-width: 0; }
.shot__who { display: flex; align-items: center; gap: 7px; font-size: var(--fs-xs); font-weight: 700; }
.shot__who .stars { font-size: 10px; }
.shot__review p { margin-top: 3px; font-size: var(--fs-xs); color: var(--muted); line-height: 1.55; }

.hero__ticker {
  position: absolute;
  display: flex; flex-direction: column; gap: 4px;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-lg);
  /* Maketin alt kenarına asılır: içerideki değerlendirme metnini kapatmaz */
  right: -18px; bottom: -22px; min-width: 214px;
}
.hero__ticker-label { display: flex; align-items: center; gap: 7px; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.hero__ticker-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
.hero__ticker-value { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--ink); }
.hero__spark { margin-top: 2px; }

/* --- Sayısal kanıt şeridi -------------------------------------------------- */

.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.proof__item { display: flex; flex-direction: column; gap: 4px; padding: var(--s-5) var(--s-5); border-left: 1px solid var(--line); }
.proof__item:first-child { border-left: 0; }
.proof__num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.625rem; font-weight: 700; letter-spacing: -0.035em; color: var(--brand-700); line-height: 1.1; }
.proof__label { font-size: var(--fs-sm); color: var(--muted); }

/* --- İmza öğe: birleşen iki ray -------------------------------------------- */

.rail { position: relative; }
/* Omurga mordan yeşile geçer: iki tarafın aynı akışta buluşması */
.rail::before {
  content: '';
  position: absolute;
  top: 96px; bottom: 40px; left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--brand-400), var(--biz-500));
  border-radius: 2px;
}

.rail__head { display: grid; grid-template-columns: 1fr 96px 1fr; align-items: end; margin-bottom: var(--s-5); }
.rail__head-cell { padding-bottom: var(--s-4); }
.rail__head-cell--right { text-align: right; }
.rail__head h3 { font-size: var(--fs-h3); }
.rail__head p { margin-top: 4px; font-size: var(--fs-sm); color: var(--muted); }

.rail__row { display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; }
.rail__row + .rail__row { margin-top: var(--s-4); }

.rail__node {
  position: relative;
  z-index: 1;
  display: grid; place-items: center;
  width: 42px; height: 42px;
  margin-inline: auto;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--muted);
  box-shadow: var(--sh-sm);
}

.rail__step {
  position: relative;
  display: flex; flex-direction: column; gap: 5px;
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.rail__step h4 { font-size: var(--fs-base); font-weight: 700; }
.rail__step p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.55; }
/* Kesikli bağlantı: adımın omurgaya bağlandığı yer */
.rail__step::after {
  content: '';
  position: absolute; top: 50%;
  width: 26px;
  border-top: 1px dashed var(--line-2);
}
.rail__step--brand { border-left: 3px solid var(--brand-600); margin-right: var(--s-5); }
.rail__step--brand::after { right: -27px; }
.rail__step--biz { border-right: 3px solid var(--biz-700); margin-left: var(--s-5); text-align: right; }
.rail__step--biz::after { left: -27px; }

/* --- Kampanya / görev kartı ------------------------------------------------ */

.task {
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.task:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--brand-200); }
.task__top { display: flex; align-items: flex-start; gap: var(--s-3); }
.task__id { flex: 1; min-width: 0; }
.task__name { font-family: var(--font-display); font-size: var(--fs-base); font-weight: 700; letter-spacing: -0.01em; }
.task__meta { display: flex; align-items: center; gap: 7px; margin-top: 3px; font-size: var(--fs-xs); color: var(--muted); }
.task__slots { display: flex; flex-direction: column; gap: 7px; }
.task__slots-label { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--muted); }
.task__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }

.biz-logo {
  display: grid; place-items: center;
  width: 44px; height: 44px; flex: none;
  border-radius: var(--r-md);
  background: var(--brand-50);
  color: var(--brand-700);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--fs-base);
}
.biz-logo--lg { width: 88px; height: 88px; border-radius: var(--r-lg); font-size: 1.75rem; border: 3px solid var(--surface); }

/* --- İşletme kartı --------------------------------------------------------- */

/* Kartın tamamı bağlantı: ayrı "İncele" butonu yerine tüm yüzey tıklanır */
.biz-card { display: flex; flex-direction: column; overflow: hidden; color: inherit; }
.biz-card:hover { text-decoration: none; color: inherit; }
.biz-card__go {
  display: grid; place-items: center; width: 30px; height: 30px; flex: none;
  border-radius: 50%; background: var(--surface-2); color: var(--muted-2);
  transition: background var(--t-base), color var(--t-base), transform var(--t-base);
}
.biz-card:hover .biz-card__go { background: var(--brand-600); color: #fff; transform: translateX(2px); }
.biz-card:focus-visible { outline: none; box-shadow: var(--ring); }
.biz-card__cover { height: 104px; background: linear-gradient(135deg, var(--brand-100), var(--brand-50)); }
.biz-card__cover--b { background: linear-gradient(135deg, #FFE2C7, #FFF4E8); }
.biz-card__cover--c { background: linear-gradient(135deg, var(--biz-100), var(--biz-50)); }
.biz-card__cover--d { background: linear-gradient(135deg, #DCE6FF, #F1F5FF); }
.biz-card__body { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); margin-top: -30px; }
.biz-card__body .biz-logo { border: 3px solid var(--surface); width: 52px; height: 52px; }

/* --- Şeffaflık ------------------------------------------------------------- */

.transparency { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--s-8); align-items: center; }
.transparency__list { display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.transparency__item { display: flex; gap: var(--s-3); }
.transparency__item .bi { flex: none; margin-top: 2px; color: var(--brand-600); font-size: 1.15rem; }
.transparency__item h4 { margin-bottom: 3px; }
.transparency__item p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }

.spotlight { position: relative; padding: var(--s-5); border-radius: var(--r-xl); background: var(--brand-50); }
.spotlight .review { box-shadow: var(--sh-md); border-color: transparent; }
.spotlight__note {
  display: flex; align-items: center; gap: var(--s-2);
  margin-top: var(--s-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  color: var(--brand-700);
}

/* --- SSS ------------------------------------------------------------------- */

.faq { max-width: 820px; margin-inline: auto; }

/* --- İstatistik bandı ------------------------------------------------------ */

.stats { padding-block: var(--s-7); border-radius: var(--r-xl); background: var(--brand-600); box-shadow: var(--sh-lg); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-5); }
.stats__item { display: flex; align-items: center; gap: var(--s-4); padding-inline: var(--s-5); border-left: 1px solid rgba(255,255,255,.16); }
.stats__item:first-child { border-left: 0; }
.stats__item .bi { font-size: 1.5rem; color: rgba(255,255,255,.62); }
.stats__num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.035em; color: #fff; line-height: 1.15; }
.stats__label { font-size: var(--fs-xs); color: rgba(255,255,255,.7); }

/* --- CTA bandı ------------------------------------------------------------- */

.cta-band { display: grid; grid-template-columns: 1fr auto; gap: var(--s-6); align-items: center; padding: var(--s-7); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); box-shadow: var(--sh-sm); }
.cta-band p { margin-top: var(--s-3); color: var(--muted); }
.cta-band__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* ==========================================================================
   GİRİŞ / KAYIT
   ========================================================================== */

.auth { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-8); align-items: center; padding-block: var(--s-8); }
.auth__card { max-width: 460px; width: 100%; padding: var(--s-6); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-md); }
.auth__card h1 { font-size: var(--fs-h2); }
.auth__card > p { margin-top: var(--s-2); color: var(--muted); font-size: var(--fs-sm); }
.auth__form { display: flex; flex-direction: column; gap: var(--s-4); margin-top: var(--s-6); }
.auth__foot { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); text-align: center; }

.auth__aside { display: flex; flex-direction: column; gap: var(--s-5); }
.auth__aside h2 { font-size: var(--fs-h2); }
.auth__points { display: grid; gap: var(--s-4); }
.auth__point { display: flex; gap: var(--s-3); }
.auth__point .bi { flex: none; margin-top: 2px; color: var(--brand-600); font-size: 1.15rem; }
.auth__point h4 { margin-bottom: 3px; }
.auth__point p { font-size: var(--fs-sm); color: var(--muted); line-height: 1.6; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.check input { margin-top: 3px; accent-color: var(--brand-600); width: 16px; height: 16px; flex: none; }

/* ==========================================================================
   İŞLETME PROFİLİ
   ========================================================================== */

.bizhead { position: relative; }
.bizhead__cover {
  height: 220px;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
  background-image:
    radial-gradient(90% 120% at 12% 0%, rgba(255, 208, 150, .85), transparent 58%),
    radial-gradient(80% 100% at 90% 10%, rgba(150, 186, 255, .45), transparent 60%),
    linear-gradient(150deg, #2C2245, #191430);
}
.bizhead__bar { display: flex; align-items: flex-end; gap: var(--s-5); margin-top: -44px; }
.bizhead__id { flex: 1; min-width: 0; padding-bottom: 4px; }
.bizhead__name { display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.bizhead__name h1 { font-size: var(--fs-h1); }
.bizhead__meta { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-top: var(--s-2); font-size: var(--fs-sm); color: var(--muted); }
.bizhead__meta span { display: inline-flex; align-items: center; gap: 6px; }

.biz-layout { display: grid; grid-template-columns: 1fr 348px; gap: var(--s-7); align-items: start; margin-top: var(--s-6); }
.biz-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: var(--s-4); }

.score { display: flex; flex-direction: column; gap: var(--s-4); }
.score__top { display: flex; align-items: center; gap: var(--s-4); }
.score__meta { font-size: var(--fs-xs); color: var(--muted); }

.write-cta { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border-radius: var(--r-lg); background: linear-gradient(165deg, var(--brand-600), var(--brand-800)); color: #fff; box-shadow: var(--sh-md); }
.write-cta h3 { color: #fff; font-size: var(--fs-lg); }
.write-cta p { font-size: var(--fs-sm); color: rgba(255,255,255,.78); line-height: 1.55; }
.write-cta .btn { background: #fff; color: var(--brand-700); }
.write-cta .btn:hover { background: var(--brand-50); }
.write-cta__row { display: flex; align-items: center; justify-content: space-between; padding-top: var(--s-3); border-top: 1px solid rgba(255,255,255,.18); font-size: var(--fs-xs); color: rgba(255,255,255,.78); }
.write-cta__amount { font-family: var(--font-mono); font-size: var(--fs-lg); font-weight: 700; color: #fff; }

.info-list { display: grid; gap: var(--s-3); }
.info-list__row { display: flex; gap: var(--s-3); font-size: var(--fs-sm); }
.info-list__row .bi { flex: none; margin-top: 2px; color: var(--muted-2); }

.filterbar { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding-block: var(--s-5); }

.review-list { display: flex; flex-direction: column; gap: var(--s-4); }

/* ==========================================================================
   PANELLER
   ========================================================================== */

.panel { display: grid; grid-template-columns: 268px minmax(0, 1fr); min-height: 100vh; }

.panel__side {
  position: sticky; top: 0;
  display: flex; flex-direction: column;
  height: 100vh;
  padding: var(--s-5) var(--s-4);
  border-right: 1px solid var(--line);
  background: var(--surface);
  /* İçerik ekrandan uzunsa kenar çubuğu KENDİ İÇİNDE kayar. Bu olmadan
     100vh'te kırpılıyor ve alttaki bağlantılara fare ile inilemiyordu. */
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
/* İnce, sayfayı bölmeyen kaydırma çubuğu */
.panel__side::-webkit-scrollbar { width: 10px; }
.panel__side::-webkit-scrollbar-track { background: transparent; }
.panel__side::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border: 3px solid var(--surface);
  border-radius: var(--r-pill);
}
.panel__side:hover::-webkit-scrollbar-thumb { background: var(--muted-2); }

/* Kenar çubuğu kayarken bu bloklar sıkışmasın, kendi boyunda kalsın */
.panel__side .logo,
.panel__side .switch,
.panel__side .snav { flex: none; }
.panel__side .logo { padding: 0 var(--s-3) var(--s-6); }

/* --- Çalışma alanı anahtarı ------------------------------------------------
   Tek üyelik, iki panel: yorumcu (mor) ve işletme (yeşil). Anahtar her
   sayfada aynı yerde durur, aktif taraf kendi rengiyle dolar. */
.switch {
  margin-bottom: var(--s-5);
  padding: var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-2);
}
.switch--compact {
  margin-bottom: var(--s-4);
  padding: 4px;
  background: transparent;
  border: none;
}
.switch--compact .switch__opts { padding: 3px; }
.switch--compact .switch__opt { padding: var(--s-2) 6px; }
.switch__caption {
  display: block; padding: 0 2px var(--s-2);
  font-size: 10px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted-2);
}
.switch__opts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  padding: 4px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
}
.switch__opt {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: var(--s-3) 6px;
  border-radius: calc(var(--r-md) - 3px);
  color: var(--muted);
  text-align: center;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.switch__opt:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; }
.switch__opt .bi { font-size: 1.15rem; }
.switch__name { font-size: 12px; font-weight: 700; letter-spacing: -.01em; }
.switch__opt--earn.is-active { background: var(--brand-600); color: #fff; box-shadow: var(--sh-sm); }
.switch__opt--biz.is-active  { background: var(--biz-700);   color: #fff; box-shadow: var(--sh-sm); }
.switch__opt.is-active:hover { color: #fff; }
/* Karşı taraftaki bekleyen iş sayısı — geçilecek yeri kendisi haber verir */
.switch__badge {
  position: absolute; top: 5px; right: 8px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center;
  border-radius: var(--r-pill);
  background: #6D3FE0; color: #fff;   /* yorumcu rozeti: kabuk yeşile dönse de mor kalır */
  font-family: var(--font-mono); font-size: 10px; font-weight: 700;
}
.switch__badge--warn { background: var(--warn); color: var(--ink); }
.switch__figure { padding: var(--s-3) 2px 0; }
.switch__figure-label { display: block; font-size: 11px; color: var(--muted-2); }
.switch__figure-value {
  display: block; margin-top: 1px;
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 1.15rem; font-weight: 700; letter-spacing: -.03em;
  color: var(--brand-700);
}

.snav { display: flex; flex-direction: column; gap: 3px; }
.snav__group { display: flex; flex-direction: column; gap: 3px; }
.snav__label { display: flex; align-items: center; gap: 8px; padding: var(--s-4) var(--s-3) var(--s-2); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
/* Nokta, grubun hangi tarafa ait olduğunu söyler — .t-biz içinde yeşile döner */
.snav__label--dot::before { content: ''; width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--brand-600); }
.snav__link {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 11px var(--s-3);
  border-radius: var(--r-md);
  color: var(--muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: background var(--t-fast), color var(--t-fast);
}
.snav__link:hover { background: var(--brand-50); color: var(--brand-700); text-decoration: none; }
.snav__link .bi { font-size: 1.05rem; }
.snav__link.is-active { background: var(--brand-600); color: #fff; box-shadow: var(--sh-sm); }
.snav__link.is-active:hover { background: var(--brand-700); color: #fff; }
.snav__count { margin-left: auto; font-family: var(--font-mono); font-size: var(--fs-xs); }

/* --- Hesap + bakiye — üst çubuğun sağ köşesi --------------------------------
   Bakiye rakamı bilinçli olarak marka moruyla boyanmaz: sayfadaki avatar,
   aktif menü ve rozetler zaten mor/yeşil dolu; bakiye nötr/koyu kalınca
   "bu bir sayı, bir vurgu değil" ayrımı netleşir ve kaybolmaz. */
.panel__user {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 6px var(--s-3) 6px 6px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.panel__user-balance { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; color: inherit; }
.panel__user-balance:hover { text-decoration: none; }
.panel__user-balance:hover .panel__user-balance-value { color: var(--brand-600); }
.panel__user-balance-label { display: flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-2); }
.panel__user-balance-label .bi { font-size: 10px; }
.panel__user-balance-value {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--ink);
}
.panel__user-divider { width: 1px; height: 26px; flex: none; background: var(--line-2); }
.panel__user-account { display: flex; align-items: center; gap: var(--s-2); color: inherit; }
.panel__user-account:hover { text-decoration: none; }
.panel__user-name { display: block; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; color: var(--ink); }
.panel__user-meta { display: block; font-size: var(--fs-xs); color: var(--muted-2); }

.panel__main { min-width: 0; background: var(--bg); }

/* Sabit yükseklik: başlık/alt başlık sayfadan sayfaya uzunluk değiştirse de
   satıra taşmaz (tek satırda kısaltılır), üst çubuk yükselip küçülmez ve
   sağdaki buton+bakiye grubu asla ortadan bölünmez. */
.topbar { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-5) var(--s-6); border-bottom: 1px solid var(--line); background: var(--surface); }
.topbar__area {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--brand-600);
}
.topbar__title { flex: 1 1 auto; min-width: 0; }
.topbar__title h1 { font-size: 1.5rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__title p { margin-top: 3px; font-size: var(--fs-sm); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar__right { display: flex; align-items: center; gap: var(--s-4); flex: none; margin-left: auto; }
.topbar__actions { display: flex; align-items: center; gap: var(--s-3); }

.panel__content { display: flex; flex-direction: column; gap: var(--s-5); padding: var(--s-6); }
/* Birleşik panelde iki bölge arasına daha geniş nefes */
.panel__content--zones { gap: var(--s-8); }

/* --- Panel bölgesi (birleşik panel) ---------------------------------------
   Aynı kullanıcı hem kazanır hem işletme yönetir. Bölge başlığındaki renk,
   o andan itibaren hangi tarafa bakıldığını söyler. */

.zone { display: flex; flex-direction: column; gap: var(--s-5); scroll-margin-top: var(--s-5); }
.zone__head { display: flex; align-items: center; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 2px solid var(--brand-600); }
.zone__mark { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: var(--r-md); background: var(--brand-600); color: #fff; font-size: 1.2rem; box-shadow: var(--sh-sm); }
.zone__id { flex: 1; min-width: 0; }
.zone__id .eyebrow { margin-bottom: 2px; }
.zone__id h2 { font-size: var(--fs-h3); }
.zone__id p { margin-top: 3px; font-size: var(--fs-sm); color: var(--muted); }
.zone__figure { flex: none; text-align: right; }
.zone__figure-label { display: block; font-size: var(--fs-xs); color: var(--muted); }
.zone__figure-value { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--brand-700); }

/* --- Çekim kesintisi kutusu ------------------------------------------------
   Kesinti tek yerde anlatılır: bakiye panelde hep brüt görünür, kesinti
   yalnızca IBAN'a çıkarken uygulanır. */
.cut {
  padding: var(--s-4) var(--s-5);
  border: 1px dashed var(--brand-200);
  border-radius: var(--r-lg);
  background: var(--brand-50);
}
.cut__label {
  display: flex; align-items: center; gap: 7px; margin-bottom: var(--s-2);
  font-size: var(--fs-sm); font-weight: 700; color: var(--brand-700);
}
.cut__text { font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; }
.cut__rows { display: flex; flex-direction: column; gap: 5px; margin-top: var(--s-4); }
.cut__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3);
  font-size: var(--fs-sm); color: var(--muted);
}
.cut__row .money { font-variant-numeric: tabular-nums; }
.cut__row--fee { color: var(--bad); }
.cut__row--net {
  margin-top: 3px; padding-top: 7px; border-top: 1px solid var(--brand-200);
  color: var(--ink); font-weight: 700;
}
.cut__row--net .money { font-size: 1.15rem; color: var(--brand-700); }
.cut__hint { margin-top: var(--s-3); font-size: 11px; color: var(--muted-2); }

/* --- Diğer panele geçiş şeridi ---------------------------------------------
   Sayfanın sonunda karşı tarafı hatırlatır; renk hangi panele gittiğini söyler. */
.swap {
  display: flex; align-items: center; gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.swap:hover { text-decoration: none; transform: translateY(-1px); box-shadow: var(--sh-sm); }
.swap__icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: var(--r-md); font-size: 1.15rem; color: #fff;
}
.swap__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.swap__text strong { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.swap__text span { font-size: var(--fs-xs); color: var(--muted); }
.swap__go { margin-left: auto; flex: none; color: var(--muted-2); font-size: 1.1rem; }

.swap--biz  .swap__icon { background: var(--biz-700); }
.swap--biz:hover  { border-color: var(--biz-200); }
.swap--biz:hover  .swap__go { color: var(--biz-700); }
.swap--earn .swap__icon { background: #6D3FE0; }
.swap--earn:hover { border-color: #D6C9F8; }
.swap--earn:hover .swap__go { color: #6D3FE0; }

.panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-5); align-items: start; }

/* --- Grafik ---------------------------------------------------------------- */

.chart { width: 100%; height: auto; }
.chart__axis { display: flex; justify-content: space-between; margin-top: var(--s-3); font-family: var(--font-mono); font-size: 11px; color: var(--muted-2); }
.chart-legend { display: flex; align-items: center; gap: var(--s-4); font-size: var(--fs-xs); color: var(--muted); }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 9px; height: 9px; border-radius: 3px; background: var(--brand-600); }

/* --- Ödeme / seviye kartı --------------------------------------------------- */

.payout { display: flex; flex-direction: column; gap: var(--s-4); }
.payout__balance { display: flex; align-items: baseline; gap: var(--s-2); }
.payout__amount { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 2rem; font-weight: 700; letter-spacing: -0.035em; }

.tier { display: flex; flex-direction: column; gap: var(--s-3); }
.tier__row { display: flex; align-items: center; justify-content: space-between; font-size: var(--fs-xs); color: var(--muted); }
.tier__multiplier { font-family: var(--font-mono); font-weight: 700; color: var(--brand-700); }

/* --- Kampanya kartı (işletme paneli) ---------------------------------------- */

.campaign { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.campaign__top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-4); }
.campaign__title { font-family: var(--font-display); font-size: var(--fs-base); font-weight: 700; }
.campaign__meta { display: flex; align-items: center; gap: var(--s-4); flex-wrap: wrap; margin-top: 4px; font-size: var(--fs-xs); color: var(--muted); }
.campaign__stats { display: flex; justify-content: space-between; font-size: var(--fs-xs); color: var(--muted); }
.campaign__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line); }

/* --- Moderasyon satırı ------------------------------------------------------ */

.mod { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.mod__top { display: flex; align-items: flex-start; gap: var(--s-3); }
.mod__actions { display: flex; gap: var(--s-2); flex-wrap: wrap; padding-top: var(--s-3); border-top: 1px solid var(--line); }

/* İtiraz gerekçesi — kararı verenin önce okuması gereken metin */
.dispute {
  padding: var(--s-3) var(--s-4);
  border-left: 3px solid var(--warn);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  background: var(--warn-bg);
}
.dispute__label {
  display: flex; align-items: center; gap: 6px; margin-bottom: 3px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #a86a06;
}
.dispute p { font-size: var(--fs-sm); line-height: 1.6; }

/* --- Alt sekme çubuğu (mobil) ----------------------------------------------- */

.tabbar { display: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
  .biz-layout { grid-template-columns: 1fr 300px; gap: var(--s-5); }
  .panel { grid-template-columns: 232px minmax(0, 1fr); }
  .panel-grid { grid-template-columns: minmax(0, 1fr) 300px; }
}

@media (max-width: 992px) {
  .auth { grid-template-columns: 1fr; gap: var(--s-6); }
  .auth__card { max-width: none; }
  .auth__aside { order: -1; }
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero__lead { max-width: none; }
  .hero__ticker { right: 12px; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof__item:nth-child(3) { border-left: 0; }
  .proof__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .transparency { grid-template-columns: 1fr; gap: var(--s-6); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-5); }
  .stats__item:nth-child(3) { border-left: 0; }
  .cta-band { grid-template-columns: 1fr; }
  .biz-layout { grid-template-columns: 1fr; }
  .biz-side { position: static; }
  .panel-grid { grid-template-columns: minmax(0, 1fr); }

  /* Panel: sidebar alt sekme çubuğuna dönüşür */
  .panel { grid-template-columns: minmax(0, 1fr); }
  .panel__side { display: none; }
  .panel__main { padding-bottom: 76px; }
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(12px);
  }
  .tabbar__link { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; border-radius: var(--r-sm); color: var(--muted-2); font-size: 11px; font-weight: 600; }
  .tabbar__link:hover { text-decoration: none; }
  .tabbar__link .bi { font-size: 1.2rem; }
  .tabbar__link.is-active { color: var(--brand-600); }
  /* Son sekme karşı panele geçirir: ayrı bir alan olduğu çizgiyle belli olur */
  .tabbar__link--swap { position: relative; box-shadow: inset 1px 0 0 var(--line); }
  .tabbar__dot {
    position: absolute; top: 4px; right: calc(50% - 16px);
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--warn); box-shadow: 0 0 0 2px var(--surface);
  }
}

@media (max-width: 768px) {
  .hero { padding-block: var(--s-6) var(--s-8); }
  .hero__paths { grid-template-columns: 1fr; }
  .hero__ticker { bottom: -16px; }

  /* Ray dikey listeye iner; renkli kenarlık taraf ayrımını korur */
  .rail::before { display: none; }
  .rail__head { grid-template-columns: 1fr; gap: var(--s-2); margin-bottom: var(--s-4); }
  .rail__head-cell { padding-bottom: 0; }
  .rail__head-cell--right { text-align: left; }
  .rail__row { grid-template-columns: 42px minmax(0, 1fr); gap: var(--s-3); align-items: start; }
  .rail__row + .rail__row { margin-top: var(--s-3); }
  .rail__node { grid-row: span 2; margin-inline: 0; }
  .rail__step { margin: 0 !important; text-align: left !important; }
  .rail__step::after { display: none; }
  .rail__step--biz { border-right: 0; border-left: 3px solid var(--biz-700); }

  .topbar { flex-wrap: wrap; }
  .topbar__title h1, .topbar__title p { white-space: normal; }
  .topbar__right { width: 100%; flex-direction: column; align-items: stretch; gap: var(--s-3); margin-left: 0; margin-top: var(--s-2); }
  .topbar__actions { width: 100%; }
  .topbar__swap { display: none; }
  .panel__user { width: 100%; justify-content: space-between; }

  .zone__head { flex-wrap: wrap; gap: var(--s-3); }
  .zone__figure { text-align: left; }
  .zone__figure-value { font-size: 1.25rem; }

  .bizhead__cover { height: 160px; }
  .bizhead__bar { flex-direction: column; align-items: stretch; gap: var(--s-3); margin-top: -34px; }
  .topbar { flex-wrap: wrap; padding: var(--s-5) var(--s-5); }
  .panel__content { padding: var(--s-5); }
  .cta-band { padding: var(--s-5); }
  .filterbar { align-items: stretch; flex-direction: column; }
}

@media (max-width: 560px) {
  .proof { grid-template-columns: 1fr; }
  .proof__item { border-left: 0; border-top: 1px solid var(--line); }
  .proof__item:first-child { border-top: 0; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats__item { border-left: 0; }
  .hero__ticker { padding: var(--s-3) var(--s-4); }
  .hero__ticker { min-width: 0; }
  .hero__ticker-value { font-size: 1.25rem; }
}
