/* Otomatik üretildi: scripts/build_css.py (kaynak app.css). Elle düzenlemeyin. */
/* FoxTekno arayüz stilleri */

:root {
  --bg: #f7f5f2;
  --surface: #ffffff;
  --surface-2: #fbfaf8;
  --line: #e6e1da;
  --line-strong: #d4cdc3;
  --text: #1d1b18;
  --muted: #6d675f;
  /* Zaman, alt bilgi gibi soluk metinler beyaz zeminde en az 4.5:1 */
  --faint: #77706a;

  --brand: #e2571b;
  --brand-hover: #c4461a;
  /* Üzerine beyaz yazı gelen dolgu (birincil düğme): marka turuncusunun 4.5:1 kontrastlı tonu */
  --brand-fill: #cc4a12;
  --brand-fill-hover: #b3400f;
  /* Bağlantı metni: beyaz zeminde 4.5:1 */
  --brand-text: #c4461a;
  --brand-soft: #fdefe6;

  --ok: #2b7a4b;
  --ok-soft: #e8f4ec;
  --warn: #a15c07;
  --warn-soft: #fdf3e2;
  --bad: #b42318;
  --bad-soft: #fcecea;
  --info: #2c5282;
  --info-soft: #eaf1f9;

  --radius: 6px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sidebar: 228px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--brand-text); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; font-weight: 650; letter-spacing: -0.01em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
small, .small { font-size: .85rem; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: var(--mono); font-size: .88em; }
.nowrap { white-space: nowrap; }
.hidden { display: none !important; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }

.right { text-align: end; }

/* ─── İkonlar ─────────────────────────────── */
.icon {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -3px;
}
.icon.sm { width: 15px; height: 15px; vertical-align: -2px; }

/* ─── Butonlar ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .5rem .95rem;
  font: inherit; font-size: .92rem; font-weight: 550;
  color: var(--text); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .12s, border-color .12s;
}
.btn:hover { background: var(--surface-2); border-color: var(--faint); text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.primary { color: #fff; background: var(--brand-fill); border-color: var(--brand-fill); }
.btn.primary:hover { background: var(--brand-fill-hover); border-color: var(--brand-fill-hover); }

.btn.sm { padding: .3rem .6rem; font-size: .85rem; }
.btn.block { width: 100%; }

/* ─── Formlar ─────────────────────────────── */
label { display: block; font-size: .88rem; font-weight: 550; margin-bottom: .3rem; }
.field { margin-bottom: 1rem; }
.hint, .field .hint { font-size: .82rem; color: var(--muted); margin-top: .3rem; }
input:not([type]), input[type=text], input[type=email], input[type=password], input[type=number], input[type=time],
input[type=date], input[type=search], input[type=url], input[type=tel], select, textarea {
  width: 100%;
  padding: .52rem .7rem;
  font: inherit; font-size: .94rem; color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--radius);
}
textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
input[type=file] { width: 100%; font: inherit; font-size: .9rem; color: var(--muted); padding: .45rem; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface-2); cursor: pointer; }
input[type=file]::file-selector-button { font: inherit; font-size: .88rem; font-weight: 550; margin-inline-end: .75rem; padding: .4rem .8rem; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--text); cursor: pointer; }
input[type=file]:hover::file-selector-button { border-color: var(--brand); color: var(--brand); }
input:focus, select:focus, textarea:focus, .btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--brand) 35%, transparent);
  outline-offset: 1px; border-color: var(--brand);
}
.check { display: flex; align-items: center; gap: .5rem; font-weight: 450; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.trap { position: absolute; left: -9999px; }

/* ─── Kartlar, tablolar ───────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card + .card { margin-top: 1rem; }
:is(.grid-3, .two-col, .stats) > .card + .card { margin-top: 0; }

.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th {
  text-align: start; font-weight: 600; font-size: .8rem; color: var(--muted);
  padding: .55rem .75rem; border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.table td { padding: .65rem .75rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .right { text-align: end; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; }
.stat .label { font-size: .82rem; color: var(--muted); }
.stat .value { font-size: 1.55rem; font-weight: 650; margin-top: .15rem; font-variant-numeric: tabular-nums; }
.stat .sub { font-size: .82rem; color: var(--faint); }

/* ─── Rozetler, uyarılar ──────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .12rem .5rem; font-size: .78rem; font-weight: 600;
  border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line);
}
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.badge.info { background: var(--info-soft); color: var(--info); border-color: transparent; }
.badge.accent { background: var(--brand-soft); color: var(--brand); border-color: transparent; }

.notice {
  display: flex; gap: .65rem; align-items: flex-start;
  padding: .75rem 1rem; border-radius: var(--radius);
  font-size: .92rem; border: 1px solid transparent;
}
.notice .icon { margin-top: 2px; }
.notice.info { background: var(--info-soft); color: var(--info); }
.notice.warn { background: var(--warn-soft); color: var(--warn); }
.notice.bad { background: var(--bad-soft); color: var(--bad); }
.notice.ok { background: var(--ok-soft); color: var(--ok); }
.notice a { color: inherit; text-decoration: underline; }
.notice > span { flex: 1; }
.notice-close { margin-inline-start: auto; background: none; border: 0; padding: 2px; color: inherit; cursor: pointer; opacity: .65; border-radius: 4px; line-height: 0; }
.notice-close:hover { opacity: 1; background: rgba(0,0,0,.06); }

.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.empty h3 { color: var(--text); }

/* ─── Panel düzeni ────────────────────────── */
.panel { min-height: 100vh; }
.sidebar {
  position: fixed; inset-inline-start: 0; top: 0; bottom: 0; width: var(--sidebar); z-index: 30; overflow-y: auto;
  display: flex; flex-direction: column;
  background: var(--surface); border-inline-end: 1px solid var(--line);
  padding: 1rem .75rem;
}
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; font-size: 1.05rem; color: var(--text); padding: .25rem .5rem 1rem; }
.brand:hover { text-decoration: none; }
.brand img { width: 26px; height: 26px; }
.brand img.brand-logo { width: auto; height: 34px; }
.foot-brand img { display: block; height: 30px; width: auto; }
.site-footer .foot-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; width: 100%; margin-bottom: 1rem; line-height: 1.6; }
.site-footer .fh { display: block; font-weight: 700; color: var(--text); margin-bottom: .25rem; }
.site-footer address { font-style: normal; }
.site-footer .foot-social { display: flex; gap: .35rem; margin-top: .6rem; }
.site-footer .foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; }
.site-footer .foot-social a:hover { color: var(--brand-text); border-color: currentColor; }
.site-footer .foot-links { display: flex; flex-direction: column; gap: .15rem; }
.site-footer .fh a { color: var(--text); }
@media (max-width: 900px) { .site-footer .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .site-footer .foot-grid { grid-template-columns: 1fr; } }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a {
  display: flex; align-items: center; gap: .65rem;
  padding: .48rem .6rem; border-radius: var(--radius);
  color: var(--muted); font-weight: 520; font-size: .93rem;
}
.nav a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.nav a.active { background: var(--brand-soft); color: var(--brand-fill-hover); }

