/* =====================================================================
   LikedWin — /abonelikler pazarlama sayfası
   marketing.css primitiflerinin (mk-*) üzerine kurulur.
   Panel görselleri raster ekran görüntüsü DEĞİL: hepsi CSS ile yeniden
   çizilmiş canlı maket (.sb-mock*) — mobilde de keskin ve akıcı kalsın.
   ===================================================================== */

:root {
    --sb-ig:    linear-gradient(45deg, #f58529, #dd2a7b 45%, #8134af 75%, #515bd4);
    --sb-panel: #0f1633;
}

/* =====================================================================
   1) HERO MAKETİ — hesap kartı + otomatik görev akışı
   ===================================================================== */
.sb-mock {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 26px;
    box-shadow: 0 40px 80px -40px rgba(15, 22, 51, .5), 0 2px 6px rgba(15, 22, 51, .05);
    padding: 16px;
    max-width: 460px; margin-inline: auto;
    overflow: hidden;
}
/* Hafif eğim — sabit ekran görüntüsü değil, "canlı panel" hissi */
.sb-mock--tilt { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
@media (max-width: 980px) { .sb-mock--tilt { transform: none; } }

.sb-mock__bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 14px; }
.sb-mock__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.sb-mock__dot:nth-child(1) { background: #ff6058; }
.sb-mock__dot:nth-child(2) { background: #ffbe2f; }
.sb-mock__dot:nth-child(3) { background: #2ac940; }
.sb-mock__url {
    flex: 1; margin-left: 8px; padding: 5px 12px; border-radius: 999px;
    background: var(--bg-soft); color: var(--muted-2);
    font-size: 10.5px; font-weight: 600; text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- Hesap satırı ---------- */
.sb-acct { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; }
.sb-acct__ava {
    position: relative; flex: none; display: grid; place-items: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--sb-ig); color: #fff;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 17px; font-weight: 800;
}
.sb-acct__ava::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%;
    border: 2px solid rgba(221, 42, 123, .35);
    animation: sbRing 3s ease-out infinite;
}
@keyframes sbRing {
    0%   { transform: scale(1);    opacity: .8; }
    70%  { transform: scale(1.22); opacity: 0; }
    100% { transform: scale(1.22); opacity: 0; }
}
.sb-acct__id { display: block; min-width: 0; flex: 1; }
.sb-acct__name {
    display: flex; align-items: center; gap: 6px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 15px; font-weight: 800; color: var(--mk-ink);
}
.sb-acct__name i { font-size: 13px; color: #dd2a7b; }
.sb-acct__meta { display: block; font-size: 12px; color: var(--muted-2); font-weight: 600; }
.sb-acct__badge {
    flex: none; display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 11px; border-radius: 999px;
    background: var(--ok-bg); color: var(--ok-fg); font-size: 11px; font-weight: 800;
}
.sb-acct__badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--ok-fg); animation: sbBlink 1.6s ease-in-out infinite; }
@keyframes sbBlink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* ---------- Takipçi grafiği ---------- */
.sb-chart {
    position: relative; padding: 14px 14px 10px; margin-bottom: 12px;
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
    border: 1px solid var(--line); border-radius: 16px;
}
.sb-chart__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.sb-chart__v {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--mk-ink);
}
.sb-chart__l { font-size: 11px; font-weight: 700; color: var(--muted-2); }
.sb-chart__up { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: var(--ok-fg); }
.sb-chart__svg { display: block; width: 100%; height: 62px; }
.sb-chart__line { fill: none; stroke: #2fbd8e; stroke-width: 2.5; stroke-linecap: round; }
.sb-chart__line { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sbDraw 9s ease-in-out infinite; }
@keyframes sbDraw {
    0%       { stroke-dashoffset: 1; }
    35%, 92% { stroke-dashoffset: 0; }
    100%     { stroke-dashoffset: 0; }
}

/* ---------- "Yeni gönderi algılandı" bildirimi ---------- */
.sb-toast {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 13px; margin-bottom: 10px;
    background: linear-gradient(120deg, #16205a, #2544d8);
    border-radius: 14px; color: #fff;
    box-shadow: 0 14px 28px -16px rgba(37, 68, 216, .95);
    animation: sbToast 9s cubic-bezier(.2, .8, .25, 1) infinite;
}
@keyframes sbToast {
    0%        { opacity: 0; transform: translateY(-14px) scale(.96); }
    6%, 88%   { opacity: 1; transform: none; }
    97%, 100% { opacity: 0; transform: translateY(-10px) scale(.98); }
}
.sb-toast__ico {
    flex: none; display: grid; place-items: center;
    width: 30px; height: 30px; border-radius: 10px;
    background: rgba(255, 255, 255, .18); font-size: 13px;
}
/* İçteki metin sarmalayıcısı ve satırları blok olmalı — inline kalırsa
   başlık ve açıklama aynı satıra akıp sarıyor. */
.sb-toast__tx { display: block; flex: 1; min-width: 0; }
.sb-toast__t { display: block; font-size: 12.5px; font-weight: 800; line-height: 1.3; }
.sb-toast__d { display: block; font-size: 11px; color: rgba(255, 255, 255, .78); }
.sb-toast__time { margin-left: auto; font-size: 10.5px; font-weight: 700; color: rgba(255, 255, 255, .6); white-space: nowrap; }

/* ---------- Otomatik açılan görev satırları ---------- */
.sb-tasks { display: flex; flex-direction: column; gap: 8px; }
.sb-task {
    display: flex; align-items: center; gap: 11px;
    padding: 11px 12px; border: 1px solid var(--line); border-radius: 14px;
    background: var(--surface);
    opacity: 0;
    animation: sbTask 9s cubic-bezier(.2, .8, .25, 1) infinite;
    animation-delay: calc(var(--d, 0) * 1s);
}
@keyframes sbTask {
    0%        { opacity: 0; transform: translateX(18px); }
    8%, 86%   { opacity: 1; transform: none; }
    96%, 100% { opacity: 0; transform: translateX(10px); }
}
.sb-task__ico {
    flex: none; display: grid; place-items: center;
    width: 34px; height: 34px; border-radius: 11px; color: #fff; font-size: 14px;
}
.sb-task__ico--like { background: linear-gradient(135deg, #fb7185, #e11d48); }
.sb-task__ico--cmt  { background: linear-gradient(135deg, #60a5fa, #2563eb); }
.sb-task__ico--view { background: linear-gradient(135deg, #34d399, #059669); }
.sb-task__tx { display: block; flex: 1; min-width: 0; }
.sb-task__n { display: block; font-size: 13px; font-weight: 700; color: var(--mk-ink); }
.sb-task__d { display: block; font-size: 11px; color: var(--muted-2); font-weight: 600; }
.sb-task__st {
    flex: none; display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 9px; border-radius: 999px;
    background: var(--ok-bg); color: var(--ok-fg); font-size: 10.5px; font-weight: 800;
}

/* Maketin altındaki kalan bakiye satırı */
.sb-mock__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    margin-top: 12px; padding: 11px 13px; border-radius: 14px;
    background: var(--bg-soft); border: 1px dashed var(--line-strong);
    font-size: 12px; font-weight: 700; color: var(--muted);
}
.sb-mock__foot b { color: var(--ok-fg); font-size: 13.5px; }

/* Maketin yanına iliştirilen küçük istatistik balonu */
.sb-float {
    position: absolute; z-index: 2;
    display: flex; align-items: center; gap: 9px;
    padding: 10px 14px; border-radius: 14px;
    background: var(--surface); border: 1px solid var(--line);
    box-shadow: 0 16px 34px -18px rgba(15, 22, 51, .55);
    font-size: 12px; font-weight: 700; color: var(--mk-ink);
    animation: sbFloat 6s ease-in-out infinite;
}
.sb-float i { color: var(--brand); }
/* Kartın İÇİNE taşmasınlar: alt-sol ve üst-sağ köşelerden dışarı sarkarlar */
.sb-float--a { left: -30px; bottom: -16px; }
.sb-float--b { right: -22px; top: 9%; animation-delay: -3s; }
@keyframes sbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 1100px) { .sb-float { display: none; } }

/* =====================================================================
   2) NASIL ÇALIŞIR — akan bağlantı çizgili adımlar
   ===================================================================== */
.sb-steps {
    position: relative;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 26px);
}
/* Kartların arkasından geçen ilerleme çizgisi */
.sb-steps::before {
    content: ""; position: absolute; left: 8%; right: 8%; top: 46px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--brand-line) 0 8px, transparent 8px 16px);
    z-index: 0;
}
.sb-step { position: relative; z-index: 1; padding: 24px 20px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--mk-card); }
.sb-step:hover { border-color: var(--brand-line-2); }
.sb-step__n {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 9px;
    border-radius: 999px; background: var(--mk-grad); color: #fff;
    font-size: 11.5px; font-weight: 800; letter-spacing: .04em;
    box-shadow: 0 8px 18px -8px rgba(37, 68, 216, .9);
}
.sb-step__ico {
    display: grid; place-items: center; width: 54px; height: 54px; margin: 12px auto 14px;
    border-radius: 18px; background: var(--brand-soft); color: var(--brand); font-size: 21px;
    transition: transform var(--ease), background var(--ease), color var(--ease);
}
.sb-step:hover .sb-step__ico { background: var(--mk-grad); color: #fff; transform: translateY(-3px) scale(1.05); }
.sb-step__t { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 16px; font-weight: 800; color: var(--mk-ink); margin: 0 0 7px; }
.sb-step__d { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* =====================================================================
   3) ÖZELLİK GRID'İ
   ===================================================================== */
.sb-feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.sb-feat { padding: 26px 22px; }
.sb-feat__t { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 16.5px; font-weight: 800; color: var(--mk-ink); margin: 16px 0 8px; }
.sb-feat__d { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0; }
.sb-feat__tag { position: absolute; top: 18px; right: 18px; }

/* =====================================================================
   4) VİTRİN SATIRLARI (metin + maket, dönüşümlü)
   ===================================================================== */
.sb-show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4.4vw, 68px); align-items: center; }
.sb-show > * { min-width: 0; }   /* grid çocuğu taşmasın (maketler geniş) */
.sb-show + .sb-show { margin-top: clamp(48px, 6vw, 92px); }
.sb-show--flip .sb-show__media { order: -1; }
.sb-show__copy { max-width: 520px; }
.sb-show__t {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: clamp(23px, 2.9vw, 34px); font-weight: 800; line-height: 1.18;
    letter-spacing: -.024em; color: var(--mk-ink); margin: 14px 0 14px;
}
.sb-show__d { font-size: clamp(14.5px, 1.6vw, 16.5px); line-height: 1.7; color: var(--muted); margin: 0 0 20px; }
.sb-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.sb-list li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; line-height: 1.55; color: var(--text); }
.sb-list li b { color: var(--mk-ink); }
.sb-list i {
    flex: none; display: grid; place-items: center;
    width: 22px; height: 22px; margin-top: 1px; border-radius: 8px;
    background: var(--ok-bg); color: var(--ok-fg); font-size: 10.5px;
}

/* =====================================================================
   5) ETKİLEŞİM PLANI MAKETİ (kural kurucu replikası)
   ===================================================================== */
.sb-rule {
    background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
    box-shadow: 0 34px 70px -38px rgba(15, 22, 51, .48);
    padding: 20px; max-width: 470px; margin-inline: auto;
}
.sb-rule__head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.sb-rule__head i { color: var(--brand); }
.sb-rule__head b { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 15px; font-weight: 800; color: var(--mk-ink); }

.sb-lbl { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted-2); margin: 0 0 8px; }
.sb-field + .sb-field { margin-top: 16px; }

