/* Ana sayfa analiz alanı (modules/home-cta). Minimal, naif ve zarif: beyaz zemin, ince çizgiler, bol boşluk.
   Slider'ın altına yuvarlak köşeli bir yaprak gibi biner (slider'ın alt boşluğu kadar; gezinme düğmeleri örtülmez).
   Hareket yalnız transform/opacity/stroke; "hareketi azalt" tercihinde durur. Renkler tokens.css marka değişkenleri. */

.hca {
  position: relative;
  z-index: 2;
  margin-top: -28px;
  padding: clamp(56px, 7vw, 104px) 0 clamp(48px, 6vw, 88px);
  background: var(--bg);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -10px 36px rgba(44, 4, 93, 0.12);
  overflow: hidden;
}
.hca::before {
  /* çağrının arkasında çok hafif lavanta ışık */
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -180px;
  top: 50%;
  translate: 0 -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(209, 193, 255, 0.28), rgba(209, 193, 255, 0));
  pointer-events: none;
}
.hca-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
}

/* ---------- Logolar ---------- */
.hca-logos { min-width: 0; display: grid; gap: var(--s-5); padding-right: clamp(32px, 5vw, 72px); }
.hca-wall {
  display: grid;
  gap: clamp(26px, 3vw, 40px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.hca-row { overflow: hidden; }
.hca-track {
  display: flex;
  align-items: center;
  gap: clamp(44px, 5vw, 72px);
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: hca-scroll var(--hca-dur, 48s) linear infinite;
  will-change: transform;
}
.hca-row:nth-child(even) .hca-track { animation-direction: reverse; }
.hca-wall:hover .hca-track,
.hca-wall:focus-within .hca-track { animation-play-state: paused; }
.hca-logo { flex: none; display: grid; place-items: center; height: 40px; }
.hca-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 28px;
  max-width: 118px;
  object-fit: contain;
  /* bütün logolar aynı açık tonda (beyaz logolar da görünsün diye önce siyaha çevrilir) */
  filter: brightness(0);
  opacity: 0.26;
  transition: opacity 600ms var(--ease);
}
.hca-logo:hover img { opacity: 0.7; }
@keyframes hca-scroll {
  to { transform: translateX(calc(-50% - clamp(22px, 2.5vw, 36px))); }
}
.hca-logos-link {
  justify-self: center;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: var(--fs-sm);
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--d-fast) var(--ease);
}
.hca-logos-link:hover { color: var(--accent); }

/* ---------- Çağrı ---------- */
.hca-cta {
  position: relative;
  display: grid;
  justify-items: start;
  gap: var(--s-5);
  padding-left: clamp(32px, 5vw, 72px);
  border-left: 1px solid var(--line);
}

/* 20 sn halkası: ince çizgi, nokta 20 saniyede bir tur */
.hca-dial { position: relative; width: 112px; height: 112px; }
.hca-dial svg { display: block; width: 100%; height: 100%; overflow: visible; }
.hca-ticks { fill: none; stroke: rgba(44, 4, 93, 0.14); stroke-width: 3; stroke-dasharray: 0.06 0.94; }
.hca-track-ring { fill: none; stroke: rgba(135, 62, 255, 0.1); stroke-width: 1.5; }
.hca-fill {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dashoffset: var(--hca-c);
}
.reveal.is-visible .hca-fill { animation: hca-draw 2.4s var(--ease-out) 0.3s forwards; }
@keyframes hca-draw {
  to { stroke-dashoffset: 0; }
}
.hca-orbit { position: absolute; inset: 10px; animation: hca-spin 20s linear infinite; }
.hca-orbit span {
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(135, 62, 255, 0.12), 0 0 12px rgba(135, 62, 255, 0.55);
}
@keyframes hca-spin {
  to { transform: rotate(360deg); }
}
.hca-sec { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; line-height: 1; }
.hca-sec b { font-size: 2.125rem; font-weight: 500; letter-spacing: -0.03em; color: var(--text); }
.hca-sec small { margin-top: 4px; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); }

