/* Inter (değişken font) — siteden sunulur, Google Fonts kullanılmaz (GDPR) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  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; }

:root {
  --brand: #0b5fff;
  --brand-soft: color-mix(in srgb, var(--brand) 10%, #fff);
  --brand-line: color-mix(in srgb, var(--brand) 22%, #fff);
  --ink: #0b1220;
  --muted: #5a6678;
  --bg: #f6f8fc;
  --card: #fff;
  --line: #e6ebf3;
  --ok: #0a8f55;
  --warn: #b45309;
  --err: #c0262d;
  --r: 18px;
  --shadow: 0 1px 2px rgba(11, 18, 32, .05), 0 12px 32px rgba(11, 18, 32, .07);
  --shadow-lg: 0 2px 4px rgba(11, 18, 32, .05), 0 24px 60px rgba(11, 18, 32, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: 1.4rem; font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 650; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 640px; }
.center { text-align: center; }

/* ---------- üst bar ---------- */
.top { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; align-items: center; gap: 22px; min-height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand img { height: 34px; width: auto; }
.brand span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logo-dot { width: 26px; height: 26px; border-radius: 8px; background: var(--brand); display: inline-block; flex: none; position: relative; }
.logo-dot::after { content: ""; position: absolute; inset: 7px; border: 2.5px solid #fff; border-radius: 3px; }
#nav { display: flex; gap: 6px; }
#nav a { color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 550; padding: 8px 12px; border-radius: 10px; white-space: nowrap; }
#nav a:hover { background: var(--brand-soft); color: var(--brand); }
#lang { width: auto; flex: none; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; background: #fff; font: inherit; font-size: .88rem; font-weight: 600; }
#lang[hidden] { display: none; }

/* ---------- butonlar / formlar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brand); color: #fff; border: 0; border-radius: 12px; padding: 12px 20px; font: inherit; font-weight: 650; cursor: pointer; text-decoration: none; box-shadow: 0 1px 2px rgba(11, 18, 32, .12), 0 6px 16px color-mix(in srgb, var(--brand) 30%, transparent); transition: transform .12s, filter .12s; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: #cdd6e4; filter: none; }
.btn.danger { background: var(--err); box-shadow: none; }
.btn.sm { padding: 7px 12px; font-size: .86rem; border-radius: 10px; box-shadow: none; }
.btn.block { width: 100%; padding: 15px 20px; font-size: 1.02rem; }
label { display: block; font-size: .82rem; font-weight: 650; color: #2a3446; margin-bottom: 12px; }
label > input, label > select, label > textarea { margin-top: 6px; }
input, select, textarea { width: 100%; font: inherit; font-weight: 450; color: var(--ink); background: #fff; border: 1.5px solid #dbe2ee; border-radius: 12px; padding: 11px 13px; min-height: 46px; transition: border-color .12s, box-shadow .12s; }
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235a6678' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea { min-height: 96px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #9aa5b6; }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 16%, transparent); }
input[type=checkbox] { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--brand); flex: none; }
input[type=color] { padding: 3px; height: 46px; }
input[type=file] { display: none; }
.chk { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: .93rem; color: var(--ink); margin-bottom: 8px; }
fieldset { border: 0; background: var(--bg); border-radius: 14px; padding: 14px 14px 4px; margin: 0 0 14px; min-width: 0; }
legend { float: left; width: 100%; padding: 0; margin: 0 0 10px; font-weight: 700; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
legend + * { clear: both; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
details { margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 650; font-size: .88rem; color: var(--brand); margin-bottom: 10px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px; }
.alert { border-radius: 12px; padding: 12px 14px; margin: 12px 0; font-size: .93rem; }
.alert.err { background: #fdecec; color: #7d1a1f; border: 1px solid #f5c2c4; }
.alert.warn { background: #fff4e0; color: #7a4a05; border: 1px solid #f3d9a8; }
.alert.ok { background: #e6f6ee; color: #0b5c37; border: 1px solid #b8e3cc; }

/* ---------- kapak (hero) ---------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 72px;
  background:
    radial-gradient(900px 420px at 88% -8%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 70%),
    radial-gradient(700px 380px at -5% 105%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 70%),
    linear-gradient(#fff, var(--bg)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; position: relative; }
.hero-copy h1 { margin-bottom: 18px; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 32em; margin: 0 0 22px; }
.hero-art { width: 100%; max-width: 520px; height: auto; margin-top: 22px; display: block; }
.ticks { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: 9px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 550; font-size: .95rem; }
.ticks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1.5 5.2l3 3 6-6.4' fill='none' stroke='%230b5fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.hero .card { box-shadow: var(--shadow-lg); border-radius: 22px; padding: 26px; }
.hero .card h2 { font-size: 1.25rem; margin-bottom: 16px; }
.hero.has-img { color: #fff; background: linear-gradient(105deg, rgba(8, 14, 30, .92), rgba(8, 14, 30, .55)), var(--hero-img) center/cover; }
.hero.has-img p.lead { color: #d9e2f5; }
.hero.has-img .hero-art { display: none; }
.hero.has-img .ticks li { color: #fff; }
.hero.has-img .card { color: var(--ink); }
.hero.platform { padding: 84px 0 92px; }
.hero.platform .hero-grid { grid-template-columns: 1.1fr .9fr; }
.hero.platform .hero-art { max-width: 560px; margin: 0 auto; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- bölümler ---------- */
.section { padding: 48px 0; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.section-title h2 { margin: 0; font-size: 1.6rem; }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: -36px; position: relative; z-index: 2; }
.trust .t { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: var(--shadow); }
.trust .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; flex: none; color: var(--brand); }
.trust .ic svg { width: 21px; height: 21px; }
.trust b { display: block; font-size: .95rem; line-height: 1.25; }
.trust span.d { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; margin-top: 3px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; overflow: hidden; padding-top: 30px; }
.step b { position: absolute; top: 10px; right: 18px; font-size: 3.6rem; line-height: 1; font-weight: 800; color: var(--brand-soft); letter-spacing: -.05em; }
.step h3, .step p { position: relative; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }
.firms { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.firm { display: flex; flex-direction: column; gap: 10px; border-top: 4px solid var(--brand); transition: transform .15s, box-shadow .15s; }
.firm:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.firm .tag { align-self: flex-start; font-size: .76rem; font-weight: 650; color: var(--muted); background: var(--bg); border-radius: 99px; padding: 3px 10px; }
.firm p { margin: 0; color: var(--ink); font-weight: 550; }
.firm .btn { margin-top: auto; align-self: flex-start; }
.firm-head { display: flex; align-items: center; gap: 12px; }
.firm-head img { height: 36px; }
.firm-dot { width: 38px; height: 38px; border-radius: 11px; background: var(--brand); flex: none; }
.about { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.about img { max-width: 320px; border-radius: 14px; }
.contact-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 8px; }
.contact-row p { margin: 0; }

/* ---------- sonuç ---------- */
.result { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.route-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--brand-soft); color: var(--brand); border-radius: 99px; padding: 5px 12px; font-weight: 650; font-size: .84rem; }
.chip.n { background: var(--bg); color: var(--ink); }
.route-arrow { color: var(--muted); font-weight: 700; }
.price { font-size: clamp(2.6rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; color: var(--brand); line-height: 1.05; font-variant-numeric: tabular-nums; }
.price-box { padding: 4px 0 10px; }
.transit { display: inline-flex; align-items: center; gap: 8px; margin: 10px 0 0; font-weight: 600; font-size: .95rem; }
.transit svg { width: 18px; height: 18px; color: var(--brand); }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 10px 10px; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: top; }
th { color: var(--muted); font-weight: 650; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr.click { cursor: pointer; }
tbody tr.click:hover { background: #f1f5fd; }
.tablewrap { overflow-x: auto; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .75rem; font-weight: 650; background: #e8eefb; color: #27418a; white-space: nowrap; }
.badge.new { background: #e3efff; color: #0b4bc7; }
.badge.contacted { background: #fff1d6; color: #8a5a00; }
.badge.offered { background: #ece3ff; color: #5a2db3; }
.badge.won { background: #ddf4e8; color: #0a6b3f; }
.badge.lost, .badge.off { background: #f1f1f4; color: #666b78; }

/* ---------- panel ---------- */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 20px 0; overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 11px 16px; font: inherit; font-weight: 650; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { color: var(--brand); border-bottom-color: var(--brand); }
.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.toolbar select { width: auto; }
.toolbar .sp { margin-left: auto; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 28px 0 10px; }
.panel-head h2 { margin: 0; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; font-size: .93rem; margin-bottom: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; word-break: break-word; }
.tier-row { display: grid; grid-template-columns: 1fr 1fr 1.2fr auto; gap: 8px; margin-bottom: 8px; }
.hint { font-size: .83rem; color: var(--muted); margin: -4px 0 12px; }
.imgfield { display: flex; gap: 8px; align-items: center; }
.imgfield input:not([type=file]) { flex: 1; min-width: 0; }
.imgfield img { height: 40px; border-radius: 8px; border: 1px solid var(--line); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.fld { margin-bottom: 10px; }
.fld > label { margin-bottom: 6px; }

/* ---------- modal / toast ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(8, 14, 30, .5); display: grid; place-items: start center; overflow-y: auto; padding: 4vh 12px; z-index: 50; }
.modal { background: #fff; border-radius: 20px; width: 100%; max-width: 560px; box-shadow: 0 24px 70px rgba(0, 0, 0, .3); }
.modal.wide { max-width: 760px; }
.modal-h { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.modal-b { padding: 20px 22px; }
.modal-f { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.modal-err .alert { margin: 8px 0 0; }
.x { background: none; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; opacity: 0; transition: .25s; z-index: 80; font-weight: 550; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--err); }

.foot { border-top: 1px solid var(--line); background: #fff; margin-top: 48px; padding: 22px 0; font-size: .88rem; }
.foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 980px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .result, .steps, .about { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding: 40px 0 56px; }
  .hero.platform { padding: 52px 0 60px; }
  .hero-art { max-width: 420px; }
  #nav { display: none; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .about img { max-width: 100%; }
  .trust { margin-top: -28px; }
}
@media (max-width: 520px) {
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; }
  .tier-row { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr; }
  .hero .card { padding: 20px; }
  .card { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
