/* ═══════════════════════════════════════════════════════════
   RISING MEDYA — Yazılım çözümleri sayfaları (/yazilim-cozumleri, /market-programi, ...)
   landing.css'ten sonra yüklenir; style.css değişkenlerini kullanır. Mobil öncelikli.
   Temsili ekran maketleri saf HTML/CSS'tir (görsel dosyası, animasyon ve blur yok).
   ═══════════════════════════════════════════════════════════ */

/* ── 5 adımlı süreç (landing.css 4 sütun varsayar) ── */
@media (min-width: 640px) and (max-width: 899px) {
    .lp-steps:has(> .lp-step:nth-child(5)) > .lp-step:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
    .lp-steps:has(> .lp-step:nth-child(5)) { grid-template-columns: repeat(5, 1fr); }
}

/* ── Vitrin (metin + temsili ekran) ── */
.sx-show-grid { display: grid; gap: 28px; align-items: center; }
.sx-show-text .section-title { margin-bottom: 4px; }
.sx-lead { color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; margin-top: 12px; }
.sx-points { list-style: none; display: grid; gap: 9px; margin-top: 18px; }
.sx-points li { display: flex; gap: 10px; align-items: baseline; font-size: 0.92rem; line-height: 1.5; }
.sx-points i { color: var(--accent); font-size: 0.76rem; flex-shrink: 0; }
.sx-ref {
    margin-top: 20px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 15px; border-radius: 12px;
    background: rgba(225, 29, 42, 0.07); border: 1px solid rgba(225, 29, 42, 0.3); font-size: 0.88rem; line-height: 1.55;
}
.sx-ref i { color: var(--accent); margin-top: 3px; }
.sx-ref a { color: #ff9090; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.sx-fig { margin: 0; min-width: 0; }
.sx-fig figcaption { margin-top: 12px; font-size: 0.8rem; line-height: 1.5; color: var(--text-dim); text-align: center; }
@media (min-width: 900px) {
    .sx-show-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 52px; }
}

