/* =====================================================================
   SCOP Bireysel — interactive product tour in the "Önce sorun. Sonra karar verin." section.
   A coded, self-playing walk through the platform (chat.usescop.com) with three real cases.
   The window keeps the platform's dark look in both site themes. Works with personal-tour.js.
   ===================================================================== */
.ptour{
  --t-bg:#060B12; --t-bg-alt:#0A111B; --t-surface:#0D1722; --t-surface-2:#101C29;
  --t-text:#F5F7F9; --t-text-2:#BDC9D4; --t-muted:#8A9BA9;
  --t-border:rgba(206,230,246,.11); --t-border-2:rgba(206,230,246,.21);
  --t-primary:#3B82F6; --t-blue-bg:rgba(59,130,246,.12); --t-blue-border:rgba(59,130,246,.32);
  --t-green:#22C55E; --t-green-bg:rgba(34,197,94,.10); --t-green-border:rgba(34,197,94,.30);
  --t-amber:#EAB308; --t-amber-bg:rgba(234,179,8,.10); --t-amber-border:rgba(234,179,8,.30);
  --t-violet:#A78BFA;
  --t-mono:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --t-ease:cubic-bezier(.22,1,.36,1);
  font-family:var(--body,Inter,system-ui,sans-serif);
}
.ptour-cases{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-bottom:12px; }
.ptour-cases > span{ font:500 12px/1 var(--t-mono); color:var(--text-3); margin-right:4px; }
.ptour-case{ height:36px; padding:0 14px; border-radius:999px; border:1px solid var(--line-strong,rgba(255,255,255,.14)); background:transparent; color:var(--text-2); font:500 14px/1 var(--body,Inter,sans-serif); cursor:pointer; transition:background-color .18s, border-color .18s, color .18s; }
.ptour-case:hover{ border-color:var(--brand,#3b82f6); color:var(--text); }
.ptour-case[aria-pressed="true"]{ background:var(--brand,#3b82f6); border-color:var(--brand,#3b82f6); color:#fff; }

.ptour-win{ position:relative; display:flex; flex-direction:column; height:640px; border:1px solid var(--t-border-2); border-radius:18px; overflow:hidden; background:var(--t-bg-alt); color:var(--t-text); font-size:14.5px; line-height:1.55;
  box-shadow:0 40px 90px -40px rgba(0,0,0,.8); background-image:radial-gradient(rgba(206,230,246,.07) 1px,transparent 1.2px); background-size:22px 22px; }
.ptour-top{ flex:none; display:flex; align-items:center; gap:10px; height:48px; padding:0 14px; border-bottom:1px solid var(--t-border); background:rgba(6,11,18,.92); font-weight:600; font-size:15px; }
.ptour-top em{ font-style:normal; font-weight:400; color:var(--t-text-2); }
.ptour-logo{ flex:none; width:26px; height:26px; border-radius:8px; background:#0b0d14; display:grid; place-items:center; }
.ptour-logo img{ height:16px; width:auto; display:block; }
.ptour-tabs{ margin-left:auto; display:flex; gap:2px; padding:3px; border-radius:999px; background:var(--t-surface); border:1px solid var(--t-border); font-size:12.5px; font-weight:400; color:var(--t-text-2); }
.ptour-tabs span{ padding:4px 11px; border-radius:999px; }
.ptour-tabs span.is-on{ background:var(--t-blue-bg); color:#7fb0ff; }
.ptour-pp{ flex:none; width:30px; height:30px; margin-left:8px; border-radius:50%; border:1px solid var(--t-border-2); background:transparent; color:var(--t-text-2); cursor:pointer; display:grid; place-items:center; }
.ptour-pp:hover{ color:#fff; border-color:var(--t-primary); }
.ptour-pp svg{ width:12px; height:12px; }

.ptour-chat{ flex:1; min-height:0; overflow-y:auto; padding:18px 18px 8px; display:flex; flex-direction:column; gap:12px; scrollbar-width:none; }
.ptour-chat::-webkit-scrollbar{ display:none; }
.ptour-chat > *{ flex:none; animation:ptourIn .4s var(--t-ease) both; }
.ptour.is-fast .ptour-chat > *, .ptour.is-fast .ptour-sec{ animation:none; }
@keyframes ptourIn{ from{ opacity:0; transform:translateY(8px); } }
.ptour-u{ align-self:flex-end; max-width:86%; padding:9px 14px; border-radius:14px 14px 4px 14px; background:var(--t-primary); color:#fff; }
.ptour-a{ display:flex; gap:10px; align-items:flex-start; }
.ptour-a > div{ flex:1; min-width:0; }
.ptour-run{ display:flex; align-items:center; gap:9px; padding:8px 12px; border:1px solid var(--t-border); border-radius:12px; background:var(--t-surface); font-weight:600; }
.ptour-run i{ flex:none; width:18px; height:18px; border-radius:6px; background:var(--t-green-bg); color:var(--t-green); display:grid; place-items:center; font-style:normal; font-size:11px; }
.ptour-run i.is-busy{ background:none; border:2px solid var(--t-blue-border); border-top-color:#7fb0ff; border-radius:50%; animation:ptourSpin .8s linear infinite; }
@keyframes ptourSpin{ to{ transform:rotate(360deg); } }
.ptour-run time{ font:400 12px/1 var(--t-mono); color:var(--t-muted); }
.ptour-md{ margin-top:10px; color:var(--t-text); }
.ptour-md ol{ margin:6px 0 0; padding-left:20px; display:grid; gap:3px; color:var(--t-text-2); }
.ptour-track{ margin-top:10px; padding:12px 14px; border:1px solid var(--t-border); border-radius:12px; background:var(--t-surface); }
.ptour-track b{ display:block; font-size:14px; }
.ptour-track small{ display:block; font:400 12px/1.5 var(--t-mono); color:var(--t-muted); }
.ptour-stages{ display:flex; gap:4px; margin-top:10px; }
.ptour-stages span{ flex:1; padding-top:7px; border-top:3px solid var(--t-border-2); font-size:11.5px; color:var(--t-muted); }

.ptour-rep{ margin-top:10px; border:1px solid var(--t-border); border-radius:14px; background:var(--t-surface); overflow:hidden; }
.ptour-brand{ display:flex; justify-content:space-between; gap:10px; padding:7px 14px; background:var(--t-blue-bg); font-size:12px; font-weight:600; color:#7fb0ff; }
.ptour-brand span{ color:var(--t-text-2); font-weight:500; }
.ptour-in{ padding:14px 16px 4px; }
.ptour-v{ display:flex; gap:12px; align-items:center; }
.ptour-v i{ flex:none; width:34px; height:34px; border-radius:50%; background:var(--t-green); color:#04130a; display:grid; place-items:center; font-style:normal; font-size:18px; font-weight:800; box-shadow:0 0 0 5px var(--t-green-bg); }
.ptour-v b{ display:block; font-size:17px; color:var(--t-green); line-height:1.25; }
.ptour-v span{ color:var(--t-text-2); font-size:13.5px; }
.ptour-sum{ margin:10px 0 2px; }
.ptour-sec{ border-top:1px solid var(--t-border); padding:11px 0; animation:ptourIn .45s var(--t-ease) both; }
.ptour-h{ display:flex; align-items:center; gap:9px; margin:0 0 8px; font-size:14.5px; font-weight:700; letter-spacing:0; line-height:1.4; color:var(--t-text); }
.ptour-h u{ flex:none; width:21px; height:21px; border-radius:6px; background:var(--t-blue-bg); color:#7fb0ff; display:grid; place-items:center; font:500 11.5px/1 var(--t-mono); text-decoration:none; }
.ptour-h span{ margin-left:auto; font-weight:600; font-variant-numeric:tabular-nums; }
.ptour-chip{ display:inline-block; padding:2px 9px; border-radius:7px; border:1px solid var(--t-blue-border); background:var(--t-blue-bg); font:600 12.5px/1.6 var(--t-mono); color:#9cc2ff; }
.ptour-gd{ display:block; margin-top:5px; color:var(--t-text-2); font-size:13.5px; }
.ptour-tr{ display:grid; grid-template-columns:1fr 44px 104px; gap:8px; padding:4px 0; border-top:1px solid var(--t-border); font-size:13.5px; }
.ptour-tr:first-of-type{ border-top:0; }
.ptour-tr em{ font:400 12px/1.9 var(--t-mono); color:var(--t-muted); font-style:normal; }
.ptour-tr b{ text-align:right; font-weight:400; font-variant-numeric:tabular-nums; }
.ptour-doc{ display:flex; flex-wrap:wrap; gap:4px 8px; align-items:center; padding:3px 0; font-size:13.5px; font-weight:600; }
.ptour-pill{ font-size:11px; font-weight:600; padding:1px 8px; border-radius:999px; border:1px solid; }
.ptour-pill.g{ color:var(--t-green); border-color:var(--t-green-border); background:var(--t-green-bg); }
.ptour-pill.a{ color:var(--t-amber); border-color:var(--t-amber-border); background:var(--t-amber-bg); }
.ptour-pill.n{ color:var(--t-text-2); border-color:var(--t-border-2); background:transparent; }
.ptour-rm{ list-style:none; margin:0; padding:0; display:grid; gap:6px; font-size:13.5px; font-weight:600; }
.ptour-rm li{ display:flex; gap:9px; align-items:center; }
.ptour-rm i{ flex:none; width:20px; height:20px; border-radius:50%; background:var(--t-primary); color:#fff; display:grid; place-items:center; font:600 11px/1 var(--body,Inter,sans-serif); font-style:normal; }
.ptour-extra{ display:flex; align-items:center; gap:8px; margin:0 0 10px; padding:9px 12px; border-radius:10px; border:1px solid var(--t-border); background:var(--t-surface-2); font-size:13.5px; font-weight:600; }
.ptour-extra .ptour-pill{ margin-left:2px; }
.ptour-help{ position:relative; margin:4px 0 14px; border-radius:14px; background:var(--grad,linear-gradient(135deg,#22d3ee,#3b82f6 48%,#1d4ed8)); color:#fff; transition:box-shadow .4s ease; }
.ptour-help.is-focus{ box-shadow:0 0 0 3px rgba(255,255,255,.9), 0 18px 40px -16px rgba(59,130,246,.9); }
.ptour-help p{ margin:0; padding:9px 14px; font-size:13px; font-weight:600; border-bottom:1px solid rgba(255,255,255,.22); }
.ptour-help div{ display:grid; grid-template-columns:1fr 1fr; }
.ptour-help a{ display:block; padding:11px 14px; color:#fff; text-decoration:none; font-size:12.5px; line-height:1.45; transition:background-color .18s; }
.ptour-help a + a{ border-left:1px solid rgba(255,255,255,.22); }
.ptour-help a:hover{ background:rgba(255,255,255,.12); }
.ptour-help a b{ display:block; font-size:14.5px; }
/* mini PDF page that slides out of "Analiz raporunu indir" */
.ptour-pdf{ position:absolute; right:14px; bottom:calc(100% - 6px); width:104px; height:147px; border-radius:6px; background:#fff; box-shadow:0 18px 40px -12px rgba(0,0,0,.8); overflow:hidden; opacity:0; transform:translateY(40px) rotate(0deg); transition:opacity .45s ease, transform .7s var(--t-ease); pointer-events:none; }
.ptour-help.is-focus .ptour-pdf{ opacity:1; transform:translateY(0) rotate(4deg); }
.ptour-pdf::before{ content:""; position:absolute; left:0; right:0; top:0; height:44px; background:#060b12; border-bottom:2px solid #3b82f6; }
.ptour-pdf i{ position:absolute; left:9px; height:3px; border-radius:2px; background:#d5dae3; }
.ptour-pdf i:nth-child(1){ top:12px; width:34px; height:6px; background:#22c55e; }
.ptour-pdf i:nth-child(2){ top:24px; width:60px; background:#5b6678; }
.ptour-pdf i:nth-child(3){ top:32px; width:40px; height:5px; background:#f5f7f9; }
.ptour-pdf i:nth-child(4){ top:56px; width:38px; }
.ptour-pdf i:nth-child(5){ top:66px; width:38px; height:38px; background:#eef1f6; }
.ptour-pdf i:nth-child(6){ top:56px; left:56px; width:38px; }
.ptour-pdf i:nth-child(7){ top:66px; left:56px; width:38px; height:22px; background:#eef1f6; }
.ptour-pdf i:nth-child(8){ top:94px; left:56px; width:30px; }
.ptour-pdf i:nth-child(9){ top:118px; width:86px; height:14px; background:#060b12; }

.ptour-cost{ flex:none; display:flex; align-items:center; gap:14px; padding:10px 16px; border-top:1px solid var(--t-border); background:rgba(6,11,18,.92); }
.ptour-cost small{ display:block; font-size:11.5px; color:var(--t-text-2); }
.ptour-cost b{ font-size:19px; font-weight:800; letter-spacing:-.01em; font-variant-numeric:tabular-nums; white-space:nowrap; }
.ptour-cost b em{ font-style:normal; font-size:11.5px; font-weight:500; color:var(--t-text-2); margin-right:5px; }
.ptour-bar{ flex:1; }
.ptour-bar div{ display:flex; gap:3px; height:5px; }
.ptour-bar div i{ border-radius:3px; width:0; background:var(--t-primary); transition:width 1s var(--t-ease); }
.ptour-bar div i + i{ background:var(--t-violet); }
.ptour-bar p{ display:flex; justify-content:space-between; gap:10px; margin:6px 0 0; font-size:11.5px; color:var(--t-text-2); font-variant-numeric:tabular-nums; }
.ptour-state{ flex:none; font-size:11.5px; font-weight:500; padding:3px 9px; border-radius:999px; border:1px solid var(--t-border-2); color:var(--t-muted); white-space:nowrap; }
.ptour-state.is-done{ border-color:var(--t-green-border); color:var(--t-green); background:var(--t-green-bg); }
.ptour-comp{ flex:none; display:flex; align-items:center; gap:10px; min-height:50px; margin:0 12px 12px; padding:6px 8px 6px 16px; border:1px solid var(--t-blue-border); border-radius:14px; background:var(--t-surface); color:var(--t-muted); }
.ptour-comp span{ flex:1; min-width:0; }
.ptour-comp span.is-typing{ color:var(--t-text); }
.ptour-comp span.is-typing::after{ content:""; display:inline-block; width:2px; height:1.1em; margin-left:2px; vertical-align:-.2em; background:var(--t-primary); animation:ptourBlink 1s steps(1) infinite; }
@keyframes ptourBlink{ 50%{ opacity:0; } }
.ptour-comp b{ flex:none; padding:8px 16px; border-radius:999px; background:var(--t-blue-bg); color:#7fb0ff; font-weight:600; font-size:13.5px; }

.ptour-foot{ display:flex; flex-wrap:wrap; align-items:center; gap:12px 18px; margin-top:16px; }
.ptour-foot .btn{ height:48px; }
.ptour-foot small{ flex:1; min-width:220px; font-size:.82rem; line-height:1.5; color:var(--text-3); }

/* the 01–04 list on the left drives the tour */
.miniflow[data-tour] li{ cursor:pointer; padding:10px 12px; margin:-10px -12px; border-radius:12px; border:1px solid transparent; transition:background-color .2s, border-color .2s; }
.miniflow[data-tour] li:hover{ border-color:var(--line-strong,rgba(255,255,255,.14)); }
.miniflow[data-tour] li.is-on{ border-color:rgba(59,130,246,.5); background:rgba(59,130,246,.08); }
.miniflow[data-tour] li:focus-visible{ outline:2px solid var(--brand,#3b82f6); outline-offset:2px; }
.miniflow[data-tour] li .n{ transition:background-color .2s, color .2s; }
.miniflow[data-tour] li.is-on .n{ background:var(--brand,#3b82f6); color:#fff; border-color:transparent; }
.miniflow[data-tour]{ gap:22px; }

@media (max-width:760px){
  .ptour-win{ height:600px; font-size:14px; }
  .ptour-tabs{ display:none; }
  .ptour-pp{ margin-left:auto; }
  .ptour-chat{ padding:14px 12px 6px; }
  .ptour-a > .ptour-logo{ display:none; }
  .ptour-help div{ grid-template-columns:1fr; }
  .ptour-help a + a{ border-left:0; border-top:1px solid rgba(255,255,255,.22); }
  .ptour-pdf{ display:none; }
  .ptour-bar p{ display:none; }
  .ptour-state{ display:none; }
  .ptour-tr{ grid-template-columns:1fr 40px 92px; }
}
@media (prefers-reduced-motion:reduce){ .ptour *{ animation:none !important; transition:none !important; } }
/* the tax / cost legend appears only once the total is calculated */
.ptour-bar p{ opacity:0; transition:opacity .4s ease; }
.ptour-cost:has(.ptour-state.is-done) .ptour-bar p{ opacity:1; }

/* ---------- Bireysel credit packs (same packs as the platform) ---------- */
.pcred-h{ font-family:var(--display); font-size:1.35rem; font-weight:700; letter-spacing:-.01em; margin:0; }
.pcred-grid{ align-items:stretch; margin-top:26px; }
.rung.pcred{ position:relative; gap:0; padding:26px 26px 24px; border-radius:18px; }
.rung.pcred.is-hot{ border:2px solid var(--brand,#3b82f6); padding:25px 25px 23px; background:linear-gradient(180deg,rgba(59,130,246,.10),transparent 55%), var(--ink-700); }
:root[data-theme="light"] .rung.pcred.is-hot{ background:linear-gradient(180deg,rgba(29,78,216,.07),transparent 55%), #fff; }
.pcred-badge{ position:absolute; left:50%; top:0; transform:translate(-50%,-50%); padding:6px 14px; border-radius:999px; background:var(--brand,#3b82f6); color:#fff; font-size:.8rem; font-weight:600; white-space:nowrap; }
.pcred-name{ font-size:1.05rem; font-weight:700; }
.pcred-price{ margin-top:18px; font-family:var(--display); font-size:2.3rem; font-weight:700; line-height:1.1; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.pcred-credits{ margin-top:16px; font-size:1.02rem; color:var(--text-2); }
.pcred-credits b{ font-size:1.2rem; color:var(--text); }
.pcred-list{ list-style:none; margin:18px 0 24px; padding:0; display:grid; gap:10px; color:var(--text-2); font-size:.95rem; }
.pcred-list li{ position:relative; padding-left:18px; }
.pcred-list li::before{ content:""; position:absolute; left:0; top:.62em; width:6px; height:6px; border-radius:50%; background:var(--brand,#3b82f6); }
.pcred-buy{ margin-top:auto; width:100%; height:48px; justify-content:center; }
.pcred-note{ margin:22px 0 0; font-size:.88rem; line-height:1.6; color:var(--text-3); }
@media (max-width:900px){ .rung.pcred.is-hot{ margin-top:10px; } }

/* Canlı demo (#ptour[data-demo-api]): ziyaretçi kendi sorusunu sorar; tasarım turla aynı */
.ptour-comp{ cursor:text; }
.ptour-in-q{ flex:1; min-width:0; border:0; outline:0; background:transparent; color:var(--t-text); font:inherit; }
.ptour-in-q::placeholder{ color:var(--t-muted); }
.ptour-in-q:disabled{ opacity:.6; }
.ptour-send{ flex:none; padding:0; border:0; background:none; cursor:pointer; font:inherit; }
.ptour-comp.is-busy .ptour-send{ cursor:progress; opacity:.75; }
.ptour.is-live .ptour-cost, .ptour.is-live .ptour-cases{ display:none; }
.ptour-v.is-sartli i{ background:var(--t-amber); box-shadow:0 0 0 5px var(--t-amber-bg); }
.ptour-v.is-sartli b{ color:var(--t-amber); }
.ptour-v.is-uygun_degil i{ background:#EF4444; color:#fff; box-shadow:0 0 0 5px rgba(239,68,68,.12); }
.ptour-v.is-uygun_degil b{ color:#F87171; }
.ptour-v.is-belirsiz i{ background:var(--t-surface-2); color:var(--t-text-2); box-shadow:0 0 0 5px var(--t-border); }
.ptour-v.is-belirsiz b{ color:var(--t-text-2); }
.ptour-help.is-one div{ grid-template-columns:1fr; }
