/* kolayteklifgonder görünümü. Açık ve ferah: lacivert yazıda, okyanus mavisi eylemlerde.
   Sayfalardaki Bootstrap/Tabler sınıf adları (card, btn, row/col-*, list-group, badge, form-*) burada bu görünümle tanımlıdır.
   Kırılımlar: sm 576, md 768, lg 992 (yan menü / alt sekme çubuğu geçişi), xl 1200. */
/* Yazı tipleri kendi sunucudan (Google Fonts'a istek yok, ilk çizim hızlanır). SIL Open Font License; Türkçe için latin + latin-ext. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-italic-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-italic-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }


:root {
    --bg: #F8FAFC; --sf: #FFFFFF; --sf2: #F1F5F9; --ln: #E2E8F0; --ln2: #CBD5E1;
    --ink: #0F172A; --mut: #475569; --faint: #64748B;
    --pri: #0369A1; --pri-h: #075985; --tint: #E0F2FE; --sky: #38BDF8;
    --ok: #15803D; --ok-b: #DCFCE7; --wa: #B45309; --wa-b: #FEF3C7; --no: #B91C1C; --no-b: #FEE2E2; --in: #0369A1; --in-b: #E0F2FE;
    --r: 10px; --r-lg: 14px;
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --tabbar: 64px;
    --side: 248px;
    color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--pri); text-decoration: none; }
a:hover { color: var(--pri-h); text-decoration: underline; }
h1, h2, h3, h4, h5 { margin: 0 0 .5rem; line-height: 1.2; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: 1.5rem; } h2, .h2 { font-size: 1.375rem; } h3, .h3 { font-size: 1.125rem; } h4 { font-size: 1rem; }
.h2, .h3 { font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 .75rem; }
hr { border: 0; border-top: 1px solid var(--ln); margin: 1rem 0; }
img { max-width: 100%; }
small, .small { font-size: .8125rem; }
code, .font-monospace { font-family: ui-monospace, Consolas, monospace; font-size: .875em; }
:focus-visible { outline: 2px solid var(--pri); outline-offset: 2px; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--r); }
.skip-link:focus { top: 8px; }

/* ---------- Yerleşim ---------- */
.brand { display: inline-flex; align-items: center; gap: 7px; font-size: 1.1875rem; letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand span { font-weight: 500; color: var(--pri); }
.brand b { font-weight: 800; }

.app-side { display: none; }
.app-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--ln); }
.app-top-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.icon-btn { position: relative; width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: var(--r); border: 1px solid var(--ln); background: var(--sf); color: var(--ink); cursor: pointer; padding: 0; }
.icon-btn:hover { background: var(--sf2); color: var(--ink); text-decoration: none; }
.icon-btn .dot { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: #DC2626; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }

.app-main { padding: 20px 16px 32px; }
.has-nav .app-main { padding-bottom: calc(var(--tabbar) + 32px + env(safe-area-inset-bottom, 0px)); }
.page-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 16px; }
.page-header h1 { margin: 0; font-size: 1.5rem; }
.page-pretitle { color: var(--faint); font-size: .8125rem; font-weight: 600; margin-bottom: 2px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-actions:empty { display: none; }

/* menü öğesi (yan menü ve Diğer sayfası) */
.app-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.app-menu a { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 8px 10px; border-radius: 9px; color: var(--mut); font-weight: 500; }
.app-menu a:hover { background: var(--sf2); color: var(--ink); text-decoration: none; }
.app-menu a[aria-current="page"] { background: var(--tint); color: var(--pri); font-weight: 600; }

/* alt sekme çubuğu (telefon, tablet) */
.app-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--ln); padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px)); }
.app-tabbar ul { list-style: none; margin: 0 auto; padding: 0; max-width: 560px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.app-tabbar a, .app-tabbar button { width: 100%; min-height: 52px; display: grid; justify-items: center; align-content: center; gap: 2px; font: 600 12px/1.2 var(--font); color: var(--mut); background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.app-tabbar a:hover { text-decoration: none; color: var(--ink); }
.app-tabbar .nx-icon { width: 52px; height: 30px; padding: 4px 15px; border-radius: 99px; transition: background-color .15s; }
.app-tabbar a[aria-current="page"] { color: var(--pri); }
.app-tabbar a[aria-current="page"] .nx-icon { background: var(--tint); }
.app-tabbar .tab-new .plus { width: 52px; height: 52px; margin-top: -22px; border-radius: 18px; background: var(--pri); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(3, 105, 161, .32); }
.app-tabbar .tab-new .plus .nx-icon { width: 26px; height: 26px; padding: 0; stroke-width: 2.4; background: none; }
.app-tabbar .tab-new:active .plus { transform: scale(.96); }

/* Diğer: alttan açılan sayfa */
dialog.sheet { margin: auto auto 0; width: 100%; max-width: 560px; max-height: 85dvh; border: 0; border-radius: 20px 20px 0 0; padding: 8px 12px calc(16px + env(safe-area-inset-bottom, 0px)); background: var(--sf); color: var(--ink); overflow: auto; }
dialog.sheet[open] { animation: sheet-in .22s ease-out; }
dialog.sheet::backdrop { background: rgba(15, 23, 42, .35); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 4px 12px; }
.sheet-head strong { font-size: 1.0625rem; }
.sheet .app-menu a { min-height: 50px; color: var(--ink); }
.sheet-logout { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ln); }
@keyframes sheet-in { from { transform: translateY(40px); opacity: .4; } to { transform: none; opacity: 1; } }

@media (min-width: 992px) {
    body.has-nav { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
    .app-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 0; height: 100vh; overflow: auto; padding: 20px 12px 16px; background: var(--sf); border-right: 1px solid var(--ln); }
    .app-side .brand { padding: 0 8px 4px; font-size: 1.0625rem; } /* uzun marka adı menüye sığsın */
    .app-side-foot { margin-top: auto; border-top: 1px solid var(--ln); padding: 12px 8px 0; display: grid; gap: 4px; font-size: .875rem; }
    .app-side-foot a, .app-side-foot .link { color: var(--mut); font-size: .875rem; text-decoration: none; }
    .app-side-foot .app-user-name { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .has-nav .app-top { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; padding: 16px 24px 0; position: static; }
    .has-nav .app-top .brand { display: none; }
    .has-nav .app-main { padding: 4px 24px 40px; }
    .app-tabbar, dialog.sheet { display: none; }
    .page-header h1 { font-size: 1.625rem; }
}

/* menüsüz sayfalar (giriş, kayıt, abonelik) */
.bare .app-top { background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; position: static; padding: 16px 20px; }
.bare .app-main { max-width: 480px; margin: 12px auto 40px; padding: 28px 24px; background: var(--sf); border: 1px solid var(--ln); border-radius: 18px; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
.bare .app-main:has(table, .row) { max-width: 1100px; }
@media (max-width: 575.98px) { .bare .app-main { margin: 4px 12px 32px; padding: 22px 16px; } }
.bare form > p { margin-bottom: 14px; }
.bare form > p > label { margin-bottom: 4px; }

/* online teklif (müşteri) */
.online { --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.online .app-main { padding: 16px 12px 32px; }
.app-main.narrow { max-width: 760px; }

/* açılır kapanır kart (Teklif bilgileri, İç özet): başlıkta ok, kapalıyken alt çizgi yok */
details.card > summary.card-header { list-style: none; }
details.card > summary.card-header::-webkit-details-marker { display: none; }
details.card > summary.card-header::after { content: ""; width: 8px; height: 8px; margin: 0 4px 3px auto; border-right: 2px solid var(--mut); border-bottom: 2px solid var(--mut); transform: rotate(45deg); transition: transform .15s; }
details.card[open] > summary.card-header::after { transform: rotate(-135deg); margin-bottom: -3px; }
details.card:not([open]) > summary.card-header { border-bottom: 0; }
.quote-info-summary { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
details.card[open] .quote-info-summary { display: none; }
.quote-results { max-height: 60vh; overflow-y: auto; }
.made-with { display: flex; justify-content: center; align-items: center; gap: 6px; color: var(--faint); font-size: .8125rem; margin-top: 24px; }
.made-with a { display: inline-flex; align-items: center; gap: 6px; color: inherit; } .made-with a:hover { color: var(--pri); }

/* ---------- Simge ---------- */
.nx-icon { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: -.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
span.nx-icon { display: none; }
.btn .nx-icon { width: 18px; height: 18px; }
.btn-sm .nx-icon { width: 16px; height: 16px; }

/* ---------- Izgara ---------- */
.row { --gx: 16px; --gy: 0px; display: flex; flex-wrap: wrap; margin-top: calc(-1 * var(--gy)); margin-left: calc(-.5 * var(--gx)); margin-right: calc(-.5 * var(--gx)); }
.row > * { flex: 0 0 100%; max-width: 100%; min-width: 0; padding-left: calc(.5 * var(--gx)); padding-right: calc(.5 * var(--gx)); margin-top: var(--gy); }
.g-1 { --gx: 4px; --gy: 4px; } .g-2 { --gx: 8px; --gy: 8px; } .g-3 { --gx: 16px; --gy: 16px; }
.row-cards { --gx: 16px; --gy: 16px; }
.row-cards > * > .card-sm { height: 100%; }
.col-5 { flex: 0 0 41.6667%; max-width: 41.6667%; } .col-6 { flex: 0 0 50%; max-width: 50%; } .col-7 { flex: 0 0 58.3333%; max-width: 58.3333%; } .col-12 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 576px) {
    .col-sm-2 { flex: 0 0 16.6667%; max-width: 16.6667%; } .col-sm-3 { flex: 0 0 25%; max-width: 25%; } .col-sm-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
    .col-sm-5 { flex: 0 0 41.6667%; max-width: 41.6667%; } .col-sm-6 { flex: 0 0 50%; max-width: 50%; } .col-sm-7 { flex: 0 0 58.3333%; max-width: 58.3333%; } .col-sm-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
}
@media (min-width: 768px) {
    .col-md-1 { flex: 0 0 8.3333%; max-width: 8.3333%; } .col-md-2 { flex: 0 0 16.6667%; max-width: 16.6667%; } .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; } .col-md-5 { flex: 0 0 41.6667%; max-width: 41.6667%; } .col-md-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 25%; max-width: 25%; } .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; } .col-lg-5 { flex: 0 0 41.6667%; max-width: 41.6667%; }
    .col-lg-6 { flex: 0 0 50%; max-width: 50%; } .col-lg-7 { flex: 0 0 58.3333%; max-width: 58.3333%; } .col-lg-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
}
@media (min-width: 1200px) { .col-xl-3 { flex: 0 0 25%; max-width: 25%; } .col-xl-9 { flex: 0 0 75%; max-width: 75%; } }
/* Teklif ekranı: sağdaki toplamlar sütunu satırlar uzarken yerinde kalır; ekrandan uzunsa kendi içinde kayar */
@media (min-width: 1200px) { .quote-aside { position: sticky; top: 16px; align-self: flex-start; max-height: calc(100vh - 32px); overflow-y: auto; overscroll-behavior: contain; } }

/* ---------- Kart ---------- */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r-lg); }
.card > :first-child { border-top-left-radius: inherit; border-top-right-radius: inherit; }
.card > :last-child { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; }
.card-body { flex: 1 1 auto; padding: 16px; }
.card-sm > .card-body { padding: 14px 16px; }
.card-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 13px 16px; border-bottom: 1px solid var(--ln); }
.card-title { margin: 0; font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.card-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.card-footer { padding: 12px 16px; border-top: 1px solid var(--ln); background: var(--bg); }
.card > .list-group-flush:last-child, .card > .table-responsive:last-child, .card > .card-table:last-child { border-bottom-left-radius: inherit; border-bottom-right-radius: inherit; overflow: hidden; }
.subheader { color: var(--mut); font-size: .8125rem; font-weight: 500; }
.card-sm .h2 { font-size: 1.375rem; font-variant-numeric: tabular-nums; white-space: nowrap; margin-top: 2px; }
@media (max-width: 575.98px) { .card-sm .h2 { font-size: 1.125rem; } }

/* sekmeler */
.nav { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav-tabs { border-bottom: 1px solid var(--ln); }
.card-header-tabs { border-bottom: 0; margin: -6px 0; }
.nav-link { display: block; padding: 8px 12px; color: var(--mut); font-weight: 600; border-bottom: 2px solid transparent; }
.nav-link:hover { color: var(--ink); text-decoration: none; }
.nav-link.active { color: var(--pri); border-bottom-color: var(--pri); }

/* liste */
.list-group { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.list-group-item { display: block; padding: 11px 16px; border-top: 1px solid var(--ln); color: var(--ink); background: var(--sf); }
.list-group-flush > .list-group-item:first-child { border-top: 0; }
.card-header + .list-group-flush > .list-group-item:first-child { border-top: 0; }
.list-group-item-action { cursor: pointer; min-height: 44px; }
a.list-group-item-action:hover { background: var(--bg); color: var(--ink); text-decoration: none; }

/* ayrıntı ızgarası */
.datagrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: 14px 20px; }
.datagrid-title { color: var(--faint); font-size: .75rem; font-weight: 600; margin-bottom: 2px; }
.datagrid-content { overflow-wrap: anywhere; }

/* ---------- Düğme ---------- */
.btn, button:not([class]), input[type="submit"]:not([class]) {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 9px 16px;
    font: 600 .875rem/1.2 var(--font); border-radius: var(--r); border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; touch-action: manipulation;
}
.btn:hover { text-decoration: none; }
.btn:disabled, .btn.disabled, button:disabled { opacity: .5; cursor: not-allowed; }
.btn { background: var(--sf); color: var(--ink); border-color: var(--ln); }
.btn:hover { background: var(--sf2); color: var(--ink); }
.btn-primary, button:not([class]), input[type="submit"]:not([class]) { background: var(--pri); border-color: var(--pri); color: #fff; }
.btn-primary:hover, button:not([class]):hover { background: var(--pri-h); border-color: var(--pri-h); color: #fff; }
.btn-success { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn-success:hover { background: #166534; color: #fff; }
.btn-warning { background: #F59E0B; border-color: #F59E0B; color: #1C1917; }
.btn-warning:hover { background: #D97706; color: #1C1917; }
.btn-outline-primary { color: var(--pri); border-color: #7DD3FC; background: var(--sf); }
.btn-outline-primary:hover { background: var(--tint); color: var(--pri-h); }
.btn-outline-secondary { color: var(--ink); border-color: var(--ln2); background: var(--sf); }
.btn-outline-danger { color: var(--no); border-color: #FCA5A5; background: var(--sf); }
.btn-outline-danger:hover { background: var(--no-b); color: var(--no); }
.btn-outline-success { color: var(--ok); border-color: #86EFAC; background: var(--sf); }
.btn-outline-success:hover { background: var(--ok-b); color: var(--ok); }
.btn-outline-warning { color: var(--wa); border-color: #FCD34D; background: var(--sf); }
.btn-outline-warning:hover { background: var(--wa-b); color: var(--wa); }
.btn-ghost-secondary, .btn-ghost-danger, .btn-ghost-success, .btn-link { background: transparent; border-color: transparent; }
.btn-ghost-secondary { color: var(--mut); } .btn-ghost-secondary:hover { background: var(--sf2); color: var(--ink); }
.btn-ghost-danger { color: var(--no); } .btn-ghost-danger:hover { background: var(--no-b); color: var(--no); }
.btn-ghost-success { color: var(--ok); } .btn-ghost-success:hover { background: var(--ok-b); color: var(--ok); }
.btn-link { color: var(--pri); } .btn-link:hover { background: transparent; color: var(--pri-h); text-decoration: underline; }
.btn-sm { min-height: 34px; padding: 6px 11px; font-size: .8125rem; border-radius: 8px; }
.btn-list { display: flex; flex-wrap: wrap; gap: 8px; }
button.link { background: none; border: 0; padding: 0; color: var(--pri); cursor: pointer; font: inherit; min-height: 0; }
button.link:hover { text-decoration: underline; }
form.inline { display: inline; }

/* ---------- Rozet ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; font-size: .75rem; font-weight: 600; line-height: 1.5; white-space: nowrap; vertical-align: middle; background: var(--sf2); color: var(--mut); }
.bg-secondary-lt { background: var(--sf2); color: var(--mut); }
.bg-primary-lt, .bg-blue-lt { background: var(--in-b); color: var(--in); }
.bg-azure-lt { background: #E0E7FF; color: #4338CA; }
.bg-orange-lt, .bg-warning-lt, .bg-yellow-lt { background: var(--wa-b); color: var(--wa); }
.bg-green-lt { background: var(--ok-b); color: var(--ok); }
.bg-red-lt { background: var(--no-b); color: var(--no); }
.bg-light { background: var(--bg); }

/* ---------- Form ---------- */
label { display: block; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 1rem; }
.form-label { display: block; margin-bottom: 4px; font-size: .875rem; font-weight: 600; color: var(--ink); }
.form-label.required::after, label.required::after { content: " *"; color: var(--no); }
.form-hint { color: var(--faint); font-size: .8125rem; margin-top: 4px; }
.form-control, .form-select,
input:not([type="checkbox"], [type="radio"], [type="hidden"], [type="submit"], [type="button"], [type="file"], [type="range"], [type="color"]):not([class]),
select:not([class]), textarea:not([class]) {
    display: block; width: 100%; min-height: 44px; padding: 9px 12px; font: 400 16px/1.4 var(--font); color: var(--ink);
    background: var(--sf); border: 1px solid var(--ln2); border-radius: var(--r); transition: border-color .15s, box-shadow .15s; appearance: none;
}
.form-control:focus, .form-select:focus, input:not([class]):focus, select:not([class]):focus, textarea:not([class]):focus { outline: 0; border-color: var(--pri); box-shadow: 0 0 0 3px rgba(3, 105, 161, .18); }
.form-control::placeholder { color: #94A3B8; }
.form-control:disabled, .form-select:disabled, .form-control[readonly] { background: var(--sf2); color: var(--mut); }
textarea.form-control { min-height: 88px; }
input[type="file"].form-control { padding: 8px; }
.form-select, select:not([class]) { padding-right: 36px; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; }
.form-control-sm, .form-select-sm { min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: .875rem; }
@media (max-width: 767.98px) { .form-control-sm, .form-select-sm { font-size: 16px; } }
.form-check { display: flex; align-items: center; gap: 8px; min-height: 36px; margin: 0; cursor: pointer; }
.form-check-input, input[type="checkbox"]:not([class]), input[type="radio"]:not([class]) { width: 18px; height: 18px; margin: 0; accent-color: var(--pri); flex: none; cursor: pointer; }
.form-check-label { cursor: pointer; }
.form-switch .form-check-input { appearance: none; width: 36px; height: 20px; border-radius: 99px; background: var(--ln2); position: relative; transition: background-color .15s; }
.form-switch .form-check-input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.form-switch .form-check-input:checked { background: var(--pri); }
.form-switch .form-check-input:checked::after { transform: translateX(16px); }
.input-group { display: flex; align-items: stretch; width: 100%; }
.input-group > .form-control, .input-group > .form-select { flex: 1 1 auto; width: 1%; min-width: 0; }
.input-group > :not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; margin-left: -1px; }
.input-group > :not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group-text { display: flex; align-items: center; padding: 0 12px; font-size: .875rem; color: var(--mut); background: var(--sf2); border: 1px solid var(--ln2); border-radius: var(--r); white-space: nowrap; }
.input-group-sm > .input-group-text { min-height: 36px; padding: 0 10px; font-size: .8125rem; }
.invalid-feedback, .field-validation-error, .text-danger { color: var(--no); }
.invalid-feedback, .field-validation-error { display: block; font-size: .8125rem; margin-top: 4px; }
.input-validation-error { border-color: var(--no) !important; }
.validation-summary-errors { color: var(--no); background: var(--no-b); border-radius: var(--r); padding: 10px 14px; margin-bottom: 14px; font-size: .875rem; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }

/* ---------- Tablo ---------- */
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ln); vertical-align: top; }
th { color: var(--faint); font-size: .75rem; font-weight: 600; background: var(--bg); white-space: nowrap; }
.table { margin: 0; font-variant-numeric: tabular-nums; }
.table-sm th, .table-sm td { padding: 6px 10px; }
.table-vcenter td, .table-vcenter th { vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table-active, .table-active > td { background: var(--tint); }
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table .text-end { white-space: nowrap; }
.d-flex.justify-content-between > :last-child:not(:first-child) { white-space: nowrap; }
details > summary { cursor: pointer; padding: 8px 0; font-weight: 600; color: var(--pri); }
.card-table th:first-child, .card-table td:first-child { padding-left: 16px; }
.card-table th:last-child, .card-table td:last-child { padding-right: 16px; }
.table tbody tr:hover > td { background: #FBFDFF; }

/* ---------- Uyarı ---------- */
.alert { padding: 11px 14px; margin-bottom: 16px; border-radius: var(--r); border: 1px solid var(--ln); background: var(--sf); font-size: .9375rem; }
.alert-success { background: var(--ok-b); border-color: #BBF7D0; color: #14532D; }
.alert-info { background: var(--in-b); border-color: #BAE6FD; color: #0C4A6E; }
.alert-warning { background: var(--wa-b); border-color: #FDE68A; color: #78350F; }
.alert-danger { background: var(--no-b); border-color: #FECACA; color: #7F1D1D; }
.alert-secondary { background: var(--sf2); color: var(--mut); }
.alert a { color: inherit; text-decoration: underline; }

/* ---------- Modal ---------- */
dialog#nx-modal { width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 18px; background: var(--sf); color: var(--ink); box-shadow: 0 24px 60px rgba(15, 23, 42, .2); overflow: auto; }
dialog#nx-modal::backdrop { background: rgba(15, 23, 42, .4); }
#nx-modal-content > * { margin: 0; }
#nx-modal-content > :not(.card) { padding: 16px; }
#nx-modal-content .card { border: 0; }
@media (max-width: 575.98px) {
    dialog#nx-modal { margin: auto auto 0; width: 100%; max-width: none; border-radius: 20px 20px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}

/* PDF önizleme (site.js data-pdf) */
dialog#nx-pdf { width: min(1000px, calc(100% - 24px)); height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 18px; background: var(--sf); color: var(--ink); box-shadow: 0 24px 60px rgba(15, 23, 42, .2); overflow: hidden; }
dialog#nx-pdf[open] { display: flex; flex-direction: column; }
dialog#nx-pdf::backdrop { background: rgba(15, 23, 42, .4); }
#nx-pdf .pdf-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--ln); }
#nx-pdf .pdf-head strong { margin-right: auto; }
#nx-pdf iframe { flex: 1; width: 100%; border: 0; background: var(--sf2); }

/* Sektör sayfaları (/sektorler, /{slug}-teklif-programi) */
.site-crumbs { font-size: .875rem; color: var(--mut); margin-bottom: 14px; }
.site-crumbs a { color: inherit; }
.site-sector-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.site-sample { margin: 0; padding: 20px; border: 1px solid var(--ln); border-radius: 20px; background: var(--sf); box-shadow: 0 24px 48px -28px rgba(15, 23, 42, .35); }
.site-sample figcaption { font-weight: 700; margin-bottom: 12px; }
.site-sample table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.site-sample th { text-align: left; font-weight: 600; color: var(--mut); border-bottom: 1px solid var(--ln); padding: 6px 4px; }
.site-sample td { padding: 8px 4px; border-bottom: 1px solid var(--ln); vertical-align: top; }
.site-sample .num, .site-sample th:not(:first-child) { text-align: right; white-space: nowrap; }
.site-sample tfoot td { font-weight: 800; border-bottom: 0; padding-top: 12px; }
.site-sample p { margin: 8px 0 0; font-size: .75rem; color: var(--mut); }
.site-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; }
.site-points > div { padding: 22px; border-radius: 18px; background: var(--sf); border: 1px solid var(--ln); }
.site-points dt { font-weight: 800; font-size: 1.0625rem; margin-bottom: 6px; }
.site-points dd { margin: 0; color: var(--mut); line-height: 1.6; }
.site-points-sm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.site-points-sm dd { font-size: .9375rem; }
.site-points dt a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--sky); } .site-points dt a:hover { color: var(--pri); }
.site-prose { font-size: 1.0625rem; line-height: 1.75; color: #334155; margin: 0 0 18px; max-width: 68ch; }
.site-sector-links { list-style: none; padding: 0; margin: 16px 0 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.site-sector-links a { display: inline-block; padding: 8px 14px; border: 1px solid var(--ln); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--sf); }
.site-sector-links a:hover { border-color: var(--pri); color: var(--pri); }
.site-sector-grid { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.site-sector-grid a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border: 1px solid var(--ln); border-radius: 18px; text-decoration: none; color: var(--ink); background: var(--sf); transition: border-color .15s ease, transform .15s ease; }
.site-sector-grid a:hover { border-color: var(--pri); transform: translateY(-2px); }
.site-sector-grid span { color: var(--mut); font-size: .9375rem; line-height: 1.5; }
.site-sector-grid img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--ln); margin-bottom: 8px; }
@media (max-width: 991.98px) {
    .site-sector-hero, .site-points, .site-points-sm, .site-sector-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .site-sector-hero { gap: 32px; }
}
@media (min-width: 576px) and (max-width: 991.98px) { .site-points-sm, .site-sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Ürün ağacı (/urun-agaci, tanıtım) */
.site-tree { margin-top: 24px; padding: 8px 20px 16px; border: 1px solid var(--ln); border-radius: 20px; background: var(--sf); font-size: .9375rem; overflow-x: auto; }
.site-tree ul { list-style: none; margin: 0; padding: 0; }
.site-tree ul ul { margin-left: 10px; padding-left: 16px; border-left: 2px solid var(--tint); }
.site-tree-head, .site-tree summary, .site-tree-leaf { display: grid; grid-template-columns: minmax(12rem, 1fr) 7rem 8.5rem; gap: 12px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--ln); }
.site-tree-head { font-weight: 600; color: var(--mut); font-size: .8125rem; }
.site-tree summary { cursor: pointer; list-style: none; }
.site-tree summary::-webkit-details-marker { display: none; }
.site-tree summary .site-tree-name::before { content: "\25B8"; display: inline-block; width: 1em; color: var(--pri); transition: transform .15s ease; }
.site-tree details[open] > summary .site-tree-name::before { transform: rotate(90deg); }
.site-tree-leaf .site-tree-name { padding-left: 1em; }
.site-tree small { color: var(--mut); font-weight: 500; }
.site-tree-qty, .site-tree-cost, .site-tree-head span:not(:first-child) { text-align: right; white-space: nowrap; }
.site-tree-qty { color: var(--mut); }
.site-tree > ul > li > details > summary { font-size: 1.0625rem; }
.site-tile dt a, .site-list dt a { color: inherit; text-decoration: none; }
.site-tile dt a:hover, .site-list dt a:hover { color: var(--pri); text-decoration: underline; }
.site-steps { padding-left: 1.25rem; line-height: 1.6; }
.site-steps li { margin-bottom: 8px; }
.site-card-meta { margin-top: auto; color: var(--pri); font-size: .8125rem; font-weight: 600; }
.site-sample-terms { margin: 12px 0 0; padding-left: 1.1rem; font-size: .8125rem; color: var(--mut); line-height: 1.5; }
.site-tree-note { margin-top: 12px; font-size: .875rem; color: var(--mut); }
.site-tree-mini { margin: 0; padding: 20px 22px; border: 1px solid var(--ln); border-radius: 20px; background: var(--sf); box-shadow: 0 24px 48px -28px rgba(15, 23, 42, .35); font-size: .9375rem; }
.site-tree-mini ol { list-style: none; margin: 0; padding: 0; }
.site-tree-mini li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--ln); }
.site-tree-mini li:last-child { border-bottom: 0; }
.site-tree-mini b { font-weight: 700; }
.site-tree-mini span { color: var(--mut); white-space: nowrap; }
.site-tree-mini .l1 { padding-left: 1.25rem; } .site-tree-mini .l2 { padding-left: 2.5rem; } .site-tree-mini .l3 { padding-left: 3.75rem; }

/* ---------- Yükleniyor ---------- */
.spinner-border { display: inline-block; width: 1.5rem; height: 1.5rem; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: -.2em; }
.spinner-border-sm { width: 1rem; height: 1rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.htmx-request .htmx-indicator { opacity: 1; }
.htmx-indicator { opacity: 0; transition: opacity .2s; }

/* ---------- Yardımcılar ---------- */
.d-flex { display: flex !important; } .d-inline { display: inline !important; } .d-inline-block { display: inline-block !important; } .d-block { display: block !important; } .d-none { display: none !important; }
.flex-wrap { flex-wrap: wrap; } .flex-fill { flex: 1 1 auto; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; } .align-items-start { align-items: flex-start; } .align-items-end { align-items: flex-end; } .align-self-center { align-self: center; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 16px; }
.m-0 { margin: 0 !important; } .mb-0 { margin-bottom: 0 !important; } .mb-1 { margin-bottom: 4px !important; } .mb-2 { margin-bottom: 8px !important; } .mb-3 { margin-bottom: 16px !important; }
.mt-1 { margin-top: 4px !important; } .mt-2 { margin-top: 8px !important; } .mt-3 { margin-top: 16px !important; } .my-3 { margin-top: 16px !important; margin-bottom: 16px !important; }
.me-2 { margin-right: 8px !important; } .ms-1 { margin-left: 4px !important; } .ms-2 { margin-left: 8px !important; }
.btn .me-2, .btn .nx-icon.me-2 { margin-right: 0 !important; }
.p-2 { padding: 8px !important; } .px-1 { padding-left: 4px !important; padding-right: 4px !important; } .py-2 { padding-top: 8px !important; padding-bottom: 8px !important; } .pt-0 { padding-top: 0 !important; }
.w-100 { width: 100% !important; } .w-auto { width: auto !important; }
.text-end { text-align: right !important; } .text-center, .center { text-align: center !important; } .text-nowrap { white-space: nowrap !important; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-secondary, .muted { color: var(--mut) !important; }
.text-warning { color: var(--wa) !important; }
.fw-bold { font-weight: 700 !important; }
.border { border: 1px solid var(--ln) !important; } .border-0 { border: 0 !important; } .border-bottom { border-bottom: 1px solid var(--ln) !important; }
.rounded { border-radius: var(--r) !important; }
.img-fluid { max-width: 100%; height: auto; }
.collapse:not(.show) { display: none; }

/* ---------- Telefon: süzgeç formu ve teklif listesi ---------- */
.filters-toggle { display: none; }
@media (max-width: 767.98px) {
    .filters-toggle { display: block; }
    .filters:not(.show) .filter-extra { display: none; }
    .quotes-table thead { display: none; }
    .quotes-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "cu am" "no st" "dt dt"; gap: 2px 12px; padding: 12px 16px; border-bottom: 1px solid var(--ln); }
    .quotes-table tbody tr:last-child { border-bottom: 0; }
    .quotes-table td { padding: 0 !important; border: 0; }
    .quotes-table td:nth-child(1) { grid-area: no; font-size: .8125rem; }
    .quotes-table td:nth-child(2) { grid-area: cu; font-weight: 600; }
    .quotes-table td:nth-child(3) { display: none; }
    .quotes-table td:nth-child(4) { grid-area: dt; font-size: .8125rem; color: var(--mut); }
    .quotes-table td:nth-child(4) div { display: inline; }
    .quotes-table td:nth-child(5) { grid-area: st; justify-self: end; }
    .quotes-table td:nth-child(6) { grid-area: am; font-weight: 600; }
    .quotes-table td[colspan] { grid-area: auto; grid-column: 1 / -1; }
}

/* ---------- Tanıtım sitesi (girişsiz "/") ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bugün: başlangıç listesi */
.start-guide .card-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.start-guide .card-title { font-size: 1.0625rem; margin: 0; }
.start-step { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.start-mark { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--ln2); display: grid; place-items: center; font-size: .8125rem; font-weight: 800; }
.start-step.is-done .start-mark { background: var(--ok); border-color: var(--ok); color: #fff; }
.start-step.is-done strong { color: var(--mut); font-weight: 500; text-decoration: line-through; }
.start-step.is-next .start-mark { border-color: var(--pri); }
.start-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
@media (max-width: 767.98px) {
    .start-step { grid-template-columns: 28px minmax(0, 1fr); }
    .start-links { grid-column: 2; justify-content: flex-start; }
}

/* /sistem: firma listesi */
.sys-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.sys-count { opacity: .75; font-weight: 500; margin-left: 4px; }
.sys-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; align-items: center; padding-top: 14px; padding-bottom: 14px; }
.sys-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 2px; }
.sys-actions { display: flex; gap: 6px; align-items: center; }
.sys-actions .form-select { width: auto; }
.sys-edit { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: end; gap: 10px 12px; padding: 12px; background: var(--bg); border: 1px solid var(--ln); border-radius: var(--r); }
.sys-checklist { max-height: 320px; overflow-y: auto; padding-right: 8px; }
.sys-edit .form-hint { flex-basis: 100%; margin: 0; }
.sys-log { display: grid; grid-template-columns: 9.5em 8.5em minmax(0, 1fr); gap: 4px 12px; align-items: baseline; }
.sys-log .badge { justify-self: start; }
@media (max-width: 640px) { .sys-log { grid-template-columns: auto minmax(0, 1fr); } .sys-log > div { grid-column: 1 / -1; } }
@media (max-width: 767.98px) {
    .sys-row { grid-template-columns: minmax(0, 1fr); }
    .sys-actions { flex-wrap: wrap; }
    .sys-actions form { flex: 1 1 100%; }
    .sys-actions .form-select { flex: 1; min-width: 0; }
}

.site { background: var(--sf); font-size: 17px; }
.site-wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.site-narrow { max-width: 760px; }
.btn-lg { min-height: 50px; padding: 12px 22px; font-size: 1rem; border-radius: 12px; }
.site-nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--ln); padding-top: env(safe-area-inset-top, 0px); }
.site-nav-row { display: flex; align-items: center; gap: 32px; min-height: 64px; }
.site-links { display: flex; gap: 24px; flex: 1; font-size: .9375rem; }
.site-links a, .site-foot nav a { color: var(--mut); }
.site-links a:hover { color: var(--ink); text-decoration: none; }
.site-nav-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.site-login { font-weight: 600; color: var(--ink); font-size: .9375rem; }
.site h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; margin: 0 0 14px; }
.site p { line-height: 1.65; }

.site-sec { padding: clamp(48px, 7vw, 96px) 0; }
.site-sec-alt { background: var(--bg); border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.site-sec + .site-sec-alt, .site-sec-alt + .site-sec { border-top: 0; }
.site-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: 48px; align-items: center; }
.site-split p { color: var(--mut); }
.site-shot img { display: block; width: 100%; height: auto; }

.site-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 28px 0 0; }
.site-list > div { padding: 18px 0; border-top: 1px solid var(--ln); }
.site-list dt { font-weight: 700; margin-bottom: 4px; }
.site-list dd { margin: 0; color: var(--mut); line-height: 1.6; }
#kimler p { color: var(--mut); }

.site-faq { margin-top: 20px; border-top: 1px solid var(--ln); }
.site-faq details { border-bottom: 1px solid var(--ln); }
.site-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; color: var(--ink); font-weight: 600; }
.site-faq summary::-webkit-details-marker { display: none; }
.site-faq summary::after { content: "+"; color: var(--pri); font-size: 1.375rem; line-height: 1; font-weight: 500; }
.site-faq details[open] summary::after { content: "\2212"; }
.site-faq details p { margin: -6px 0 18px; color: var(--mut); max-width: 62ch; }

.site-foot { border-top: 1px solid var(--ln); padding: 28px 0 32px; color: var(--mut); font-size: .875rem; }
.site-foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-foot .brand { font-size: 1.0625rem; }
.site-mcta { display: none; }

.site-title { font-size: clamp(1.875rem, 3.6vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; margin: 0; max-width: 18em; }
.site-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.site-plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--ln); border-radius: var(--r-lg); background: var(--sf); padding: 24px; }
.site-plan-best { border: 2px solid var(--pri); box-shadow: 0 12px 32px rgba(3, 105, 161, .12); }
.site-plan h2 { font-size: 1.25rem; margin: 0 0 8px; }
.site-plan-gift { align-self: flex-start; background: var(--ok-b); color: var(--ok); font-weight: 700; font-size: .8125rem; border-radius: 999px; padding: 3px 10px; }
.site-plan-price { margin: 16px 0 4px; }
.site-plan-price b { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.site-plan-price span { color: var(--mut); font-size: .875rem; }
.site-plan-note { color: var(--mut); font-size: .9375rem; flex: 1; margin-bottom: 18px; }
.site-checks { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; font-weight: 600; }
.site-checks li::before { content: "\2713"; color: var(--ok); margin-right: 8px; }

/* Tanıtım: kahraman. Okyanus mavisi "sahne" kareli kâğıt deseniyle (teklif/çizelge çağrışımı). */
.site { --serif: "Instrument Serif", Georgia, serif; --grid: rgba(255, 255, 255, .09); }
.site-eyebrow { display: inline-block; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pri); margin: 0 0 14px; }
.site-hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 84px) 0 clamp(48px, 6vw, 96px); background:
    radial-gradient(60% 70% at 100% 0%, #E0F2FE 0%, rgba(224, 242, 254, 0) 70%),
    linear-gradient(#fff, #F8FAFC); }
.site-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.site-hero h1 { font-size: clamp(2.375rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; margin: 0; max-width: 13em; text-wrap: balance; }
.site-hero h1 s { text-decoration: none; position: relative; color: var(--faint); }
.site-hero h1 s::after { content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: .09em; background: #E11D48; border-radius: 4px; transform: rotate(-4deg); transform-origin: left; animation: site-strike .6s .5s cubic-bezier(.2, .8, .2, 1) both; }
.site-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--pri); position: relative; isolation: isolate; white-space: nowrap; font-size: 1.12em; }
.site-hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.02em; height: .14em; background: var(--sky); opacity: .45; border-radius: 99px; z-index: -1; }
@keyframes site-strike { from { transform: rotate(-4deg) scaleX(0); } to { transform: rotate(-4deg) scaleX(1); } }
.site-lead { color: var(--mut); font-size: 1.1875rem; margin: 24px 0 30px; max-width: 32em; }
.site-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.site-ctas .btn-primary { box-shadow: 0 8px 20px -6px rgba(3, 105, 161, .55); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.site-ctas .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(3, 105, 161, .6); }
.site-textlink { font-weight: 600; }
.site-assure { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 26px 0 0; font-size: .875rem; color: var(--mut); font-weight: 600; }
.site-assure li::before { content: ""; display: inline-block; width: 7px; height: 12px; margin-right: 9px; border: solid var(--ok); border-width: 0 2.5px 2.5px 0; transform: translateY(-2px) rotate(45deg); }

.site-stage { position: relative; margin: 0; padding: 36px 0 0; border-radius: 28px; min-height: 520px; display: grid; justify-items: center; align-items: end;
    background:
        linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 28px 28px,
        radial-gradient(80% 60% at 30% 10%, #0EA5E9 0%, rgba(14, 165, 233, 0) 70%),
        linear-gradient(160deg, #0369A1 0%, #075985 60%, #0C4A6E 100%);
    box-shadow: 0 30px 60px -30px rgba(12, 74, 110, .55); }
.site-phone-frame { width: min(72%, 300px); border: 10px solid #0F172A; border-bottom: 0; border-radius: 42px 42px 0 0; overflow: hidden; background: #fff; box-shadow: 0 -10px 40px rgba(2, 6, 23, .25); transform: translateX(-14%); }
.site-phone-frame img { display: block; width: 100%; height: auto; }
.site-feed { position: absolute; right: -18px; top: 64px; width: 250px; background: #fff; border-radius: 16px; padding: 16px 16px 10px; box-shadow: 0 24px 48px -12px rgba(2, 6, 23, .35), 0 0 0 1px rgba(15, 23, 42, .06); font-size: .8125rem; }
.site-feed-head { display: grid; margin: 0 0 10px; line-height: 1.3; }
.site-feed-head b { font-size: .9375rem; }
.site-feed-head span { color: var(--faint); }
.site-feed ol { list-style: none; margin: 0; padding: 0; }
.site-feed li { position: relative; display: grid; grid-template-columns: 14px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; animation: site-feed-in .45s cubic-bezier(.2, .8, .2, 1) both; }
.site-feed li:nth-child(1) { animation-delay: .7s; } .site-feed li:nth-child(2) { animation-delay: 1.3s; }
.site-feed li:nth-child(3) { animation-delay: 1.9s; } .site-feed li:nth-child(4) { animation-delay: 2.6s; }
.site-feed li + li::before { content: ""; position: absolute; left: 6px; top: -7px; height: 14px; border-left: 2px solid var(--ln); }
.site-feed i { width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--sky); background: #fff; }
.site-feed time { color: var(--faint); font-variant-numeric: tabular-nums; }
.site-feed .is-ok { font-weight: 700; color: var(--ok); }
.site-feed .is-ok i { border-color: var(--ok); background: var(--ok); box-shadow: 0 0 0 4px var(--ok-b); }
@keyframes site-feed-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Excel'le / kolayteklifgonder'le */
.site-vs h2 { text-align: center; }
.site-vs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.site-vs-grid > div { border-radius: 20px; padding: 28px 28px 20px; }
.site-vs-grid h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 14px; }
.site-vs-grid ul { list-style: none; margin: 0; padding: 0; }
.site-vs-grid li { position: relative; padding: 12px 0 12px 32px; border-top: 1px solid; line-height: 1.5; }
.site-vs-grid li::before { position: absolute; left: 0; top: 11px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .8125rem; font-weight: 800; }
.site-vs-old { background: #fff; border: 1px dashed var(--ln2);
    background-image: linear-gradient(var(--ln) 1px, transparent 1px), linear-gradient(90deg, var(--ln) 1px, transparent 1px); background-size: 100% 32px, 96px 100%; background-color: #fff; }
.site-vs-old h3 { color: var(--mut); }
.site-vs-old li { color: var(--mut); border-color: var(--ln); background: rgba(255, 255, 255, .85); }
.site-vs-old li::before { content: "\2715"; background: var(--no-b); color: var(--no); }
.site-vs-new { background: #0F172A; color: #E2E8F0; box-shadow: 0 24px 48px -24px rgba(15, 23, 42, .6); }
.site-vs-new h3 { color: #fff; }
.site-vs-new h3::first-letter { color: var(--sky); }
.site-vs-new li { border-color: rgba(255, 255, 255, .1); }
.site-vs-new li::before { content: "\2713"; background: var(--sky); color: #0F172A; }

/* Panel bölümü */
.site-shot { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; padding: 10px; box-shadow: 0 0 0 1px var(--ln), 0 30px 60px -30px rgba(15, 23, 42, .35); transform: perspective(1600px) rotateY(-6deg); transition: transform .5s ease; }
.site-shot:hover { transform: none; }
.site-shot img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* Özellik ızgarası */
.site-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin: 32px 0 0; }
.site-tile { grid-column: span 2; position: relative; display: flex; flex-direction: column; border-radius: 20px; padding: 24px; background: var(--bg); border: 1px solid var(--ln); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.site-tile:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(15, 23, 42, .35); }
.site-tile:nth-child(1), .site-tile:nth-child(2) { grid-column: span 3; }
.site-tile:nth-child(2) { background: #0F172A; border-color: #0F172A; color: #E2E8F0; }
.site-tile:nth-child(2) dt { color: #fff; }
.site-tile:nth-child(2) dd { color: #94A3B8; }
.site-tile:nth-child(5) { background: var(--tint); border-color: #BAE6FD; }
.site-tile:nth-child(4) { background: linear-gradient(150deg, #0369A1, #0C4A6E); border-color: transparent; }
.site-tile:nth-child(4) dt { color: #fff; } .site-tile:nth-child(4) dd { color: #BAE6FD; }
.site-tile dt { font-weight: 800; font-size: 1.125rem; letter-spacing: -.015em; margin-bottom: 6px; }
.site-tile dd { margin: 0; color: var(--mut); line-height: 1.6; font-size: .9375rem; }
.tile-vis { margin-top: auto; padding-top: 20px; font-size: .8125rem; }
.tile-search { display: grid; gap: 6px; }
.tile-input { display: flex; align-items: center; background: #fff; border: 2px solid var(--pri); border-radius: 10px; padding: 8px 12px; font-weight: 600; }
.tile-input i { width: 2px; height: 1.1em; background: var(--pri); margin-left: 1px; animation: site-caret 1s steps(1) infinite; }
@keyframes site-caret { 50% { opacity: 0; } }
.tile-row { display: flex; gap: 10px; align-items: baseline; background: #fff; border: 1px solid var(--ln); border-radius: 10px; padding: 8px 12px; color: var(--mut); }
.tile-row b { color: var(--ink); font-family: ui-monospace, Consolas, monospace; font-size: .75rem; }
.tile-row em { margin-left: auto; font-style: normal; font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tile-map { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 12px; align-items: center; }
.tile-map span { font-family: ui-monospace, Consolas, monospace; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; padding: 6px 10px; color: #CBD5E1; }
.tile-map i { height: 2px; background: linear-gradient(90deg, rgba(56, 189, 248, .2), var(--sky)); position: relative; }
.tile-map i::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: var(--sky); border-right: 0; }
.tile-map b { background: var(--sky); color: #0F172A; border-radius: 8px; padding: 6px 12px; text-align: center; }
.tile-seen { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: #fff; }
.tile-seen i { width: 10px; height: 10px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: site-ping 2s infinite; }
@keyframes site-ping { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.tile-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tile-chips span { border-radius: 999px; padding: 5px 12px; font-weight: 700; background: #fff; border: 1px solid var(--ln); color: var(--mut); }
.tile-chips .on { background: var(--pri); border-color: var(--pri); color: #fff; }
.tile-chips .off { text-decoration: line-through; opacity: .7; }

/* Kimler için: renkli bant ve kayan sektör şeridi */
.site-band { background: var(--tint); padding-bottom: 0; overflow: hidden; }
.site-band p { color: #164E63; }
.site-marquee { margin-top: clamp(32px, 5vw, 56px); padding: 18px 0; background: #0F172A; transform: rotate(-1.5deg) scale(1.03); }
.site-marquee > div { display: flex; width: max-content; animation: site-marquee 38s linear infinite; }
.site-marquee span { font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; color: #fff; white-space: nowrap; padding: 0 22px; }
.site-marquee span:nth-child(even) { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--sky); }
.site-marquee span::after { content: "\2726"; color: #334155; margin-left: 44px; font-family: var(--font); font-style: normal; font-size: .7em; vertical-align: middle; }
@keyframes site-marquee { to { transform: translateX(-50%); } }

/* Son çağrı */
.site-end { position: relative; overflow: hidden; text-align: center; border-radius: 28px; padding: clamp(40px, 6vw, 72px) 24px; color: #E0F2FE;
    background:
        linear-gradient(var(--grid) 1px, transparent 1px) 0 0 / 28px 28px,
        linear-gradient(90deg, var(--grid) 1px, transparent 1px) 0 0 / 28px 28px,
        radial-gradient(60% 80% at 50% 0%, #0EA5E9 0%, rgba(14, 165, 233, 0) 70%),
        linear-gradient(160deg, #0369A1, #0C4A6E); }
.site-end h2 { color: #fff; font-size: clamp(1.875rem, 4vw, 3rem); }
.site-end p { color: #BAE6FD; margin: 0 auto 26px; max-width: 34em; }
.site-end-mark { display: block; margin: 0 auto 18px; background: #fff; border-radius: 16px; padding: 8px; box-shadow: 0 12px 24px -8px rgba(2, 6, 23, .4); }
.site-btn-light { background: #fff; color: var(--pri); border-color: #fff; font-weight: 700; }
.site-btn-light:hover { background: #F0F9FF; color: var(--pri-h); border-color: #F0F9FF; text-decoration: none; }

/* Kaydırınca belirme (betik .js-reveal ekler) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .site-tile.reveal:nth-child(3n+2) { transition-delay: .06s; }
.js-reveal .site-tile.reveal:nth-child(3n) { transition-delay: .12s; }

@media (max-width: 991.98px) {
    .site-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .site-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .site-shot { transform: none; }
    .site-tile, .site-tile:nth-child(1), .site-tile:nth-child(2) { grid-column: span 3; }
}
@media (max-width: 767.98px) {
    .site { font-size: 16px; }
    .site-links, .site-signup { display: none; }
    .site-nav-row { min-height: 56px; }
    .site-lead { font-size: 1.0625rem; }
    .site-ctas .btn { flex: 1 1 100%; }
    .site-ctas .site-textlink { margin: 0 auto; }
    .site-list { grid-template-columns: minmax(0, 1fr); }
    .site-plans { grid-template-columns: minmax(0, 1fr); }
    .site-checks { flex-direction: column; }
    .site-stage { min-height: 0; padding-top: 28px; border-radius: 22px; }
    .site-phone-frame { width: min(70%, 260px); border-width: 8px; transform: translateX(-16%); }
    .site-feed { right: 10px; top: auto; bottom: 22px; width: min(58%, 220px); padding: 12px 12px 6px; font-size: .75rem; }
    .site-feed li { gap: 8px; padding: 5px 0; }
    .site-vs-grid { grid-template-columns: minmax(0, 1fr); }
    .site-vs-grid > div { padding: 22px 20px 14px; }
    .site-bento { grid-template-columns: minmax(0, 1fr); }
    .site-tile, .site-tile:nth-child(1), .site-tile:nth-child(2) { grid-column: auto; }
    .site-shot { max-width: 380px; justify-self: center; }
    .site-end { border-radius: 22px; }
    .site-mcta { display: block; position: sticky; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--ln); }
}

@media (prefers-reduced-motion: reduce) {
    .site-marquee > div, .tile-input i, .tile-seen i, .site-feed li, .site-hero h1 s::after { animation: none !important; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