.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); margin-bottom: 1rem; }
.tabs a { padding: .5rem .8rem; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: var(--text); border-color: var(--brand); font-weight: 600; }
.tabs a:hover { text-decoration: none; color: var(--text); }
.setup { max-width: 820px; }

.canned-menu { position: absolute; inset-inline-start: 0; bottom: calc(100% + 4px); width: min(420px, 100%); max-height: 260px; overflow-y: auto;
  margin: 0; padding: .25rem; list-style: none; background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 20; }
.canned-menu li { padding: .45rem .6rem; border-radius: 4px; cursor: pointer; display: flex; flex-direction: column; gap: .1rem; }
.canned-menu li span { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.canned-menu li.active, .canned-menu li:hover { background: var(--brand-soft); }
.nav .sep { height: 1px; background: var(--line); margin: .6rem .4rem; }

.main { min-width: 0; margin-inline-start: var(--sidebar); }

.sidebar-backdrop { display: none; }
.menu-btn { display: none; }
.content { padding: 1.75rem 2rem 3rem; max-width: 1560px; }

/* Yönetim → Site trafiği */

@keyframes live-pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.funnel li { display: grid; grid-template-columns: 10rem minmax(0, 1fr) 6rem; align-items: center; gap: .75rem; font-size: .9rem; }

.funnel .num { text-align: end; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .funnel li { grid-template-columns: 1fr 4.5rem; }  }

/* Kurulum adımları */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: flex; gap: .75rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }

.steps li.done .title { color: var(--muted); text-decoration: line-through; }

/* Kanal kartları */

