/**
 * Video İndirici — tools temasındaki diğer araç sayfalarıyla aynı görünüm
 * (platform renginde hero, gri zeminde beyaz araç kartı, Inter, akordeon SSS).
 * Font (Inter) ve Bootstrap tema header'ından gelir.
 */

/* Platform renkleri */
.jt {
    --hero: #000;
    --hero-icon: #69c9d0;
    --accent: #ee1d52;
    --btn: #000;
    --btn-shadow: rgba(238, 29, 82, .35);
    --ink: #262626;
    --title: #0f1116;
    --muted: #555;
    --faint: rgba(0, 0, 0, .5);
    --line: #e0e0e0;
    --page: #f0f2f5;
    color: var(--ink);
    font-family: Inter, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.jt.dl--hub { --hero: #0f1116; --hero-icon: #1aa3d9; --accent: #1aa3d9; --btn-shadow: rgba(26, 163, 217, .35); }
.jt.dl--instagram {
    --hero: linear-gradient(135deg, #E4405F 0%, #C13584 50%, #833AB4 100%);
    --hero-icon: #fff; --accent: #E4405F; --btn: linear-gradient(135deg, #E4405F 0%, #C13584 50%, #833AB4 100%);
    --btn-shadow: rgba(228, 64, 95, .35);
}
.jt.dl--youtube { --hero: #FF0000; --hero-icon: #fff; --accent: #FF0000; --btn: #FF0000; --btn-shadow: rgba(255, 0, 0, .3); }
.jt.dl--facebook {
    --hero: linear-gradient(135deg, #1877F2 0%, #0C5DBF 100%);
    --hero-icon: #fff; --accent: #1877F2; --btn: linear-gradient(135deg, #1877F2 0%, #0C5DBF 100%);
    --btn-shadow: rgba(24, 119, 242, .35);
}
.jt.dl--x { --hero-icon: #fff; --accent: #000; --btn-shadow: rgba(0, 0, 0, .25); }

.jt *, .jt *::before, .jt *::after { box-sizing: border-box; }
.jt :where(h1, h2, h3, p, ul, ol) { margin: 0; padding: 0; }
.jt :where(ul, ol) { list-style: none; }
.jt a { text-decoration: none; }
.jt svg { flex-shrink: 0; }
.jt [hidden] { display: none !important; }

.jt-wrap { max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.jt-wrap--narrow { max-width: 790px; }

/* Hero */
.jt-hero { background: var(--hero); color: #fff; padding: 20px 0 32px; text-align: center; }
.jt-crumb ol { display: flex; flex-wrap: wrap; align-items: center; font-size: .9rem; text-align: left; margin-bottom: 25px; }
.jt-crumb li { color: rgba(255, 255, 255, .9); display: flex; align-items: center; }
.jt-crumb li + li::before { content: ">"; padding: 0 10px; color: rgba(255, 255, 255, .7); font-weight: 600; }
.jt-crumb a { color: rgba(255, 255, 255, .9); }
.jt-crumb a:hover { color: #fff; }
.jt-crumb [aria-current] { color: #fff; font-weight: 600; }
.jt-hero h1 { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: 2.6rem; font-weight: 700; line-height: 1.2; color: #fff; margin-bottom: 15px; }
.jt-hero h1 svg { width: .9em; height: .9em; color: var(--hero-icon); }
.jt-lead { font-size: 1.1rem; line-height: 1.7; max-width: 760px; margin: 0 auto; opacity: .95; }

/* Araç bölümü */
.jt-toolsec { background: var(--page); padding: 60px 0 80px; }
.jt-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.jt-label { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.jt-label svg { width: 16px; height: 16px; color: var(--accent); }
.dl .dl-row { display: flex; gap: 12px; }
.jt-input { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 8px 0 18px; border: 1px solid #d0d0d0; border-radius: 12px; background: #f0f0f0; transition: border-color .2s, background .2s; }
.jt-input:focus-within { border-color: var(--accent); background: #fff; }
.jt-input.err { border-color: #dc3545; background: #fff5f5; }
.jt-input input { flex: 1; min-width: 0; height: 52px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1rem; color: var(--ink); }
.dl .dl-paste { border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: inherit; font-size: .85rem; font-weight: 600; padding: 7px 12px; cursor: pointer; }
.dl .dl-paste:hover { border-color: var(--accent); color: var(--accent); }

.jt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 12px; padding: 14px 24px; font: inherit; font-weight: 600; line-height: 1.2; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.jt-btn svg { width: 18px; height: 18px; }
.jt-btn:disabled { opacity: .6; cursor: not-allowed; }
.jt-btn-primary { background: var(--btn); color: #fff; }
.jt-btn-primary:hover:not(:disabled) { color: #fff; transform: translateY(-2px); box-shadow: 0 15px 30px var(--btn-shadow); }
.jt-btn-ghost { background: #fff; color: var(--ink); border-color: #d0d0d0; }
.jt-btn-ghost:hover:not(:disabled) { border-color: var(--ink); }

.dl .dl-platforms { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.dl .dl-platforms a, .dl .dl-platforms span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 30px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .85rem; font-weight: 600; transition: .2s; }
.dl .dl-platforms a:hover { border-color: var(--accent); color: var(--accent); }
.dl .dl-platforms .is-current { border-color: var(--accent); color: var(--accent); }
.dl .dl-platforms svg { width: 14px; height: 14px; }

.jt-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; padding-top: 18px; border-top: 1px solid #eee; font-size: .9rem; color: var(--muted); }
.jt-checks li { display: flex; align-items: center; gap: 6px; }
.jt-checks svg { width: 15px; height: 15px; color: #16a34a; }

/* Durum ve sonuç */
.dl .dl-out { margin-top: 24px; }
.jt-note { display: block; padding: 14px 18px; border-radius: 12px; font-weight: 500; margin-bottom: 18px; }
.jt-note--info { background: #fff; border: 1px solid var(--line); }
.jt-note--warn { background: #fff4e5; border: 1px solid #ffd8a8; color: #8a4b00; }
.jt-note--ok { background: #e8f7ee; border: 1px solid #b6e4c7; color: #146c2e; }
.dl-status-text { display: flex; align-items: center; gap: 10px; }
.jt-spin { width: 16px; height: 16px; border: 2px solid #ddd; border-top-color: var(--accent); border-radius: 50%; animation: jt-spin .8s linear infinite; }
@keyframes jt-spin { to { transform: rotate(360deg); } }
.jt-bar { height: 6px; margin-top: 10px; max-width: 420px; background: #eee; border-radius: 6px; overflow: hidden; }
.jt-bar span { display: block; height: 100%; width: 0; background: var(--btn); transition: width .2s; }

.dl .dl-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid #eee; }
.jt-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 30px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.jt-pill--dark { background: var(--btn); color: #fff; }
.dl .dl-platform svg { width: 13px; height: 13px; }
.dl .dl-meta { min-width: 0; }
.dl .dl-title { font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dl .dl-uploader { margin-top: 2px; font-size: .85rem; color: var(--faint); }

.dl .dl-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.dl .dl-item { display: flex; flex-direction: column; gap: 12px; }
.dl .dl-thumb { position: relative; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--page); border: 1px solid var(--line); }
.dl .dl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dl .dl-tag { position: absolute; bottom: 10px; padding: 3px 9px; border-radius: 30px; background: rgba(0, 0, 0, .75); color: #fff; font-size: .75rem; font-weight: 600; }
.dl .dl-kind { left: 10px; }
.dl .dl-duration { right: 10px; }
.dl .dl-options { display: grid; gap: 8px; }
.dl .dl-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.dl .dl-opt .q { font-weight: 700; }
.dl .dl-opt .f { margin-left: 6px; font-size: .8rem; font-weight: 600; color: var(--faint); }
.dl .dl-opt .jt-btn { padding: 9px 16px; font-size: .9rem; border-radius: 10px; }
.dl .dl-opt .jt-btn svg { width: 16px; height: 16px; }
.dl .dl-opt.is-best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.dl .dl-best { margin-left: 8px; padding: 2px 8px; border-radius: 30px; background: var(--btn); color: #fff; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; vertical-align: 2px; }
.dl .dl-items.is-single { grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.dl .dl-items.is-single .dl-item { display: contents; }
.dl .dl-items.is-single .dl-thumb { aspect-ratio: 3 / 4; }

/* Sonucun altındaki hizmetler (eski sayfalardaki CTA kutusunun karşılığı) */
.dl .dl-services { margin-top: 22px; padding: 20px; border-radius: 20px; background: rgba(238, 29, 82, .06); border: 1px solid rgba(238, 29, 82, .18); }
.dl .dl-services-title { font-weight: 700; margin-bottom: 12px; }
.dl .dl-services ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dl .dl-services a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .2s, box-shadow .2s; }
.dl .dl-services a:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .08); }
.dl .dl-services .ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--btn); color: #fff; }
.dl .dl-services .ico svg { width: 16px; height: 16px; }
.dl .dl-services strong { display: block; font-size: .9rem; }
.dl .dl-services small { display: block; font-size: .8rem; color: var(--faint); }
.dl .dl-services a > svg { width: 16px; height: 16px; margin-left: auto; color: var(--accent); }

/* İçerik */
.jt-sec { background: #fff; padding: 70px 0; }
.jt-content { max-width: 926px; margin: 0 auto; }
.jt-block + .jt-block, .jt-content > * + .jt-block { margin-top: 56px; }
.jt-block > h2, .jt-trust h2 { font-size: 1.75rem; font-weight: 700; color: var(--title); line-height: 1.3; text-align: center; }
.jt-block > .jt-desc { max-width: 720px; margin: 10px auto 0; text-align: center; }
.jt-block > h2 + * { margin-top: 26px; }
.jt-block > h2 + .jt-desc { margin-top: 10px; }
.jt-block > .jt-desc + * { margin-top: 26px; }
.jt-block h3 { font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-top: 22px; }
.jt-block p { line-height: 1.7; color: var(--muted); }
.jt-block h3 + p { margin-top: 6px; }
.jt-block p + p { margin-top: 14px; }

.jt-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.jt-step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 2px 8px rgba(0, 0, 0, .05); }
.jt-step .no { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--btn); color: #fff; font-weight: 700; }
.jt-step h3 { margin-top: 14px; }
.jt-step p { margin-top: 6px; font-size: .95rem; }

.jt-tablewrap { overflow-x: auto; border: 1px solid #e5e7eb; border-radius: 12px; }
.jt-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.jt-table th, .jt-table td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #e5e7eb; }
.jt-table thead th { background: #f7f8fa; font-weight: 600; color: var(--ink); }
.jt-table tbody th { font-weight: 600; color: var(--ink); }
.jt-table td { color: var(--muted); }
.jt-table tr:last-child > * { border-bottom: 0; }

.jt-trust { display: flex; gap: 16px; margin-top: 56px; padding: 28px; border-radius: 20px; background: var(--page); border: 1px solid var(--line); }
.jt-trust > svg { width: 28px; height: 28px; color: var(--accent); margin-top: 4px; }
.jt-trust h2 { text-align: left; font-size: 1.3rem; }
.jt-trust p { margin-top: 8px; line-height: 1.7; color: var(--muted); }

/* SSS: eski sayfalardaki akordeonun görünümü */
.jt-faq details { border: 1px solid #e5e7eb; border-radius: 12px; margin-bottom: 15px; overflow: hidden; background: #fff; }
.jt-faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; font-weight: 600; color: #212529; cursor: pointer; }
.jt-faq summary::-webkit-details-marker { display: none; }
.jt-faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
.jt-faq details[open] summary { background: var(--btn); color: #fff; }
.jt-faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.jt-faq details p { padding: 16px 20px; color: var(--muted); line-height: 1.7; }

.jt-related { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.jt-related a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 30px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .95rem; transition: .2s; }
.jt-related a:hover { border-color: var(--accent); color: var(--accent); }
.jt-related a svg { width: 15px; height: 15px; }
.jt-related--cards { display: grid; grid-template-columns: repeat(2, 1fr); }
.jt-related--cards a { display: flex; gap: 14px; padding: 16px; border-radius: 16px; }
.jt-related--cards .ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #000; color: #fff; }
.jt-related--cards .ico svg { width: 18px; height: 18px; }
.jt-related--cards strong { display: block; }
.jt-related--cards small { display: block; font-weight: 400; color: var(--faint); }

.jt-cta { margin-top: 56px; padding: 28px; border-radius: 20px; text-align: center; background: rgba(238, 29, 82, .08); border: 1px solid rgba(238, 29, 82, .2); color: var(--ink); font-size: 1.05rem; line-height: 1.7; }
.jt-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.jt-updated { margin-top: 28px; text-align: center; font-size: .85rem; color: var(--faint); }

@media (max-width: 768px) {
    .jt-hero { padding: 16px 0 28px; }
    .jt-hero h1 { font-size: 1.9rem; gap: 10px; }
    .jt-lead { font-size: 1rem; }
    .jt-toolsec { padding: 32px 0 48px; }
    .jt-card { padding: 20px; border-radius: 20px; }
    .dl .dl-row { flex-direction: column; }
    .dl .dl-row .jt-btn { width: 100%; }
    .dl .dl-items.is-single { grid-template-columns: 1fr; }
    .dl .dl-items.is-single .dl-thumb { max-width: 300px; width: 100%; margin: 0 auto; }
    .dl .dl-services ul, .jt-steps, .jt-related--cards { grid-template-columns: 1fr; }
    .jt-sec { padding: 48px 0; }
    .jt-block > h2 { font-size: 1.45rem; }
    .jt-trust { flex-direction: column; padding: 22px; }
}
