/* ==================================================================
   Tuma Lead — Genel (public) stil
   Kimlik: koyu lacivert taban + mavi aksan + monospace teknik etiket
   ================================================================== */

:root {
    --ink:        #0F1A2E;
    --ink-2:      #16233D;
    --ink-3:      #1E2F4D;
    --paper:      #F5F7FA;
    --white:      #FFFFFF;
    --accent:     #2F6BFF;
    --accent-d:   #1F54D6;
    --signal:     #FF7A45;
    --text:       #1A2336;
    --muted:      #5B6678;
    --muted-2:    #8A94A6;
    --line:       rgba(15, 26, 46, 0.10);
    --line-2:     rgba(15, 26, 46, 0.06);
    --line-dark:  rgba(255, 255, 255, 0.12);
    --radius:     14px;
    --radius-sm:  10px;
    --shadow:     0 18px 40px -22px rgba(15, 26, 46, 0.35);
    --shadow-lg:  0 40px 90px -40px rgba(15, 26, 46, 0.55);
    --mono:       'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    --display:    'Space Grotesk', system-ui, sans-serif;
    --body:       'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--body);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

/* ---------------- Marka işareti ---------------- */
.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-family: var(--display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.5px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

/* ---------------- Butonlar ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    padding: 13px 22px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .12s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
    background: none;
    color: var(--text);
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px -12px rgba(47,107,255,0.8);
}
.btn-primary:hover { background: var(--accent-d); box-shadow: 0 14px 30px -12px rgba(47,107,255,0.9); }

.btn-ghost {
    background: transparent;
    border-color: var(--line);
    color: var(--text);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.site-header .btn-ghost,
.hero .btn-ghost { color: #fff; border-color: var(--line-dark); }
.hero .btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.06); }

/* ---------------- Üst bar ---------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(15, 26, 46, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line-dark);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-text {
    font-family: var(--display);
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    letter-spacing: -0.2px;
}
.nav-links { display: flex; gap: 28px; }
.nav-links a {
    color: rgba(255,255,255,0.72);
    font-size: 14.5px;
    font-weight: 500;
    transition: color .15s ease;
}
.nav-links a:hover { color: #fff; }
.btn-cta { padding: 10px 18px; font-size: 14px; }

/* ---------------- Eyebrow (mono etiket) ---------------- */
.eyebrow {
    display: inline-block;
    font-family: var(--mono);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--accent);
    text-transform: none;
}
.section-dark .eyebrow,
.hero .eyebrow { color: #6F9BFF; }

/* ---------------- HERO ---------------- */
.hero {
    position: relative;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    padding: 96px 0 110px;
}
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 30% 0%, #000 35%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 0%, #000 35%, transparent 75%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(47,107,255,0.35), transparent 65%);
    filter: blur(20px);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero-title {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(34px, 5.4vw, 60px);
    line-height: 1.05;
    letter-spacing: -1.2px;
    margin: 18px 0 0;
}
.hero-title .hl {
    color: var(--accent);
    position: relative;
    white-space: nowrap;
}
.hero-sub {
    margin: 22px 0 0;
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255,255,255,0.78);
    max-width: 620px;
}
.hero-actions {
    margin-top: 34px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.trust-strip {
    margin-top: 52px;
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.t-num {
    font-family: var(--mono);
    font-weight: 600;
    font-size: 24px;
    color: #fff;
}
.t-lbl { font-size: 13px; color: rgba(255,255,255,0.6); }
.trust-sep { width: 1px; height: 34px; background: var(--line-dark); }

/* ---------------- Bölümler ---------------- */
.section { padding: 88px 0; }
.section-dark { background: var(--ink); color: #fff; }

.section-head { max-width: 620px; margin-bottom: 44px; }
.section-title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(26px, 3.4vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.6px;
    margin: 12px 0 0;
}

/* ---------------- Hizmet grid ---------------- */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.svc-card {
    text-align: left;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px 22px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease;
    font-family: var(--body);
    position: relative;
    overflow: hidden;
}
.svc-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .2s ease;
}
.svc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.svc-card:hover::before { transform: scaleY(1); }
.svc-icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 11px;
    background: rgba(47,107,255,0.10);
    color: var(--accent);
    margin-bottom: 6px;
}
.svc-icon svg { width: 24px; height: 24px; }
.svc-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 18px;
    color: var(--text);
}
.svc-desc { font-size: 14px; color: var(--muted); flex: 1; }
.svc-price {
    font-size: 13px;
    color: var(--muted-2);
    margin-top: 10px;
    font-family: var(--mono);
}
.svc-price strong { color: var(--text); font-weight: 600; }
.svc-cta {
    font-family: var(--display);
    font-weight: 600;
    font-size: 14px;
    color: var(--accent);
    margin-top: 14px;
}

/* ---------------- Süreç ---------------- */
.process {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: none;
}
.proc-step {
    border-top: 1px solid var(--line-dark);
    padding-top: 22px;
}
.proc-num {
    font-family: var(--mono);
    font-weight: 600;
    font-size: 14px;
    color: var(--signal);
    letter-spacing: 1px;
}
.proc-step h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 20px;
    margin: 14px 0 8px;
    color: #fff;
}
.proc-step p { margin: 0; font-size: 15px; color: rgba(255,255,255,0.7); }

