/* Anasayfa — v5 "Atölye" dili: taş zemin, mürekkep, tek vurgu rengi (mercan).
   Yalnızca public/home.html yükler; sınıflar `hx-` önekli. */

.hx {
  --hx-canvas: #F3F3EF;
  --hx-paper: #FFFFFF;
  --hx-sunken: #EAE9E3;
  --hx-ink: #16181D;
  --hx-ink-2: #2B2E35;
  --hx-text-2: #4A4D55;
  --hx-muted: #74777F;
  --hx-line: #E1E0D9;
  --hx-line-2: #D3D2CA;
  --hx-signal: #E85A33;
  --hx-signal-ink: #C7441F;
  --hx-sans: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hx-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  background: var(--hx-canvas);
  color: var(--hx-ink);
  font-family: var(--hx-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.hx *, .hx *::before, .hx *::after { box-sizing: border-box; }
.hx h1, .hx h2, .hx h3 { font-family: var(--hx-sans); color: var(--hx-ink); margin: 0; }
.hx p { margin: 0; }
.hx [x-cloak] { display: none !important; }

.hx-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Düğmeler */
.hx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px; border-radius: 12px;
  font: 600 15px/1 var(--hx-sans); letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.hx-btn:active { transform: translateY(1px); }
.hx-btn--ink { background: var(--hx-ink); color: #fff; }
.hx-btn--ink:hover { background: #000; color: #fff; }
.hx-btn--ink svg { transition: transform .15s ease; }
.hx-btn--ink:hover svg { transform: translateX(3px); }
.hx-btn--line { background: transparent; color: var(--hx-ink); border-color: var(--hx-line-2); }
.hx-btn--line:hover { background: var(--hx-paper); border-color: var(--hx-ink); color: var(--hx-ink); }
.hx-btn--signal { background: var(--hx-signal); color: #fff; }
.hx-btn--signal:hover { background: var(--hx-signal-ink); color: #fff; }
.hx-btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.hx-btn--ghost:hover { border-color: #fff; color: #fff; }

/* Bölüm başlığı */
.hx-head { max-width: 760px; margin-bottom: 44px; }
.hx-head h2 {
  font-size: clamp(28px, 3.4vw, 42px); font-weight: 750; line-height: 1.1; letter-spacing: -0.035em;
}
.hx-head p { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--hx-text-2); }
.hx-head--split {
  max-width: none; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: end;
}
.hx-head--split p { margin-top: 0; }
.hx-kicker {
  display: block; margin-bottom: 14px;
  font: 500 12px/1 var(--hx-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--hx-signal-ink);
}

/* ── 1. Giriş ── */
.hx-hero { padding: 72px 0 0; }
.hx-hero__grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center;
}
.hx-hero__title {
  font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; line-height: 1.02; letter-spacing: -0.045em;
  text-wrap: balance;
}
.hx-hero__title em {
  font-style: normal; color: var(--hx-signal);
}
.hx-hero__what {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font: 500 12.5px/1.3 var(--hx-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--hx-ink);
}
.hx-hero__what::before { content: ""; width: 22px; height: 2px; background: var(--hx-signal); flex: 0 0 auto; }
.hx-hero__facts {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 0;
  border-top: 1px solid var(--hx-line-2); border-bottom: 1px solid var(--hx-line-2);
}
.hx-hero__facts > div { padding: 16px 14px 16px 0; }
.hx-hero__facts > div + div { padding-left: 16px; border-left: 1px solid var(--hx-line-2); }
.hx-hero__facts dt { font-size: 17px; font-weight: 750; letter-spacing: -0.025em; color: var(--hx-ink); }
.hx-hero__facts dd { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: var(--hx-muted); }
.hx-hero__lead { font-size: 17.5px; line-height: 1.6; color: var(--hx-text-2); }
.hx-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hx-hero__note { margin-top: 16px; font-size: 13px; color: var(--hx-muted); }

.hx-stage { position: relative; margin: 72px 0 0; padding-bottom: 120px; }
.hx-stage__browser {
  background: var(--hx-paper); border: 1px solid var(--hx-line-2); border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(22,24,29,.04), 0 40px 80px -40px rgba(22,24,29,.35);
  margin-right: 120px;
}
.hx-stage__bar {
  height: 40px; display: flex; align-items: center; padding: 0 16px;
  border-bottom: 1px solid var(--hx-line); background: #FAFAF8;
}
.hx-stage__bar span {
  font: 500 12px/1 var(--hx-mono); color: var(--hx-muted);
  background: var(--hx-sunken); padding: 7px 12px; border-radius: 7px;
}
.hx-stage__browser img { display: block; width: 100%; height: auto; }
.hx-stage__phone {
  position: absolute; right: 0; bottom: 0; width: 240px;
  border-radius: 38px; padding: 9px; background: var(--hx-ink);
  box-shadow: 0 40px 70px -30px rgba(22,24,29,.55);
}
.hx-stage__phone img { display: block; width: 100%; height: auto; border-radius: 30px; }
.hx-stage__cap {
  position: absolute; left: 0; bottom: 24px; font-size: 12.5px; color: var(--hx-muted);
}

/* ── 2. Akış ── */
.hx-flow { padding: 96px 0; background: var(--hx-ink); }
.hx-flow .hx-head h2 { color: #fff; }
.hx-flow .hx-head p { color: rgba(255,255,255,.62); }
.hx-flow__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hx-flow__list li { position: relative; padding: 28px 24px 0 0; }
.hx-flow__list li::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--hx-ink); border: 2px solid rgba(255,255,255,.5);
}
.hx-flow__list li:first-child::before { background: var(--hx-signal); border-color: var(--hx-signal); }
.hx-flow__list time { font: 500 13px/1 var(--hx-mono); color: var(--hx-signal); }
.hx-flow__list h3 { margin-top: 14px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.hx-flow__list p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.62); }

/* ── 3–4. Ekran satırları ── */
.hx-row { padding: 104px 0; }
.hx-row--alt { background: var(--hx-paper); border-top: 1px solid var(--hx-line); border-bottom: 1px solid var(--hx-line); }
.hx-row__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.hx-row__grid--rev .hx-row__text { order: 2; }
.hx-row__text h2 {
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 750; line-height: 1.12; letter-spacing: -0.035em; max-width: 520px;
}
.hx-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 0; }
.hx-list li {
  padding: 16px 0; border-top: 1px solid var(--hx-line);
  font-size: 15.5px; line-height: 1.6; color: var(--hx-text-2);
}
.hx-list li:last-child { border-bottom: 1px solid var(--hx-line); }
.hx-list b { color: var(--hx-ink); font-weight: 650; }

.hx-row__media { display: flex; justify-content: center; }
.hx-row__media img {
  display: block; height: auto; border-radius: 30px; border: 9px solid var(--hx-ink);
  box-shadow: 0 40px 70px -34px rgba(22,24,29,.45);
  background: var(--hx-ink);
}
.hx-row__media--phone {
  background: var(--hx-sunken); border-radius: 28px; padding: 56px 0;
}
.hx-row__media--phone img { width: 300px; }
.hx-row__media--pair { position: relative; min-height: 600px; }
.hx-row__media--pair img { position: absolute; width: 270px; }
.hx-row__media--pair img:first-child { left: 6%; top: 0; z-index: 2; }
.hx-row__media--pair img:last-child { right: 4%; top: 64px; z-index: 1; transform: rotate(2.5deg); }

/* ── 5. Modül dizini ── */
.hx-index { padding: 104px 0; }
.hx-index__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px;
}
.hx-index__list li {
  display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px;
  padding: 20px 0; border-top: 1px solid var(--hx-line-2);
}
.hx-index__list span { grid-row: span 2; font: 500 13px/1.6 var(--hx-mono); color: var(--hx-muted); }
.hx-index__list b { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.hx-index__list small { margin-top: 4px; font-size: 14.5px; color: var(--hx-text-2); }

/* ── 6. Sektörler ── */
.hx-sectors { padding: 0 0 104px; }
.hx-sectors__box {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 0;
  background: var(--hx-paper); border: 1px solid var(--hx-line-2); border-radius: 20px; overflow: hidden;
}
.hx-sectors__names {
  display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; padding: 28px;
  border-right: 1px solid var(--hx-line);
}
.hx-sectors__names button {
  font: 500 14px/1 var(--hx-sans); color: var(--hx-text-2);
  background: var(--hx-canvas); border: 1px solid var(--hx-line); border-radius: 999px;
  padding: 10px 14px; cursor: pointer; transition: all .12s ease;
}
.hx-sectors__names button:hover { border-color: var(--hx-ink); color: var(--hx-ink); }
.hx-sectors__names button.is-on { background: var(--hx-ink); border-color: var(--hx-ink); color: #fff; }
.hx-sectors__card { padding: 32px; display: flex; flex-direction: column; }
.hx-sectors__card h3 { font-size: 24px; font-weight: 750; letter-spacing: -0.03em; }
.hx-sectors__card > p { margin-top: 6px; color: var(--hx-text-2); font-size: 15px; }
.hx-sectors__card dl { margin: 24px 0 28px; }
.hx-sectors__card dt {
  font: 500 11.5px/1 var(--hx-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--hx-muted);
  margin: 18px 0 10px;
}
.hx-sectors__card dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.hx-sectors__card dd span {
  font-size: 13.5px; font-weight: 500; color: var(--hx-ink);
  background: var(--hx-sunken); border-radius: 8px; padding: 7px 10px;
}
.hx-sectors__card .hx-btn { margin-top: auto; align-self: flex-start; }


/* Mağaza bağlantısı */
.hx-store {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 28px;
  padding: 10px 18px 10px 14px; border-radius: 12px; background: var(--hx-ink); color: #fff; text-decoration: none;
}
.hx-store:hover { background: #000; color: #fff; }
.hx-store + .hx-store { margin-left: 10px; }
.hx-store span { display: flex; flex-direction: column; font-size: 15px; font-weight: 650; line-height: 1.2; }
.hx-store small { font-size: 11px; font-weight: 500; color: rgba(255,255,255,.65); }

/* ── 4b. Karşılaştırma ── */
.hx-compare { padding: 104px 0; }
.hx-compare__table { border-top: 1px solid var(--hx-ink); }
.hx-compare__row {
  display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--hx-line-2);
}
.hx-compare__row > span { padding: 20px 28px 20px 0; font-size: 15.5px; line-height: 1.55; }
.hx-compare__row > span:first-child { color: var(--hx-muted); }
.hx-compare__row > span:last-child {
  position: relative; padding-left: 32px; color: var(--hx-ink); font-weight: 500;
  border-left: 1px solid var(--hx-line-2);
}
.hx-compare__row > span:last-child::before {
  content: ""; position: absolute; left: 0; top: 29px; width: 16px; height: 2px; background: var(--hx-signal);
}
.hx-compare__row--head > span {
  padding-top: 14px; padding-bottom: 14px;
  font: 500 12px/1 var(--hx-mono) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--hx-muted) !important;
}
.hx-compare__row--head > span:last-child { color: var(--hx-signal-ink) !important; }
.hx-compare__row--head > span:last-child::before { display: none; }

/* ── 6b. İlk gün ── */
.hx-setup { padding: 104px 0; background: var(--hx-paper); border-top: 1px solid var(--hx-line); }
.hx-setup__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hx-setup__list li { background: var(--hx-canvas); border: 1px solid var(--hx-line); border-radius: 18px; padding: 26px 24px 28px; }
.hx-setup__list span {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  background: var(--hx-ink); color: #fff; font: 500 14px/1 var(--hx-mono);
}
.hx-setup__list h3 { margin-top: 22px; font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.hx-setup__list p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--hx-text-2); }

/* ── 6c. Fiyatlar ── */
.hx-price { padding: 104px 0; background: var(--hx-paper); }
.hx-setup + .hx-price { padding-top: 0; }
.hx-price__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hx-price__card { border: 1px solid var(--hx-line-2); border-radius: 20px; padding: 28px; background: var(--hx-paper); }
.hx-price__card.is-featured { background: var(--hx-ink); border-color: var(--hx-ink); color: #fff; }
.hx-price__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.hx-price__top h3 { font-size: 18px; font-weight: 700; }
.hx-price__card.is-featured h3 { color: #fff; }
.hx-price__tag {
  font: 500 11px/1 var(--hx-mono); letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: var(--hx-signal); padding: 6px 8px; border-radius: 6px;
}
.hx-price__amount { margin-top: 22px; font-size: 40px; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hx-price__amount small { font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--hx-muted); margin-left: 4px; }
.hx-price__sub { margin-top: 4px; font-size: 13.5px; color: var(--hx-muted); }
.hx-price__card.is-featured .hx-price__amount small,
.hx-price__card.is-featured .hx-price__sub { color: rgba(255,255,255,.6); }
.hx-price__card ul { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--hx-line); display: grid; gap: 10px; }
.hx-price__card.is-featured ul { border-top-color: rgba(255,255,255,.14); }
.hx-price__card li { font-size: 14.5px; padding-left: 20px; position: relative; }
.hx-price__card li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--hx-signal);
}
.hx-price__more { margin-top: 24px; font-size: 15px; }
.hx-price__more a { color: var(--hx-ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--hx-line-2); }
.hx-price__more a:hover { border-bottom-color: var(--hx-ink); }
.hx-price + .hx-faq { border-top: 1px solid var(--hx-line); }