.sb-tabs { display: flex; gap: 6px; padding: 4px; background: var(--bg-soft); border-radius: 12px; }
.sb-tabs span {
    flex: 1; padding: 8px 6px; border-radius: 9px; text-align: center;
    font-size: 12px; font-weight: 700; color: var(--muted);
}
.sb-tabs span.is-on { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-sm); }

.sb-svc { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1.5px solid var(--brand); border-radius: 14px; background: rgba(37, 68, 216, .04); }
.sb-svc__ico { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--sb-ig); color: #fff; font-size: 15px; }
.sb-svc__n { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 700; color: var(--mk-ink); }
.sb-svc__p { font-size: 12.5px; font-weight: 800; color: var(--brand); white-space: nowrap; }
.sb-svc__chk { flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 10px; }

.sb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 9px 13px; border: 1.5px solid var(--line-strong); border-radius: 12px;
    background: var(--surface); font-size: 12.5px; font-weight: 700; color: var(--muted);
}
.sb-chip i { font-size: 12px; }
.sb-chip.is-on { border-color: var(--brand); background: rgba(37, 68, 216, .05); color: var(--brand); }
.sb-chip.is-on i { color: var(--brand); }

.sb-range { display: flex; align-items: center; gap: 10px; }
.sb-range__box {
    flex: 1; padding: 11px 13px; border: 1.5px solid var(--line-strong); border-radius: 12px;
    font-size: 13.5px; font-weight: 700; color: var(--mk-ink); background: var(--surface);
}
.sb-range__sep { font-size: 12px; font-weight: 800; color: var(--muted-2); }

