/* ============================================================
   Carsell TR — ANASAYFA HERO (sakin & kurumsal)
   Sol: değerleme formu · Sağ: içerik
   Logo paleti: ink #172128 · mavi #0086FF
   ============================================================ */

.hb-hero {
  position: relative;
  display: flex;
  align-items: center;
  background: #0a1016;
  overflow: hidden;
  isolation: isolate;
  padding: 72px 0 80px;
}

/* --- Arka plan görseli --- */
.hb-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--hb-img);
  background-size: cover;
  background-position: center left;
  z-index: -3;
}

/* --- Overlay: sağ (metin) tarafı koyu --- */
.hb-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(10, 16, 22, 0.93) 0%, rgba(10, 16, 22, 0.6) 45%, rgba(10, 16, 22, 0.25) 78%, rgba(10, 16, 22, 0.45) 100%),
    linear-gradient(0deg, rgba(10, 16, 22, 0.5) 0%, transparent 20%);
  z-index: -2;
}

/* --- İnce grid deseni --- */
.hb-hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 90% at 80% 30%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 80% 30%, #000 30%, transparent 100%);
  z-index: -1;
}

.hb-hero__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
}

.hb-hero__content { order: 2; max-width: 600px; }

/* ============================================================
   İÇERİK (sağ)
   ============================================================ */
.hb-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.79rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.hb-badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0086ff;
  box-shadow: 0 0 0 3px rgba(0, 134, 255, 0.22);
}

.hb-title {
  margin: 20px 0 14px;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #fff;
}

.hb-title em {
  font-style: normal;
  color: #4aa8ff;
}

.hb-desc {
  max-width: 470px;
  font-size: 0.99rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 30px;
}

/* --- İstatistik satırı --- */
.hb-stats {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hb-stats__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hb-stats__item + .hb-stats__item {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hb-stats__item strong {
  font-size: 1.28rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.hb-stats__item span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.52);
}

/* --- Alt güven notu --- */
.hb-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.55);
}

.hb-note i { color: #0086ff; font-size: 0.8rem; }

/* ============================================================
   DEĞERLEME FORM KARTI (sol)
   ============================================================ */
.hb-form-card {
  position: relative;
  order: 1;
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 24px;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.hb-form-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0086ff 0%, #00c2ff 100%);
}

/* --- Kart başlığı --- */
.hb-form-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.hb-form-card__title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #172128;
  letter-spacing: -0.01em;
  margin: 0 0 3px;
}

.hb-form-card__sub {
  font-size: 0.84rem;
  color: #7b8a97;
  margin: 0;
}

.hb-form-card__time {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: #e8f4ff;
  color: #006bd6;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* --- İlerleme --- */
.hb-progress { margin-bottom: 18px; }

.hb-progress__info {
  font-size: 0.71rem;
  font-weight: 700;
  color: #93a1ad;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hb-progress__track {
  height: 4px;
  border-radius: 999px;
  background: #eef3f8;
  overflow: hidden;
}

.hb-progress__fill {
  width: 25%;
  height: 100%;
  border-radius: 999px;
  background: #0086ff;
}

/* --- Alanlar --- */
.hb-field { margin-bottom: 14px; }

.hb-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #5b6b78;
  margin-bottom: 6px;
}

.hb-input { position: relative; }

.hb-input__caret {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  color: #93a1ad;
  pointer-events: none;
  transition: transform 0.25s, color 0.25s;
}

.hb-input:focus-within .hb-input__caret {
  transform: translateY(-50%) rotate(180deg);
  color: #0086ff;
}

.hb-select {
  width: 100%;
  height: 50px;
  padding: 0 40px 0 16px;
  border: 1.5px solid #e3eaf1;
  border-radius: 11px;
  background: #fbfcfe;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: #172128;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.hb-select:hover { border-color: #c9d8e6; }

.hb-select:focus {
  border-color: #0086ff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 134, 255, 0.12);
}

/* --- Gönder --- */
.hb-submit {
  width: 100%;
  height: 52px;
  margin-top: 4px;
  border: none;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #0086ff;
  color: #fff;
  font-size: 0.99rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 134, 255, 0.3);
  transition: background 0.25s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
}

.hb-submit:hover {
  background: #006bd6;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(0, 134, 255, 0.38);
}

.hb-submit__arrow { transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); font-size: 0.85rem; }
.hb-submit:hover .hb-submit__arrow { transform: translateX(4px); }

/* --- Güven satırı --- */
.hb-form__trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 14px;
}

.hb-form__trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #7b8a97;
}

.hb-form__trust span i { color: #0086ff; font-size: 0.74rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hb-hero { padding: 52px 0 60px; }

  .hb-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hb-hero__bg { background-image: var(--hb-img-m); background-position: center bottom; }

  .hb-hero__overlay {
    background: linear-gradient(180deg, rgba(10, 16, 22, 0.94) 0%, rgba(10, 16, 22, 0.78) 55%, rgba(10, 16, 22, 0.6) 100%);
  }

  .hb-form-card { justify-self: center; max-width: 480px; }

  .hb-hero__content { max-width: 560px; justify-self: center; padding-right: 0; }
}

@media (max-width: 640px) {
  .hb-hero { padding: 36px 0 48px; }

  .hb-title { font-size: 1.75rem; }

  .hb-desc { font-size: 0.94rem; margin-bottom: 24px; }

  .hb-stats { gap: 16px; padding: 16px 0; }

  .hb-stats__item + .hb-stats__item { padding-left: 16px; }

  .hb-stats__item strong { font-size: 1.1rem; }

  .hb-form-card { padding: 22px 18px 18px; border-radius: 16px; }

  .hb-form-card__time { display: none; }

  .hb-note { font-size: 0.78rem; }
}