.channel-logo { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; color: #fff; flex: none; }
.channel-logo .icon { width: 20px; height: 20px; }
.logo-whatsapp { background: #1f9d55; }
.logo-telegram { background: #2a8bd0; }
.logo-facebook { background: #3a5ea8; }
.logo-instagram { background: #b3407d; }
.logo-website { background: #3d4451; }
.snippet { width: 100%; min-height: 120px; font-family: var(--mono); font-size: .78rem; background: var(--surface-2); }

/* Konuşma görünümü */
.thread { display: flex; flex-direction: column; gap: .6rem; padding: 1rem; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); max-height: 68vh; overflow-y: auto; }
.bubble { max-width: 72%; padding: .55rem .8rem; border-radius: 10px; font-size: .93rem; overflow-wrap: anywhere; }
.bubble .text { display: block; white-space: pre-wrap; }
.bubble .meta { display: block; font-size: .74rem; color: var(--faint); margin-top: .25rem; }
.bubble.user { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); }
.bubble.assistant { align-self: flex-end; background: var(--brand-soft); }
.bubble.agent { align-self: flex-end; background: #eef2ea; }
.bubble .attachment { display: block; margin-bottom: .35rem; }
.bubble img { display: block; max-width: 100%; max-height: 320px; border-radius: 8px; cursor: zoom-in; }
.bubble audio, .bubble video { max-width: 100%; }
.bubble video { max-height: 320px; border-radius: 8px; }
.bubble .attachment.file { display: inline-flex; align-items: center; gap: .35rem; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0, 0, 0, .82); }
.lightbox img { display: block; max-width: 94vw; max-height: 90vh; border-radius: 8px; cursor: zoom-out; }
.lightbox-close { position: fixed; top: .8rem; inset-inline-end: 1rem; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255, 255, 255, .3); }
.who-tag { display: block; font-size: .72rem; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.hours-row { display: grid; grid-template-columns: 110px 90px minmax(0, 150px) minmax(0, 150px); gap: .6rem; align-items: center; margin-bottom: .4rem; }

.bars { display: flex; align-items: flex-end; gap: 3px; height: 160px; padding-top: .5rem; border-bottom: 1px solid var(--line); }
.bars .bar { flex: 1; background: #f0b999; border-radius: 3px 3px 0 0; min-height: 2px; position: relative; }
.bars .bar:hover { background: var(--brand); }

.pagination { display: flex; gap: .4rem; align-items: center; justify-content: flex-end; margin-top: 1rem; font-size: .88rem; }

.toolbar { display: flex; gap: .6rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.toolbar input[type=search] { max-width: 280px; }
.toolbar select { width: auto; }

/* ─── Toast ───────────────────────────────── */
.toasts { position: fixed; inset-inline-end: 1.25rem; bottom: 1.25rem; display: flex; flex-direction: column; gap: .5rem; z-index: 50; }
.toast {
  min-width: 260px; max-width: 380px; padding: .7rem .9rem;
  background: var(--text); color: #fff; border-radius: var(--radius);
  font-size: .9rem; box-shadow: 0 6px 20px rgba(0,0,0,.12);
}
.toast.error { background: var(--bad); }
.toast.ok { background: var(--ok); }

/* ─── Herkese açık sayfalar ───────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .2s ease, background-color .2s ease;
}
.site-header.scrolled { box-shadow: 0 6px 20px -12px rgba(60, 40, 20, .28); }
.site-header.nav-open { background: var(--surface); }
html { scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
.site-header .inner, .site-footer .inner, .wrap { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.site-header .inner { display: flex; align-items: center; height: 64px; gap: 1.5rem; }
.site-header nav { display: flex; gap: 1.25rem; margin-inline-start: auto; align-items: center; font-size: .93rem; }
.site-header nav a { color: var(--muted); }
.site-header nav a.btn { color: var(--text); }
.site-header nav a.btn.primary { color: #fff; }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--text); border-radius: var(--radius); padding: .4rem .5rem; cursor: pointer; }

/* Üst menü "Çözümler" açılır paneli */
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: .25rem; border: 0; background: none; padding: 0; color: var(--muted); font: inherit; cursor: pointer; transition: color .15s ease; }
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { color: var(--text); }
.nav-drop-btn .icon { width: 15px; height: 15px; transition: transform .2s cubic-bezier(.22, 1, .36, 1); }
.nav-drop.open .nav-drop-btn .icon { transform: rotate(180deg); }
.nav-drop-panel { display: none; }
.nav-drop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .15rem; }
.site-header .nav-drop-grid a { display: flex; gap: .7rem; align-items: flex-start; padding: .6rem .7rem; border-radius: 10px; color: var(--text); line-height: 1.3; }
.site-header .nav-drop-grid a:hover { background: var(--surface-2); text-decoration: none; }
.nav-drop-grid strong { display: block; font-weight: 600; font-size: .92rem; }
.nav-drop-grid small { display: block; color: var(--muted); font-size: .8rem; margin-top: .15rem; }
.nav-drop-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; color: var(--brand-text); background: color-mix(in srgb, var(--brand) 14%, transparent); }
.nav-drop-ic .icon { width: 18px; height: 18px; }
.site-header a.nav-drop-all { display: block; margin-top: .4rem; padding: .7rem .7rem .2rem; border-top: 1px solid var(--line); color: var(--brand-text); font-weight: 600; font-size: .9rem; }
@media (min-width: 901px) {
  .nav-drop-panel {
    position: absolute; top: calc(100% + 14px); inset-inline-start: 50%; transform: translateX(-50%); z-index: 50;
    width: min(680px, calc(100vw - 2rem)); padding: .6rem; border: 1px solid var(--line); border-radius: 14px;
    background: var(--surface); box-shadow: 0 18px 44px -12px rgba(0, 0, 0, .28);
  }
  [dir="rtl"] .nav-drop-panel { transform: translateX(50%); }
  /* İmleç düğmeden panele geçerken boşlukta kapanmasın */
  .nav-drop-panel::before { content: ""; position: absolute; inset-inline: 0; top: -16px; height: 16px; }
  .nav-drop.open .nav-drop-panel { display: block; }
}

.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: 4.5rem 0 3.5rem; }
.hero h1 { font-size: 2.45rem; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 1rem; }
.hero .lead { font-size: 1.1rem; color: var(--muted); max-width: 34rem; }
.hero .row { margin-top: 1.5rem; }

.phone {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 1rem; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(60, 40, 20, .25);
}

.phone .avatar { width: 32px; height: 32px; border-radius: 50%; background: #ece6de; display: grid; place-items: center; font-weight: 700; color: var(--muted); font-size: .85rem; }
.phone .thread { background: transparent; border: 0; padding: 0; max-height: none; }

.band { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.band.alt { background: var(--surface); }
.band h2 { font-size: 1.55rem; margin-bottom: .4rem; }
.band .intro { color: var(--muted); max-width: 38rem; margin-bottom: 2rem; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 2.5rem; }
.feature h3 { display: flex; gap: .5rem; align-items: center; }
.feature h3 .icon { color: var(--brand); }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--brand); }
.price-card .price { font-size: 1.9rem; font-weight: 700; margin: .4rem 0 1rem; }
.price-card .price span { font-size: .9rem; font-weight: 500; color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.price-card li { display: flex; gap: .5rem; padding: .3rem 0; font-size: .93rem; }
.price-card li .icon { color: var(--ok); margin-top: 3px; }
.ai-pay { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 1rem; }
.ai-pay .price-card ul { margin-bottom: 0; }

.slot-group-label { font-size: .78rem; color: var(--muted); margin-bottom: .3rem; }
.slot-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.slot-btn { border: 1px solid var(--line); background: var(--surface); border-radius: 8px; padding: .35rem .6rem; font: inherit; font-size: .88rem; cursor: pointer; min-width: 4.2rem; }
.slot-btn small { display: block; font-size: .7rem; color: var(--muted); }
.slot-btn:hover { border-color: var(--brand); }
.slot-btn.selected { background: var(--brand); border-color: var(--brand); color: #fff; }
.slot-btn.selected small { color: #fff; }

.faq details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: .6rem 0 0; }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0; font-size: .88rem; color: var(--muted); }
.site-footer .inner { display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.site-footer nav { display: flex; gap: 1.25rem; margin-inline-start: auto; }
.site-footer a { color: var(--muted); }

.auth-wrap { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: 2.5rem 1rem; }
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 { font-size: 1.4rem; }
.auth-card .foot { margin-top: 1.25rem; font-size: .9rem; color: var(--muted); text-align: center; }

.prose { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem 4rem; }
.prose h1 { font-size: 1.9rem; }
.prose h2 { font-size: 1.15rem; margin-top: 2rem; }
.prose li { margin-bottom: .35rem; }
.prose .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
/* Rehber yazıları (/rehber/…) */
.prose.guide { font-size: 1.06rem; line-height: 1.75; }
.prose.guide .crumbs { padding-top: 0; margin-bottom: 1rem; }
.prose.guide h1 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.2; text-wrap: balance; margin-bottom: .6rem; }
.prose.guide .updated { margin-bottom: 1.25rem; }
.prose.guide .lead { font-size: 1.15rem; color: var(--muted); margin-bottom: 2rem; }
.prose.guide h2 { font-size: 1.4rem; margin-top: 2.5rem; line-height: 1.3; }
.prose.guide h3 { font-size: 1.15rem; margin-top: 1.75rem; }
.prose.guide blockquote { margin: 1.5rem 0; padding: .8rem 1rem; border-inline-start: 3px solid var(--brand); background: var(--surface-2); border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); }
.prose.guide blockquote p { margin: 0; }
.prose.guide table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose.guide th, .prose.guide td { padding: .55rem .7rem; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.prose.guide th { font-weight: 600; }
.prose.guide code { font-size: .9em; }
.guide-cta { margin: 3rem 0 1rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.prose.guide .guide-cta h2 { margin-top: 0; }
.guide-cta .row { margin: 0; gap: .6rem; flex-wrap: wrap; }

/* Yazı düzeni: metin + yanda yapışkan içindekiler */
.guide-shell { max-width: 1120px; margin: 0 auto; padding: 2.5rem 1.5rem 4rem; display: grid; grid-template-columns: minmax(0, 760px) 240px; gap: 3.5rem; justify-content: center; }
.guide-shell .prose.guide { padding: 0; margin: 0; max-width: none; min-width: 0; }
.guide-side { position: relative; }
.guide-toc { position: sticky; top: 92px; font-size: .88rem; }
.guide-toc-title { font-weight: 600; margin: 0 0 .6rem; color: var(--text); }
.guide-toc ol { list-style: none; margin: 0; padding: 0; border-inline-start: 1px solid var(--line); }
.guide-toc li { margin: 0; }
.guide-toc li.lvl-3 a { padding-inline-start: 1.6rem; font-size: .84rem; }
.guide-toc a { display: block; padding: .32rem .9rem; color: var(--muted); border-inline-start: 2px solid transparent; margin-inline-start: -1px; line-height: 1.35; }
.guide-toc a:hover { color: var(--text); text-decoration: none; }
.guide-toc a.active { color: var(--brand-text); border-inline-start-color: var(--brand); }
.guide-toc-inline { display: none; margin: 0 0 2rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.guide-toc-inline summary { cursor: pointer; font-weight: 600; }
.guide-toc-inline ol { margin: .6rem 0 0; padding-inline-start: 1.1rem; font-size: .95rem; }
.guide-toc-inline li.lvl-3 { margin-inline-start: 1rem; list-style: circle; }
.read-progress { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: 0 50%; }
[dir="rtl"] .read-progress span { transform-origin: 100% 50%; }

.guide-byline { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.25rem; margin-bottom: 1.75rem; }
.prose.guide .guide-byline .updated { margin: 0; font-size: .88rem; line-height: 1.5; }
.guide-author { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); line-height: 1.25; }
.guide-author:hover { text-decoration: none; }
.guide-author strong { display: block; font-size: .95rem; }
.guide-author small { display: block; color: var(--muted); font-size: .8rem; }
.author-photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--surface-2); }
.author-photo.lg { width: 72px; height: 72px; }
.guide-cover { margin: 0 0 2rem; }
.guide-cover img { aspect-ratio: 1200 / 630; object-fit: cover; }
.guide-cover img, .guide-body figure img, .guide-body > p > img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); display: block; }
.guide-body figure { margin: 1.75rem 0; }
.guide-body figcaption { margin-top: .5rem; font-size: .85rem; color: var(--muted); text-align: center; }
.guide-body h2, .guide-body h3 { scroll-margin-top: 88px; }
.guide-body ul, .guide-body ol { padding-inline-start: 1.3rem; }
.callout { margin: 1.5rem 0; padding: .9rem 1.1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.callout > :last-child { margin-bottom: 0; }
.callout-title { font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 .3rem; }
.callout-ipucu { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.callout-ipucu .callout-title { color: var(--ok); }
.callout-uyari { border-color: color-mix(in srgb, var(--warn) 50%, var(--line)); }
.callout-uyari .callout-title { color: var(--warn); }
.callout-not .callout-title { color: var(--info, var(--muted)); }
.guide-faq details { border-bottom: 1px solid var(--line); padding: .8rem 0; }
.guide-faq summary { cursor: pointer; font-weight: 600; }
.guide-faq details > :not(summary) { margin-top: .5rem; color: var(--muted); }
.guide-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin: 2.25rem 0; padding: 1.1rem 1.25rem; border-radius: 14px; border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line)); background: color-mix(in srgb, var(--brand) 9%, var(--surface)); }
.guide-inline-cta p { margin: 0; font-size: .95rem; color: var(--muted); }
.prose.guide .guide-inline-cta .guide-inline-cta-title { color: var(--text); font-weight: 700; font-size: 1.05rem; margin-bottom: .2rem; }
.guide-tags { display: flex; flex-wrap: wrap; gap: .4rem .5rem; align-items: center; margin: 2rem 0 0; }
.guide-tags a { font-size: .85rem; padding: .25rem .65rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.guide-tags a:hover, .guide-tags a.active { color: var(--text); border-color: var(--brand); text-decoration: none; }
.helpful { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .6rem; margin: 2rem 0 0; padding: .9rem 1.1rem; border-radius: 12px; border: 1px dashed var(--line); font-size: .95rem; }
.helpful [hidden] { display: none; }
.guide-share { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1.5rem 0 0; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.team-grid .author-box { margin: 0; color: inherit; text-decoration: none; }
.team-grid .author-box:hover { border-color: var(--brand); }
.author-box { display: flex; gap: 1rem; align-items: flex-start; margin: 2.5rem 0 0; padding: 1.25rem; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.author-box p { margin: 0 0 .35rem; font-size: .95rem; }
.prose.guide .author-box .author-box-name { font-weight: 700; font-size: 1.05rem; margin: 0; }
.author-box-name a { color: var(--text); }
.author-role { color: var(--muted); font-size: .88rem; }
.guide-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2.5rem 0 0; }
.guide-pn a { display: block; padding: 1rem 1.1rem; border-radius: 12px; border: 1px solid var(--line); color: var(--text); font-weight: 600; line-height: 1.35; font-size: .95rem; }
.guide-pn a:hover { border-color: var(--brand); text-decoration: none; }
.guide-pn a.older { text-align: end; }
.guide-pn small, .guide-related small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; margin-bottom: .25rem; }
.guide-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.guide-related a { display: block; padding: 1rem; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.guide-related a:hover { border-color: var(--brand); text-decoration: none; }

/* Yönetim → Rehber yazısı editörü */

/* Panel → API ve webhook */

.flow-option { border: 1px solid var(--line); border-radius: 10px; padding: .6rem; margin-bottom: .6rem; display: grid; gap: .4rem; background: var(--surface); }

.flow-num { font-weight: 700; min-width: 1.6rem; color: var(--muted); }

.revisions li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }

.newsletter-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: .75rem 1.5rem; align-items: center; margin: 2.5rem 0 0; padding: 1.25rem 1.4rem; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.prose.guide .newsletter-box p { margin: 0; }
.newsletter-title { font-weight: 700; font-size: 1.05rem; margin: 0 0 .2rem; color: var(--text); }
.newsletter-form { display: flex; gap: .5rem; }
.newsletter-form input[type=email] { flex: 1; min-width: 0; }
.newsletter-legal { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.narrow-msg { max-width: 640px; padding-top: 2rem; }
@media (max-width: 640px) { .newsletter-box { grid-template-columns: 1fr; } .newsletter-form { flex-direction: column; } }

/* Ürün sayfaları: özellik maddeleri, karşılaştırma tablosu, sözlük */
.feature-page h1 { font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); margin: .3rem 0 .6rem; text-wrap: balance; }
.feature-points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1.5rem; }
.feature-points li { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.feature-points .icon { color: var(--brand-text); flex: none; margin-top: 2px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare-table th, .compare-table td { padding: .8rem .9rem; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.compare-table thead th { font-size: .85rem; color: var(--muted); }
.compare-table tbody th { width: 22%; font-weight: 600; }
.compare-table td:nth-child(2) { background: color-mix(in srgb, var(--brand) 7%, transparent); }
.glossary { margin: 2rem 0 0; display: grid; gap: .25rem; }
.glossary dt { font-weight: 700; margin-top: 1.1rem; scroll-margin-top: 90px; }
.glossary dd { margin: .2rem 0 0; color: var(--muted); max-width: 70ch; }
@media (max-width: 640px) { .feature-points { grid-template-columns: 1fr; } .compare-table { font-size: .85rem; } .compare-table th, .compare-table td { padding: .6rem .5rem; } .compare-table tbody th { width: auto; } }

/* Rehber listesi */
.guides-page h1 { font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.4rem); margin: 0 0 .5rem; }
.guide-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0 2rem; }
.guide-tabs a { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.guide-tabs a span { opacity: .7; margin-inline-start: .2rem; font-size: .8rem; }
.guide-tabs a:hover { color: var(--text); text-decoration: none; }
.guide-tabs a.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.guide-card { display: flex; flex-direction: column; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); color: var(--text); overflow: hidden; transition: border-color .15s ease, transform .2s cubic-bezier(.22, 1, .36, 1); }
.guide-card:hover { border-color: color-mix(in srgb, var(--brand) 60%, var(--line)); transform: translateY(-2px); text-decoration: none; }
.guide-card-media { display: block; aspect-ratio: 1200 / 630; background: var(--surface-2); overflow: hidden; }
.guide-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-card-art { display: flex; align-items: flex-end; width: 100%; height: 100%; padding: 1rem 1.2rem; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--brand) 38%, transparent), transparent 60%), var(--surface-2); }
.guide-card-art span { font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-text); }
.guide-card-body { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem 1.2rem 1.25rem; flex: 1; }
.guide-card h2, .guide-card h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; letter-spacing: -.01em; text-wrap: balance; }
.guide-card-desc { color: var(--muted); font-size: .92rem; line-height: 1.5; flex: 1; }
.guide-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-text); }
.guide-meta { font-size: .8rem; color: var(--faint, var(--muted)); }
.guide-card-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.guide-card-lead .guide-card-media { aspect-ratio: auto; min-height: 300px; }
.guide-card-lead .guide-card-body { padding: 2rem; justify-content: center; }
.guide-card-lead h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); }
.guide-card-lead .guide-card-desc { flex: 0; font-size: 1rem; }
.pager { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 2.5rem 0 0; }
.guides-page .guide-tags { margin-top: 2.5rem; }
.author-hero { display: flex; gap: 1.5rem; align-items: flex-start; margin-bottom: 2rem; }
.author-hero .author-photo.lg { width: 112px; height: 112px; }
.author-hero h1 { margin-bottom: .2rem; }
.author-links { display: flex; gap: 1rem; margin: .6rem 0 0; }