/* ── Maket: pencere ── */
.sx-win {
    --mk-bg: #111116; --mk-bar: #18181f; --mk-line: rgba(255, 255, 255, 0.08); --mk-dim: #a3a9bd; --mk-cell: rgba(255, 255, 255, 0.035);
    background: var(--mk-bg); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; overflow: hidden;
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.5);
    font-family: var(--font-body); font-size: 0.8rem; line-height: 1.4; color: var(--text); text-align: left;
}
.sx-win-bar {
    display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--mk-bar);
    border-bottom: 1px solid var(--mk-line); min-width: 0;
}
.sx-win-bar > i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a44; flex-shrink: 0; }
.sx-win-bar > i:nth-child(1) { background: #ff5f57; }
.sx-win-bar > i:nth-child(2) { background: #febc2e; }
.sx-win-bar > i:nth-child(3) { background: #28c840; }
.sx-win-bar span { margin-left: 8px; color: var(--mk-dim); font-size: 0.74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sx-win-bar em {
    margin-left: auto; flex-shrink: 0; font-style: normal; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.02em;
    padding: 3px 9px; border-radius: 999px; color: #ffb3b3; background: rgba(225, 29, 42, 0.16); border: 1px solid rgba(255, 77, 77, 0.35);
}
.sx-win-body { padding: 14px; }
.sx-win-flat { box-shadow: none; }

/* Tablo */
.sx-tbl { width: 100%; border-collapse: collapse; font-size: 0.76rem; }
.sx-tbl th { font-weight: 600; color: var(--mk-dim, #a3a9bd); text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--mk-line, rgba(255,255,255,.08)); white-space: nowrap; }
.sx-tbl td { padding: 8px; border-bottom: 1px solid var(--mk-line, rgba(255,255,255,.08)); white-space: nowrap; }
.sx-tbl td:first-child { white-space: normal; }
.sx-tbl tr:last-child td { border-bottom: 0; }
.sx-tbl .r { text-align: right; font-variant-numeric: tabular-nums; }
.sx-tbl tr.is-new td { background: rgba(225, 29, 42, 0.1); }
.sx-tbl tr.is-new td:first-child { box-shadow: inset 3px 0 0 var(--primary-2); }

/* Rozetler */
.sx-bdg { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.68rem; font-weight: 600; white-space: nowrap; }
.sx-bdg-red { color: #ffb0b0; background: rgba(255, 77, 77, 0.15); }
.sx-bdg-green { color: #86efc4; background: rgba(52, 211, 153, 0.13); }
.sx-bdg-amber { color: #fcd77a; background: rgba(251, 191, 36, 0.13); }
.sx-bdg-blue { color: #a9cdfd; background: rgba(96, 165, 250, 0.14); }
.sx-bdg-gray { color: #c9ccd8; background: rgba(255, 255, 255, 0.08); }

/* Kasa ekranı */
.sx-pos { display: grid; gap: 12px; }
.sx-pos-main { min-width: 0; }
.sx-scan {
    display: flex; align-items: center; gap: 9px; padding: 9px 11px; margin-bottom: 10px; border-radius: 9px;
    background: var(--mk-cell); border: 1px solid rgba(255, 77, 77, 0.45); color: var(--mk-dim); font-variant-numeric: tabular-nums;
}
.sx-bars { width: 22px; height: 14px; flex-shrink: 0; background: repeating-linear-gradient(90deg, #e6e8f2 0 2px, transparent 2px 3px, #e6e8f2 3px 4px, transparent 4px 6px); opacity: 0.8; }
.sx-scan kbd { margin-left: auto; font: 600 0.66rem/1 var(--font-body); padding: 4px 7px; border-radius: 5px; background: rgba(255, 255, 255, 0.08); color: var(--text); }
.sx-pos-side { display: flex; flex-direction: column; gap: 10px; }
.sx-total { padding: 12px 14px; border-radius: 11px; background: linear-gradient(135deg, rgba(255, 77, 77, 0.2), rgba(225, 29, 42, 0.08)); border: 1px solid rgba(255, 77, 77, 0.35); }
.sx-total span { display: block; font-size: 0.72rem; color: #ffc2c2; }
.sx-total strong { display: block; font-family: var(--font-head); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.01em; color: #fff; font-variant-numeric: tabular-nums; }
.sx-total small { font-size: 0.7rem; color: var(--mk-dim); }
.sx-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sx-pay span { text-align: center; padding: 8px 6px; border-radius: 8px; background: var(--mk-cell); border: 1px solid var(--mk-line); font-size: 0.74rem; font-weight: 600; }
.sx-pay span.on { background: var(--gradient); border-color: transparent; color: #fff; }
.sx-keys { font-size: 0.68rem; color: var(--mk-dim); }

/* Mağaza satış: ürün düğmeleri ve sepet */
.sx-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sx-tiles span { padding: 14px 8px; border-radius: 9px; background: var(--mk-cell); border: 1px solid var(--mk-line); font-size: 0.72rem; text-align: center; }
.sx-tiles span.on { border-color: rgba(255, 77, 77, 0.55); background: rgba(225, 29, 42, 0.1); }
.sx-cart { list-style: none; display: grid; gap: 2px; }
.sx-cart li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 2px; border-bottom: 1px solid var(--mk-line); font-size: 0.76rem; font-variant-numeric: tabular-nums; }
.sx-cart em { font-style: normal; color: var(--mk-dim); }
.sx-cart li.disc { color: #86efc4; }
.sx-retail .sx-pay { grid-template-columns: 1.4fr 1fr 1fr; }

/* KPI kutuları */
.sx-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
.sx-kpis > div { padding: 10px 12px; border-radius: 10px; background: var(--mk-cell); border: 1px solid var(--mk-line); }
.sx-kpis small { display: block; font-size: 0.68rem; color: var(--mk-dim); }
.sx-kpis b { font-family: var(--font-head); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.sx-kpis .warn { border-color: rgba(255, 77, 77, 0.4); }
.sx-kpis .warn b { color: #ffb0b0; }
.sx-kpis .amb b { color: #fcd77a; }

/* İki bölmeli içerik + çubuk grafik */
.sx-split { display: grid; gap: 12px; }
.sx-split-main { min-width: 0; }
.sx-chart { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; background: var(--mk-cell); border: 1px solid var(--mk-line); }
.sx-chart small { font-size: 0.68rem; color: var(--mk-dim); }
.sx-bars-chart { flex: 1; min-height: 64px; display: flex; align-items: flex-end; gap: 6px; margin-top: 8px; }
.sx-bars-chart i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #ff5a5a, rgba(225, 29, 42, 0.45)); }

/* PDKS: telefon + rapor */
.sx-duo { display: grid; gap: 14px; align-items: center; }
.sx-phone {
    width: 190px; justify-self: center; padding: 7px; border-radius: 28px;
    background: linear-gradient(145deg, #2a2a33, #0f0f13 55%, #1c1c23); border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 46px -20px rgba(0, 0, 0, 0.9);
}
.sx-phone-in { border-radius: 22px; background: #111116; padding: 22px 14px 18px; text-align: center; font-size: 0.78rem; color: var(--text); }
.sx-ph-top { font-weight: 700; font-family: var(--font-head); font-size: 0.82rem; margin-bottom: 14px; }
.sx-ok { padding: 14px 10px; border-radius: 14px; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.35); }
.sx-ok-ic { width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: #10b981; color: #fff; font-size: 1.05rem; }
.sx-ok b { display: block; font-size: 0.86rem; color: #a7f3d0; }
.sx-ok small { color: #c9ccd8; font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.sx-ph-loc { margin-top: 12px; font-size: 0.7rem; color: #c9ccd8; }
.sx-ph-loc i { color: var(--accent); }
.sx-ph-loc span { white-space: nowrap; }
.sx-ph-note { margin-top: 10px; font-size: 0.68rem; color: #a3a9bd; }
.sx-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.sx-actions span { padding: 6px 11px; border-radius: 8px; background: var(--mk-cell, rgba(255,255,255,.035)); border: 1px solid var(--mk-line, rgba(255,255,255,.08)); font-size: 0.72rem; font-weight: 600; }
.sx-actions span:first-child { border-color: rgba(255, 77, 77, 0.45); }
.sx-actions i { color: #86efc4; }

/* İşletme paneli */
.sx-app { display: grid; gap: 12px; }
.sx-nav { list-style: none; display: flex; gap: 6px; overflow: hidden; }
.sx-nav li { padding: 6px 10px; border-radius: 8px; font-size: 0.72rem; color: var(--mk-dim); white-space: nowrap; background: var(--mk-cell); }
.sx-nav li.on { background: rgba(225, 29, 42, 0.16); color: #ffc2c2; font-weight: 600; }
.sx-app-main { min-width: 0; }
.sx-h { font-size: 0.72rem; font-weight: 600; color: var(--mk-dim); margin-bottom: 6px; }
.sx-tasks, .sx-agenda { list-style: none; display: grid; gap: 6px; }
.sx-tasks li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: var(--mk-cell); border: 1px solid var(--mk-line); font-size: 0.74rem; }
.sx-tasks li i { width: 13px; height: 13px; border-radius: 4px; border: 1.5px solid #8b90a3; flex-shrink: 0; }
.sx-tasks li.done { color: var(--mk-dim); text-decoration: line-through; }
.sx-tasks li.done i { background: #10b981; border-color: #10b981; }
.sx-agenda li { padding: 8px 10px; border-radius: 9px; background: var(--mk-cell); border-left: 3px solid var(--primary-2); font-size: 0.74rem; }
.sx-agenda b { font-variant-numeric: tabular-nums; margin-right: 4px; }

/* Cari hesap */
.sx-cari-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.sx-cari-head b { display: block; font-size: 0.84rem; }
.sx-cari-head small { font-size: 0.7rem; color: var(--mk-dim); }
.sx-bal { text-align: right; padding: 7px 11px; border-radius: 10px; background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.3); }
.sx-bal strong { display: block; font-family: var(--font-head); font-size: 1rem; color: #fcd77a; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sx-remind { margin-top: 10px; padding: 8px 11px; border-radius: 9px; background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.28); color: #fcd77a; font-size: 0.74rem; }

@media (min-width: 480px) {
    .sx-kpis { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 640px) {
    .sx-pos { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
    .sx-split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
    .sx-duo { grid-template-columns: 190px minmax(0, 1fr); }
    .sx-app { grid-template-columns: 118px minmax(0, 1fr); }
    .sx-nav { flex-direction: column; }
}
/* Telefon: maket metni küçülür, ikincil sütunlar gizlenir — yatay kaydırma olmaz */
@media (max-width: 479px) {
    .sx-win { font-size: 0.74rem; }
    .sx-win-body { padding: 11px; }
    .sx-tbl { font-size: 0.7rem; }
    .sx-tbl th, .sx-tbl td { padding: 6px 5px; }
    .sx-tbl .sx-hs { display: none; }
    .sx-win-bar span { font-size: 0.68rem; }
    .sx-total strong { font-size: 1.25rem; }
    .sx-tiles span { padding: 10px 4px; font-size: 0.68rem; }
    .sx-nav li:nth-child(n+5) { display: none; }
}

/* ── Demo formu ── */
.sx-demo { display: grid; gap: 28px; align-items: start; }
.sx-demo-text .section-title { margin-bottom: 4px; }
.sx-form {
    position: relative; padding: 24px 20px; border-radius: 22px;
    background: var(--surface); border: 1px solid var(--border-hover); box-shadow: 0 0 22px rgba(225, 29, 42, 0.18);
}
.sx-form h3 { font-family: var(--font-head); font-size: 1.12rem; margin-bottom: 16px; }
.sx-form .form-group { margin-bottom: 14px; }
.sx-form-row { display: grid; gap: 0 14px; }
.sx-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--text-dim); margin: 2px 0 16px; cursor: pointer; line-height: 1.55; }
.sx-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--primary); flex-shrink: 0; }
.sx-check a { color: #ff9090; text-decoration: underline; }
.sx-form .form-feedback { margin-bottom: 12px; }
.sx-form .btn { justify-content: center; }
@media (min-width: 640px) {
    .sx-form-row { grid-template-columns: 1fr 1fr; }
    .sx-form { padding: 30px 28px; }
}
@media (min-width: 900px) {
    .sx-demo { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 52px; align-items: center; }
}

/* Canlı demo bağlantısı (demo formu metninin altında; yalnızca demo adresi tanımlıysa) */
.sx-live { margin-top: 18px; }
.sx-live .btn { justify-content: center; }

/* ── Hazır ürün: gerçek ekran görüntüleri (/dis-klinigi-programi) ── */
.kp-stage { margin: 0 auto 20px; max-width: 760px; }   /* tam genişlik ekran görüntüsü fazla büyüktü (2026-11-04 gece) */
.kp-browser { border-radius: 12px; overflow: hidden; background: #111116; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 20px 44px -22px rgba(0, 0, 0, 0.8); }
.kp-browser-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #18181f; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.kp-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a44; flex-shrink: 0; }
.kp-browser-bar i:nth-child(1) { background: #ff5f57; }
.kp-browser-bar i:nth-child(2) { background: #febc2e; }
.kp-browser-bar i:nth-child(3) { background: #28c840; }
.kp-browser-bar span { margin-left: 8px; color: #a3a9bd; font-size: 0.74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kp-browser-shot { background: #F5F2EE; }
.kp-browser-shot img { display: block; width: 100%; height: auto; }
.kp-stage figcaption, .kp-card figcaption p { font-size: 0.86rem; line-height: 1.55; color: var(--text-dim); }
.kp-stage figcaption { margin-top: 12px; text-align: center; }
.kp-cards { display: grid; gap: 14px; max-width: 960px; margin-inline: auto; }
.kp-card { margin: 0; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.kp-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: #F5F2EE; border-bottom: 1px solid var(--border); }
.kp-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.kp-card-media.is-phone { display: grid; place-items: center; background: #1b1a1f; padding: 16px 0 0; }
.kp-card-media.is-phone img { width: auto; height: 100%; max-width: 120px; border-radius: 16px 16px 0 0; border: 3px solid #0b0a0c; border-bottom: 0; object-fit: cover; object-position: top; }
.kp-card figcaption { padding: 14px 16px 16px; }
.kp-card h3 { font-family: var(--font-head); font-size: 1rem; margin: 0 0 4px; }
.kp-card figcaption p { margin: 0; font-size: 0.82rem; }
@media (min-width: 640px) { .kp-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .kp-cards { grid-template-columns: 1fr 1fr 1fr; } }

/* ── Hub kartları ── */
.sx-cards { display: grid; gap: 14px; }
.sx-card {
    position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--border); transition: border-color 0.3s, transform 0.35s var(--ease);
}
.sx-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.sx-card-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(225, 29, 42, 0.14); color: #ff9090; font-size: 1.15rem; }
.sx-card h3 { font-family: var(--font-head); font-size: 1.08rem; }
.sx-card h3 a { color: var(--text); }
.sx-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }   /* tüm kart tıklanır */
.sx-card h3 a:focus-visible { outline: none; }
.sx-card:focus-within { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(255, 77, 77, 0.45); }
.sx-card p { font-size: 0.89rem; color: var(--text-dim); line-height: 1.6; }
.sx-card ul { list-style: none; display: grid; gap: 6px; }
.sx-card li { display: flex; gap: 9px; align-items: baseline; font-size: 0.86rem; }
.sx-card li i { color: var(--accent); font-size: 0.72rem; }
.sx-card .sx-card-ref { margin-top: auto; padding-top: 6px; display: flex; gap: 8px; align-items: baseline; font-size: 0.82rem; color: var(--text); }
.sx-card-ref i { color: var(--accent); font-size: 0.78rem; }
.sx-card-go { display: inline-flex; gap: 7px; align-items: center; font-size: 0.86rem; font-weight: 600; color: #ff9090; }
.sx-sub { font-family: var(--font-head); font-size: 1.15rem; text-align: center; margin: 44px 0 18px; }
.sx-cards-sm .sx-card { padding: 18px; }
.sx-cards-sm .sx-card-icon { width: 40px; height: 40px; font-size: 1rem; border-radius: 12px; }
.sx-cards-sm .sx-card h3 { font-size: 0.98rem; }
.sx-cards-sm .sx-card p { font-size: 0.85rem; }
@media (min-width: 640px) {
    .sx-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
    .sx-cards { grid-template-columns: repeat(3, 1fr); }
    .sx-cards-sm { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 639px) {
    .sx-cards { gap: 10px; }
    .sx-card { padding: 16px; gap: 8px; display: grid; grid-template-columns: 40px 1fr; align-items: center; column-gap: 12px; }
    .sx-card > :not(.sx-card-icon):not(h3) { grid-column: 1 / -1; }
    .sx-card ul { display: none; }   /* telefonda kompakt: maddeler detay sayfasında */
    .sx-card-icon { width: 40px; height: 40px; font-size: 1rem; border-radius: 12px; }
    .sx-sub { margin-top: 32px; }
    .sx-form { padding: 20px 16px; }
}
@media (hover: none) {
    .sx-card:hover { transform: none; }
}
@media (max-width: 900px), (pointer: coarse) {
    .sx-card { transition: border-color 0.3s; }
    .sx-form { box-shadow: none; }
}
