/* Sektör ve özellik sayfaları (scripts/build-pages.py): site.css'in üstüne; tanıtım sayfasıyla aynı renk ve yazı dili. */
.crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
.crumbs a { text-decoration: none }
.crumbs a:hover { color: var(--ink); text-decoration: underline }
.crumbs span[aria-hidden] { opacity: .5 }

.c-hero { padding: 40px 0 56px; background: radial-gradient(1200px 500px at 85% -10%, #dbeafe 0%, rgba(219,234,254,0) 60%), linear-gradient(180deg, #eaf3ff 0%, var(--bg) 100%) }
.c-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center }
.c-hero h1 { font-size: clamp(34px, 4.8vw, 58px); line-height: 1.04; margin: 16px 0 16px }
.c-hero h1 em { font-style: normal; background: linear-gradient(90deg, #2563eb, #0ea5e9); -webkit-background-clip: text; background-clip: text; color: transparent }
.c-hero .lead { font-size: 18.5px; max-width: 600px; color: var(--body) }
.c-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow) }
.btn.ghost:hover { transform: translateY(-2px) }
.c-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none }
.c-hero .chips li { font: 600 12.5px Inter, sans-serif; padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink) }
.media { position: relative; border-radius: 26px; overflow: hidden; background: #0b1b3a; box-shadow: 0 30px 60px -30px rgba(11,27,58,.45), 0 0 0 1px rgba(11,27,58,.06) }
.media img, .media video { width: 100%; height: auto; display: block; aspect-ratio: 16 / 10; object-fit: cover }
.media.shot { background: #fff; padding: 10px }
.media.shot img { border-radius: 18px; object-fit: cover; object-position: top left }
.media figcaption { position: absolute; left: 14px; bottom: 14px; font: 600 12px Inter, sans-serif; color: #fff; background: rgba(11,27,58,.65); padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px) }
.media.shot figcaption { color: var(--ink); background: rgba(255,255,255,.9); border: 1px solid var(--line) }

.c-sec { padding: 72px 0 }
.c-sec.alt { background: #fff; border-block: 1px solid var(--line) }
.c-sec h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; margin: 12px 0 14px; max-width: 820px }
.c-sec .intro { font-size: 17px; max-width: 720px }

.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px }
.pain { padding: 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow) }
.c-sec.alt .pain { background: var(--bg) }
.pain b { display: block; font: 800 13px/1 var(--display); color: #e11d48; letter-spacing: .06em; margin-bottom: 12px }
.pain h3 { font-size: 19px; margin-bottom: 8px }
.pain p { font-size: 15px }

.blocks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px }
.block { position: relative; padding: 26px 26px 24px 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden }
.block::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: linear-gradient(180deg, #3b82f6, #0ea5e9) }
.block h3 { font-size: 20px; margin-bottom: 8px }
.block p { font-size: 15.5px }
.block ul { margin: 10px 0 0; padding-left: 0; list-style: none; display: grid; gap: 6px }
.block li { position: relative; padding-left: 24px; font-size: 15px }
.block li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #10b981 0 40%, #d1fae5 42%) }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 32px; padding: 0; list-style: none }
.steps li { counter-increment: s; position: relative; padding: 58px 22px 22px; border-radius: 20px; background: linear-gradient(180deg, #fff, #f8fbff); border: 1px solid var(--line) }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; top: 18px; left: 22px; font: 800 26px/1 var(--display); color: var(--blue); letter-spacing: -.03em }
.steps h3 { font-size: 17px; margin-bottom: 6px }
.steps p { font-size: 14.5px }

.note { margin-top: 26px; padding: 16px 18px; border-radius: 16px; background: var(--sky2); border: 1px solid var(--sky); font-size: 15px; color: var(--ink); max-width: 860px }

.faq { max-width: 860px; margin-top: 30px; display: grid; gap: 10px }
.faq details { border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 0 22px; box-shadow: var(--shadow) }
.faq summary { cursor: pointer; list-style: none; padding: 19px 0; color: var(--ink); font-weight: 600; display: flex; justify-content: space-between; gap: 16px }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--blue); transition: transform .3s }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { padding: 0 0 19px }

.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 26px }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; transition: transform .2s, box-shadow .2s }
.related a:hover { transform: translateY(-2px); box-shadow: var(--shadow) }
.related a::after { content: "→"; color: var(--blue) }
.related small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; margin-top: 2px }

