/* ═══════════ Anasayfa v2 ═══════════
   Mobil öncelikli. Animasyon kütüphanesi yok; içerik her koşulda görünür.
   Renk/yazı: app.css değişkenleri (anasayfa açık temada açılır). */

.page-home-v2 main { overflow-x: clip; }

/* ─── Başlıklar ─── */
.hx-h1 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(2.15rem, 5.2vw, 4.1rem); line-height: 1.04; margin: .9rem 0 1rem;
  text-wrap: balance;
}
.hx-h1 .accent-serif, .hx-h2 .accent-serif { font-weight: 400; background: var(--grad-dawn); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hx-h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; font-size: clamp(1.6rem, 3.3vw, 2.5rem); line-height: 1.12; margin: .55rem 0 0; text-wrap: balance; }
.hx-lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--ink-2); max-width: 38em; line-height: 1.6; }
.hx-p { color: var(--ink-2); font-size: 1.02rem; line-height: 1.6; max-width: 40em; margin-top: .8rem; }
.hx-head { margin-bottom: 1.6rem; }
.hx-head--center { text-align: center; }
.hx-head--center .eyebrow { justify-content: center; }
.hx-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }

/* ─── Bölüm ritmi ─── */
.hx-sec { padding-block: clamp(3rem, 7vw, 5.5rem); }
.hx-sec--alt { background: var(--bg-deep); }

/* ─── Kahraman ─── */
.hx-hero { padding: calc(var(--hx-hdr, 84px) + clamp(1rem, 3vw, 2.6rem)) 0 clamp(2.4rem, 5vw, 4.2rem); background:
  radial-gradient(60% 55% at 85% 20%, color-mix(in oklab, var(--brand) 12%, transparent), transparent 70%),
  radial-gradient(45% 40% at 5% 90%, color-mix(in oklab, var(--peak) 12%, transparent), transparent 70%); }
.hx-hero__in { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(1.8rem, 4vw, 3.6rem); align-items: center; }
.hx-badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .42rem .85rem; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--ink-2);
  background: var(--surface); border: 1px solid var(--line);
}
.hx-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in oklab, var(--ok) 22%, transparent); }

.hx-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .75rem; margin: 1.3rem 0 1.4rem; }
.hx-price__v { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.5rem); letter-spacing: -.02em; }
.hx-price s { color: var(--ink-3); font-size: 1.05rem; }
.hx-price__n { font-size: .9rem; font-weight: 600; color: var(--brand); background: color-mix(in oklab, var(--brand) 10%, transparent); padding: .25rem .6rem; border-radius: 999px; }

.hx-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }
.hx-hero .hx-cta { margin-top: 0; }
.hx-cta--center { justify-content: center; }

.hx-trust { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; color: var(--ink-2); font-size: .9rem; }
.hx-trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hx-trust svg { color: var(--ok); }

