/* ── TOKENS ── */
    :root {
      --rs-bg:        #f5f7fa;
      --rs-surface:   #ffffff;
      --rs-border:    #e2e8f0;
      --rs-border-md: #cbd5e1;
      --rs-text:      #0f172a;
      --rs-text-2:    #475569;
      --rs-text-3:    #94a3b8;
      --rs-blue:      #2563eb;
      --rs-blue-lt:   #eff6ff;
      --rs-blue-bd:   #bfdbfe;
      --rs-green:     #16a34a;
      --rs-green-lt:  #f0fdf4;
      --rs-green-bd:  #bbf7d0;
    }

    /* ── HERO ── */
    .rs-hero {
      background: linear-gradient(160deg, #e8f0fe 0%, #dde8fc 35%, #e4dcfb 100%);
      border-bottom: 1px solid var(--rs-border);
      padding: 64px 0 72px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .rs-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 55% 60% at 50% -10%, rgba(37,99,235,.07) 0%, transparent 65%),
        radial-gradient(ellipse 40% 40% at 85% 80%, rgba(124,58,237,.06) 0%, transparent 55%);
      pointer-events: none;
    }
    .rs-eyebrow {
      display: inline-flex; align-items: center; gap: 7px;
      background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 30px;
      padding: 5px 16px; font-size: .72rem; font-weight: 700; color: #1d4ed8;
      letter-spacing: .05em; text-transform: uppercase; margin-bottom: 22px;
    }
    .rs-title {
      font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 900;
      color: #0f172a; line-height: 1.08; margin-bottom: 16px;
    }
    .rs-gradient {
      background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
      -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    }
    .rs-lead { font-size: .97rem; color: #64748b; max-width: 520px; margin: 0 auto 32px; line-height: 1.75; }
    .rs-pills { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-bottom: 44px; }
    .rs-pill {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 6px 14px; background: #fff; border: 1px solid #dbeafe;
      border-radius: 20px; font-size: .76rem; font-weight: 700; color: #1d4ed8;
      box-shadow: 0 1px 4px rgba(37,99,235,.07);
    }

    /* ── DROP ZONE ── */
    .rs-drop-zone {
      background: #fff;
      border: 2px dashed #bfdbfe;
      border-radius: 20px; padding: 52px 32px;
      max-width: 680px; margin: 0 auto; cursor: pointer;
      transition: border-color .2s, background .2s, box-shadow .2s;
      position: relative;
      box-shadow: 0 4px 24px rgba(37,99,235,.06);
    }
    .rs-drop-zone:hover, .rs-drop-zone.drag-over {
      border-color: #2563eb; background: #eff6ff;
      box-shadow: 0 8px 36px rgba(37,99,235,.13);
    }
    .rs-drop-icon { font-size: 2.4rem; color: #2563eb; margin-bottom: 14px; }
    .rs-drop-title { font-size: 1rem; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
    .rs-drop-sub { font-size: .78rem; color: #94a3b8; margin-bottom: 20px; }
    .btn-rs-browse {
      padding: 10px 26px;
      background: linear-gradient(135deg, #1d4ed8, #2563eb);
      color: #fff; border: none; border-radius: 9px;
      font-size: .85rem; font-weight: 700; cursor: pointer;
      font-family: inherit; box-shadow: 0 2px 10px rgba(37,99,235,.28);
      transition: box-shadow .18s, transform .18s;
    }
    .btn-rs-browse:hover { box-shadow: 0 4px 18px rgba(37,99,235,.4); transform: translateY(-1px); }
    #rsFileInput { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }

    /* ── OPTIONS BAR ── */
    .rs-options {
      display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px;
      justify-content: center; padding: 24px 0 0; max-width: 760px; margin: 0 auto;
    }
    .rs-opt-group { display: flex; flex-direction: column; align-items: flex-start; min-width: 160px; }
    .rs-opt-lbl {
      font-size: .66rem; font-weight: 700; color: #64748b;
      text-transform: uppercase; letter-spacing: .07em; margin-bottom: 6px;
      display: flex; align-items: center; justify-content: space-between; width: 100%;
    }
    .rs-opt-num { color: #2563eb; font-size: .72rem; font-weight: 800; }
    .rs-slider {
      width: 100%; height: 5px; background: #e2e8f0; border-radius: 3px;
      outline: none; border: none; cursor: pointer;
      -webkit-appearance: none; appearance: none;
    }
    .rs-slider::-webkit-slider-thumb {
      -webkit-appearance: none; width: 16px; height: 16px;
      background: #2563eb; border-radius: 50%; cursor: pointer;
      box-shadow: 0 0 0 3px rgba(37,99,235,.2);
    }
    .rs-slider::-moz-range-thumb {
      width: 16px; height: 16px; background: #2563eb;
      border-radius: 50%; cursor: pointer; border: none;
      box-shadow: 0 0 0 3px rgba(37,99,235,.2);
    }
    .rs-select {
      background: #fff; border: 1.5px solid #e2e8f0; border-radius: 9px;
      padding: 8px 12px; color: #0f172a; font-size: .82rem;
      font-family: inherit; outline: none; cursor: pointer;
      box-shadow: 0 1px 4px rgba(0,0,0,.05);
    }
    .rs-select:focus { border-color: #2563eb; }
    .rs-select option { background: #fff; }
    .rs-opt-hint { font-size: .65rem; color: #94a3b8; margin-top: 4px; }
    .btn-rs-compress {
      width: 100%; margin-top: 16px;
      padding: 13px 24px;
      background: linear-gradient(135deg, #1d4ed8, #2563eb);
      color: #fff; border: none; border-radius: 11px;
      font-size: .95rem; font-weight: 700; cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: 8px;
      font-family: inherit;
      box-shadow: 0 4px 18px rgba(37,99,235,.35);
      transition: box-shadow .18s, transform .18s;
    }
    .btn-rs-compress:hover { box-shadow: 0 6px 24px rgba(37,99,235,.5); transform: translateY(-1px); }

    /* ── RESULTS ── */
    .rs-results { padding: 64px 0 80px; background: var(--rs-bg); }
    .rs-results.hidden { display: none; }
    .rs-results-inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

    .rs-results-hdr {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 20px; flex-wrap: wrap; gap: 12px;
    }
    .rs-results-ttl { font-size: 1.1rem; font-weight: 800; color: #0f172a; margin: 0; }
    .rs-results-actions { display: flex; gap: 8px; }

    .btn-rs-dl-all {
      padding: 9px 18px; background: #2563eb; color: #fff;
      border: none; border-radius: 9px; font-size: .8rem; font-weight: 700;
      cursor: pointer; display: flex; align-items: center; gap: 6px;
      font-family: inherit; box-shadow: 0 2px 8px rgba(37,99,235,.25);
      transition: background .15s, box-shadow .15s;
    }
    .btn-rs-dl-all:hover { background: #1d4ed8; box-shadow: 0 4px 14px rgba(37,99,235,.35); }

    .btn-rs-dl-zip {
      padding: 9px 18px; background: var(--rs-green-lt);
      border: 1.5px solid var(--rs-green-bd); color: var(--rs-green);
      border-radius: 9px; font-size: .8rem; font-weight: 700; cursor: pointer;
      display: flex; align-items: center; gap: 6px; font-family: inherit;
      transition: background .15s;
    }
    .btn-rs-dl-zip:hover { background: #dcfce7; }

    /* Summary bar */
    .rs-summary-bar {
      background: #fff; border: 1.5px solid var(--rs-border);
      border-radius: 14px; padding: 16px 24px;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 12px; margin-bottom: 24px;
      box-shadow: 0 2px 12px rgba(0,0,0,.04);
    }
    .rs-sum-stat { text-align: center; }
    .rs-sum-val { font-size: 1.4rem; font-weight: 900; color: #2563eb; display: block; }
    .rs-sum-lbl {
      font-size: .63rem; font-weight: 700; color: #94a3b8;
      text-transform: uppercase; letter-spacing: .08em;
    }

    /* Cards */
    .rs-result-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
    .rs-result-card {
      background: #fff; border: 1.5px solid var(--rs-border);
      border-radius: 16px; overflow: hidden;
      box-shadow: 0 2px 12px rgba(0,0,0,.05);
      transition: box-shadow .2s, transform .2s;
    }
    .rs-result-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-2px); }

    /* Before/After slider */
    .rs-ba-wrap { position: relative; width: 100%; height: 190px; overflow: hidden; cursor: col-resize; user-select: none; }
    .rs-ba-after { position: absolute; inset: 0; }
    .rs-ba-after img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .rs-ba-before { position: absolute; inset: 0; overflow: hidden; width: 50%; }
    .rs-ba-before img { width: 100%; height: 100%; object-fit: cover; display: block; min-width: 100vw; max-width: none; }
    .rs-ba-divider {
      position: absolute; top: 0; bottom: 0; left: 50%; width: 2px;
      background: #fff; box-shadow: 0 0 8px rgba(0,0,0,.4);
      cursor: col-resize; z-index: 2; transform: translateX(-50%);
    }
    .rs-ba-divider::before {
      content: ''; position: absolute; top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      width: 30px; height: 30px; background: #fff; border-radius: 50%;
      box-shadow: 0 2px 10px rgba(0,0,0,.25);
    }
    .rs-ba-divider::after {
      content: '\2194'; position: absolute; top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      font-size: 13px; color: #2563eb; font-weight: 900; pointer-events: none;
    }
    .rs-ba-label {
      position: absolute; top: 8px; font-size: .6rem; font-weight: 800;
      letter-spacing: .06em; padding: 3px 8px; border-radius: 5px; z-index: 3;
    }
    .rs-ba-label--orig { left: 8px; background: rgba(0,0,0,.5); color: #fca5a5; }
    .rs-ba-label--new  { right: 8px; background: rgba(0,0,0,.5); color: #4ade80; }

    /* Card info */
    .rs-result-info { padding: 14px 16px; }
    .rs-result-name {
      font-size: .8rem; font-weight: 700; color: #0f172a;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 9px;
    }
    .rs-result-stats { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
    .rs-stat-orig  { font-size: .72rem; color: #94a3b8; }
    .rs-stat-arrow { font-size: .65rem; color: #cbd5e1; }
    .rs-stat-new   { font-size: .72rem; font-weight: 700; color: #16a34a; }
    .rs-stat-pct   {
      font-size: .68rem; padding: 2px 8px;
      background: #f0fdf4; border: 1px solid #bbf7d0;
      border-radius: 30px; color: #16a34a; font-weight: 700; margin-left: auto;
    }
    .btn-rs-dl {
      width: 100%; padding: 8px; background: #eff6ff;
      border: 1.5px solid #bfdbfe; border-radius: 8px;
      color: #1d4ed8; font-size: .78rem; font-weight: 700; cursor: pointer;
      display: flex; align-items: center; justify-content: center; gap: 5px;
      font-family: inherit; transition: all .15s;
    }
    .btn-rs-dl:hover { background: #dbeafe; border-color: #93c5fd; }

    /* ── INFO SECTION ── */
    .rs-info-section { padding: 96px 0; background: #fff; border-top: 1px solid var(--rs-border); }
    .rs-eyebrow-s {
      font-size: .72rem; font-weight: 700; color: #2563eb;
      text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px;
    }
    .rs-s-title  { font-size: 1.6rem; font-weight: 800; color: #0f172a; margin-bottom: 10px; }
    .rs-s-sub    { font-size: .9rem; color: #64748b; line-height: 1.8; }
    .rs-info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
    .rs-info-card {
      background: #f8fafc; border: 1.5px solid var(--rs-border);
      border-radius: 16px; padding: 28px 24px;
      transition: box-shadow .2s, transform .2s;
    }
    .rs-info-card:hover { box-shadow: 0 8px 28px rgba(37,99,235,.1); transform: translateY(-2px); }
    .rs-info-icon {
      width: 46px; height: 46px; background: #eff6ff; border-radius: 13px;
      display: flex; align-items: center; justify-content: center;
      color: #2563eb; font-size: 1.15rem; margin-bottom: 18px;
    }
    .rs-info-card h3 { font-size: .93rem; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
    .rs-info-card p  { font-size: .81rem; color: #64748b; line-height: 1.78; margin: 0; }

    /* ── KİMLER KULLANIR ── */
    .rs-who-section { padding: 80px 0; background: #f8fafc; border-top: 1px solid var(--rs-border); }
    .rs-who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
    @media (max-width: 991px) { .rs-who-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 575px) { .rs-who-grid { grid-template-columns: 1fr; } }
    .rs-who-card {
      background: #fff; border: 1.5px solid var(--rs-border);
      border-radius: 16px; padding: 24px 20px; text-align: center;
      transition: box-shadow .2s, transform .2s;
    }
    .rs-who-card:hover { box-shadow: 0 8px 28px rgba(37,99,235,.1); transform: translateY(-2px); }
    .rs-who-ic {
      width: 52px; height: 52px; border-radius: 14px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.3rem; margin: 0 auto 14px;
    }
    .rs-who-card h4 { font-size: .88rem; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
    .rs-who-card p  { font-size: .77rem; color: #64748b; line-height: 1.7; margin: 0; }

    /* ── FAQ ── */
    .rs-faq-section { padding: 0 0 100px; background: #f8fafc; }
    .rs-faq-item {
      background: #fff; border: 1.5px solid var(--rs-border);
      border-radius: 14px; margin-bottom: 10px; overflow: hidden; transition: border-color .2s;
    }
    .rs-faq-item.open { border-color: #2563eb; }
    .rs-faq-q {
      width: 100%; background: none; border: none; padding: 18px 22px;
      display: flex; align-items: center; justify-content: space-between; gap: 12px;
      font-family: inherit; font-size: .92rem; font-weight: 700;
      color: #0f172a; cursor: pointer; text-align: left; transition: color .18s;
    }
    .rs-faq-q:hover { color: #1d4ed8; }
    .rs-faq-q i.ch { font-size: .78rem; color: #94a3b8; flex-shrink: 0; transition: transform .22s; }
    .rs-faq-item.open .rs-faq-q i.ch { transform: rotate(180deg); color: #2563eb; }
    .rs-faq-a {
      display: none; padding: 0 22px 18px;
      font-size: .86rem; color: #475569; line-height: 1.78;
    }
    .rs-faq-item.open .rs-faq-a { display: block; }

    /* ── TOOLS ── */
    .rs-tools-section { padding: 88px 0; background: #fff; border-top: 1px solid var(--rs-border); }
    .rs-tool-card {
      display: flex; align-items: center; gap: 16px;
      background: #f8fafc; border: 1.5px solid var(--rs-border);
      border-radius: 16px; padding: 20px 22px; text-decoration: none;
      transition: all .2s;
    }
    .rs-tool-card:hover {
      border-color: #2563eb; background: #eff6ff;
      transform: translateY(-2px); box-shadow: 0 6px 22px rgba(37,99,235,.1);
    }
    .rs-tool-ic  { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .22s cubic-bezier(.34,1.56,.64,1), box-shadow .2s; }
    .rs-tool-card:hover .rs-tool-ic { transform: scale(1.18) rotate(-8deg); box-shadow: 0 4px 14px rgba(0,0,0,.12); }
    .rs-tool-title { font-size: .88rem; font-weight: 700; color: #0f172a; margin: 0 0 3px; }
    .rs-tool-sub   { font-size: .75rem; color: #64748b; margin: 0; }
    .rs-tool-arr   { margin-left: auto; color: #cbd5e1; flex-shrink: 0; font-size: .8rem; }
    .rs-tool-card:hover .rs-tool-arr { color: #2563eb; }

    /* ── HERO 2-COL GRID ── */
    .rs-breadcrumb-top { display:flex; justify-content:flex-start; margin-bottom:32px; }
    .rs-hero-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; text-align:left; }
    .rs-hero-left .rs-eyebrow { margin-bottom:20px; }
    .rs-hero-left .rs-title { margin-bottom:14px; text-align:left; }
    .rs-hero-left .rs-lead { margin:0 0 28px; max-width:100%; text-align:left; }
    .rs-feat-list { list-style:none; padding:0; margin:0 0 32px; display:flex; flex-direction:column; gap:11px; }

    /* ── GİZLİLİK KUTUSU ── */
    .rs-privacy-box {
      background: #f0fdf4; border: 1.5px solid #bbf7d0;
      border-radius: 14px; padding: 14px 16px; margin-bottom: 16px;
    }
    .rs-privacy-hdr { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; margin-bottom:10px; }
    .rs-privacy-badge { display:inline-flex; align-items:center; gap:6px; font-size:.72rem; font-weight:800; color:#15803d; text-transform:uppercase; letter-spacing:.06em; }
    .rs-privacy-badge i { font-size:.82rem; }
    .rs-privacy-tags { display:flex; gap:6px; }
    .rs-privacy-tags span { font-size:.65rem; font-weight:700; padding:3px 9px; background:#dcfce7; border:1px solid #86efac; border-radius:20px; color:#15803d; }
    .rs-privacy-text { font-size:.83rem; color:#166534; line-height:1.65; margin:0 0 10px; }
    .rs-privacy-checks { display:flex; flex-wrap:wrap; gap:12px; }
    .rs-privacy-checks span { font-size:.76rem; font-weight:600; color:#16a34a; display:flex; align-items:center; gap:5px; }
    .rs-privacy-checks i { font-size:.75rem; }
    .rs-feat-item { display:flex; align-items:center; gap:10px; font-size:.88rem; color:#475569; font-weight:500; }
    .rs-feat-item i { color:#16a34a; font-size:.8rem; width:18px; text-align:center; flex-shrink:0; }
    .rs-hero-stats { display:flex; gap:32px; padding-top:28px; border-top:1.5px solid #e2e8f0; }
    .rs-hstat strong { display:block; font-size:1.6rem; font-weight:900; color:#0f172a; line-height:1; margin-bottom:4px; }
    .rs-hstat span { font-size:.72rem; color:#94a3b8; font-weight:500; }
    .rs-upload-card {
      background:#fff;
      border:1.5px solid #e2e8f0;
      border-radius:24px;
      padding:28px;
      box-shadow:0 8px 48px rgba(37,99,235,.1), 0 2px 16px rgba(0,0,0,.05);
      position:relative;
    }
    .rs-upload-card::before {
      content:'';
      position:absolute;
      inset:-2px;
      border-radius:25px;
      background:linear-gradient(135deg,rgba(37,99,235,.15),rgba(124,58,237,.08),transparent 60%);
      z-index:-1;
      pointer-events:none;
    }
    .rs-upload-card .rs-drop-zone { border-radius:16px; padding:36px 20px; max-width:100%; margin:0; box-shadow:none; }
    .rs-upload-card .rs-options { padding:16px 0 0; max-width:100%; justify-content:flex-start; }
    .rs-upload-card .rs-opt-group { min-width:0; flex:1; }
    /* hide breadcrumb on hero-grid pages, show at top-left */
    .rs-breadcrumb-top .breadcrumb { background:none; padding:0; margin:0; flex-wrap:nowrap; }

    /* ── RESPONSIVE ── */
    @media (max-width: 968px) {
      .rs-hero-grid { grid-template-columns:1fr; gap:36px; }
      .rs-hero-left .rs-title,
      .rs-hero-left .rs-lead,
      .rs-hero-left { text-align:center; }
      .rs-feat-list { align-items:center; }
      .rs-privacy-hdr { justify-content:center; }
      .rs-privacy-checks { justify-content:center; }
      .rs-privacy-text { text-align:center; }
      .rs-hero-stats { justify-content:center; }
      .rs-breadcrumb-top { justify-content:center; }
    }
    @media (max-width: 768px) {
      .rs-info-grid { grid-template-columns: 1fr 1fr; }
      .rs-options { flex-direction: column; align-items: stretch; }
      .rs-opt-group { min-width: auto; width: 100%; }
      .rs-ba-wrap { height: 160px; }
    }
    @media (max-width: 576px) {
      .rs-info-grid { grid-template-columns: 1fr; }
      .rs-result-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 400px) {
      .rs-result-grid { grid-template-columns: 1fr; }
    }