@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --bg: #F4F3EE; --ink: #121212; --muted: #45443F; --soft: #5E5D57;
  --line: #DDDBD2; --line2: #ECEAE3; --card: #FFFFFF; --tint: #E9E7DF;
  --accent: #2F55F0; --accent-ink: #FFFFFF; --ok: #0F6B3E; --ok-bg: #DFF3E7;
  --err: #B42318; --err-bg: #FDECEA;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
h1, h2, h3 { font-family: 'Space Grotesk', Inter, sans-serif; margin: 0; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
a { color: #1E46E0; }
a:hover { color: #1435B0; }
img { max-width: 100%; }
input, textarea, select, button { font: inherit; color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row { display: flex; flex-wrap: wrap; gap: var(--gap, 12px); align-items: center; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(var(--min, 260px), 1fr)); }
.grid.fit { grid-template-columns: repeat(auto-fit, minmax(var(--min, 260px), 1fr)); }
.muted { color: var(--muted); }
.soft { color: var(--soft); font-size: 14px; }
.section { padding: 88px 0; }
.h-xl { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.03em; line-height: 1.02; }
.h-l { font-size: clamp(30px, 4vw, 48px); }
.h-m { font-size: 24px; }
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }

/* Üst menü */
.top { padding: 22px 0; }
.logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 24px; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
.nav { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; font-weight: 500; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; }

/* Butonlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; background: var(--accent); color: var(--accent-ink); }
.btn:hover { filter: brightness(0.94); color: var(--accent-ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { color: var(--ink); background: #fff; }
.btn.small { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn.lg { min-height: 56px; padding: 16px 30px; font-size: 17px; }
.btn.wa { background: #25D366; color: #08321A; }
.linkbtn { background: none; border: 0; padding: 0; color: #1E46E0; font-weight: 600; cursor: pointer; text-decoration: underline; }

/* Kartlar ve formlar */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #fff; border: 1px solid var(--line); }
.pill.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.pill.off { background: var(--err-bg); color: var(--err); border-color: transparent; }
.pill.blue { background: #E2E8FF; color: #1E3AB8; border-color: transparent; }
label.f { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.in { width: 100%; border: 1px solid #CFCCC2; border-radius: 10px; padding: 13px 14px; font-size: 16px; background: #fff; }
.in:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea.in { resize: vertical; line-height: 1.5; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.alert { padding: 14px 16px; border-radius: 12px; font-size: 15px; }
.alert.err { background: var(--err-bg); color: var(--err); }
.alert.ok { background: var(--ok-bg); color: var(--ok); }
.hp { position: absolute; left: -9999px; }

/* Adım göstergesi */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 500; }
.steps li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--soft); }
.steps li.done { background: #E2E8FF; color: #1E3AB8; border-color: transparent; }
.steps li.now { background: var(--ink); color: #fff; border-color: transparent; }

/* Kategori seçimi */
.cat { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px; min-height: 160px; background: #fff; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; }
.cat input { position: absolute; opacity: 0; }
.cat:has(input:checked) { border: 2px solid var(--accent); box-shadow: 0 0 0 4px #DCE3FF; }
.cat:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.cat .ic { width: 44px; height: 44px; border-radius: 12px; background: #F0EFEA; display: inline-flex; align-items: center; justify-content: center; font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 700; color: var(--accent); }
.cat b { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 20px; }

/* Renk seçimi */
.swatch { position: relative; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: inline-block; }
.swatch input { position: absolute; opacity: 0; }
.swatch:has(input:checked) { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--ink); }

/* Panel */
.app { display: flex; flex-wrap: wrap; min-height: 100vh; }
.side { flex: 1 1 240px; max-width: 280px; background: var(--ink); color: #F4F3EE; padding: 28px 18px; display: flex; flex-direction: column; gap: 4px; }
.side a { color: #F4F3EE; text-decoration: none; padding: 12px; border-radius: 10px; min-height: 44px; }
.side a.on { background: var(--accent); color: #fff; font-weight: 600; }
.side .logo { color: #fff; padding: 0 12px 24px; }
.side .logo span { color: #8FA6FF; }
.main { flex: 999 1 560px; min-width: 0; padding: 36px clamp(20px, 4vw, 48px) 64px; }
.msg { padding: 18px 0; border-bottom: 1px solid var(--line2); }
.msg:last-child { border-bottom: 0; }
.code { background: #F7F6F2; border-radius: 12px; padding: 16px; font-family: ui-monospace, monospace; font-size: 14px; line-height: 1.8; overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; }
table.t th, table.t td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line2); vertical-align: top; }
.tbox { overflow-x: auto; }

/* Önizleme ve vitrin */
.preview { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(18,18,18,.4); }
.preview .bar { padding: 12px 14px; border-bottom: 1px solid var(--line2); background: #FAFAF7; font-size: 13px; color: var(--muted); }
.cover { height: 150px; border-radius: 12px; display: flex; align-items: flex-end; padding: 16px; color: #fff; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.biz { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.biz .cv { height: 110px; display: flex; align-items: flex-end; padding: 14px 18px; color: #fff; font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 700; font-size: 22px; }
.biz .bd { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }

/* Müşteri sitesi */
.site-hero { padding: 72px 0 56px; color: #fff; }
.site-hero .h-xl { color: #fff; }
.svc { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line2); }
.made { text-align: center; padding: 28px 0; font-size: 14px; color: var(--soft); }
.fab { position: fixed; right: 20px; bottom: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.2); }

@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .side { max-width: none; }
}