@media (max-width: 1000px) {
  .guide-shell { grid-template-columns: minmax(0, 1fr); padding-top: 1.5rem; }
  .guide-side { display: none; }
  .guide-toc-inline { display: block; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-card-lead { grid-template-columns: 1fr; }
  .guide-card-lead .guide-card-media { aspect-ratio: 1200 / 630; min-height: 0; }
  .guide-card-lead .guide-card-body { padding: 1.25rem; }
}
@media (max-width: 640px) {
  .guide-grid, .guide-related, .guide-pn { grid-template-columns: 1fr; }
  .guide-pn a.older { text-align: start; }
  .author-hero { flex-direction: column; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .guide-card { transition: none; } .guide-card:hover { transform: none; } }

/* ─── Mobil ───────────────────────────────── */
@media (max-width: 900px) {
  .main { margin-inline-start: 0; }
  /* Kapalıyken görünmez: klavye sırasına da girmez */
  .sidebar { z-index: 40; width: 260px; transform: translateX(-100%); visibility: hidden; transition: transform .18s, visibility 0s .18s; }
  .sidebar.open { transform: none; visibility: visible; transition: transform .18s; box-shadow: 0 0 40px rgba(0,0,0,.15); }
  .sidebar-backdrop.show { display: block; position: fixed; inset: 0; z-index: 39; background: rgba(15,15,20,.4); }
  /* iOS 16 px altındaki alanlarda odaklanınca sayfayı yakınlaştırır */
  input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea { font-size: 16px; }
  
  
  .lang-switch summary { min-height: 40px; display: inline-flex; align-items: center; }
  
  .menu-btn { display: inline-flex; }
   .content { padding-inline-start: 1rem; padding-inline-end: 1rem; }
   .features, .pricing, .ai-pay, .hero, .form-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 2.5rem; gap: 2rem; }
  .hero h1 { font-size: 1.9rem; }
  .site-header .inner { position: relative; }
  .nav-toggle { display: inline-flex; margin-inline-start: auto; }
  .site-header nav { display: none; }
  .site-header.nav-open nav {
    display: flex; flex-direction: column; align-items: stretch; gap: .25rem;
    position: absolute; top: 100%; inset-inline-start: 0; inset-inline-end: 0; z-index: 50;
    padding: .75rem 1rem 1rem; background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
  }
  .site-header.nav-open nav a { padding: .6rem .5rem; font-size: 1rem; }
  .site-header.nav-open nav a.btn { justify-content: center; margin-top: .25rem; }
  .nav-drop-btn { width: 100%; justify-content: space-between; padding: .6rem .5rem; font-size: 1rem; }
  .nav-drop.open .nav-drop-panel { display: block; padding: 0 0 .4rem; }
  .nav-drop-grid { grid-template-columns: 1fr; }
  .site-header.nav-open nav .nav-drop-grid a { padding: .5rem; font-size: .95rem; }
  .nav-drop-grid small { display: none; }
  .nav-drop-ic { width: 30px; height: 30px; }
  .site-header.nav-open nav { max-height: calc(100dvh - 64px); overflow-y: auto; }
  .hours-row { grid-template-columns: 1fr 1fr; }
  .bubble { max-width: 88%; }
}

/* ─── Ana sayfa sohbet balonu ─────────────── */
.site-chat { --wa: #25d366; --wa-dark: #128c7e; position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.site-chat-bubble { width: 58px; height: 58px; border: 0; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.18); transition: transform .15s; }
.site-chat-bubble:hover { transform: scale(1.06); }
.site-chat-bubble svg { width: 30px; height: 30px; }
.site-chat.open .site-chat-bubble { background: var(--wa-dark); }
.site-chat-card { width: min(340px, calc(100vw - 40px)); background: #fff; color: #1d1b18; border-radius: 12px; overflow: hidden; box-shadow: 0 12px 40px rgba(0,0,0,.18); }
.site-chat-card[hidden] { display: none; }
.site-chat-head { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; background: var(--wa-dark); color: #fff; }
.site-chat-head img { width: 40px; height: 40px; border-radius: 50%; background: #fff; }
.site-chat-head div { flex: 1; line-height: 1.25; }
.site-chat-head span { display: block; font-size: .8rem; opacity: .85; }
.site-chat-close { border: 0; background: none; color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; min-width: 44px; min-height: 44px; margin: -.5rem -.6rem -.5rem 0; }
.site-chat-body { padding: 1.1rem 1rem; background: #e5ddd5; }
.site-chat-msg { position: relative; max-width: 90%; padding: .6rem .8rem; background: #fff; color: #1d1b18; border-radius: 0 8px 8px 8px; font-size: .92rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); white-space: pre-line; }
.site-chat-start { display: flex; align-items: center; justify-content: center; gap: .5rem; margin: .8rem; padding: .7rem 1rem; border-radius: 999px; background: var(--wa); color: #fff; font-weight: 600; text-decoration: none; }
.site-chat-start:hover { background: var(--wa-dark); color: #fff; text-decoration: none; }
.site-chat-start svg { width: 20px; height: 20px; }
@media (max-width: 600px) { .site-chat { inset-inline-end: 14px; bottom: 14px; } }
/* Dikkat çekici balon: nabız halkaları, yeşil çevrimiçi noktası, butonu gösteren ok (açılınca durur) */
.site-chat-bubble { position: relative; }
.site-chat-bubble::before, .site-chat-bubble::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: sc-ring 2.4s ease-out infinite; pointer-events: none;
}
.site-chat-bubble::after { animation-delay: 1.2s; }
@keyframes sc-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.site-chat-online {
  position: absolute; top: 0; inset-inline-end: 0; width: 15px; height: 15px; border-radius: 50%;
  background: #3ccf7e; border: 3px solid #fff; animation: sc-ping 2s infinite;
}
@keyframes sc-ping { 0% { box-shadow: 0 0 0 0 rgba(60, 207, 126, .6); } 70% { box-shadow: 0 0 0 9px rgba(60, 207, 126, 0); } 100% { box-shadow: 0 0 0 0 rgba(60, 207, 126, 0); } }
.site-chat-arrow {
  width: 26px; height: 40px; margin-inline-end: 16px; color: var(--wa); fill: none; stroke: currentColor;
  stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; animation: sc-hop 1.1s ease-in-out infinite;
  pointer-events: none;
}
@keyframes sc-hop { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(9px); } }
.site-chat.open .site-chat-arrow, .site-chat.open .site-chat-online { display: none; }
.site-chat.open .site-chat-bubble::before, .site-chat.open .site-chat-bubble::after { content: none; }
@media (prefers-reduced-motion: reduce) {
  .site-chat-bubble::before, .site-chat-bubble::after, .site-chat-online, .site-chat-arrow { animation: none; }
  .site-chat-bubble::before, .site-chat-bubble::after { content: none; }
}

/* ─── Giriş/kayıt yardımcıları ────────────── */
.pw-wrap { position: relative; }
.pw-wrap input { padding-inline-end: 4.6rem; }
.pw-toggle { position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--muted); font: inherit; font-size: .82rem; padding: .3rem .55rem; border-radius: var(--radius); cursor: pointer; }
.pw-toggle:hover { color: var(--text); background: var(--surface-2); }
.caps-warn { color: var(--warn) !important; }
.pw-meter { margin-top: .4rem; }
.pw-meter .bar { height: 4px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pw-meter .bar span { display: block; height: 100%; width: 0; background: var(--bad); transition: width .15s, background .15s; }
.pw-meter[data-level="2"] .bar span { background: var(--warn); }
.pw-meter[data-level="3"] .bar span, .pw-meter[data-level="4"] .bar span { background: var(--ok); }
.form-error { margin-bottom: 1rem; }
.email-suggest a { font-weight: 550; }
.check.consent { align-items: flex-start; font-size: .86rem; margin-bottom: .7rem; }
.check.consent input { margin-top: 3px; flex: none; }
.auth-split { grid-template-columns: minmax(0, 400px) minmax(0, 460px); gap: 3.5rem; justify-content: center; align-items: center; }
.auth-split .auth-card { max-width: 460px; }
.auth-pitch .h2 { font-size: 1.5rem; line-height: 1.3; margin: 0 0 1.2rem; font-weight: 700; color: var(--text); }
.auth-pitch ul { list-style: none; padding: 0; margin: 0 0 1.2rem; display: grid; gap: .75rem; }
.auth-pitch li { display: flex; gap: .55rem; align-items: flex-start; }
.auth-pitch li .icon { color: var(--brand); flex: none; margin-top: 3px; }
@media (max-width: 900px) {
  .auth-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .auth-pitch { order: 2; max-width: 460px; }
  .auth-pitch .h2 { font-size: 1.2rem; }
}
.google-btn { gap: .6rem; font-weight: 550; margin: .4rem 0 0; }
/* Google düğmesi yokken (ayırıcı çizgi de yok) passkey düğmesi forma yapışmasın */
.google-btn + form { margin-top: 1rem; }
.or-divider { display: flex; align-items: center; gap: .75rem; margin: 1.1rem 0; color: var(--faint); font-size: .82rem; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.site-footer nav { flex-wrap: wrap; gap: .4rem 1.25rem; }
@media (max-width: 900px) { .site-footer nav { margin-inline-start: 0; } }

.check.remember { font-size: .88rem; margin-bottom: 1rem; }

/* ─── Tanıtım sayfası ─────────────────────── */
.channel-strip { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-items: center; padding: 0 0 2.5rem; color: var(--muted); font-size: .92rem; }
.channel-strip span { display: inline-flex; align-items: center; gap: .4rem; }
.channel-strip .icon { width: 18px; height: 18px; }
.channel-strip .soon { font-style: normal; font-size: .72rem; padding: .05rem .4rem; border-radius: 999px; background: var(--brand-soft); color: var(--brand-hover); }
.thread .bubble { transition: opacity .35s ease, transform .35s ease; }

.sector-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.sector-tabs button { font: inherit; font-size: .92rem; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer; }
.sector-tabs button[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.sector-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.sector-panel[hidden] { display: none; }
.phone.mini { max-width: 420px; }
.phone.mini .bubble { max-width: 85%; }
.sector-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.sector-points li { display: flex; gap: .6rem; align-items: flex-start; }
.sector-points .icon { color: var(--brand); flex: none; margin-top: 3px; }
.sector-points-wide { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem 2rem; margin-top: 1.2rem; }
.sector-hero { padding-top: 2rem; }
.crumbs { padding-top: 1.5rem; }
.crumbs a { color: inherit; }
.sector-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.sector-links a { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); font-size: .92rem; }
.sector-links a:hover { border-color: var(--brand); text-decoration: none; }

   
.pp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pp-stats div { border: 1px solid var(--line); border-radius: 8px; padding: .6rem; display: flex; flex-direction: column; }
.pp-stats b { font-size: 1.4rem; }
.pp-stats span { color: var(--muted); font-size: .8rem; }

.features.trust a { color: var(--brand); }
.testimonials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.testimonial { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 1.1rem; }
.testimonial blockquote { margin: 0 0 .7rem; font-size: .98rem; }
.testimonial figcaption { color: var(--muted); font-size: .88rem; }

.cta-band { background: #1d1b18; color: #fff; padding: 3.5rem 0; text-align: center; }
.cta-band h2 { font-size: 1.7rem; margin: 0 0 .5rem; color: #fff; }
.cta-band p { color: #d7d1c9; margin: 0 0 1.4rem; }
.cta-band .row { justify-content: center; }
.btn.ghost-light { background: transparent; color: #fff; border-color: #6b6660; }
.btn.ghost-light:hover { background: #2b2824; }

@media (max-width: 900px) {
  .sector-panel, .testimonials { grid-template-columns: 1fr; }
  .channel-strip { padding-bottom: 2rem; }
}

/* ─── Panel: kişi satırları, adaylar, randevular ─── */
.avatar { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-size: .78rem; font-weight: 650; letter-spacing: .02em; background: var(--brand-soft); color: var(--brand); }
.avatar.ch-whatsapp { background: #e3f6ea; color: #1a7f45; }
.avatar.ch-website { background: var(--info-soft); color: var(--info); }
.avatar.ch-instagram { background: #fbe7f1; color: #b4236c; }
.avatar.ch-facebook { background: #e5edfb; color: #2f5bb7; }

.table tr.unread td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
[dir="rtl"] .table tr.unread td:first-child { box-shadow: inset -3px 0 0 var(--brand); }

.funnel { display: grid; gap: .55rem; }

.lead-value { display: block; margin-top: .4rem; }
.lead-value[hidden] { display: none; }
.lead-value input { margin-top: .15rem; }

.hours-row.closed input[type=time] { opacity: .45; }

 .svc-row { display: grid; grid-template-columns: minmax(0, 1fr) 6rem 9rem auto auto 2.4rem; gap: .6rem; align-items: center; }

.svc-row { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.svc-row.dirty { background: var(--brand-soft); margin: 0 -.5rem; padding-inline-start: .5rem; padding-inline-end: .5rem; border-radius: 6px; }
.svc-new { border-bottom: 0; padding-top: .8rem; }

.chip { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .35rem .25rem .65rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line); font-size: .85rem; }
.chip button { border: 0; background: none; cursor: pointer; color: var(--muted); font-size: 1rem; line-height: 1; padding: 0 .2rem; border-radius: 50%; }
.chip button:hover { color: var(--bad); }

@media (max-width: 700px) {
  /* Geniş tablolar telefonda kart görünümüne döner */
  
  
  
  
  
  
  
  
  
  
  .svc-row { grid-template-columns: 1fr 5rem; }
  .svc-row input[name=name] { grid-column: 1 / -1; }
  
  
}

/* ─── Satır içi stillerden üretilen yardımcı sınıflar (CSP: style-src 'self') ─── */

.u-0e83ee { margin-top:2rem !important; }

.u-2239d6 { margin-top:1rem !important; }

.u-363cda { margin-bottom:1rem !important; }

.u-6322ad { margin-top:.8rem !important; }
.u-6c5de9 { text-align:center !important; margin-top:.8rem !important; }

.u-8c40c9 { margin-top:.75rem !important; }

.u-acef09 { margin-top:.6rem !important; }

.u-d6f964 { text-align:center !important; margin:.9rem 0 0 !important; }

/* ─── Plan ve ödeme ─── */

.provider-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.provider-box.is-active { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.provider-box h3 { display: flex; justify-content: space-between; align-items: center; margin: 0 0 .5rem; }

.badge.nowrap, td .badge { white-space: nowrap; }

/* ─── Pazaryeri soruları ─── */

.qa-mode { max-width: 260px; }

/* ─── Dil seçici ─── */
.lang-switch { position: relative; }
.lang-switch summary { list-style: none; cursor: pointer; font-weight: 600; font-size: .85rem; padding: .35rem .6rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 4px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.08); min-width: 140px; padding: .3rem; z-index: 50; display: grid; }
.lang-menu a { padding: .4rem .6rem; color: var(--text); border-radius: 4px; }
.lang-menu a:hover, .lang-menu a.active { background: var(--surface-2); text-decoration: none; }

.tr-input { width: 100%; min-height: 2.4rem; }
.stats a.stat { color: inherit; text-decoration: none; }
.stats a.stat.active { border-color: var(--brand); }

/* ─── Sağdan sola (Arapça) ─── */
.icon-flip { display: inline-flex; }
[dir="rtl"] .icon-flip { transform: scaleX(-1); }
@media (max-width: 900px) {
  /* Kenar çubuğu sağda durur: kapalıyken sağa kayarak ekrandan çıkar */
  [dir="rtl"] .sidebar:not(.open) { transform: translateX(100%); }
}
[dir="rtl"] body { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", system-ui, sans-serif; }
[dir="rtl"] input[type=email], [dir="rtl"] input[type=tel], [dir="rtl"] input[type=url], [dir="rtl"] .mono, [dir="rtl"] code { direction: ltr; text-align: end; }

/* Klavye kullanıcıları için "İçeriğe geç": odaklanınca görünür */
.skip-link { position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100; padding: .6rem 1rem; border-radius: var(--radius); background: var(--brand-fill); color: #fff; font-weight: 600; }
.skip-link:focus { top: .75rem; color: #fff; text-decoration: none; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Çerez onayı: sol altta kart (sağ alttaki sohbet balonunu kapatmaz) */
.consent {
  position: fixed; inset-inline-start: 16px; bottom: 16px; z-index: 70; width: min(420px, calc(100vw - 32px));
  padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25); font-size: .9rem;
}
.consent p { margin: 0 0 .75rem; line-height: 1.5; }
.consent-prefs { display: grid; gap: .4rem; margin-bottom: .75rem; }
.consent-prefs[hidden], .consent[hidden] { display: none; }
.consent-prefs .btn { justify-self: start; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
@media (max-width: 600px) { .consent { inset-inline-end: 16px; width: auto; bottom: 88px; } }

/* Google araçları: araç başına tek satır durum */

