/* saattebir — ortak stil (site + panel) */
:root {
  --bg: #F6F4F0;
  --ink: #20232B;
  --muted: #6A6E78;
  --line: #E2DED6;
  --card: #FFFFFF;
  --soft: #EFEBE4;
  --red: #EE2636;
  --red-ink: #C81B2A;
  --brown: #5A1D0C;
  --ok: #1E7F4F;
  --warn: #A86A00;
  --radius: 14px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #14161B; --ink: #EDEBE6; --muted: #9A9EA8; --line: #2A2D35;
    --card: #1B1E24; --soft: #22252C; --red: #FF3B4A; --red-ink: #FF5A67;
    --ok: #4CC38A; --warn: #E0A43A;
  }
}
:root[data-theme="dark"] {
  --bg: #14161B; --ink: #EDEBE6; --muted: #9A9EA8; --line: #2A2D35;
  --card: #1B1E24; --soft: #22252C; --red: #FF3B4A; --red-ink: #FF5A67;
  --ok: #4CC38A; --warn: #E0A43A;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: inherit; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.015em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 440px; }

/* Üst bar */
.top { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand svg { height: 40px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.nav a { text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
.nav a:hover { background: var(--soft); }
.nav .hide-sm { display: inline-block; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } }

/* Düğmeler, formlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent; background: var(--red); color: #fff; font: inherit; font-weight: 700;
  padding: 10px 18px; border-radius: 10px; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover { background: var(--soft); }
.btn.dark { background: var(--brown); }
.btn.sm { padding: 6px 12px; font-size: .875rem; border-radius: 8px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.nav .btn { padding: 8px 14px; color: #fff; }
.nav .btn:hover { background: var(--red); }
form.inline { display: inline; }
label { display: block; font-weight: 600; font-size: .9rem; margin: 0 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--card);
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
textarea { resize: vertical; min-height: 60px; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--red) 40%, transparent); border-color: var(--red); }
.field { margin-bottom: 16px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; }

.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.flash { padding: 12px 16px; border-radius: 10px; margin: 16px 0; border: 1px solid var(--line); background: var(--card); }
.flash.ok { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); color: var(--ok); }
.flash.error { border-color: color-mix(in srgb, var(--red) 40%, var(--line)); color: var(--red-ink); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 9px; border-radius: 999px; background: var(--soft); color: var(--muted); }
.badge.red { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red-ink); }
.badge.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.badge.warn { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.foot { border-top: 1px solid var(--line); margin-top: 64px; padding: 24px 0; color: var(--muted); font-size: .875rem; }
.foot .wrap { display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }

/* ---- Landing ---- */
.hero { padding: 56px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; gap: 32px; } }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0 16px; }
.next { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: .9rem; }
.next b { font-variant-numeric: tabular-nums; font-size: 1.05rem; }
.section { padding: 56px 0; }
.section h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.section .intro { color: var(--muted); max-width: 60ch; margin-bottom: 32px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; }

.clock-strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; max-width: 640px; }
.clock-strip span { text-align: center; padding: 8px 0; border-radius: 8px; border: 1px solid var(--line); background: var(--card); font-size: .85rem; font-variant-numeric: tabular-nums; color: var(--muted); }
.clock-strip span.on { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; padding: 28px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.plan.featured { border: 2px solid var(--red); }
.plan h3 { font-size: 1.2rem; display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 2px; }
.price small { font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 24px; flex: 1; }
.plan li { padding: 6px 0 6px 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.apps { display: flex; gap: 10px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); text-decoration: none; }
.store small { display: block; font-size: .7rem; opacity: .8; }
.store b { display: block; line-height: 1.1; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* ---- Bülten kartı (dump tasarımı: 1080×1350) ---- */
.card-wrap { container-type: inline-size; width: 100%; }
.bcard {
  position: relative; aspect-ratio: 4 / 5; width: 100%; overflow: hidden; border-radius: 2.2cqw;
  background: radial-gradient(120% 80% at 50% 45%, #7B2A10 0%, #5A1D0C 45%, #2E0F07 100%);
  color: #fff; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  padding: 4.5cqw 5cqw 4cqw; display: flex; flex-direction: column;
}
.bcard .b-logo { width: 17cqw; color: #fff; line-height: 0; }
.bcard .b-logo svg { width: 100%; height: auto; }
.bcard .b-date { display: flex; align-items: center; gap: 3cqw; margin: 3.5cqw 0 2.5cqw; font-weight: 800; font-size: 3.4cqw; letter-spacing: .02em; white-space: nowrap; }
.bcard .b-date::before, .bcard .b-date::after { content: ""; flex: 1; height: .45cqw; background: #EE2636; }
.bcard .b-date i { color: #EE2636; font-style: normal; }
.bcard ol { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; }
.bcard li { flex: 1 1 0; display: grid; grid-template-columns: 9cqw 1fr; align-items: center; border-bottom: .3cqw solid #EE2636; padding: 1cqw 0; min-height: 0; overflow: hidden; }
.bcard li:last-child { border-bottom: 0; }
.bcard .b-no { font-size: 6.4cqw; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.bcard .b-body { border-left: .6cqw solid #EE2636; padding-left: 2.6cqw; min-width: 0; }
.bcard .b-cat { color: #FF3445; font-weight: 800; font-size: 2.4cqw; letter-spacing: .03em; text-transform: uppercase; }
.bcard .b-title { font-weight: 800; font-size: 3.1cqw; line-height: 1.16; margin: .2cqw 0 .5cqw; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bcard .b-sum { font-size: 2.15cqw; line-height: 1.25; opacity: .92; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bcard .b-star { color: #FFC24B; margin-left: 1cqw; font-size: 2.2cqw; vertical-align: middle; }
.bcard .b-foot { display: flex; align-items: center; justify-content: center; position: relative; margin-top: 2cqw; }
.bcard .b-tk { background: #EE2636; color: #fff; font-weight: 900; font-size: 5.4cqw; letter-spacing: -.02em; padding: .6cqw 3.2cqw; border-radius: 1.2cqw; line-height: 1.15; }
.bcard .b-page { position: absolute; right: 0; font-weight: 800; font-size: 2.8cqw; }
.bcard.locked li.lock .b-title, .bcard.locked li.lock .b-sum { filter: blur(1.1cqw); user-select: none; }

/* Bülten sayfası */
.bulletin-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 32px 0 20px; }
.bulletin-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .bulletin-cards { grid-template-columns: 1fr; } }
.highlights { margin: 24px 0; padding: 18px 20px; border-left: 4px solid var(--red); background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; }
.highlights h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red-ink); }
.highlights ul { margin: 0; padding-left: 18px; }
.textlist { margin-top: 32px; }
.textlist li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.textlist li a { font-weight: 700; text-decoration: none; }
.textlist li a:hover { text-decoration: underline; }
.paywall { text-align: center; padding: 28px; margin: 20px 0; }

/* Hesap */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } }
.stat { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
.meter { height: 8px; background: var(--soft); border-radius: 99px; overflow: hidden; margin: 10px 0; }
.meter i { display: block; height: 100%; background: var(--red); }
.hours { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
@media (max-width: 520px) { .hours { grid-template-columns: repeat(6, 1fr); } }
.hours label { margin: 0; }
.hours input { position: absolute; opacity: 0; pointer-events: none; }
.hours span { display: block; text-align: center; padding: 10px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--card); font-variant-numeric: tabular-nums; cursor: pointer; font-weight: 600; }
.hours input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.hours input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.day { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.slot { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; background: var(--card); text-decoration: none; display: block; }
.slot b { display: block; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.slot small { color: var(--muted); }
.slot.empty { opacity: .45; }
.slot.opened { border-color: color-mix(in srgb, var(--ok) 50%, var(--line)); }
.slot.mine { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--red) 55%, transparent); }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.table-scroll { overflow-x: auto; }

/* Ödeme */
.choice { display: grid; gap: 10px; }
.choice label { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; font-weight: 500; margin: 0; }
.choice input:checked ~ .c-body b { color: var(--red-ink); }
.choice label:has(input:checked) { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.c-body { flex: 1; }
.c-body small { display: block; color: var(--muted); }
.iban { font-family: ui-monospace, Menlo, monospace; font-size: 1.05rem; word-break: break-all; }
dl.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; font-weight: 600; }

/* Dar ekran: grid hücreleri içerikle genişlemesin */
.hero .wrap > *, .editor-grid > *, .grid2 > *, .plans > * { min-width: 0; }
@media (max-width: 640px) {
  .clock-strip { grid-template-columns: repeat(6, 1fr); }
  .clock-strip span { font-size: .75rem; }
  .top .wrap { gap: 8px; }
  .brand svg { height: 34px; }
  .nav .btn { padding: 8px 10px; font-size: .875rem; }
}
