/* ============================================================
   CAR TEKLİF — ANASAYFA BANNER (split hero)
   Sol: içerik + animasyonlu slogan · Sağ: değerleme formu
   ============================================================ */

:root {
    --hb-blue: #0EA5F0;
    --hb-blue-600: #0B8FD8;
    --hb-navy: #0B2440;
    --hb-ink: #0B2440;
    --hb-muted: #5b6b7d;
    --hb-line: #e6ecf3;
}

.hb-hero {
    position: relative;
    background: #07182a;
    overflow: hidden;
    isolation: isolate;
}

.hb-hero__bg {
    position: absolute;
    inset: 0;
    background-image: var(--hb-img);
    background-size: cover;
    background-position: center right;
    z-index: -2;
}
.hb-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(95deg, #07182a 0%, rgba(7, 24, 42, 0.96) 28%, rgba(7, 24, 42, 0.62) 58%, rgba(7, 24, 42, 0.15) 100%);
    z-index: -1;
}

.hb-hero__inner {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 48px;
    align-items: center;
    min-height: clamp(560px, 72vh, 720px);
    padding: 60px 0;
}

/* ---------------- SOL: İÇERİK ---------------- */
.hb-hero__content { color: #fff; max-width: 640px; }

.hb-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    backdrop-filter: blur(6px);
}
.hb-badge__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--hb-blue);
    box-shadow: 0 0 0 4px rgba(14, 165, 240, 0.25);
    animation: hbPulse 2s infinite;
}
@keyframes hbPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 240, 0.45); }
    50% { box-shadow: 0 0 0 7px rgba(14, 165, 240, 0); }
}

.hb-title {
    font-size: clamp(1.7rem, 3.3vw, 2.85rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 22px 0 10px;
    white-space: nowrap;
}
.hb-title span { color: var(--hb-blue); }

.hb-rotator {
    min-height: 30px;
    margin: 0 0 16px;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    font-weight: 600;
    color: #8ed2fb;
    letter-spacing: -0.01em;
}
.hb-rotator__text { display: inline-block; }

.hb-desc {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 26px;
    max-width: 480px;
}
.hb-desc strong { color: #fff; font-weight: 700; }

.hb-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}
.hb-trust li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}
.hb-trust i {
    color: var(--hb-blue);
    font-size: 15px;
}

/* ---------------- SAĞ: FORM KARTI ---------------- */
.hb-form-card {
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 20px;
    padding: 32px 30px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(11, 36, 64, 0.07);
}

/* Çerçevede sabit hızda gezen ince ışık çizgisi (topbar efekti gibi) */
.hb-form-card__beam {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
    overflow: visible;
}
.hb-form-card__beam rect {
    fill: none;
    stroke: #2ab6ff;
    stroke-width: 0.4;
    stroke-linecap: round;
    stroke-dasharray: 16 84;
    stroke-dashoffset: 0;
    filter: drop-shadow(0 0 4px rgba(14, 165, 240, 0.95));
    animation: hbBeam 4.5s linear infinite;
}
@keyframes hbBeam {
    to { stroke-dashoffset: -100; }
}
@media (prefers-reduced-motion: reduce) {
    .hb-form-card__beam rect { animation: none; }
}
.hb-form-card__head { margin-bottom: 22px; }
.hb-form-card__title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hb-ink);
    letter-spacing: -0.02em;
    margin: 0 0 4px;
}
.hb-form-card__sub { font-size: 0.92rem; color: var(--hb-muted); margin: 0; }

.hb-field { margin-bottom: 16px; }
.hb-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--hb-ink);
    margin-bottom: 7px;
}
.hb-input {
    position: relative;
    display: flex;
    align-items: center;
    background: #f7fafd;
    border: 1.5px solid var(--hb-line);
    border-radius: 12px;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.hb-input > i {
    position: absolute;
    left: 15px;
    color: #98a7b8;
    font-size: 15px;
    pointer-events: none;
    transition: color .2s;
}
.hb-input:focus-within {
    border-color: var(--hb-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(14, 165, 240, 0.12);
}
.hb-input:focus-within > i { color: var(--hb-blue); }

.hb-select {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 14px 40px 14px 42px;
    font-size: 15px;
    font-family: inherit;
    color: var(--hb-ink);
    outline: none;
    border-radius: 12px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.hb-input::after {
    content: '';
    position: absolute;
    right: 16px;
    width: 9px; height: 9px;
    border-right: 2px solid #98a7b8;
    border-bottom: 2px solid #98a7b8;
    transform: rotate(45deg) translateY(-2px);
    pointer-events: none;
}
.hb-select option { color: #0B2440; }

.hb-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(120deg, #0EA5F0 0%, #0B8FD8 100%);
    color: #fff;
    border: 0;
    font-weight: 700;
    font-size: 15.5px;
    padding: 16px 24px;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 6px;
    box-shadow: 0 10px 24px rgba(14, 165, 240, 0.32);
    transition: transform .2s, box-shadow .2s, background .2s;
}
.hb-submit:hover {
    transform: translateY(-2px);
    background: linear-gradient(120deg, #0B8FD8 0%, #0B2440 100%);
    box-shadow: 0 14px 30px rgba(14, 165, 240, 0.4);
}
.hb-submit__arrow { transition: transform .2s; }
.hb-submit:hover .hb-submit__arrow { transform: translateX(4px); }

.hb-form__note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 0;
    font-size: 12.5px;
    color: var(--hb-muted);
}
.hb-form__note i { color: var(--hb-blue); font-size: 13px; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 991px) {
    .hb-hero__bg {
        background-image: var(--hb-img-m);
        background-position: center top;
    }
    .hb-hero__overlay {
        background: linear-gradient(180deg, rgba(7, 24, 42, 0.78) 0%, rgba(7, 24, 42, 0.86) 45%, rgba(7, 24, 42, 0.96) 100%);
    }
    .hb-hero__inner {
        grid-template-columns: 1fr;
        gap: 32px;
        min-height: 0;
        padding: 48px 20px;
        text-align: center;
    }
    .hb-hero__content { max-width: 640px; margin: 0 auto; }
    .hb-title { white-space: normal; font-size: clamp(1.9rem, 7vw, 2.6rem); }
    .hb-desc { margin-left: auto; margin-right: auto; }
    .hb-trust { justify-content: center; }
    .hb-form-card { max-width: 480px; margin: 0 auto; width: 100%; }
}
@media (max-width: 575px) {
    .hb-form-card { padding: 26px 20px; }
    .hb-hero__inner { padding: 38px 16px; }
    .hb-trust { gap: 10px 18px; }
    .hb-trust li { font-size: 13.5px; }
    .hb-form-card__head { text-align: left; }
}