.sb-rule__go {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 18px; padding: 13px; border-radius: 14px;
    background: var(--mk-grad); color: #fff; font-size: 14px; font-weight: 800;
    box-shadow: 0 14px 28px -14px rgba(37, 68, 216, .9);
}

/* =====================================================================
   6) BAKİYE MAKETİ
   ===================================================================== */
.sb-wallet {
    max-width: 400px; margin-inline: auto; padding: 22px;
    border-radius: 24px; color: #fff;
    background: linear-gradient(140deg, #0f1633 0%, #2544d8 65%, #6d3ce0 100%);
    box-shadow: 0 34px 70px -34px rgba(37, 68, 216, .9);
    position: relative; overflow: hidden;
}
.sb-wallet::after {
    content: ""; position: absolute; top: -60px; right: -50px; width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(255, 255, 255, .2), transparent 65%);
}
.sb-wallet__top { position: relative; display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.sb-wallet__l { font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .7); }
.sb-wallet__v { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.sb-wallet__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: rgba(255, 255, 255, .16); font-size: 17px; }
.sb-wallet__row {
    position: relative; display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1);
    font-size: 12.5px; font-weight: 700;
}
.sb-wallet__row + .sb-wallet__row { margin-top: 9px; }
.sb-wallet__row i { color: #7ef0c3; }
.sb-wallet__row span { margin-left: auto; color: rgba(255, 255, 255, .72); font-weight: 600; }
.sb-wallet__switch { flex: none; width: 34px; height: 19px; border-radius: 999px; background: #34d399; position: relative; margin-left: auto; }
.sb-wallet__switch::after { content: ""; position: absolute; top: 2.5px; right: 2.5px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }

/* =====================================================================
   7) KİMLER İÇİN
   ===================================================================== */
.sb-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.sb-who__card { padding: 28px 24px; overflow: hidden; }
.sb-who__ico { width: 54px; height: 54px; border-radius: 18px; font-size: 21px; }
.sb-who__t { font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; font-size: 18px; font-weight: 800; color: var(--mk-ink); margin: 16px 0 9px; }
.sb-who__d { font-size: 14px; line-height: 1.65; color: var(--muted); margin: 0 0 16px; }
.sb-who__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.sb-who__tag { padding: 5px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); font-size: 11.5px; font-weight: 700; }

/* =====================================================================
   8) SSS (sayfa içi mini akordeon)
   ===================================================================== */
.sb-faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 11px; }
.sb-faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease; }
.sb-faq__item.is-open { border-color: var(--brand-line-2); box-shadow: var(--mk-card); }
.sb-faq__q {
    display: flex; align-items: center; gap: 14px; width: 100%; padding: 17px 18px;
    background: none; border: 0; text-align: left;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-size: 15.5px; font-weight: 700; color: var(--mk-ink); line-height: 1.4;
}
.sb-faq__q span { flex: 1; min-width: 0; }
.sb-faq__q i {
    flex: none; display: grid; place-items: center; width: 30px; height: 30px;
    border-radius: 9px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px;
    transition: transform .35s cubic-bezier(.2, .8, .25, 1), background .25s ease, color .25s ease;
}
.sb-faq__item.is-open .sb-faq__q i { transform: rotate(180deg); background: var(--brand); color: #fff; }
.sb-faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .38s cubic-bezier(.2, .8, .25, 1); }
.sb-faq__item.is-open .sb-faq__a { grid-template-rows: 1fr; }
.sb-faq__a > div { overflow: hidden; }
.sb-faq__a p { margin: 0; padding: 0 18px 18px; font-size: 14.5px; line-height: 1.7; color: var(--muted); }

/* =====================================================================
   9) RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
    .sb-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
    .sb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sb-steps::before { display: none; }
    .sb-show { grid-template-columns: 1fr; gap: 30px; }
    .sb-show--flip .sb-show__media { order: 0; }
    .sb-show__copy { max-width: none; }
    .sb-who { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .sb-steps { grid-template-columns: 1fr; gap: 22px; }
    .sb-feats { grid-template-columns: 1fr; }
    .sb-mock { padding: 13px; border-radius: 22px; }
    .sb-mock__url { display: none; }
    .sb-rule { padding: 16px; border-radius: 20px; }
    .sb-faq__q { padding: 15px; font-size: 14.5px; gap: 11px; }
    .sb-faq__a p { padding: 0 15px 16px; }
}

/* =====================================================================
   10) HAREKETİ AZALT
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
    .sb-toast, .sb-task, .sb-float, .sb-chart__line, .sb-acct__ava::after, .sb-acct__badge span { animation: none; }
    .sb-task { opacity: 1; }
    .sb-chart__line { stroke-dashoffset: 0; }
    .sb-step__ico, .sb-faq__q i, .sb-faq__a, .sb-faq__item { transition: none; }
}
