/* =========================================================
   Karakoc Sorgu Paneli - space
   Tema: AYDINLIK / Manrope + Space Grotesk / Teal + Amber
   ========================================================= */

:root {
    --bg: #fbfbfc;
    --surface: #ffffff;
    --surface-2: #f2f4f7;
    --ink: #15171c;
    --ink-2: #3d4450;
    --muted: #667085;
    --line: #e5e8ee;
    --brand: #0f766e;
    --brand-d: #0b5d57;
    --accent: #f59e0b;
    --accent-d: #d97706;
    --ink-inv: #ffffff;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow: 0 8px 24px rgba(16, 24, 40, .07);
    --shadow-lg: 0 18px 48px rgba(16, 24, 40, .10);
    --head: 'Space Grotesk', 'Trebuchet MS', sans-serif;
    --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
    --max: 1160px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }

a { text-decoration: none; color: inherit; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }

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

/* ---------------- HEADER ---------------- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(251, 251, 252, .92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--head); font-weight: 700; font-size: 1.12rem; color: var(--ink);
}
.brand-mark {
    width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center;
    background: linear-gradient(140deg, var(--brand) 0%, var(--brand-d) 100%);
    color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .02em;
    box-shadow: var(--shadow-sm);
}
.brand-sub { color: var(--muted); font-weight: 500; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }

.nav-links { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-links a {
    color: var(--muted); font-size: .9rem; font-weight: 600;
    padding: 8px 13px; border-radius: 9px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand); background: rgba(15, 118, 110, .08); }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-weight: 700; font-size: .92rem; border-radius: 11px; padding: 11px 20px;
    border: 1px solid transparent; white-space: nowrap;
}
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(15, 118, 110, .22); }
.btn-brand:hover { background: var(--brand-d); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-amber { background: var(--accent); color: #1c1206; box-shadow: 0 6px 18px rgba(245, 158, 11, .28); }
.btn-amber:hover { background: var(--accent-d); color: #fff; transform: translateY(-1px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; border-radius: 13px; }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.hamburger { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface); }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* ---------------- HERO ---------------- */
.hero { padding: 76px 0 60px; position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(680px 320px at 12% 8%, rgba(15, 118, 110, .10), transparent 60%),
        radial-gradient(560px 300px at 92% 30%, rgba(245, 158, 11, .12), transparent 60%);
    pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--brand); background: rgba(15, 118, 110, .09);
    border: 1px solid rgba(15, 118, 110, .18);
    padding: 7px 14px; border-radius: 100px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(245, 158, 11, .22); }