/* ── 7. SSS ── */
.hx-faq { padding: 104px 0; background: var(--hx-paper); border-top: 1px solid var(--hx-line); }
.hx-faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; }
.hx-faq__side h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 750; letter-spacing: -0.035em; }
.hx-faq__side p { margin: 14px 0 24px; color: var(--hx-text-2); font-size: 16px; line-height: 1.6; }
.hx-faq__list details { border-top: 1px solid var(--hx-line-2); }
.hx-faq__list details:last-child { border-bottom: 1px solid var(--hx-line-2); }
.hx-faq__list summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 17px; font-weight: 650; letter-spacing: -0.015em;
}
.hx-faq__list summary::-webkit-details-marker { display: none; }
.hx-faq__list summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--hx-muted); border-bottom: 2px solid var(--hx-muted);
  transform: rotate(45deg); transition: transform .15s ease;
}
.hx-faq__list details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.hx-faq__list details p { padding: 0 40px 22px 0; color: var(--hx-text-2); font-size: 15.5px; line-height: 1.65; }

/* ── 8. Son çağrı ── */
.hx-end { padding: 0 0 96px; background: var(--hx-paper); }
.hx-end__box {
  background: var(--hx-ink); border-radius: 24px; padding: 64px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 48px; align-items: end;
}
.hx-end__box h2 {
  color: #fff; font-size: clamp(30px, 3.8vw, 48px); font-weight: 800; line-height: 1.06; letter-spacing: -0.04em;
  grid-row: span 2;
}
.hx-end__box p { color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.6; }
.hx-end__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── Duyarlı ── */
@media (max-width: 1080px) {
  .hx-flow__list { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .hx-setup__list { grid-template-columns: repeat(2, 1fr); }
  .hx-row__grid { gap: 48px; }
}
@media (max-width: 900px) {
  .hx-hero { padding-top: 40px; }
  .hx-hero__grid, .hx-head--split, .hx-row__grid, .hx-faq__grid, .hx-end__box, .hx-sectors__box {
    grid-template-columns: 1fr; gap: 28px;
  }
  .hx-row__grid--rev .hx-row__text { order: 0; }
  .hx-stage { margin-top: 40px; padding-bottom: 0; }
  .hx-stage__browser { margin-right: 0; }
  .hx-stage__phone { display: none; }
  .hx-stage__cap { position: static; display: block; margin-top: 12px; }
  .hx-flow, .hx-row, .hx-index, .hx-faq, .hx-compare, .hx-setup, .hx-price { padding: 72px 0; }
  .hx-setup + .hx-price { padding-top: 0; }
  .hx-price__grid { grid-template-columns: 1fr; }
  .hx-sectors { padding-bottom: 72px; }
  .hx-sectors__names {
    border-right: 0; border-bottom: 1px solid var(--hx-line); padding: 16px 20px;
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .hx-sectors__names::-webkit-scrollbar { display: none; }
  .hx-sectors__names button { flex: 0 0 auto; }
  .hx-sectors__card { padding: 24px 20px; }
  .hx-index__list { grid-template-columns: 1fr; }
  .hx-row__media--pair { min-height: 0; justify-content: center; gap: 12px; }
  .hx-row__media--pair img { position: static; width: 46%; max-width: 240px; transform: none !important; border-width: 6px; border-radius: 22px; }
  .hx-row__media--phone { padding: 36px 0; }
  .hx-row__media--phone img { width: 240px; }
  .hx-end__box { padding: 40px 28px; }
  .hx-end__box h2 { grid-row: auto; }
}
@media (max-width: 640px) {
  .hx-wrap { padding: 0 16px; }
  .hx-flow__list { grid-template-columns: 1fr; row-gap: 0; border-top: 0; border-left: 1px solid rgba(255,255,255,.14); margin-left: 4px; }
  .hx-flow__list li { padding: 0 0 32px 24px; }
  .hx-flow__list li::before { top: 2px; left: -5px; }
  .hx-hero__cta .hx-btn { flex: 1 1 100%; }
  .hx-stage__browser { border-radius: 12px; }
  .hx-stage__bar { display: none; }
  .hx-head { margin-bottom: 32px; }
  .hx-hero__facts { grid-template-columns: 1fr; }
  .hx-hero__facts > div, .hx-hero__facts > div + div { padding: 12px 0; border-left: 0; }
  .hx-hero__facts > div + div { border-top: 1px solid var(--hx-line); }
  .hx-compare__row { grid-template-columns: 1fr; }
  .hx-compare__row--head { display: none; }
  .hx-compare__row > span { padding: 16px 0 4px; }
  .hx-compare__row > span:first-child { text-decoration: line-through; text-decoration-color: rgba(116,119,127,.5); }
  .hx-compare__row > span:last-child { border-left: 0; padding: 4px 0 16px 26px; }
  .hx-compare__row > span:last-child::before { top: 15px; }
  .hx-setup__list { grid-template-columns: 1fr; }
}