.hub { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; margin-top: 34px }
.hub a { display: grid; gap: 8px; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; transition: transform .2s }
.hub a:hover { transform: translateY(-3px) }
.hub h2 { font-size: 21px; margin: 0 }
.hub p { font-size: 15px }
.hub span { color: var(--blue); font-weight: 600; font-size: 14.5px }

.cta { margin: 0 0 72px; padding: 0 }
.cta .box { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px; align-items: center; padding: 40px; border-radius: 28px; background: radial-gradient(800px 300px at 90% 0%, rgba(59,130,246,.45), rgba(59,130,246,0) 70%), #0b1b3a; color: #cbd5e1 }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); line-height: 1.12; margin-bottom: 8px }
.cta p { font-size: 16px; max-width: 620px }
.cta .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end }
.cta .btn.ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.2); box-shadow: none }

@media (max-width: 960px) {
  .c-hero .wrap { grid-template-columns: 1fr; gap: 30px }
  .pains { grid-template-columns: 1fr }
  .blocks { grid-template-columns: 1fr }
  .cta .box { grid-template-columns: 1fr; padding: 28px }
  .cta .actions { justify-content: flex-start }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px }
  .c-sec { padding: 52px 0 }
  .c-hero { padding: 28px 0 40px }
  .c-hero .lead { font-size: 17px }
}

