:root {
  --ink: #14213d;
  --ink-2: #44506a;
  --muted: #6b7489;
  --line: #e3e6ee;
  --bg: #f5f6fa;
  --card: #fff;
  --navy: #0f1d38;
  --navy-2: #182a4f;
  --amber: #f5a524;
  --amber-d: #d88a0a;
  --ok: #1f9d55;
  --ok-bg: #e6f6ec;
  --warn: #b7791f;
  --warn-bg: #fdf3e1;
  --bad: #c53030;
  --bad-bg: #fdeaea;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 16px rgba(16, 24, 40, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--ink); background: var(--bg); }
a { color: #1f4fbf; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h2 { font-size: 1.35rem; margin-top: 1.6em; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .85rem; }
.muted { color: var(--muted); }
.center-text { text-align: center; }
.r { text-align: right; }
code { background: #eef1f7; padding: 2px 6px; border-radius: 6px; font-size: .9em; }
pre { white-space: pre-wrap; word-break: break-word; font: inherit; margin: .4em 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 520px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.row-gap { display: flex; gap: 8px; flex-wrap: wrap; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid2.wide-left { grid-template-columns: 2fr 1fr; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin-bottom: 20px; }
.table-wrap { padding: 0; overflow-x: auto; }

/* Butonlar ve formlar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--amber); color: #1b1300; border: 1px solid var(--amber-d); border-radius: 10px; padding: 10px 18px; font-weight: 650; font-size: .95rem; cursor: pointer; text-decoration: none; font-family: inherit; }
.btn:hover { background: #ffb43a; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: #c9cfdc; }
.btn.ghost:hover { background: #eef1f7; }
.btn.danger { background: var(--bad); color: #fff; border-color: #a52a2a; }
.btn.sm { padding: 6px 12px; font-size: .85rem; border-radius: 8px; }
.btn.lg { padding: 13px 24px; font-size: 1.02rem; }
.btn.block { display: flex; width: 100%; }
button.link { background: none; border: 0; color: #9fb0d6; padding: 0; cursor: pointer; font: inherit; }
form { margin: 0 0 12px; }
label { display: block; font-size: .88rem; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; }
input, select, textarea { display: block; width: 100%; margin-top: 5px; padding: 11px 12px; border: 1px solid #cfd5e2; border-radius: 9px; font: inherit; color: var(--ink); background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid #f5a52455; border-color: var(--amber-d); }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
label.check input { width: auto; margin-top: 4px; }
form.inline { display: flex; gap: 10px; align-items: flex-end; }
form.inline label { flex: 1; margin-bottom: 0; }
.grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }

.flash { border-radius: 10px; padding: 12px 14px; margin: 16px 0; font-size: .95rem; }
.flash.ok { background: var(--ok-bg); color: #155d34; }
.flash.warn { background: var(--warn-bg); color: #7a4f0d; }
.flash.bad { background: var(--bad-bg); color: #8f1f1f; }
.flash ul { margin: 6px 0 0; padding-left: 20px; }

.badge { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #eef1f7; color: var(--ink-2); vertical-align: middle; }
.badge.ok { background: var(--ok-bg); color: var(--ok); }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }

table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fafbfd; }
td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
.card:not(.table-wrap) > table td { padding: 10px 0; }
.dl + p { margin-top: 12px; }

/* ---------- Site ---------- */
.topbar { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 10; }
.topbar .row { height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.logo { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--amber); color: var(--navy); }
.topbar nav { display: flex; align-items: center; gap: 18px; }
.topbar nav a:not(.btn) { color: #cdd6ea; font-weight: 500; }

.hero { background: radial-gradient(1200px 400px at 80% -10%, #24407a 0%, transparent 60%), var(--navy); color: #fff; padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lead { font-size: 1.12rem; color: #cdd6ea; max-width: 560px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 14px; }
.hero .btn.ghost { color: #fff; border-color: #3a4f7d; }
.hero .btn.ghost:hover { background: #1c2f57; }
.hero .muted { color: #93a2c4; }

.phone-mock { background: #e9e1d6; border-radius: 28px; padding: 0 14px 18px; border: 8px solid #0a1328; box-shadow: 0 20px 60px rgba(0,0,0,.35); max-width: 340px; justify-self: center; width: 100%; }
.chat-head { background: #0b5c4f; color: #fff; margin: 0 -14px 14px; padding: 14px 16px; font-weight: 650; font-size: .92rem; border-radius: 18px 18px 0 0; display: flex; align-items: center; gap: 8px; }
.chat-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #5ee08f; }
.bubble { background: #fff; color: #1d1d1d; border-radius: 4px 12px 12px 12px; padding: 9px 12px 18px; font-size: .86rem; line-height: 1.45; margin-bottom: 10px; position: relative; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.bubble b { color: #0b5c4f; }
.bubble u { text-decoration: none; color: #1f4fbf; }
.bubble .time { position: absolute; right: 10px; bottom: 4px; font-size: .7rem; color: #8b8b8b; }

.steps { padding-top: 56px; }
.steps h2, #planlar h2, .faq h2 { text-align: center; font-size: 1.7rem; margin-top: 0; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.step .num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--amber); font-weight: 800; margin-bottom: 12px; }
#planlar { padding-top: 56px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 24px 0; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px 24px; position: relative; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.hl { border: 2px solid var(--amber); box-shadow: 0 10px 30px rgba(245,165,36,.18); }
.plan .ribbon { position: absolute; top: -12px; left: 24px; background: var(--amber); color: #1b1300; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .04em; }
.plan.trial { border-style: dashed; border-color: #9fb3d9; }
.plan .ribbon.trial { background: var(--navy); color: #fff; }
.plan h3 { font-size: 1.05rem; color: var(--ink-2); margin-bottom: 8px; }
.plan .price { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; }
.plan .per { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.plan p { color: var(--ink-2); font-size: .93rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.ticks li { padding-left: 26px; position: relative; margin-bottom: 8px; font-size: .93rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 13px; height: 7px; border-left: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(-45deg); }
.faq { padding: 40px 20px 60px; max-width: 760px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 650; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.footer { border-top: 1px solid var(--line); padding: 22px 0; color: var(--muted); font-size: .88rem; background: #fff; }

.form-card { margin-top: 40px; margin-bottom: 40px; }
.prose { margin-top: 32px; }
.acc-head { display: flex; align-items: center; justify-content: space-between; margin-top: 32px; }
.status .label { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; margin-right: 8px; }
.status .big, .big { font-size: 1.6rem; font-weight: 800; margin: 8px 0 2px; }
.status.ok { border-left: 5px solid var(--ok); }
.status.bad { border-left: 5px solid var(--bad); }
ol.list { padding-left: 20px; }
ol.list li { margin-bottom: 6px; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.summary span { display: block; font-size: .8rem; }
.paytr { padding: 8px; }

/* ---------- Yönetim ---------- */
body.admin { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { background: var(--navy); color: #fff; padding: 20px 14px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; }
.side .brand { padding: 0 8px 22px; }
.side nav { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.side nav a { color: #cdd6ea; padding: 9px 12px; border-radius: 8px; font-weight: 550; font-size: .95rem; }
.side nav a:hover { background: var(--navy-2); text-decoration: none; }
.side nav a.on { background: var(--amber); color: #1b1300; }
.side .me { font-size: .85rem; color: #9fb0d6; padding: 12px; border-top: 1px solid #22345c; }
.content { padding: 28px 32px 60px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.kpi span { display: block; font-size: .8rem; color: var(--muted); font-weight: 650; }
.kpi b { display: block; font-size: 1.7rem; letter-spacing: -.02em; margin: 4px 0 2px; }
.kpi small { color: var(--muted); }
.bot-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.bot-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: .9rem; }
.bot-pill small { color: var(--muted); font-weight: 500; }
.bot-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bad); }
.bot-pill.on .dot { background: var(--ok); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; background: #e9ecf3; padding: 4px; border-radius: 10px; }
.tabs a { padding: 6px 12px; border-radius: 7px; color: var(--ink-2); font-weight: 600; font-size: .88rem; }
.tabs a.on { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.tabs a:hover { text-decoration: none; }
form.search { display: flex; gap: 8px; margin: 0; }
form.search input { margin: 0; width: 240px; padding: 7px 10px; }
.dl { display: grid; grid-template-columns: 120px 1fr; gap: 8px 12px; margin: 0; }
.dl dt { color: var(--muted); font-size: .88rem; }
.dl dd { margin: 0; }
.job pre { background: #f7f8fb; border-radius: 8px; padding: 10px 12px; font-size: .9rem; }
.job-head { display: flex; gap: 10px; align-items: center; }
.pair { background: var(--warn-bg); border-radius: 10px; padding: 12px 14px; margin: 12px 0; }
.pair span { display: block; font-size: .8rem; font-weight: 700; color: var(--warn); }
.pair b { display: block; font-size: 1.8rem; letter-spacing: .15em; font-family: ui-monospace, Menlo, monospace; }
.plan-form { padding: 16px 18px; }
body.bare { background: var(--navy); }
.center { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.center .card { width: 100%; max-width: 400px; margin: 0; }

@media (max-width: 860px) {
  .hero-grid, .grid2, .grid2.wide-left, .grid3 { grid-template-columns: 1fr; }
  .phone-mock { display: none; }
  .hero { padding: 44px 0 52px; }
  body.admin { grid-template-columns: 1fr; }
  .side { position: static; height: auto; }
  .side nav { flex-direction: row; flex-wrap: wrap; }
  .content { padding: 20px 16px 40px; }
  .summary { grid-template-columns: 1fr; }
  .topbar nav a:not(.btn):first-child, .topbar nav a:not(.btn):nth-child(2) { display: none; }
  form.search input { width: 160px; }
}