/* ---------------- Neden biz ---------------- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.why-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    background: var(--paper);
}
.why-card h3 {
    font-family: var(--display);
    font-weight: 600;
    font-size: 19px;
    margin: 0 0 8px;
}
.why-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------------- CTA bandı ---------------- */
.cta-band {
    background: linear-gradient(120deg, var(--accent), #4D80FF);
    color: #fff;
    padding: 56px 0;
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.cta-band h2 {
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(24px, 3vw, 32px);
    margin: 0 0 6px;
    letter-spacing: -0.4px;
}
.cta-band p { margin: 0; color: rgba(255,255,255,0.85); }
.cta-band .btn-primary {
    background: #fff;
    color: var(--accent-d);
    box-shadow: 0 16px 30px -14px rgba(0,0,0,0.4);
}
.cta-band .btn-primary:hover { background: #F0F4FF; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #fff; padding: 56px 0 28px; }
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    flex-wrap: wrap;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--line-dark);
}
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-name { font-family: var(--display); font-weight: 700; font-size: 18px; }
.footer-tag { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; text-align: right; }
.footer-contact a { color: rgba(255,255,255,0.8); font-size: 15px; }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 22px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.footer-admin { color: rgba(255,255,255,0.5); }
.footer-admin:hover { color: #fff; }

/* ==================================================================
   TEKLİF SİHİRBAZI (OVERLAY)
   ================================================================== */
.funnel-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
}
.funnel-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 14, 26, 0.72);
    backdrop-filter: blur(4px);
}
.funnel-modal {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 92vh;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: pop .22s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

.funnel-close {
    position: absolute;
    top: 14px; right: 16px;
    width: 34px; height: 34px;
    border: none;
    background: var(--paper);
    border-radius: 9px;
    font-size: 22px;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    z-index: 3;
    transition: background .15s ease, color .15s ease;
}
.funnel-close:hover { background: #E8ECF3; color: var(--text); }

/* İlerleme */
.funnel-progress { padding: 26px 30px 0; }
.fp-bar {
    height: 4px;
    background: var(--line);
    border-radius: 99px;
    overflow: hidden;
}
.fp-fill {
    display: block;
    height: 100%;
    width: 20%;
    background: var(--accent);
    border-radius: 99px;
    transition: width .3s cubic-bezier(.2,.8,.3,1);
}
.fp-steps { display: flex; gap: 8px; margin-top: 12px; }
.fp-dot {
    flex: 1;
    height: 5px;
    border-radius: 99px;
    background: var(--line);
    transition: background .2s ease;
}
.fp-dot.done { background: rgba(47,107,255,0.45); }
.fp-dot.active { background: var(--accent); }

/* Gövde */
.funnel-body {
    padding: 24px 30px 8px;
    overflow-y: auto;
    flex: 1;
}
.fstep-title {
    font-family: var(--display);
    font-weight: 600;
    font-size: 22px;
    letter-spacing: -0.4px;
    margin: 6px 0 4px;
}
.fstep-sub { margin: 0 0 20px; color: var(--muted); font-size: 14.5px; }

/* Hizmet kartları (grid) */
.choice-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.choice-card {
    text-align: left;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 16px 16px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.choice-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.choice-card.selected {
    border-color: var(--accent);
    background: rgba(47,107,255,0.06);
    box-shadow: inset 0 0 0 1px var(--accent);
}
.cc-name { font-family: var(--display); font-weight: 600; font-size: 15px; }
.cc-desc { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* Satır seçimler (ölçek/özellik) */
.choice-list { display: flex; flex-direction: column; gap: 10px; }
.choice-list.compact { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.choice-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 15px 18px;
    background: var(--white);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
    font-family: var(--body);
}
.choice-row:hover { border-color: var(--accent); }
.choice-row.selected { border-color: var(--accent); background: rgba(47,107,255,0.06); }
.cr-radio {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid var(--line);
    flex-shrink: 0;
    transition: border-color .15s ease;
    position: relative;
}
.choice-row.selected .cr-radio { border-color: var(--accent); }
.choice-row.selected .cr-radio::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--accent);
}
.cr-check {
    width: 20px; height: 20px;
    border-radius: 6px;
    border: 2px solid var(--line);
    flex-shrink: 0;
    position: relative;
    transition: border-color .15s ease, background .15s ease;
}
.choice-row.selected .cr-check {
    border-color: var(--accent);
    background: var(--accent);
}
.choice-row.selected .cr-check::after {
    content: '';
    position: absolute;
    left: 6px; top: 2px;
    width: 5px; height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.cr-label { flex: 1; font-size: 15px; font-weight: 500; color: var(--text); }
.cr-add { font-family: var(--mono); font-size: 12.5px; color: var(--muted-2); }

/* Bütçe & zaman alanları */
.field-block { margin-bottom: 22px; }
.field-label {
    display: block;
    font-family: var(--mono);
    font-size: 12.5px;
    color: var(--muted);
    margin-bottom: 10px;
}
.pill {
    border: 1.5px solid var(--line);
    border-radius: 99px;
    padding: 9px 16px;
    background: var(--white);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    font-family: var(--body);
    transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.pill:hover { border-color: var(--accent); }
.pill.selected { border-color: var(--accent); background: var(--accent); color: #fff; }

/* İletişim alanları */
.contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.contact-fields label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}
.contact-fields label.full { grid-column: 1 / -1; }
.contact-fields input,
.contact-fields textarea {
    font-family: var(--body);
    font-size: 15px;
    color: var(--text);
    padding: 12px 14px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--white);
    transition: border-color .15s ease, box-shadow .15s ease;
    width: 100%;
    resize: vertical;
}
.contact-fields input:focus,
.contact-fields textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(47,107,255,0.12);
}

/* Başarı adımı */
.fstep-success { text-align: center; padding: 20px 0 10px; }
.success-mark {
    width: 64px; height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(22,163,74,0.12);
    color: #16A34A;
    display: grid; place-items: center;
    font-size: 32px;
    font-weight: 700;
}
.ref-code { font-family: var(--mono); color: var(--accent); }

/* Alt: tahmin + nav */
.funnel-foot {
    border-top: 1px solid var(--line);
    padding: 16px 30px;
    background: var(--paper);
}
.estimate-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 14px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--signal);
}
.est-label { font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.est-value {
    font-family: var(--display);
    font-weight: 700;
    font-size: 22px;
    color: var(--text);
    letter-spacing: -0.3px;
}
.est-note { font-size: 11px; color: var(--muted-2); }
.funnel-nav { display: flex; gap: 10px; justify-content: flex-end; }
.funnel-nav .btn-ghost { color: var(--text); }

/* Uyarı kutusu */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-top: 14px;
}
.alert-error { background: rgba(225,29,72,0.08); color: #B4123C; border: 1px solid rgba(225,29,72,0.2); }

/* ---------------- Erişilebilirlik ---------------- */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.btn:focus-visible { outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 860px) {
    .svc-grid { grid-template-columns: 1fr 1fr; }
    .process { grid-template-columns: 1fr; gap: 6px; }
    .why-grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
}
@media (max-width: 560px) {
    .container { padding: 0 18px; }
    .hero { padding: 64px 0 76px; }
    .section { padding: 60px 0; }
    .svc-grid { grid-template-columns: 1fr; }
    .choice-grid { grid-template-columns: 1fr; }
    .contact-fields { grid-template-columns: 1fr; }
    .trust-strip { gap: 16px; }
    .trust-sep { display: none; }
    .funnel-modal { max-height: 96vh; }
    .funnel-body { padding: 20px 20px 6px; }
    .funnel-progress { padding: 22px 20px 0; }
    .funnel-foot { padding: 14px 20px; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}
