/* Berberim web sayfaları — uygulamayla aynı dil: koyu yüzey, altın vurgu, Plus Jakarta Sans. */
:root {
  --bg: #121316;
  --surface: #1a1c22;
  --surface-2: #242730;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #f4f4f5;
  --text-2: #a1a1aa;
  --muted: #71717a;
  --gold: #e5a93c;
  --gold-soft: rgba(229, 169, 60, .12);
  --gold-line: rgba(229, 169, 60, .45);
  --ok: #10b981;
  --radius: 16px;
  --measure: 70ch;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #faf9f6;
    --surface: #ffffff;
    --surface-2: #f2f0eb;
    --line: rgba(18, 19, 22, .08);
    --line-strong: rgba(18, 19, 22, .16);
    --text: #17181c;
    --text-2: #4b4f58;
    --muted: #6b7079;
    --gold: #a86d0c;
    --gold-soft: rgba(168, 109, 12, .09);
    --gold-line: rgba(168, 109, 12, .4);
    color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ── Üst bar ── */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: .14em; font-size: 15px; }
.brand img { width: 32px; height: 32px; }
.nav { margin-left: auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
  color: var(--text-2); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 999px; white-space: nowrap;
}
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--gold); background: var(--gold-soft); }
@media (max-width: 720px) {
  .top .wrap { flex-wrap: wrap; gap: 4px 16px; padding-top: 10px; padding-bottom: 6px; }
  .nav { margin-left: -12px; width: calc(100% + 12px); }
}

/* ── Belge sayfaları ── */
.doc-head { padding: 48px 0 24px; border-bottom: 1px solid var(--line); }
.eyebrow { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px; }
h1 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; }
.lead { color: var(--text-2); font-size: 18px; max-width: var(--measure); margin: 0; }
.meta { color: var(--muted); font-size: 14px; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 16px; }

.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding: 32px 0 64px; }
@media (max-width: 860px) { .doc { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.toc { position: sticky; top: 88px; align-self: start; font-size: 14px; }
.toc p { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: block; color: var(--text-2); text-decoration: none; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; line-height: 1.4; }
.toc a:hover { color: var(--text); border-left-color: var(--line-strong); }
@media (max-width: 860px) {
  .toc { position: static; margin-bottom: 24px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
  .toc ol { columns: 2; column-gap: 16px; border: 0; }
  .toc a { padding: 4px 0; border: 0; margin: 0; }
}
@media (max-width: 480px) { .toc ol { columns: 1; } }

.prose { max-width: var(--measure); }
.prose section { padding-top: 8px; }
.prose h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.01em; margin: 32px 0 10px; display: flex; gap: 12px; align-items: baseline; }
.prose h2 .n { color: var(--gold); font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 700; min-width: 1.8em; }
.prose section:first-child h2 { margin-top: 0; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { padding-left: 20px; margin: 8px 0 16px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--gold); }

.callout {
  display: flex; gap: 12px; padding: 16px; margin: 20px 0;
  background: var(--gold-soft); border: 1px solid var(--gold-line); border-radius: var(--radius);
  color: var(--text);
}
.callout svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 2px; }
.callout p { margin: 0; color: var(--text); }

.table { width: 100%; overflow-x: auto; margin: 12px 0 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table th { color: var(--text); font-weight: 600; background: var(--surface); font-size: 14px; }
.table td { color: var(--text-2); }
.table tr:last-child td { border-bottom: 0; }
.table td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }

.fill { color: var(--gold); background: var(--gold-soft); border: 1px dashed var(--gold-line); border-radius: 6px; padding: 0 6px; font-weight: 600; }

/* ── Kartlar ve düğmeler ── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 12px 0 6px; font-size: 18px; line-height: 1.35; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.icon svg { width: 24px; height: 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 12px;
  font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent;
}
.btn-primary { background: var(--gold); color: #121316; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn svg { width: 20px; height: 20px; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.steps li { counter-increment: step; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--text); margin: 0; }
.steps li::before { content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #121316; font-weight: 700; font-size: 14px; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 16px; margin: 10px 0; }
summary { cursor: pointer; padding: 14px 0; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-weight: 700; font-size: 20px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 14px; color: var(--text-2); }

/* ── Tanıtım sayfası ── */
.hero { padding: 72px 0 56px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero { grid-template-columns: minmax(0, 1fr); padding: 40px 0 32px; } }
.hero h1 { font-size: clamp(36px, 6vw, 56px); }
.hero .lead { font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.badge-soon { color: var(--muted); font-size: 13px; margin-top: 12px; }
.phone {
  justify-self: center; width: min(300px, 80vw); aspect-ratio: 9 / 19; border-radius: 40px; padding: 14px;
  background: linear-gradient(160deg, #2a2d36, #0d0e11); border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(229,169,60,.15);
}
.screen { height: 100%; border-radius: 28px; background: #121316; padding: 22px 16px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; color: #f4f4f5; }
.screen .t { font-weight: 700; font-size: 17px; }
.screen .s { color: #a1a1aa; font-size: 12px; margin-top: -6px; }
.slot-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.slot { border: 1px solid rgba(255,255,255,.1); border-radius: 10px; text-align: center; padding: 8px 0; font-size: 13px; font-weight: 600; color: #f4f4f5; }
.slot.on { background: #e5a93c; color: #121316; border-color: #e5a93c; box-shadow: 0 0 18px rgba(245,158,11,.45); }
.slot.off { color: #52525b; text-decoration: line-through; }
.mini { background: #1a1c22; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 12px; font-size: 12px; color: #a1a1aa; }
.mini b { display: block; color: #f4f4f5; font-size: 14px; margin-bottom: 2px; }
.mini .gold { color: #e5a93c; font-weight: 700; }
.cta-bar { margin-top: auto; background: #e5a93c; color: #121316; font-weight: 700; text-align: center; border-radius: 12px; padding: 12px; font-size: 14px; }

.band { padding: 56px 0; border-top: 1px solid var(--line); }
.band h2 { font-size: clamp(26px, 4vw, 34px); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 8px; }
.band .lead { margin-bottom: 28px; }

/* ── Alt bilgi ── */
.foot { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { color: var(--text-2); text-decoration: none; }
.foot a:hover { color: var(--text); }

@media print {
  .top, .toc, .foot, .actions { display: none !important; }
  body { background: #fff; color: #000; }
  .doc { display: block; }
  .prose p, .prose li, .table td { color: #222; }
}