/* ─── Komisyon hesaplayıcı ─── */
.hx-calc {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(1.2rem, 2.4vw, 1.7rem); box-shadow: var(--shadow-2);
  display: grid; gap: 1rem;
}
.hx-calc__head { display: grid; gap: .15rem; }
.hx-calc__head b { font-family: var(--font-display); font-size: 1.15rem; }
.hx-calc__head small { color: var(--ink-3); font-size: .88rem; }
.hx-f { display: grid; gap: .45rem; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.hx-f > span:first-child { display: flex; justify-content: space-between; align-items: center; }
.hx-f output { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.hx-in { position: relative; display: block; }
.hx-in input {
  width: 100%; height: 50px; padding: 0 2.4rem 0 .95rem; font: 600 1.15rem var(--font-mono); color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
}
.hx-in input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand) 16%, transparent); }
.hx-in i { position: absolute; right: .95rem; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--ink-3); font-weight: 600; }
.hx-f input[type=range] { width: 100%; accent-color: var(--brand); height: 28px; }
.hx-calc__res { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.hx-calc__res > div { background: var(--surface-2); border-radius: 14px; padding: .8rem .9rem; display: grid; gap: .15rem; }
.hx-calc__res small { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.hx-calc__res b { font-family: var(--font-mono); font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; font-variant-numeric: tabular-nums; }
.hx-hot { color: var(--err); }
.hx-calc__pay { margin: 0; font-size: .95rem; color: var(--ink-2); }
.hx-calc__pay b { color: var(--ok); }
[data-theme="light"] .hx-calc__pay b { color: oklch(52% .15 155); }
.hx-calc__cta {
  display: flex; align-items: center; justify-content: center; gap: .45rem; height: 48px; border-radius: 12px;
  font-weight: 700; color: #fff; background: #1faa53; text-decoration: none;
}
.hx-calc__cta:hover { background: #1a9449; }
.hx-calc__note { color: var(--ink-3); font-size: .76rem; line-height: 1.45; }

/* ─── Ana paket ─── */
.hx-pack { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: start; }
.hx-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.hx-checks li { display: flex; gap: .7rem; align-items: flex-start; padding: .8rem .95rem; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; font-size: .96rem; }
.hx-checks svg { color: var(--ok); flex: none; margin-top: .12rem; }
[data-theme="light"] .hx-checks svg, [data-theme="light"] .hx-trust svg { color: oklch(56% .15 155); }
.hx-pack__note { margin: .9rem 0 0; font-size: .9rem; color: var(--ink-2); padding: .75rem .95rem; border-radius: 12px; border: 1px dashed var(--line); }

/* ─── Hizmetler ─── */
.hx-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.hx-svc__i {
  display: grid; gap: .35rem; align-content: start; padding: 1.25rem 1.25rem 1.1rem;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; color: var(--ink); text-decoration: none;
  transition: border-color .2s, transform .2s var(--ease-out), box-shadow .2s;
}
.hx-svc__i:hover { border-color: color-mix(in oklab, var(--brand) 45%, transparent); transform: translateY(-3px); box-shadow: var(--shadow-1); }
.hx-svc__ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: var(--brand); background: color-mix(in oklab, var(--brand) 11%, transparent); margin-bottom: .35rem; }
.hx-svc__i b { font-family: var(--font-display); font-size: 1.08rem; }
.hx-svc__i small { color: var(--ink-2); font-size: .9rem; line-height: 1.5; }
.hx-svc__m { display: inline-flex; align-items: center; gap: .35rem; margin-top: .45rem; font-size: .88rem; font-weight: 700; color: var(--brand); }

/* ─── Süreç ─── */
.hx-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: s; }
.hx-steps li { padding: 1.2rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line-soft); }
.hx-steps__n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font: 700 .95rem var(--font-mono); color: #fff; background: var(--grad-dawn); margin-bottom: .7rem; }
.hx-steps b { display: block; font-family: var(--font-display); font-size: 1.02rem; margin-bottom: .3rem; }
.hx-steps p { margin: 0; color: var(--ink-2); font-size: .9rem; line-height: 1.5; }

/* ─── Final ─── */
.hx-final .hx-p { margin-inline: auto; }

/* ─── Tablet ─── */
@media (max-width: 1023px) {
  .hx-hero__in, .hx-pack { grid-template-columns: 1fr; }
  .hx-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ─── Mobil: yatay şeritler, sıkı ritim ─── */
@media (max-width: 760px) {
  .hx-sec { padding-block: 2.6rem; }
  .hx-head { margin-bottom: 1.1rem; }
  .hx-head--split .zbtn { width: auto; padding: .6rem 1rem; font-size: .88rem; }
  .hx-cta .zbtn { flex: 1 1 100%; }
  .hx-trust { gap: .4rem 1rem; font-size: .85rem; }
  .hx-svc { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .hx-svc__i { padding: 1rem .9rem .9rem; border-radius: 15px; }
  .hx-svc__i small { display: none; }
  .hx-svc__ico { width: 38px; height: 38px; }
  .hx-svc__i b { font-size: .98rem; }
  .hx-steps { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .hx-steps li { padding: 1rem .9rem; }
  .hx-steps p { font-size: .84rem; }

  .hx-scroll {
    display: flex !important; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: .2rem var(--gutter) .6rem; scrollbar-width: none;
  }
  .hx-scroll::-webkit-scrollbar { display: none; }
  .hx-scroll > * { flex: 0 0 78%; scroll-snap-align: start; }
}
@media (max-width: 340px) {
  .hx-svc { grid-template-columns: 1fr; }
  .hx-calc__res { grid-template-columns: 1fr; }
}

/* Sabit başlık çubuğu yüksekliği (ölçüldü: mobil 63px) */
@media (max-width: 760px) { .page-home-v2 { --hx-hdr: 66px; } }
@media (max-width: 760px) {
  .hx-checks { gap: .4rem; }
  .hx-checks li { padding: .6rem .75rem; font-size: .9rem; border-radius: 12px; }
  .hx-pack__note { font-size: .85rem; }
}
