/* ═══════════ SİPAREL — ORTAK HEADER / FOOTER / ALT SAYFA BİLEŞENLERİ ═══════════
   3002 portundaki apps/web sitesiyle aynı tasarım dili: Inter, pill butonlar,
   squircle logo, Sistem/Açık/Koyu tema anahtarı (localStorage 'siparel_theme'). */

/* ── SITE HEADER ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, backdrop-filter .3s, transform .4s, opacity .4s;
  background: transparent;
}
.site-header.scrolled { background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(18px); }
body.cinema .site-header { opacity: 0; pointer-events: none; transform: translateY(-100%); }
body.subpage .site-header { position: sticky; }

.sh-in {
  max-width: 1240px; margin: 0 auto; padding: 0 1.5rem;
  height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.sh-logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; border-radius: 12px; }
.sh-mark {
  width: 36px; height: 36px; border-radius: 12px; background: var(--btn-bg);
  display: grid; place-items: center; flex: none;
}
.sh-mark svg { width: 20px; height: 20px; }
/* Görsel logo (siparel-logo.png): kendi rengi var, kutu zemini kalkar */
.sh-mark--img { background: transparent; border-radius: 0; }
.sh-mark--img img { width: 34px; height: 34px; object-fit: contain; display: block; }
.sh-word { font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; color: var(--strong); display: flex; flex-direction: column; line-height: 1.05; }
.sh-by { font-size: .55rem; font-weight: 600; color: var(--mut); letter-spacing: .05em; align-self: flex-end; margin-top: 1px; }

.sh-links { display: flex; align-items: center; gap: .25rem; }
.sh-links a {
  padding: .55rem .9rem; border-radius: 999px; text-decoration: none;
  color: var(--mut); font-size: .9rem; font-weight: 500; white-space: nowrap; transition: .2s;
}
.sh-links a:hover { color: var(--strong); background: var(--ghostbg); }

.sh-right { display: flex; align-items: center; gap: .6rem; }
.sh-cta { height: 40px; padding: 0 1.2rem; font-size: .88rem; }
.btn-tour-sm { height: 40px; padding: 0 1.1rem; font-size: .88rem; }

/* Tema anahtarı — Sistem / Açık / Koyu; seçili çip CSS öznitelik seçicisiyle boyanır
   (React'siz aynı kalıp: html[data-theme-mode] açılış betiğiyle yazılır) */
.theme-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border-radius: 999px; background: var(--ghostbg); border: 1px solid var(--ghostline);
}
.theme-pick {
  width: 32px; height: 32px; border-radius: 50%; border: none; background: transparent;
  color: var(--mut); display: grid; place-items: center; cursor: pointer; transition: .2s;
}
.theme-pick svg { width: 16px; height: 16px; }
.theme-pick:hover { color: var(--strong); }
html[data-theme-mode="system"] .theme-pick[data-mode="system"],
html[data-theme-mode="light"]  .theme-pick[data-mode="light"],
html[data-theme-mode="dark"]   .theme-pick[data-mode="dark"] {
  background: var(--btn-bg); color: var(--btn-fg);
}