/* Dikey tanıtım videosu (1080x1920): telefon oranında çerçeve, "Sesli izle" */
.media.vertical { justify-self: center; width: min(100%, 340px); aspect-ratio: 9 / 16; border-radius: 34px; border: 8px solid #0b1b3a; background: #0b1b3a }
.media.vertical video { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 26px }
.media.vertical figcaption { left: 50%; transform: translateX(-50%); bottom: 14px; white-space: nowrap }
.media .play { position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; border: 0; background: rgba(255,255,255,.94); color: var(--ink); font: 700 13px Inter, sans-serif; cursor: pointer; box-shadow: 0 6px 18px -6px rgba(11,27,58,.45) }
.media .play::before { content: ""; width: 0; height: 0; border-left: 9px solid var(--blue); border-top: 6px solid transparent; border-bottom: 6px solid transparent }
.media.shot.wide { margin-top: 26px; max-width: 980px }
@media (max-width: 960px) { .media.vertical { width: min(100%, 300px) } }

/* Liste sayfası kartlarının ikonu */
.hub-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, #dbeafe, #e0f2fe); color: #1d4ed8; margin-bottom: 4px }
.hub-ic svg { width: 22px; height: 22px }

/* Liste sayfasının altında diğer bölüme yönlendirme bandı (açık; alttaki koyu demo bandından ayrışsın) */
.c-sec.hub-sec { padding-bottom: 28px }
.cross-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; margin-top: 34px; padding: 24px 28px; border-radius: 24px; background: linear-gradient(120deg, #eff6ff, #ffffff 60%); border: 1px solid #bfdbfe; box-shadow: 0 10px 28px rgba(29, 78, 216, .08) }
.cross-banner .cb-ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff }
.cross-banner .cb-ic svg { width: 26px; height: 26px }
.cross-banner .eyebrow { margin: 0 }
.cross-banner h2 { color: var(--ink); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; margin: 8px 0 4px }
.cross-banner p { font-size: 15px; color: var(--body); max-width: 640px }
.cross-banner .btn { white-space: nowrap; color: #fff }
@media (max-width: 760px) { .cross-banner { grid-template-columns: 1fr; padding: 22px } .cross-banner .cb-ic { display: none } }

/* Rehber yazısı: başta kısa cevap kutusu, okunur metin genişliği */
.guide-hero h1 { max-width: 900px; font-size: clamp(30px, 4vw, 48px) }
.answer { margin-top: 22px; max-width: 820px; padding: 20px 24px; border-radius: 20px; background: #fff; border: 1px solid #bfdbfe; border-left: 5px solid var(--blue); box-shadow: 0 10px 28px rgba(29, 78, 216, .07) }
.answer b { display: block; font: 700 12px/1.2 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px }
.answer p { margin: 0; font-size: 17.5px; line-height: 1.65; color: var(--ink) }
.updated { margin-top: 12px; font-size: 13px; color: var(--muted, #64748b) }
.prose { max-width: 760px }
.prose h2 { margin: 38px 0 12px; font-size: clamp(22px, 2.4vw, 28px) }
.prose h2:first-child { margin-top: 0 }
.prose p { font-size: 17px; line-height: 1.75; color: var(--body); margin: 0 0 14px }
.prose ul { margin: 6px 0 18px; padding: 0; list-style: none; display: grid; gap: 10px }
.prose li { position: relative; padding-left: 28px; font-size: 16.5px; line-height: 1.65; color: var(--body) }
.prose li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--blue) }
@media (max-width: 560px) { .answer { padding: 16px 18px } .answer p { font-size: 16.5px } }

/* İşletme türü çizimleri (public/yeni/sektorler.js): liste kartında simgenin yerine, sayfada "eSantral ile" başlığının yanında */
.hub-fig { display: none }
.hub a.drawn .hub-fig { display: block; width: 170px; margin: -8px 0 -4px -10px }
.hub a.drawn .hub-ic { display: none }
.hub a.drawn:hover .hub-fig { transform: translateY(-3px) }
.hub-fig { transition: transform .3s }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 24px }
.sec-fig { flex: none; width: 230px; margin: -30px 0 -20px }
@media (max-width: 640px) { .sec-fig { width: 130px; margin: -10px -6px -10px 0 } }
/* Özellikler liste sayfasında gruplar (scripts/build-pages.py FEATURE_GROUPS) */
.hub-group { margin: 44px 0 0; font-size: 22px; letter-spacing: -0.01em }
.hub-group:first-child { margin-top: 18px }
.hub-group + .hub { margin-top: 16px }
/* Sektörler: İşletmenizi arayın (scripts/build-pages.py SECTOR_SEARCH_HTML) */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.sector-search { margin-top: 26px; max-width: 680px }
.ss-box { display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 10px 0 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s }
.ss-box:focus-within { border-color: #93c5fd; box-shadow: 0 0 0 4px rgba(59, 130, 246, .14), var(--shadow) }
.ss-box svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #64748b; stroke-width: 2; stroke-linecap: round }
.ss-box input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 16.5px; color: inherit }
.ss-box input::-webkit-search-cancel-button { cursor: pointer }
.ss-ai { flex: none; padding: 6px 10px; border-radius: 10px; background: linear-gradient(135deg, #dbeafe, #ede9fe); color: #4338ca; font-size: 12.5px; font-weight: 600; white-space: nowrap }
.ss-hint { margin: 10px 2px 0; font-size: 14px; color: var(--muted, #64748b) }
.ss-results { padding-top: 0 }
.ss-results .hub-group { margin-top: 8px }
.ss-results.is-loading .hub { opacity: .5; transition: opacity .2s }
.hub .ss-why { margin: -2px 0 0; padding: 8px 10px; border-radius: 10px; background: #eff6ff; color: #1e3a8a; font-size: 14px }
.hub a.ss-hit { border-color: #bfdbfe }
.hub a.demo-card { background: linear-gradient(150deg, #1d4ed8, #2563eb 55%, #4f46e5); border-color: transparent; color: #fff }
.hub a.demo-card h2, .hub a.demo-card p { color: #fff }
.hub a.demo-card p { opacity: .9 }
.hub a.demo-card span:last-child { color: #fff; text-decoration: underline; text-underline-offset: 3px }
.hub a.demo-card .hub-ic { background: rgba(255, 255, 255, .16); color: #fff }
@media (max-width: 640px) { .ss-ai { display: none } .ss-box { height: 54px } }
/* Sektör listesi: arama ile ilk kart arasında fazla boşluk olmasın (her ekranda); telefonda kart çizimi ortada */
.c-hero:has(.sector-search) { padding-bottom: 18px !important }
.c-sec.hub-sec { padding-top: 0 !important }
.hub-sec .hub { margin-top: 18px }
@media (max-width: 560px) {
  .hub-sec .hub { margin-top: 14px }
  .hub a.drawn .hub-fig { margin: -8px auto -4px }
}
/* Dikey (telefon) ekran görüntüsü: kırpılmadan, telefon oranında (scripts/build-pages.py PORTRAIT_SHOTS) */
.media.shot.tall { max-width: 360px; margin-left: auto; margin-right: auto }
.media.shot.tall img { aspect-ratio: 554 / 1200; object-fit: contain; object-position: top center }

/* Sektör sayfası: "Ekranda nasıl çalışır?" canlı örneği (public/yeni/sektor-demo.js) ve "Firmanıza katkısı" */
.sec-lead { max-width: 720px; margin: 0 0 6px; font-size: 17px; color: var(--body) }
.lx { margin-top: 28px }
.lx-flow { display: grid; grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); align-items: stretch }
.lx-card { display: flex; flex-direction: column; padding: 16px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow) }
.lx-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font: 600 13.5px Inter, sans-serif; color: var(--ink) }
.lx-head small { font: 500 12px Inter, sans-serif; color: var(--muted) }
.lx-ch { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, #fff); color: color-mix(in srgb, var(--c) 75%, #0b1b3a); font: 600 12px Inter, sans-serif; transition: background .3s, color .3s }
.lx-ch::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c) }
.lx-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: 190px }
.lx-msg { max-width: 88%; margin: 0; padding: 9px 12px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s cubic-bezier(.2,.7,.2,1) }
.lx-msg.in { opacity: 1; transform: none }
.lx-msg.user { align-self: flex-start; background: #f1f5f9; color: #0f172a; border-bottom-left-radius: 5px }
.lx-msg.bot { align-self: flex-end; background: linear-gradient(180deg, #3b82f6, #2563eb); color: #fff; border-bottom-right-radius: 5px }
.lx-msg.typing { display: inline-flex; gap: 4px; padding: 12px 14px }
.lx-msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; opacity: .5; animation: lx-dot 1s infinite }
.lx-msg.typing i:nth-child(2) { animation-delay: .15s } .lx-msg.typing i:nth-child(3) { animation-delay: .3s }
@keyframes lx-dot { 50% { opacity: 1; transform: translateY(-2px) } }
.lx-arrow { align-self: center; height: 40px; padding: 0 6px }
.lx-arrow svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round }
.lx-arrow .track { stroke: #dbeafe; stroke-width: 4 }
.lx-arrow .dash { stroke: var(--blue); stroke-width: 4; stroke-dasharray: 8 14; opacity: .55; animation: lx-flow 1.4s linear infinite }
.lx-arrow .head { stroke: var(--blue); stroke-width: 4 }
.lx.busy .lx-arrow .dash { animation-duration: .45s; opacity: 1 }
@keyframes lx-flow { to { stroke-dashoffset: -44 } }
.lx-recs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px }
.lx-recs li { position: relative; padding: 10px 12px 10px 38px; border-radius: 14px; border: 1px solid var(--line); background: #fff; opacity: 0; transform: translateX(10px); transition: opacity .45s, transform .45s cubic-bezier(.2,.7,.2,1), background .4s, border-color .4s }
.lx-recs li.in { opacity: 1; transform: none }
.lx-recs li:first-child { border-color: #a7f3d0; background: #ecfdf5 }
.lx-recs li::before { content: "✓"; position: absolute; left: 12px; top: 11px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--ok); color: #fff; font: 700 11px Inter, sans-serif }
.lx-recs b { display: block; font: 600 13.5px Inter, sans-serif; color: var(--ink) }
.lx-recs span { display: block; font-size: 13px; color: var(--body) }
.lx-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px }
.lx-tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--body); font: 600 13px Inter, sans-serif; cursor: pointer; transition: background .2s, color .2s, border-color .2s }
.lx-tabs button i { width: 7px; height: 7px; border-radius: 50%; background: var(--c) }
.lx-tabs button:hover { border-color: #93c5fd }
.lx-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff }
.gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px }
.gain { padding: 24px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line) }
.gain i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #34d399, #10b981) }
.gain i svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round }
.gain h3 { margin: 14px 0 6px; font-size: 18px }
.gain p { margin: 0; font-size: 15px; color: var(--body) }
@media (max-width: 860px) {
  .lx-flow { grid-template-columns: minmax(0, 1fr) }
  .lx-arrow { width: 54px; height: 40px; justify-self: center; rotate: 90deg; margin: 6px 0 }
  .lx-body { min-height: 170px }
  .gains { grid-template-columns: minmax(0, 1fr) }
  .lx-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 0 20px 4px; scrollbar-width: none }
  .lx-tabs::-webkit-scrollbar { display: none }
  .lx-tabs button { flex: none }
}
@media (prefers-reduced-motion: reduce) { .lx-arrow .dash { animation: none } }
.hub-ic.hub-logo { background: none; border-radius: 12px; filter: drop-shadow(0 6px 12px rgba(29,78,216,.3)) }

/* Panelli açılışlı sektör ve özellik sayfalarında tanıtım videosu bandı (scripts/build-pages.py video_band_html) */
.video-band { background: linear-gradient(180deg, #f8fbff, #eef4ff) }
.video-band .vb { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center }
.video-band .vb-text .lead { margin-top: 10px; max-width: 520px }
.video-band .vb-text .actions { margin-top: 22px }
@media (max-width: 860px) { .video-band .vb { grid-template-columns: 1fr; gap: 28px; text-align: center } .video-band .vb-text .lead { margin-left: auto; margin-right: auto } .video-band .vb-text .actions { justify-content: center } }
