/* Anasayfa bölümleri (templates/public/index.html). Ortak ekran bileşenleri: urun-vitrin.css.
   Ritim: bölüm başına tek fikir, geniş boşluk (≥96px masaüstü / 64px mobil), az kenarlık. */

.hx ~ .section { padding: 112px 0; }

/* ---------- Hero ---------- */
.hx {
  position: relative; overflow: hidden; color: #fff; padding: 72px 0 0; text-align: center;
  background:
    radial-gradient(900px 520px at 50% -10%, rgba(52, 211, 153, .22), transparent 60%),
    radial-gradient(600px 400px at 100% 30%, rgba(16, 185, 129, .10), transparent 60%),
    linear-gradient(180deg, #04241b 0%, #063a2c 55%, #0a4f3c 100%);
}
.hx::before { /* ince ızgara dokusu */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, #000 30%, transparent 75%);
}
.hx::after { /* alt kısım beyaza akar; ekran görüntüsü iki zemine taşar */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: var(--surface); pointer-events: none;
}
.hx .container-x { position: relative; z-index: 1; }
.hx-copy { max-width: 860px; animation: hx-in .8s var(--ease-out) both; }
.hx-pill {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: #c9eadc; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.hx-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-400); box-shadow: 0 0 0 4px rgba(52,211,153,.18); }
.hx h1 {
  margin: 0; font-size: clamp(36px, 5.6vw, 64px); font-weight: 800; line-height: 1.04; letter-spacing: -.035em; color: #fff;
}
.hx h1 .hl {
  background: linear-gradient(100deg, #6ee7b7 0%, #34d399 45%, #a7f3d0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx-sub { max-width: 660px; margin: 22px auto 0; font-size: 18px; line-height: 1.6; color: #b9d8cc; }
.hx-sub strong { color: #e2f3ec; font-weight: 600; }
.hx-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hx-cta .btn-cta.lg { background: var(--brand-500); border-color: var(--brand-500); color: #04241b; font-weight: 700;
  box-shadow: 0 10px 30px -8px rgba(16,185,129,.55); transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); }
.hx-cta .btn-cta.lg:hover { background: var(--brand-400); border-color: var(--brand-400); color: #04241b; transform: translateY(-1px); }
.hx-cta .btn-cta.lg i { transition: transform .2s var(--ease); }
.hx-cta .btn-cta.lg:hover i { transform: translateX(3px); }
.hx-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: #a9cbbf; }
.hx-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hx-trust i { color: var(--brand-400); font-size: 16px; }
.hx-shot { margin-top: 56px; max-width: 1120px; animation: hx-in 1s .15s var(--ease-out) both; }
.hx-glow { position: absolute; z-index: 0; left: 12%; right: 12%; top: -30px; height: 60%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52,211,153,.35), transparent); filter: blur(30px); pointer-events: none; }
.hx-shot .ux-frame { z-index: 1; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 80px -30px rgba(2, 30, 22, .6), 0 18px 36px -18px rgba(2, 30, 22, .35); }
.hx-shot .ux-note { position: relative; z-index: 1; margin-top: 52px; }
@keyframes hx-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Ortak başlık ---------- */
.hs-head { max-width: 680px; margin-bottom: 48px; }
.hs-head.center { margin-inline: auto; text-align: center; }
.hs-head .title, .hm .title, .hf .title, .hq .title { margin-top: 10px; text-wrap: balance; font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.8px; }
.hs-head .lead { text-wrap: pretty; margin-inline: auto; }
.plan-tag { vertical-align: 1px; }

/* ---------- Dert ↔ çözüm ---------- */
.hx + .hd { padding-top: 120px; }
.vs { max-width: 960px; margin: 0 auto; }
.vs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; padding: 22px 0; border-top: 1px solid var(--line-2); }
.vs-row p { margin: 0; font-size: 16px; line-height: 1.55; display: flex; gap: 12px; }
.vs-bad { color: var(--muted); }
.vs-bad::before, .vs-good::before { font-family: "bootstrap-icons"; flex: 0 0 auto; font-size: 17px; line-height: 1.45; }
.vs-bad::before { content: "\F62A"; color: #c2655b; }
.vs-good { color: var(--ink); font-weight: 550; }
.vs-good::before { content: "\F26A"; color: var(--brand-600); }
.vs-headrow { border-top: 0; padding: 0 0 14px; }
.vs-headrow span { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.vs-headrow span:last-child { color: var(--brand-700); }

/* ---------- Akış (sipariş yolculuğu) ---------- */
.hf { background: var(--bg); }
.jr { list-style: none; margin: 0 0 56px; padding: 0; counter-reset: st; display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; position: relative; }
.jr::before { content: ""; position: absolute; top: 15px; left: 16px; right: 16px; height: 1px; background: var(--brand-200); }
.jr li { position: relative; counter-increment: st; padding-top: 48px; }
.jr li::before {
  content: counter(st); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--brand-700); background: #fff; border: 1px solid var(--brand-200);
}
.jr b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.jr span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); line-height: 1.5; }
.hf-media, .vt-panel .ux-odak { max-width: 960px; margin-inline: auto; }

/* ---------- Sekmeli kanıt vitrini (public.js: [data-tabs]) ---------- */
.vt-list {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 48px;
  padding: 5px; border-radius: 14px; background: var(--bg);
}
.vt-list[hidden] { display: none; }
.vt-tab {
  appearance: none; border: 0; background: transparent; padding: 9px 16px; border-radius: 10px; font: inherit; font-size: 14.5px;
  font-weight: 600; color: var(--muted); white-space: nowrap; cursor: pointer; transition: color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.vt-tab:hover { color: var(--ink); }
.vt-tab[aria-selected="true"] { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(8,40,30,.08), 0 2px 8px -2px rgba(8,40,30,.10); }
.vt-tab:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 2px; }
.vt-tab .plan-tag { margin-left: 4px; }
.vt-panel { display: block; }
.vt-text { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px 64px; align-items: end; max-width: 960px; margin: 0 auto 36px; }
.vt-text .vt-bullets { margin: 0; }
.vt-panel + .vt-panel { margin-top: 96px; } /* JS yokken alt alta */
.vt.is-js .vt-panel + .vt-panel { margin-top: 0; }
.vt-panel[hidden] { display: none; }
.vt.is-js .vt-panel { animation: vt-in .35s var(--ease-out); }
.vt-panel:focus-visible { outline: 2px solid var(--brand-500); outline-offset: 8px; border-radius: 12px; }
.vt-text h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.5px; line-height: 1.2; margin: 10px 0 12px; text-wrap: balance; }
.vt-text > p { font-size: 16px; color: var(--muted); line-height: 1.65; margin: 0; }
.vt-bullets { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.vt-bullets li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-2); }
.vt-bullets i { color: var(--brand-600); font-size: 17px; line-height: 1.3; }
@keyframes vt-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Mobil ---------- */
.hm { background: linear-gradient(180deg, var(--bg), #fff); }
.hm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.hm-phones { position: relative; display: flex; justify-content: center; padding: 0 0 24px; }
.hm-phones .ux-phone { width: 236px; flex: 0 0 auto; }
.hm-phones .p-back { transform: translate(34px, -18px) rotate(-4deg); opacity: .96; }
.hm-phones .p-front { transform: translate(-34px, 28px) rotate(3deg); z-index: 1; }
.hm-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 13px; border-radius: 12px; color: #fff;
  background: var(--ink); border: 1px solid var(--ink); transition: background .2s var(--ease);
}
.store-btn:hover { color: #fff; background: #000; }
.store-btn i { font-size: 24px; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 700; font-size: 15px; }
.store-btn small { font-size: 10.5px; font-weight: 500; color: #b8c2c0; }

/* ---------- Çekinceler ---------- */
.ck-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.ck-grid li { display: flex; gap: 16px; }
.ck-grid li > i { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; font-size: 18px; color: var(--brand-700); background: var(--brand-050); }
.ck-grid h3 { font-size: 16px; font-weight: 750; margin: 2px 0 6px; }
.ck-grid p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.ck-foot { margin: 48px 0 0; text-align: center; font-size: 13.5px; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 10px; color: var(--muted); }
.ck-foot a { color: var(--brand-700); font-weight: 600; }

/* ---------- Sektörler ---------- */
.hx ~ .sk { background: var(--bg); padding: 88px 0; }
.sk .hs-head { margin-bottom: 36px; }
.sk-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sk-row a {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; font-size: 15px; font-weight: 600;
  color: var(--ink-2); background: #fff; box-shadow: 0 1px 2px rgba(8,40,30,.06), 0 0 0 1px rgba(8,40,30,.06);
  transition: color .15s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.sk-row a i { color: var(--brand-600); }
.sk-row a:hover { color: var(--brand-800); transform: translateY(-1px); box-shadow: 0 6px 16px -6px rgba(8,40,30,.18), 0 0 0 1px var(--brand-200); }
.sk-row .sk-all { background: transparent; box-shadow: none; color: var(--brand-700); }

/* ---------- Fiyat özeti ---------- */
.pz-row { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 960px; margin: 0 auto; border-top: 1px solid var(--line); }
.pz-plan { display: flex; flex-direction: column; gap: 6px; padding: 32px 28px; color: var(--ink); transition: background .2s var(--ease); }
.pz-plan + .pz-plan { border-left: 1px solid var(--line); }
.pz-plan:hover { color: var(--ink); background: var(--bg); }
.pz-plan.is-featured { box-shadow: inset 0 3px 0 var(--brand-600); }
.pz-name { font-size: 15px; font-weight: 700; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pz-badge { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; color: var(--brand-700); background: var(--brand-050); }
.pz-price { font-size: 30px; font-weight: 800; letter-spacing: -.8px; }
.pz-price small { font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pz-slogan { font-size: 14.5px; color: var(--muted); }
.pz-go { margin-top: 12px; font-size: 14px; font-weight: 650; color: var(--brand-700); display: inline-flex; gap: 6px; align-items: center; }
.pz-plan:hover .pz-go i { transform: translateX(3px); }
.pz-go i { transition: transform .2s var(--ease); }

/* ---------- SSS ---------- */
.hq { background: var(--bg); }
.hq-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
.hq-head .lead { margin-bottom: 18px; }

/* ---------- Son çağrı ---------- */
.hc { padding: 0 0 96px; background: var(--bg); }
.hc-band {
  position: relative; overflow: hidden; text-align: center; padding: 72px 40px; border-radius: 28px; color: #fff;
  background: radial-gradient(600px 300px at 50% 0%, rgba(52,211,153,.26), transparent 70%), linear-gradient(160deg, #04241b, #0B6B53);
}
.hc-band h2 { text-wrap: balance; font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.8px; line-height: 1.12; margin: 0 auto 14px; max-width: 22ch; }
.hc-band p { color: #c3e2d6; margin: 0 auto; font-size: 16.5px; max-width: 54ch; }
.hc-cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hc-btn { background: #fff !important; color: var(--brand-800) !important; border-color: #fff !important; font-weight: 700; }
.hc-btn:hover { background: var(--brand-050) !important; }

/* ---------- Program aramaları (SEO iç link; sade liste) ---------- */
.cz { padding: 28px 0 32px; border-top: 1px solid var(--line-2); font-size: 13px; }
.cz .container-x { display: flex; gap: 8px 20px; align-items: baseline; flex-wrap: wrap; }
.cz-label { font-weight: 700; color: var(--ink-2); flex: 0 0 auto; }
.cz-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cz-list a { color: var(--muted); }
.cz-list a:hover { color: var(--brand-700); }

/* ---------- Duyarlı ---------- */
@media (max-width: 1023px) {
  .hm-grid, .hq-grid { grid-template-columns: 1fr; gap: 40px; }
  .jr { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .jr::before { display: none; }
  .vt-text { grid-template-columns: 1fr; }
  .ck-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-phones { order: 2; }
}
@media (max-width: 760px) {
  .hx ~ .section { padding: 72px 0; }
  .hx + .hd { padding-top: 72px; }
  .hs-head { margin-bottom: 32px; }
  .vs-headrow { display: none; }
  .vs-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .vs-row p { font-size: 15px; }
  .vt-list { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; width: auto; max-width: none; margin: 0 -24px 32px; padding: 5px 24px; border-radius: 0; scrollbar-width: none; }
  .vt-list::-webkit-scrollbar { display: none; }
  .jr { grid-template-columns: 1fr; gap: 0; margin-bottom: 40px; }
  .jr li { padding: 0 0 20px 48px; }
  .jr li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 36px; bottom: 4px; width: 1px; background: var(--brand-200); }
  .vt-text { margin-bottom: 24px; }
  .vt-panel + .vt-panel { margin-top: 64px; }
  .ck-grid { grid-template-columns: 1fr; gap: 28px; }
  .sk-row { gap: 8px; }
  .sk-row a { padding: 9px 14px; font-size: 14px; }
  .pz-row { grid-template-columns: 1fr; }
  .pz-plan { padding: 24px 4px; }
  .pz-plan + .pz-plan { border-left: 0; border-top: 1px solid var(--line); }
  .pz-plan.is-featured { box-shadow: none; }
  .hm-phones .ux-phone { width: 46%; max-width: 200px; }
  .hm-phones .p-back { transform: translate(14px, -10px) rotate(-4deg); }
  .hm-phones .p-front { transform: translate(-14px, 18px) rotate(3deg); }
  .hc { padding-bottom: 64px; }
  .hc-band { padding: 48px 22px; border-radius: 20px; }
  .hc-cta, .hc-cta .lg { width: 100%; }
}
@media (max-width: 560px) {
  .hx { padding-top: 48px; }
  .hx h1 { font-size: 36px; }
  .hx-sub { font-size: 16px; }
  .hx-cta .lg { width: 100%; }
  .hx-shot { margin-top: 40px; padding: 0 14px; }
      .hx-shot .ux-note { margin-top: 34px; }
  .hx::after { height: 22%; }
  .hm-phones .ux-phone { padding: 5px; border-radius: 22px; }
  .hm-phones .ux-phone img { border-radius: 18px; }
  .hm-phones .ux-phone::before { top: 9px; height: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-copy, .hx-shot, .vt.is-js .vt-panel { animation: none; }
}