/* Mobil menü */
.sh-burger {
  display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--ghostline);
  background: var(--ghostbg); color: var(--strong); cursor: pointer; place-items: center;
}
.sh-burger svg { width: 20px; height: 20px; }
.sh-mobile {
  display: none; padding: 0 1.5rem 1rem;
}
.sh-mobile.open { display: block; }
.sh-mobile nav {
  display: flex; flex-direction: column; gap: .2rem; padding: .8rem; border-radius: 20px;
  background: var(--panel); border: 1px solid var(--card-border); box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.sh-mobile a {
  padding: .85rem 1rem; border-radius: 12px; text-decoration: none;
  color: var(--strong); font-weight: 600; font-size: .95rem;
}
.sh-mobile a:hover { background: var(--ghostbg); }
.sh-mobile .btn { margin-top: .5rem; }

@media (max-width: 1080px) {
  .sh-links { display: none; }
  .sh-burger { display: grid; }
  .sh-cta { display: none; }
}
/* Dar ekran: hiçbir cihazda TAŞMA olmaz — tur butonu mobil menüye iner */
@media (max-width: 760px) {
  .sh-in { height: 60px; padding: 0 .8rem; gap: .5rem; }
  .btn-tour-sm { display: none; }
  .sh-word { font-size: .95rem; }
  .sh-mark { width: 32px; height: 32px; border-radius: 10px; }
  .theme-switch { padding: 2px; }
  .theme-pick { width: 28px; height: 28px; }
  .theme-pick svg { width: 14px; height: 14px; }
  .sh-burger { width: 38px; height: 38px; }
}
@media (max-width: 360px) {
  .sh-word { display: none; }        /* en küçük cihazda bile sığar */
}

/* ── GÜVEN ŞERİDİ ── */
.trust-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem;
  max-width: 1150px; margin: 0 auto; padding: 4rem 1.5rem 0;
}
.trust {
  display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem 1.6rem; border-radius: 20px;
  background: var(--card); border: 1px solid var(--card-border);
}
.trust b { display: flex; align-items: center; gap: .6rem; font-size: 1.02rem; color: var(--strong); }
.trust b svg { width: 20px; height: 20px; color: var(--grn); flex: none; }
.trust span { color: var(--mut); font-size: .88rem; line-height: 1.5; }

/* ── SITE FOOTER ── */
.site-footer { padding: 4.5rem 0 3rem; background: var(--bg); position: relative; z-index: 10; }
.sf-in { max-width: 1150px; margin: 0 auto; padding: 0 1.5rem; }
.sf-grid {
  display: grid; gap: 2.5rem; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  border-top: 1px solid var(--ghostline); padding-top: 3.2rem;
}
.sf-brand p { color: var(--mut); font-size: .9rem; line-height: 1.65; margin-top: 1.1rem; max-width: 340px; }
.sf-brand p b { color: var(--strong); }
.sf-col h4 {
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mut); margin-bottom: 1.1rem;
}
.sf-col ul { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin: 0; padding: 0; }
.sf-col a { color: var(--mut); text-decoration: none; font-size: .9rem; transition: .2s; }
.sf-col a:hover { color: var(--strong); }

.sf-kvkk {
  margin-top: 3rem; padding: 1.8rem; border-radius: 20px;
  background: var(--card); border: 1px solid var(--card-border);
}
.sf-kvkk b { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: .7rem; }
.sf-kvkk p { color: var(--mut); font-size: .88rem; line-height: 1.7; margin: 0; }
.sf-kvkk p strong { color: var(--strong); font-weight: 600; }

.sf-bottom {
  margin-top: 2.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  color: var(--mut); font-size: .85rem;
}
.sf-bottom a { color: var(--mut); text-decoration: none; }
.sf-bottom a:hover { color: var(--strong); }

@media (max-width: 900px) {
  .sf-grid { grid-template-columns: 1fr 1fr; }
  .sf-bottom { justify-content: center; text-align: center; }
}

/* ── ALT SAYFA (SSS / FİYATLAR) TEMELLERİ ── */
body.subpage { background: var(--bg); }
.page-main { max-width: 1150px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.page-hero { text-align: center; padding: 4.5rem 1.5rem 3rem; max-width: 820px; margin: 0 auto; }
.ph-label {
  display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--grn); padding: .4rem 1rem; border-radius: 999px; background: rgba(37,211,102,.1);
  border: 1px solid rgba(37,211,102,.3); margin-bottom: 1.4rem;
}
.ph-title { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: var(--mut); }
.ph-title strong { color: var(--strong); font-weight: 800; }
.ph-lead { margin-top: 1.2rem; color: var(--mut); font-size: clamp(.98rem, 1.8vw, 1.12rem); line-height: 1.7; }
.ph-lead b { color: var(--strong); }

.sec-block { margin-top: 5rem; }
.sec-block > h2 { text-align: center; font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .8rem; color: var(--strong); }
.sec-block > .sec-lead { text-align: center; color: var(--mut); max-width: 640px; margin: 0 auto 2.6rem; line-height: 1.65; }

