:root {
    --brand-50: #ecfdf5;
    --brand-100: #d1fae5;
    --brand-200: #a7f3d0;
    --brand-500: #10b981;
    --brand-600: #059669;
    --brand-700: #047857;
}

html { scroll-behavior: smooth; }
[hidden] { display: none !important; }

/* Header */
.nav-link { position: relative; transition: color .15s; }
.nav-link:hover, .nav-link.is-active { color: var(--brand-600); }
.nav-link.is-active::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 16px;
    height: 2px; border-radius: 2px; background: var(--brand-600);
}

/* Hero */
.hero-bg { background: linear-gradient(180deg, #ecfdf5 0%, #f6fefb 45%, #ffffff 100%); }

/* Bölüm başlıkları */
.eyebrow {
    font-size: 12px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
    color: var(--brand-600);
}
.eyebrow-pill {
    display: inline-block; padding: 6px 14px; border: 1px solid #e2e8f0;
    border-radius: 999px; background: #fff;
}

/* Kartlar */
.feature-card {
    border: 1px solid #e2e8f0; border-radius: 14px; background: #fff;
    padding: 22px; box-shadow: 0 1px 2px rgba(15,23,42,.04);
    transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: 0 12px 30px rgba(15,23,42,.08); transform: translateY(-2px); }
.product-card {
    display: flex; flex-direction: column;
    border: 1px solid #e2e8f0; border-radius: 14px; background: #fff;
    padding: 20px; box-shadow: 0 1px 2px rgba(15,23,42,.04);
    transition: box-shadow .2s;
}
.product-card:hover { box-shadow: 0 16px 36px rgba(15,23,42,.09); }

/* Hesaplama */
.calc-tab {
    border: 1px solid #e2e8f0; border-radius: 999px; padding: 4px 10px;
    font-size: 12px; font-weight: 600; color: #475569; background: #fff;
}
.calc-tab:hover { border-color: var(--brand-500); }
.calc-tab.is-active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.calc-input {
    display: inline-flex; align-items: baseline; gap: 8px;
    background: #f1f5f9; border-radius: 8px; padding: 8px 12px; min-width: 128px;
}
.calc-input input {
    width: 100%; min-width: 0; border: 0; padding: 0; background: transparent;
    text-align: right; font-weight: 700; font-size: 18px; color: var(--brand-700);
}
.calc-input input:focus { outline: none; box-shadow: none; }
.calc-input small { font-size: 11px; color: #64748b; }

.range { -webkit-appearance: none; appearance: none; height: 4px; border-radius: 999px; background: var(--brand-100); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--brand-600); border: 3px solid #fff; cursor: pointer; box-shadow: 0 0 0 1px var(--brand-600), 0 2px 6px rgba(0,0,0,.2); }
.range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--brand-600); border: 3px solid #fff; cursor: pointer; }

/* Süreç haritası */
.steps { position: relative; }
@media (min-width: 1024px) {
    .steps::before {
        content: ''; position: absolute; top: 22px; left: 3%; right: 3%;
        height: 2px; background: var(--brand-200);
    }
}
.step { position: relative; }
.step-num {
    display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: #fff; border: 2px solid var(--brand-200); color: var(--brand-700);
    font-weight: 800; box-shadow: 0 0 0 6px #fff, 0 6px 16px rgba(16,185,129,.15);
}

/* Footer */
.footer-title { color: var(--brand-500); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
footer a { transition: color .15s; }
footer ul a:hover { color: #fff; }

.wa-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 50;
    width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center; font-size: 26px; color: #fff; background: #25D366;
    box-shadow: 0 0 0 6px rgba(37,211,102,.18), 0 10px 25px rgba(0,0,0,.18);
    transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }

/* Başvuru: stepper */
.stepper { display: flex; justify-content: space-between; position: relative; max-width: 820px; margin: 0 auto; }
.stepper::before { content: ''; position: absolute; top: 25px; left: 8%; right: 8%; height: 2px; background: #e2e8f0; }
.stepper-item { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; width: 33%; }
.stepper-item span {
    width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; border: 2px solid #e2e8f0; color: #64748b; font-weight: 700; font-size: 18px;
}
.stepper-item b { margin-top: 10px; font-size: 14px; color: #475569; }
.stepper-item small { font-size: 12px; color: #94a3b8; }
.stepper-item.is-current span { background: var(--brand-600); border-color: var(--brand-600); color: #fff; box-shadow: 0 6px 16px rgba(5,150,105,.3); }
.stepper-item.is-current b { color: #0f172a; }
.stepper-item.is-current small { color: var(--brand-600); }

/* Başvuru: form */
.form-label { display: block; font-size: 14px; font-weight: 600; color: #0f172a; margin-bottom: 6px; }
.form-label i { color: #ef4444; font-style: normal; }
.form-hint { display: block; margin-top: 4px; font-size: 12px; color: #64748b; }
input.form-input-lg, select.form-input-lg {
    width: 100%; border: 1px solid #e2e8f0; border-radius: 10px; padding: 12px 16px;
    font-size: 16px; background: #fff; color: #0f172a;
}
input.form-input-lg:focus, select.form-input-lg:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(16,185,129,.15); outline: none; }
input.form-input-lg.is-invalid { border-color: #ef4444; }
input.form-input-lg.is-invalid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.15); }
.form-hint.is-error { color: #dc2626; }
.phone-group { display: flex; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; background: #fff; }
.phone-group:focus-within { border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(16,185,129,.15); }
.phone-prefix { display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #f8fafc; border-right: 1px solid #e2e8f0; color: #475569; font-size: 14px; }
.phone-group input[type] { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font-size: 16px; }
.phone-group input[type]:focus { outline: none; box-shadow: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.side-step { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #e2e8f0; border-radius: 12px; padding: 14px; }
.side-step > span { flex: none; width: 30px; height: 30px; border-radius: 8px; background: #f1f5f9; color: #64748b; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.side-step b { display: block; color: #334155; font-weight: 600; }
.side-step small { display: block; font-size: 11px; color: #94a3b8; }
.side-step p { margin-top: 8px; font-size: 12px; color: #64748b; line-height: 1.5; }
.side-step.is-current { background: var(--brand-50); border-color: var(--brand-200); }
.side-step.is-current > span { background: var(--brand-600); color: #fff; }
.side-step.is-current b { color: #0f172a; }
.side-step.is-current small { color: var(--brand-600); font-weight: 600; }

/* Robot kontrolü */
.robot-box {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    max-width: 360px; padding: 14px 18px;
    background: #f8fafc; border: 2px solid #e2e8f0; border-radius: 10px;
}
.robot-box.is-error { border-color: #ef4444; }
.robot-box.is-done { border-color: var(--brand-200); background: var(--brand-50); }
.robot-check { display: flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; }
.robot-check:disabled { cursor: default; }
.robot-check__box {
    position: relative; width: 26px; height: 26px; flex: none;
    border: 2px solid #cbd5e1; border-radius: 6px; background: #fff;
    display: grid; place-items: center; transition: border-color .2s;
}
.robot-check:hover .robot-check__box { border-color: #94a3b8; }
.robot-check__box .bi {
    display: block; font-size: 22px; line-height: 1; color: var(--brand-600);
    opacity: 0; transform: scale(.4); transition: all .25s;
}
/* bootstrap-icons ::before'a vertical-align: -.125em verir, tik kutunun altına kayıyordu */
.robot-check__box .bi::before { display: block; vertical-align: 0; }
.robot-check__spin {
    position: absolute; inset: -2px; border-radius: 50%;
    border: 3px solid var(--brand-100); border-top-color: var(--brand-600);
    opacity: 0; animation: robot-spin .7s linear infinite;
}
.robot-box.is-loading .robot-check__box { border-color: transparent; background: transparent; }
.robot-box.is-loading .robot-check__spin { opacity: 1; }
.robot-box.is-done .robot-check__box { border-color: var(--brand-600); }
.robot-box.is-done .robot-check__box .bi { opacity: 1; transform: scale(1); }
@keyframes robot-spin { to { transform: rotate(360deg); } }

/* Başarılı ekranı */
.success-icon {
    width: 88px; height: 88px; border-radius: 50%;
    background: var(--brand-50); color: var(--brand-600);
    display: grid; place-items: center; font-size: 48px;
    box-shadow: 0 0 0 10px rgba(16,185,129,.08);
    animation: pop .45s cubic-bezier(.2,1.6,.4,1);
}
@keyframes pop { from { transform: scale(.3); opacity: 0; } to { transform: scale(1); opacity: 1; } }
