:root {
	--ink: #14162b;
	--muted: #565a78;
	--paper: #f3f5fb;
	--white: #ffffff;
	--cobalt: #1f3fd6;
	--cobalt-deep: #152a94;
	--sun: #ffc93c;
	--ok: #13804d;
	--bad: #c02a2a;
	--line: #d8dcec;
	--display: "Bricolage Grotesque", system-ui, sans-serif;
	--body: "Instrument Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.55 var(--body);
}
a { color: var(--cobalt); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }


.top, main, .foot { max-width: 1080px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.top-wrap { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.top { display: flex; align-items: center; gap: 36px; min-height: 68px; }
.top .account { margin-left: auto; }
.top .menu a { padding: 8px 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (max-width: 720px) { .top .menu { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.top nav { display: flex; align-items: center; gap: 20px; }
.top nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.top nav a:not(.btn):hover { text-decoration: underline; }
.top form { margin: 0; }
.brand { font: 800 28px/1 var(--display); letter-spacing: -0.04em; color: var(--cobalt); text-decoration: none; }

.btn {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--sun); color: var(--ink);
	font: 600 17px/1 var(--body);
	padding: 0 24px; min-height: 56px;
	border: 2px solid var(--ink); border-radius: 12px;
	box-shadow: 0 4px 0 var(--ink);
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .08s, box-shadow .08s;
}
.btn:hover { transform: translateY(1px); box-shadow: 0 3px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn.small { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 10px; box-shadow: 0 3px 0 var(--ink); }
.btn.ghost { background: var(--white); }
.btn.wide { width: 100%; margin-top: 12px; }
button.link { background: none; border: 0; padding: 0; font: 500 17px var(--body); color: var(--ink); cursor: pointer; }
button.link:hover { text-decoration: underline; }

/* Ana sayfa */
.hero { padding: 56px 0 72px; max-width: 820px; }
.hero h1 {
	font: 800 clamp(52px, 11vw, 124px)/0.92 var(--display);
	letter-spacing: -0.045em;
	margin: 0 0 24px;
}
.lead { font-size: 20px; color: var(--muted); max-width: 34em; margin: 0 0 36px; }

.claim label, .new-shop label, .form label { display: block; font-weight: 600; margin-bottom: 8px; }
.claim-row { display: flex; gap: 12px; flex-wrap: wrap; }
.address {
	flex: 1 1 320px; display: flex; align-items: center; min-width: 0;
	background: var(--white); border: 2px solid var(--ink); border-radius: 12px;
	min-height: 56px; padding: 0 16px;
}
.address:focus-within { outline: 3px solid var(--sun); outline-offset: 2px; }
.address input {
	flex: 1 1 auto; min-width: 0; width: 100%;
	border: 0; outline: 0; background: none; padding: 0;
	font: 600 20px/1 var(--body); color: var(--cobalt);
}
.address input::placeholder { color: #a9aecb; }
.suffix { font: 600 20px/1 var(--body); color: var(--ink); white-space: nowrap; }
.hero .address { min-height: 68px; }
.hero .address input, .hero .suffix { font-size: clamp(18px, 3.4vw, 26px); }
.hero .btn { min-height: 68px; font-size: 19px; }
.status { margin: 14px 0 0; color: var(--muted); min-height: 1.55em; }
.status.ok { color: var(--ok); font-weight: 600; }
.status.bad { color: var(--bad); font-weight: 600; }

.facts {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px;
	padding: 56px 0; border-top: 2px solid var(--ink);
}
.facts h2 { font: 700 26px/1.15 var(--display); letter-spacing: -0.02em; margin: 0 0 8px; }
.facts p { margin: 0; color: var(--muted); max-width: 30em; }

.steps { background: var(--cobalt); color: var(--white); border-radius: 24px; padding: 48px 40px; margin-bottom: 72px; }
.steps h2 { font: 800 clamp(30px, 5vw, 44px)/1.05 var(--display); letter-spacing: -0.03em; margin: 0 0 28px; }
.steps ol { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { counter-increment: s; color: #dfe5ff; }
.steps li::before { content: counter(s); display: block; font: 800 56px/1 var(--display); color: var(--sun); margin-bottom: 10px; }
.steps strong { color: var(--white); display: block; font-size: 19px; }

/* Formlar */
.sheet { max-width: 460px; margin: 0 auto; padding: 48px 0 80px; }
.sheet h1, .panel h1 { font: 800 clamp(38px, 7vw, 56px)/1 var(--display); letter-spacing: -0.035em; margin: 0 0 12px; }
.sheet .lead { margin-bottom: 28px; }
.form label { margin-top: 18px; }
.form > input {
	width: 100%; min-height: 56px; padding: 0 16px;
	background: var(--white); border: 2px solid var(--ink); border-radius: 12px;
	font: 500 18px var(--body); color: var(--ink);
}
.hint { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.alt { margin-top: 24px; color: var(--muted); }
.alert { padding: 14px 16px; border-radius: 12px; border: 2px solid; font-weight: 600; margin: 0 0 20px; background: var(--white); }
.alert.ok { color: var(--ok); }
.alert.bad { color: var(--bad); }

/* Panel */
.panel { padding: 40px 0 80px; max-width: 820px; }
.panel .lead { margin-bottom: 28px; }
.shops { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 12px; }
.shops li {
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 16px;
}
.shop-sign {
	width: 52px; height: 52px; flex: none; display: grid; place-items: center;
	background: var(--cobalt); color: var(--white); border-radius: 12px;
	font: 800 26px/1 var(--display);
}
.shop-info { flex: 1 1 200px; min-width: 0; display: grid; }
.shop-info strong { font-size: 19px; overflow-wrap: anywhere; }
.shop-info a { overflow-wrap: anywhere; }
.shop-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.new-shop { border-top: 2px solid var(--ink); padding-top: 28px; }

.foot { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 40px; color: var(--muted); border-top: 1px solid var(--line); }
.foot .brand { font-size: 22px; }

@media (max-width: 720px) {
	.hero { padding: 32px 0 48px; }
	.facts { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
	.steps { padding: 32px 24px; border-radius: 20px; }
	.steps ol { grid-template-columns: 1fr; }
	.claim-row .btn { flex: 1 1 100%; }
	.top nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Yönetim (superadmin) */
.super .tabs { display: flex; gap: 6px; margin: 8px 0 20px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.super .tabs a { padding: 10px 16px; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.super .tabs a.on { color: var(--ink); border-bottom-color: var(--cobalt); }
.super .tabs.sub { border-bottom: 0; margin-top: 0; }
.super .tabs.sub a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0; background: var(--white); font-size: 15px; }
.super .tabs.sub a.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.dot { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--bad); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.grid { width: 100%; border-collapse: collapse; font-size: 15px; }
.grid th, .grid td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.grid th { font-weight: 600; color: var(--muted); font-size: 13px; background: #fafbff; }
.grid tr:last-child td { border-bottom: 0; }
.grid tr.unread td { background: #fffbea; font-weight: 600; }
.grid .acts { white-space: nowrap; display: flex; gap: 8px; }
.muted { color: var(--muted); font-size: 14px; }
.ticket h2 { margin: 0 0 4px; font: 700 26px/1.2 var(--display); }
.msg { margin: 14px 0; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--white); max-width: 760px; }
.msg.from-us { background: #eef2ff; border-color: #c9d3ff; margin-left: auto; }
.msg-meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.msg-body { white-space: normal; word-wrap: break-word; }
.reply textarea { width: 100%; font: inherit; padding: 12px; border: 2px solid var(--line); border-radius: 12px; }
.row-actions { display: flex; gap: 10px; align-items: center; margin-top: 10px; flex-wrap: wrap; }
.row-actions select { font: inherit; padding: 10px; border: 2px solid var(--line); border-radius: 10px; }
.inline-form { margin-top: 14px; }

/* Özellikler: mega menü */
.mega { position: relative; }
.mega-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 0; }
.mega-toggle svg { transition: transform .15s; }
.mega.open .mega-toggle svg { transform: rotate(180deg); }
.mega-panel { position: fixed; left: 0; right: 0; top: 68px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 36px rgba(20, 22, 43, .12); padding: 20px 20px 12px; visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .14s, transform .14s, visibility 0s .14s; z-index: 4; }
.mega.open .mega-panel { visibility: visible; opacity: 1; transform: none; transition: opacity .14s, transform .14s; }
.mega-grid { max-width: 1080px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto 1fr; gap: 14px 28px; }
.mega-col.g-katalog, .mega-col.g-odeme, .mega-col.g-magaza { grid-row: 1 / span 2; }
.mega-col.g-katalog { grid-column: 1; }
.mega-col.g-odeme { grid-column: 2; }
.mega-col.g-raporlar { grid-column: 3; grid-row: 1; }
.mega-col.g-pazaryeri { grid-column: 3; grid-row: 2; }
.mega-col.g-magaza { grid-column: 4; }
.mega-col h3 { margin: 0 0 4px; font: 700 12px/1.4 var(--body); color: var(--muted); letter-spacing: .04em; text-transform: none; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col a { display: block; padding: 5px 8px; margin: 0 -8px; border-radius: 8px; text-decoration: none !important; color: var(--ink); font-size: 14.5px; line-height: 1.3; font-weight: 500; }
.mega-col a:hover, .mega-col a:focus-visible { background: var(--paper); color: var(--cobalt); }
.mega-foot { max-width: 1080px; margin: 10px auto 0; padding-top: 10px; border-top: 1px solid var(--line); display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
@media (max-width: 720px) { .mega-panel { display: none; } }
@media (prefers-reduced-motion: reduce) { .mega-panel, .mega-toggle svg { transition: none; } }
/* Özellik sayfaları */
.feat-hero { padding: 56px 0 16px; max-width: 760px; }
.feat-hero h1, .feat-page h1 { font: 800 clamp(38px, 7vw, 68px)/1 var(--display); letter-spacing: -0.035em; margin: 0 0 16px; }
.feat-group { margin: 40px 0; }
.feat-group h2, .feat-more h2 { font: 700 26px/1.1 var(--display); letter-spacing: -0.02em; margin: 0 0 16px; }
.feat-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.feat-cards a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); transition: border-color .12s, transform .12s; }
.feat-cards a:hover { border-color: var(--cobalt); transform: translateY(-2px); }
.feat-cards strong { font: 700 20px/1.2 var(--display); }
.feat-cards span { color: var(--muted); font-size: 15px; flex: 1; }
.feat-cards em { font-style: normal; font-weight: 600; color: var(--cobalt); font-size: 14px; }
.feat-cta { margin: 56px 0 72px; padding: 40px; background: var(--cobalt); color: var(--white); border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.feat-cta h2 { margin: 0; font: 800 clamp(26px, 4vw, 38px)/1.1 var(--display); letter-spacing: -0.03em; }
.crumbs { padding: 28px 0 0; color: var(--muted); font-size: 15px; }
.crumbs a { color: var(--muted); }
.feat-page { padding: 20px 0 8px; }
.feat-page header { max-width: 760px; margin-bottom: 36px; }
.feat-body { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feat-body section { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.feat-body h2 { margin: 0 0 14px; font: 700 22px/1.1 var(--display); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--ok); border-bottom: 3px solid var(--ok); transform: rotate(-45deg); }
.how { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.how li::marker { font-weight: 700; color: var(--cobalt); }
.note { margin: 18px 0 0; padding: 12px 14px; background: #fffbea; border-radius: 12px; font-size: 15px; color: var(--muted); }
.feat-more { margin: 48px 0 72px; }
@media (max-width: 720px) { .feat-body { grid-template-columns: 1fr; } .feat-cta { padding: 28px 22px; } }
/* Tema ekran görüntüleri */
.shots { list-style: none; margin: 0 0 36px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.shots figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(20, 22, 43, .08); }
.shots img { display: block; width: 100%; height: auto; border-bottom: 1px solid var(--line); }
.shots figcaption { padding: 14px 18px; font: 700 18px/1.2 var(--display); }
@media (max-width: 720px) { .shots { grid-template-columns: 1fr; } }