/* ── SSS AKORDEON (native <details>) ── */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .8rem; }
.faq-list details {
  border-radius: 18px; background: var(--panel); border: 1px solid var(--card-border);
  overflow: hidden; transition: box-shadow .25s;
}
.faq-list details[open] { box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem;
  padding: 1.15rem 1.4rem; font-weight: 700; font-size: 1rem; color: var(--strong);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .fq-ic {
  margin-left: auto; flex: none; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--ghostbg); color: var(--mut); transition: transform .25s;
}
.faq-list summary .fq-ic svg { width: 14px; height: 14px; }
.faq-list details[open] summary .fq-ic { transform: rotate(45deg); background: rgba(37,211,102,.15); color: var(--grn); }
.faq-list .fq-a { padding: 0 1.4rem 1.3rem; color: var(--mut); line-height: 1.75; font-size: .93rem; }

/* ── FİYAT DÖNGÜ ANAHTARI (Aylık / Yıllık) ── */
.cycle-wrap { display: flex; flex-direction: column; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.cycle {
  display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: var(--ghostbg); border: 1px solid var(--ghostline);
}
.cycle button {
  height: 42px; padding: 0 1.3rem; border-radius: 999px; border: none; cursor: pointer;
  background: transparent; color: var(--mut); font-weight: 600; font-size: .88rem; font-family: var(--font-t); transition: .2s;
}
.cycle button.on { background: var(--strong); color: var(--bg); }
.cycle-note { color: var(--mut); font-size: .86rem; }

.pc-per { color: var(--mut); font-size: .86rem; margin-top: -1.2rem; margin-bottom: 1.6rem; min-height: 1.3em; }
.pc-per b { color: var(--strong); }
.pc-pitch { color: var(--mut); font-size: .9rem; line-height: 1.6; margin-bottom: 1.4rem; }
.pc-badge2 {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem; border-radius: 999px;
  background: rgba(37,211,102,.12); border: 1px solid rgba(37,211,102,.35); color: var(--grn);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em;
}

/* Kurucu fiyatı rozeti */
.founder-box {
  max-width: 680px; margin: 0 auto; padding: 1.8rem 2rem; border-radius: 22px;
  background: var(--panel); border: 1px solid var(--card-border); box-shadow: 0 14px 44px rgba(0,0,0,.15);
}
.founder-box b { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: .7rem; }
.founder-box h3 { font-size: 1.35rem; font-weight: 500; color: var(--mut); margin-bottom: .7rem; }
.founder-box h3 strong { color: var(--strong); font-weight: 800; }
.founder-box p { color: var(--mut); font-size: .9rem; line-height: 1.7; margin: 0; }
.founder-box p strong { color: var(--strong); font-weight: 600; }

/* ── KARŞILAŞTIRMA TABLOSU ── */
.cmp-scroll-hint { text-align: center; color: var(--mut); font-size: .82rem; margin-bottom: 1rem; display: none; }
.cmp-wrap {
  border-radius: 24px; background: var(--panel); border: 1px solid var(--card-border);
  overflow-x: auto; box-shadow: 0 16px 50px rgba(0,0,0,.15);
}
.cmp-table { width: 100%; min-width: 740px; border-collapse: collapse; text-align: left; }
.cmp-table thead th { padding: 1.6rem 1.2rem 1rem; vertical-align: bottom; }
.cmp-table thead th:first-child { width: 40%; padding-left: 1.6rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.cmp-plan { display: block; font-weight: 800; font-size: 1rem; color: var(--strong); text-align: center; }
.cmp-price { display: block; color: var(--mut); font-size: .82rem; text-align: center; margin-top: .2rem; font-variant-numeric: tabular-nums; }
.cmp-group th {
  padding: 1.8rem 1.2rem .8rem 1.6rem; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mut); border-top: 1px solid var(--ghostline);
}
.cmp-table tbody th { padding: .85rem 1.2rem .85rem 1.6rem; font-weight: 400; color: var(--mut); font-size: .9rem; line-height: 1.5; }
.cmp-table tbody td { padding: .85rem 1.2rem; text-align: center; font-size: .88rem; font-weight: 700; color: var(--strong); }
.cmp-table td svg { width: 18px; height: 18px; vertical-align: middle; }
.cmp-yes { color: var(--grn); }
.cmp-no { color: var(--mut); opacity: .5; }
@media (max-width: 900px) { .cmp-scroll-hint { display: block; } }

/* Bilgi kutusu (adil kullanım vs.) */
.info-box {
  max-width: 780px; margin: 2rem auto 0; padding: 1.7rem 1.9rem; border-radius: 20px;
  background: var(--card); border: 1px solid var(--card-border);
}
.info-box b { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: .7rem; }
.info-box p { color: var(--mut); font-size: .88rem; line-height: 1.75; margin: 0; }
.info-box p strong { color: var(--strong); font-weight: 600; }

/* İletişim / final kutusu */
.contact-box {
  max-width: 780px; margin: 3rem auto 0; padding: 3rem 2rem; border-radius: 26px; text-align: center;
  background: var(--panel); border: 1px solid var(--card-border); box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.contact-box b { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); margin-bottom: 1rem; }
.contact-box h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 500; color: var(--mut); margin-bottom: .8rem; }
.contact-box h2 strong { color: var(--strong); font-weight: 800; }
.contact-box p { color: var(--mut); line-height: 1.65; max-width: 520px; margin: 0 auto 1.8rem; font-size: .93rem; }
.contact-box .cb-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* Alt sayfa reveal */
[data-srev] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
[data-srev].on { opacity: 1; transform: none; }