.hca-kicker { font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.hca-t {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.5rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  text-wrap: balance;
}
.hca-t .accent { color: var(--accent); }
.hca-x { margin: 0; max-width: 40ch; color: var(--text-2); font-size: var(--fs-sm); }

.hca-form { width: 100%; max-width: 440px; }
.hca-field {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 5px 5px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  background: var(--bg);
  transition: border-color var(--d-base) var(--ease), box-shadow var(--d-base) var(--ease);
}
.hca-field:hover { border-color: rgba(135, 62, 255, 0.4); }
.hca-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(135, 62, 255, 0.1); }
.hca-field input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: var(--fs-base);
  color: var(--text);
}
.hca-field input::placeholder { color: #a3a3aa; }
.hca-go {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px 0 22px;
  border: 0;
  border-radius: var(--r-full);
  background: var(--accent);
  color: var(--wa-beyaz);
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--d-fast) var(--ease), transform var(--d-base) var(--ease);
}
.hca-go svg { transition: transform var(--d-base) var(--ease); }
.hca-go:hover { background: var(--accent-hover); }
.hca-go:hover svg { transform: translateX(3px); }
.hca-go:active { transform: scale(0.98); }
.hca-go:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.hca-or { display: flex; align-items: center; gap: var(--s-3); width: 100%; max-width: 440px; color: var(--text-2); font-size: var(--fs-xs); }
.hca-or::before,
.hca-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.hca-wa {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}
.hca-wa-face { position: relative; flex: none; width: 36px; height: 36px; }
.hca-wa-face img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.hca-wa-face::after {
  /* WhatsApp yeşili durum noktası */
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #25d366;
  border: 2px solid var(--bg);
}
.hca-wa-text { display: grid; font-size: var(--fs-sm); font-weight: 500; line-height: 1.25; }
.hca-wa-text small { font-size: var(--fs-xs); font-weight: 400; color: var(--text-2); }
.hca-wa-go { display: inline-flex; color: var(--text-2); transition: transform var(--d-base) var(--ease), color var(--d-base) var(--ease); }
.hca-wa:hover .hca-wa-go { color: #1faa55; transform: translateX(3px); }
.hca-wa:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.hca-note { margin: 0; font-size: var(--fs-xs); color: var(--text-2); }

/* ---------- Dar ekran: çağrı önce ve ortada, logolar altta ---------- */
@media (max-width: 960px) {
  .hca { margin-top: -22px; border-radius: 22px 22px 0 0; }
  .hca::before { right: 50%; translate: 50% -60%; width: 520px; height: 520px; top: 30%; }
  .hca-grid { grid-template-columns: 1fr; gap: clamp(40px, 8vw, 56px); }
  .hca-cta { order: -1; justify-items: center; text-align: center; padding-left: 0; border-left: 0; }
  .hca-t { max-width: 16ch; }
  .hca-logos { padding-right: 0; }
}
@media (max-width: 520px) {
  .hca-dial { width: 96px; height: 96px; }
  .hca-sec b { font-size: 1.875rem; }
  .hca-field { padding-left: 18px; }
  .hca-go { padding: 0 16px 0 18px; }
  .hca-logo img { max-height: 24px; max-width: 96px; }
  .hca-wall { gap: 22px; }
}
@media (max-width: 360px) {
  /* çok dar ekranda düğme kutunun altına iner */
  .hca-field { flex-direction: column; align-items: stretch; padding: 6px; border-radius: 22px; }
  .hca-field input { padding: 0 14px; }
  .hca-go { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .hca-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .hca-track > [aria-hidden="true"] { display: none; }
  .hca-wall { -webkit-mask-image: none; mask-image: none; }
  .hca-orbit { animation: none; }
  .hca-fill { stroke-dashoffset: 0; }
  .reveal.is-visible .hca-fill { animation: none; }
  .hca-field, .hca-go, .hca-go svg, .hca-wa-go, .hca-logo img { transition: none; }
}