.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); margin: 22px 0 18px; }
.hero h1 em { font-style: normal; color: var(--brand); position: relative; }
.hero h1 em::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: .08em; height: .3em;
    background: rgba(245, 158, 11, .34); z-index: -1; border-radius: 3px;
}
.hero-lead { font-size: 1.08rem; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.trust { display: flex; flex-wrap: wrap; gap: 10px; }
.trust span {
    font-size: .8rem; font-weight: 600; color: var(--muted);
    background: var(--surface); border: 1px solid var(--line);
    padding: 7px 13px; border-radius: 100px; box-shadow: var(--shadow-sm);
}
.trust span::before { content: '✓'; color: var(--brand); font-weight: 800; margin-right: 6px; }

/* hero panel mock */
.panel-mock {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.panel-bar {
    display: flex; align-items: center; gap: 7px;
    padding: 13px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line);
}
.panel-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6dae2; }
.panel-bar i:first-child { background: #fca5a5; }
.panel-bar i:nth-child(2) { background: #fcd34d; }
.panel-bar i:nth-child(3) { background: #86efac; }
.panel-bar .url {
    margin-left: 8px; font-size: .74rem; color: var(--muted);
    background: var(--surface); border: 1px solid var(--line);
    padding: 4px 12px; border-radius: 7px;
}
.panel-body { padding: 20px; display: grid; gap: 12px; }
.panel-row {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px;
    background: var(--surface); font-size: .88rem;
}
.panel-row b { font-family: var(--head); font-weight: 600; color: var(--ink); }
.panel-row small { color: var(--muted); font-size: .78rem; display: block; font-weight: 500; }
.badge-ok { font-size: .7rem; font-weight: 800; color: var(--brand); background: rgba(15, 118, 110, .1); padding: 4px 10px; border-radius: 100px; }
.badge-wait { font-size: .7rem; font-weight: 800; color: var(--accent-d); background: rgba(245, 158, 11, .14); padding: 4px 10px; border-radius: 100px; }

/* ---------------- STATS ---------------- */
.stats { border-block: 1px solid var(--line); background: var(--surface); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 30px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--head); font-size: 2rem; color: var(--brand); line-height: 1.1; }
.stat span { font-size: .82rem; color: var(--muted); font-weight: 600; }

/* ---------------- SECTIONS ---------------- */
.section { padding: 74px 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--line); }

.section-head { max-width: 660px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-tag {
    display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .14em;
    text-transform: uppercase; color: var(--accent-d); margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* ---------------- SERVICES (numarali liste) ---------------- */
.svc-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc {
    display: flex; gap: 18px; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}
.svc:hover { border-color: rgba(15, 118, 110, .35); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc-num {
    flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
    display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: .95rem;
    background: rgba(15, 118, 110, .10); color: var(--brand); border: 1px solid rgba(15, 118, 110, .18);
}
.svc-body { flex: 1; }
.svc-body h3 { font-size: 1.06rem; margin-bottom: 6px; }
.svc-body p { font-size: .92rem; color: var(--muted); margin-bottom: 10px; }
.svc-link { font-size: .86rem; font-weight: 700; color: var(--brand); display: inline-flex; gap: 5px; align-items: center; }
.svc-link:hover { gap: 9px; color: var(--brand-d); }

/* ---------------- STEPS ---------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding-top: 44px; }
.step::before {
    counter-increment: step; content: counter(step, decimal-leading-zero);
    position: absolute; top: 0; left: 0;
    font-family: var(--head); font-weight: 700; font-size: 1.9rem;
    color: var(--line);
}
.step::after {
    content: ''; position: absolute; top: 30px; left: 44px; right: -20px; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--muted); }

/* ---------------- FAQ ---------------- */
.faq { display: grid; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq details {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
}
.faq details[open] { border-color: rgba(15, 118, 110, .3); box-shadow: var(--shadow-sm); }
.faq summary {
    list-style: none; cursor: pointer; padding: 18px 22px;
    font-family: var(--head); font-weight: 600; font-size: .99rem;
    display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--brand); font-size: 1.4rem; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; color: var(--muted); font-size: .95rem; }

/* ---------------- CONTENT PROSE ---------------- */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.5rem; margin: 34px 0 12px; }
.prose h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.prose p { color: var(--muted); margin-bottom: 14px; }
.prose ul.checks { display: grid; gap: 9px; margin: 16px 0 20px; }
.prose ul.checks li { position: relative; padding-left: 30px; color: var(--ink); font-size: .96rem; }
.prose ul.checks li::before {
    content: '✓'; position: absolute; left: 0; top: 1px;
    width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center;
    background: rgba(15, 118, 110, .12); color: var(--brand); font-size: .72rem; font-weight: 800;
}
.callout {
    background: rgba(245, 158, 11, .08); border-left: 3px solid var(--accent);
    padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 20px 0;
}
.callout p { margin: 0; color: var(--ink); font-size: .94rem; }

/* ---------------- PAGE HEADER (ic sayfa) ---------------- */
.page-head {
    padding: 62px 0 46px; background: var(--surface); border-bottom: 1px solid var(--line);
    position: relative; overflow: hidden;
}
.page-head::after {
    content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(245, 158, 11, .16), transparent 68%);
}
.crumbs { position: relative; font-size: .8rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--brand); font-weight: 600; }
.crumbs span { margin: 0 7px; color: var(--line); }
.page-head h1 { position: relative; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 12px; }
.page-head .lead { position: relative; color: var(--muted); font-size: 1.05rem; max-width: 660px; }
.page-head .tagline {
    position: relative; display: inline-flex; gap: 8px; align-items: center; margin-top: 20px;
    font-size: .82rem; font-weight: 700; color: var(--brand);
    background: rgba(15, 118, 110, .08); border: 1px solid rgba(15, 118, 110, .18);
    padding: 8px 15px; border-radius: 100px;
}

/* ---------------- CTA ---------------- */
.cta {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-d) 100%);
    border-radius: var(--radius-lg); padding: 52px 44px; text-align: center;
    color: #fff; position: relative; overflow: hidden;
}
.cta::before {
    content: ''; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px;
    background: radial-gradient(circle, rgba(245, 158, 11, .45), transparent 70%);
}
.cta h2 { position: relative; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; color: #fff; }
.cta p { position: relative; color: rgba(255, 255, 255, .84); max-width: 560px; margin: 0 auto 26px; }
.cta .btn-amber { position: relative; }

/* ---------------- FOOTER ---------------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 54px 0 0; margin-top: 74px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 38px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; color: var(--muted); max-width: 320px; }
.footer-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 9px; }
.footer-col a { font-size: .9rem; color: var(--muted); }
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
    border-top: 1px solid var(--line); padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    font-size: .84rem; color: var(--muted);
}
.footer-bottom a { color: var(--brand); font-weight: 600; }

/* ---------------- SEO FOOTER (oranet) ---------------- */
.seo-footer {
    text-align: center; padding: 26px 16px; font-size: 12px;
    background: var(--surface-2); border-top: 1px solid var(--line); color: var(--muted);
}
.seo-footer p { margin-bottom: 12px; font-size: 13px; }
.seo-footer .prov { color: var(--ink); font-weight: 700; }
.seo-footer .prov a { color: var(--brand); font-weight: 800; }
.seo-footer .kw-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-bottom: 12px; }
.seo-footer .kw-row a {
    font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 8px;
    background: rgba(15, 118, 110, .1); color: var(--brand);
}
.seo-footer .kw-row a:nth-child(2n) { background: rgba(245, 158, 11, .14); color: var(--accent-d); }
.seo-footer .thin { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 11px; }
.seo-footer .thin a { color: var(--muted); }
.seo-footer .thin span { color: var(--line); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2n) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .svc-list { grid-template-columns: 1fr; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step::after { display: none; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .nav-links {
        position: absolute; top: 72px; left: 0; right: 0;
        background: var(--surface); border-bottom: 1px solid var(--line);
        flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px 20px 18px; display: none; box-shadow: var(--shadow);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 14px; font-size: 1rem; }
    .hamburger { display: block; }
    .nav-cta .btn-ghost { display: none; }
    .hero { padding: 52px 0 44px; }
    .section { padding: 54px 0; }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .cta { padding: 38px 24px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