/* ── BLOG ── */
.blog-grid { max-width: 980px; margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 720px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem 1.7rem; border-radius: 20px;
  background: var(--card); border: 1px solid var(--card-border); text-decoration: none;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(0,0,0,.18); }
.blog-card .bc-tag { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grn); font-weight: 700; }
.blog-card h2 { font-size: 1.08rem; font-weight: 800; color: var(--strong); line-height: 1.4; margin: 0; }
.blog-card p { color: var(--mut); font-size: .88rem; line-height: 1.65; margin: 0; flex: 1; }
.blog-card .bc-meta { color: var(--mut); font-size: .76rem; opacity: .8; }
.post-body { max-width: 760px; margin: 0 auto; padding: 0 1.5rem 2rem; }
.post-body .post-meta { color: var(--mut); font-size: .82rem; margin-bottom: 2rem; text-align: center; }
.post-body h2 { font-size: 1.45rem; font-weight: 800; color: var(--strong); margin: 2.4rem 0 .9rem; letter-spacing: -.01em; line-height: 1.3; }
.post-body h3 { font-size: 1.12rem; font-weight: 700; color: var(--strong); margin: 1.8rem 0 .7rem; }
.post-body p { color: var(--mut); line-height: 1.85; font-size: .96rem; margin: 0 0 1.1rem; }
.post-body p b, .post-body p strong, .post-body li b, .post-body li strong { color: var(--strong); font-weight: 600; }
.post-body a { color: var(--grn); text-decoration: underline; text-underline-offset: 3px; }
.post-body ul, .post-body ol { margin: 0 0 1.2rem 1.3rem; color: var(--mut); line-height: 1.8; font-size: .96rem; }
.post-body li { margin-bottom: .45rem; }
.post-body .post-note {
  margin: 1.6rem 0; padding: 1.2rem 1.4rem; border-radius: 16px;
  background: var(--card); border: 1px solid var(--card-border); font-size: .9rem; line-height: 1.7; color: var(--mut);
}
.post-body .table-wrap { overflow-x: auto; margin: 0 0 1.2rem; border: 1px solid var(--card-border); border-radius: 16px; }
.post-body table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9rem; }
.post-body th { text-align: left; padding: .8rem 1rem; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mut); border-bottom: 1px solid var(--ghostline); }
.post-body td { padding: .75rem 1rem; color: var(--mut); border-bottom: 1px solid var(--ghostline); }
.post-body td strong { color: var(--strong); }
.post-body tr:last-child td { border-bottom: none; }
