/* ============================================================
   Review Funnel — "Warm-tech" 2026
   Bricolage Grotesque + Plus Jakarta Sans + JetBrains Mono
   ============================================================ */

:root {
  /* Tipografi */
  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  /* Public (acik / sicak) */
  --bg: #f6f1e8;
  --bg-2: #efe7d8;
  --card: #fffdfa;
  --ink: #1b1714;
  --ink-soft: #4a443e;
  --muted: #8b8178;
  --line: #ece3d4;
  --line-2: #e2d7c4;

  /* Vurgu — amber/altin */
  --gold: #f2a007;
  --gold-deep: #d4860a;
  --gold-soft: #fff3da;
  --star-empty: #e6dcc9;

  /* Durum */
  --red: #e0533d;
  --red-soft: #fdeee9;
  --green: #2f9e6f;
  --green-soft: #e8f6ef;

  --radius: 22px;
  --radius-sm: 13px;
  --shadow-card: 0 1px 2px rgba(27,23,20,.04), 0 20px 50px -20px rgba(27,23,20,.18);
  --shadow-pop: 0 10px 30px -8px rgba(242,160,7,.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
::selection { background: var(--gold); color: #1b1714; }

/* ===================== PUBLIC ===================== */
body.public {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

/* Aurora — yumusak hareketli isik kumeleri */
.aurora { position: fixed; inset: 0; z-index: 0; filter: blur(70px); opacity: .85; pointer-events: none; }
.aurora span { position: absolute; display: block; border-radius: 50%; mix-blend-mode: multiply; }
.aurora span:nth-child(1){ width: 46vw; height: 46vw; left: -8vw; top: -10vw;
  background: radial-gradient(circle at 30% 30%, #ffd27a, transparent 70%); animation: drift1 18s ease-in-out infinite; }
.aurora span:nth-child(2){ width: 40vw; height: 40vw; right: -6vw; top: 8vh;
  background: radial-gradient(circle at 50% 50%, #ffe9c2, transparent 70%); animation: drift2 22s ease-in-out infinite; }
.aurora span:nth-child(3){ width: 38vw; height: 38vw; left: 22vw; bottom: -16vw;
  background: radial-gradient(circle at 50% 50%, #ffdca0, transparent 70%); animation: drift3 26s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(6vw,4vh) scale(1.1);} }
@keyframes drift2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-5vw,6vh) scale(1.08);} }
@keyframes drift3 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(3vw,-5vh) scale(1.12);} }

/* Grain dokusu */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.card {
  position: relative;
  z-index: 2;
  margin: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 44px 38px 30px;
  width: 100%;
  max-width: 460px;
}
.rating-card { text-align: center; animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.rating-card.center { text-align: center; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }

.firm-logo {
  display: block; margin: 0 auto 18px; max-width: 130px; max-height: 84px;
  object-fit: contain; animation: rise .7s cubic-bezier(.2,.8,.2,1) both;
}

.socials {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 11px;
  margin: 26px 0 2px; animation: rise .7s .28s cubic-bezier(.2,.8,.2,1) both;
}
.socials a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line-2); color: var(--ink);
  transition: transform .16s cubic-bezier(.2,1.4,.4,1), color .15s, border-color .15s, box-shadow .18s;
}
.socials a:hover {
  transform: translateY(-4px); color: var(--bc, var(--gold));
  border-color: var(--bc, var(--gold)); box-shadow: 0 10px 22px -10px rgba(0,0,0,.3);
}
.socials svg { width: 21px; height: 21px; display: block; }

.lang-switch { display: flex; justify-content: center; gap: 6px; margin-bottom: 18px; }
.lang-switch a { font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: none;
  padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff;
  transition: color .15s, border-color .15s, background .15s; }
.lang-switch a:hover { color: var(--ink); border-color: var(--gold); }
.lang-switch a.on { color: #2a1c00; background: var(--gold-soft); border-color: var(--gold); }
.staff-sel { display: block; width: 100%; margin: 0 0 20px; padding: 12px 14px; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); background: #fffefb; color: var(--ink); font-family: inherit; font-size: 15px;
  cursor: pointer; outline: none; }
.staff-sel:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242,160,7,.14); }

/* Kiosk modu (tablet) */
body.public.kiosk .card { max-width: 560px; padding: 56px 48px 40px; }
body.public.kiosk .rating-card h1 { font-size: clamp(30px, 5vw, 42px); }
body.public.kiosk .subtitle { font-size: 18px; }
body.public.kiosk .star { font-size: clamp(52px, 13vw, 72px); }
body.public.kiosk .staff-sel { font-size: 17px; padding: 15px 16px; }
body.public.kiosk .lang-switch a { font-size: 14px; padding: 6px 13px; }
html[dir="rtl"] body.public { direction: rtl; }
html[dir="rtl"] .complaint, html[dir="rtl"] .rating-card { text-align: right; }

.badge-brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--gold-deep); background: var(--gold-soft);
  border: 1px solid #f6e2b8; padding: 7px 14px; border-radius: 999px;
  margin-bottom: 22px; text-transform: uppercase;
  animation: rise .7s .05s cubic-bezier(.2,.8,.2,1) both;
}
.badge-brand .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(242,160,7,.18); }

.rating-card h1 {
  font-family: var(--font-display);
  font-weight: 700; font-size: clamp(26px, 6vw, 33px); line-height: 1.08;
  letter-spacing: -.02em; margin: 0 0 10px;
  animation: rise .7s .1s cubic-bezier(.2,.8,.2,1) both;
}
.subtitle { color: var(--muted); font-size: 15.5px; margin: 0 0 30px; line-height: 1.55;
  animation: rise .7s .15s cubic-bezier(.2,.8,.2,1) both; }

/* Yildizlar */
.stars { display: flex; justify-content: center; gap: 10px; margin: 4px 0 2px;
  animation: rise .7s .2s cubic-bezier(.2,.8,.2,1) both; }
.star {
  background: none; border: none; cursor: pointer; padding: 4px;
  font-size: clamp(40px, 11vw, 54px); line-height: 1; color: var(--star-empty);
  transition: transform .18s cubic-bezier(.2,1.4,.4,1), color .15s, text-shadow .2s;
  will-change: transform;
}
.star:hover { transform: scale(1.2) translateY(-3px); }
.star:active { transform: scale(1.05); }
.star.on { color: var(--gold); text-shadow: 0 6px 22px rgba(242,160,7,.5); animation: pop .35s ease; }
@keyframes pop { 0%{ transform: scale(.7);} 60%{ transform: scale(1.25) translateY(-4px);} 100%{ transform: scale(1);} }

.rating-label {
  height: 22px; margin: 14px 0 2px; font-weight: 600; font-size: 15px;
  color: var(--gold-deep); opacity: 0; transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.rating-label.show { opacity: 1; transform: none; }

/* Sikayet formu */
.complaint { margin-top: 26px; text-align: left; border-top: 1px solid var(--line); padding-top: 26px;
  animation: rise .45s cubic-bezier(.2,.8,.2,1) both; }
.complaint h2 { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.01em; margin: 0 0 6px; }
.field { position: relative; margin-top: 12px; }
.complaint input, .complaint textarea, .login input, .row-form input {
  width: 100%; padding: 14px 15px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fffefb;
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.complaint input::placeholder, .complaint textarea::placeholder { color: #b5aa9c; }
.complaint input:focus, .complaint textarea:focus, .login input:focus, .row-form input:focus {
  border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242,160,7,.14);
}
.complaint textarea { resize: vertical; min-height: 96px; }
.photo-field { display: flex; flex-direction: column; gap: 8px; }
.photo-field span { font-size: 13.5px; color: var(--muted); }
.photo-field input[type="file"] { font-size: 13px; color: var(--ink); }
.photo-field input[type="file"]::file-selector-button { font-family: inherit; font-weight: 600; cursor: pointer;
  background: #fff; color: var(--ink); border: 1px solid var(--line-2); padding: 8px 12px; border-radius: 9px; margin-right: 10px; }
.photo-field input[type="file"]::file-selector-button:hover { border-color: var(--gold); color: var(--gold-deep); }
.hidden { display: none !important; }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 13px 20px; font-size: 15px; font-weight: 600; font-family: inherit;
  text-decoration: none; transition: transform .12s, background .15s, box-shadow .15s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff7e9; width: 100%; margin-top: 16px; }
.btn-primary:hover { background: #000; box-shadow: 0 12px 26px -10px rgba(27,23,20,.6); }
.btn-gold { background: var(--gold); color: #2a1c00; }
.btn-gold:hover { background: var(--gold-deep); box-shadow: var(--shadow-pop); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: #f4ede1; }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-danger:hover { background: #fbe1d9; }
.btn-sm { padding: 7px 13px; font-size: 13px; border-radius: 9px; }

.powered { margin-top: 26px; font-size: 13px; color: var(--muted); letter-spacing: .01em; }
.powered b { color: var(--gold-deep); font-weight: 600; }

/* Tesekkur / check */
.check {
  width: 76px; height: 76px; margin: 4px auto 20px; border-radius: 50%;
  background: var(--green-soft); border: 1.5px solid #bfe6d3;
  display: grid; place-items: center; animation: pop .5s cubic-bezier(.2,1.4,.4,1) both;
}
.check svg { width: 36px; height: 36px; stroke: var(--green); stroke-width: 3; fill: none;
  stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40;
  animation: draw .6s .25s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ===================== ADMIN (light) ===================== */
body.admin {
  --d-bg: #f3f0ea;
  --d-panel: #ffffff;
  --d-panel-2: #f5f1e9;
  --d-line: #e7e0d3;
  --d-ink: #1b1714;
  --d-muted: #8b8178;
  background: var(--d-bg);
  color: var(--d-ink);
  min-height: 100vh;
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(242,160,7,.10), transparent 60%),
    radial-gradient(700px 500px at 5% 110%, rgba(242,160,7,.07), transparent 60%);
}

/* Butonlar — acik tema okunabilirligi */
body.admin .btn-ghost { background: var(--d-panel-2); border-color: var(--d-line); color: var(--d-ink); }
body.admin .btn-ghost:hover { background: #efe7d8; border-color: var(--gold); color: var(--gold-deep); }
body.admin .btn-danger { background: var(--red-soft); border-color: #f3c9bf; color: var(--red); }
body.admin .btn-danger:hover { background: #fbe1d9; }

.topbar { position: sticky; top: 0; z-index: 10; background: rgba(255,253,250,.78);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--d-line); }
.topbar-inner { max-width: 1080px; margin: 0 auto; padding: 15px 22px;
  display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display);
  font-weight: 700; font-size: 16px; letter-spacing: -.01em; color: var(--d-ink); text-decoration: none; }
.logo .mark { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center;
  background: var(--gold); color: #2a1c00; font-size: 13px; box-shadow: 0 0 18px rgba(242,160,7,.5); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.muted { color: var(--d-muted); font-size: 14px; }

.container { max-width: 1080px; margin: 0 auto; padding: 30px 22px 70px; }

/* Metrik kartlari */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 14px; margin-bottom: 26px; }
.stat { background: var(--d-panel); border: 1px solid var(--d-line); border-radius: 16px; padding: 18px 20px; }
.stat .k { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--d-muted); }
.stat .v { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -.02em; margin-top: 6px; }
.stat .v.gold { color: var(--gold); }
.stat .v.red { color: var(--red); }

.panel { background: var(--d-panel); border: 1px solid var(--d-line); border-radius: 18px; padding: 24px; margin-bottom: 20px; }
.panel h2 { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; margin: 0 0 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel-head h2 { margin: 0; }

/* Form satiri */
.row-form { display: flex; gap: 10px; flex-wrap: wrap; }
.row-form input { flex: 1; min-width: 200px; background: var(--d-panel-2); border-color: var(--d-line); color: var(--d-ink); }
.row-form input::placeholder { color: #6f6873; }
.row-form input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242,160,7,.12); }
.hint { color: var(--d-muted); font-size: 13px; margin: 12px 0 0; }
code, .mono { font-family: var(--font-mono); font-size: 12.5px; }
.hint code, .link-cell code { background: var(--d-panel-2); border: 1px solid var(--d-line);
  padding: 3px 8px; border-radius: 7px; color: var(--gold-deep); }

.alert { padding: 13px 15px; border-radius: 12px; font-size: 14px; }
.alert.success { background: var(--green-soft); border: 1px solid #bfe6d3; color: var(--green); margin-bottom: 22px; }
body.admin .alert { background: var(--red-soft); border: 1px solid #f3c9bf; color: var(--red); }

/* Tablo */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--d-line);
  font-size: 14px; vertical-align: middle; }
.table th { color: var(--d-muted); font-weight: 600; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: rgba(27,23,20,.035); }
.table tr.inactive { opacity: .45; }
.table tr.row-complaint td:first-child { box-shadow: inset 3px 0 0 var(--red); }
.firm-name { color: var(--d-ink); font-weight: 600; text-decoration: none; font-family: var(--font-display); }
.firm-name:hover { color: var(--gold); }
.link-cell { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nowrap { white-space: nowrap; }

.badge { display: inline-flex; align-items: center; min-width: 24px; justify-content: center;
  padding: 3px 9px; border-radius: 999px; background: var(--d-panel-2); border: 1px solid var(--d-line);
  font-size: 12.5px; font-weight: 600; color: var(--d-muted); }
.badge-red { background: rgba(224,83,61,.14); border-color: rgba(224,83,61,.35); color: var(--red); }
.badge-on { background: rgba(47,158,111,.14); border-color: rgba(47,158,111,.35); color: var(--green); }
.stars-mini { color: var(--gold); letter-spacing: 1px; }
.stars-mini .off { color: var(--d-line); }

/* Firma detay */
.firm-head { display: flex; justify-content: space-between; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.firm-head h2 { font-size: 24px; margin: 0 0 12px; }
.qr { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qr img { border: 1px solid var(--d-line); border-radius: 14px; padding: 10px; background: #fff; }
.kv a { color: var(--gold-deep); text-decoration: none; }
.kv a:hover { color: var(--gold); }

/* Logo + sosyal form (admin) */
.logo-row { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 20px; }
.logo-box { width: 96px; height: 96px; border-radius: 16px; border: 1px dashed var(--d-line);
  background: var(--d-panel-2); display: grid; place-items: center; overflow: hidden; flex: none; }
.logo-box img { max-width: 84px; max-height: 84px; object-fit: contain; }
.logo-empty { color: #6f6873; font-size: 12px; }
.lbl { display: block; font-size: 13px; color: var(--d-muted); margin-bottom: 8px; }
.file { display: block; width: 100%; font-size: 13px; color: var(--d-ink); }
.file::file-selector-button { font-family: inherit; font-weight: 600; cursor: pointer;
  background: var(--d-panel-2); color: var(--d-ink); border: 1px solid var(--d-line);
  padding: 9px 14px; border-radius: 9px; margin-right: 12px; }
.file::file-selector-button:hover { border-color: var(--gold); color: var(--gold); }

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 12px; }
.ig { display: flex; align-items: center; gap: 0; background: var(--d-panel-2);
  border: 1px solid var(--d-line); border-radius: var(--radius-sm); overflow: hidden;
  transition: border-color .15s, box-shadow .15s; }
.ig:focus-within { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242,160,7,.12); }
.ig-icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; }
.ig-icon svg { width: 18px; height: 18px; }
.ig input { border: none !important; background: transparent !important; box-shadow: none !important;
  margin: 0 !important; border-radius: 0 !important; padding-left: 4px !important;
  color: var(--d-ink) !important; font-size: 14px; }
.ig input::placeholder { color: #6f6873; }

/* Login */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login { background: var(--d-panel); border: 1px solid var(--d-line); border-radius: 20px;
  padding: 36px 32px; width: 100%; max-width: 380px; box-shadow: 0 24px 60px -28px rgba(27,23,20,.22); }
.login .logo { justify-content: center; margin-bottom: 8px; }
.login h1 { font-family: var(--font-display); text-align: center; font-size: 22px; letter-spacing: -.01em; margin: 6px 0 22px; }
.login input { background: var(--d-panel-2); border-color: var(--d-line); color: var(--d-ink); margin-top: 12px; }
.login input::placeholder { color: #6f6873; }
.login .btn-primary { background: var(--gold); color: #2a1c00; }
.login .btn-primary:hover { background: var(--gold-deep); box-shadow: var(--shadow-pop); }
.consent { display: flex; align-items: flex-start; gap: 9px; text-align: left;
  font-size: 12.5px; color: var(--muted); margin-top: 16px; line-height: 1.5; }
.consent input { margin: 2px 0 0; flex: none; width: 16px; height: 16px; accent-color: var(--gold); cursor: pointer; }
.consent a { color: var(--gold-deep); text-decoration: none; }
.consent a:hover { text-decoration: underline; }

/* QR sayfasi */
.qr-stage { display: grid; place-items: center; }
#qr { width: 320px; height: 320px; max-width: 100%; border-radius: 16px;
  background: #fff; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
@media print {
  .topbar, .btn, .hint, h2 { display: none !important; }
  body.admin { background: #fff !important; background-image: none !important; }
  .panel { border: none !important; box-shadow: none !important; }
  #qr { box-shadow: none !important; width: 420px; height: 420px; }
}

@media (max-width: 560px) {
  .card { padding: 34px 24px 26px; }
  .table th:nth-child(3), .table td:nth-child(3) { display: none; }
}

/* Huni + grafik (dashboard firma detay) */
.funnel { display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap; }
.fn-step { flex: 1; min-width: 110px; background: var(--d-panel-2); border: 1px solid var(--d-line);
  border-radius: 14px; padding: 16px 14px; text-align: center; }
.fn-v { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -.02em; }
.fn-v.gold { color: var(--gold); } .fn-v.red { color: var(--red); }
.fn-k { font-size: 12px; color: var(--d-muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }
.fn-arrow { display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--d-muted); font-size: 18px; min-width: 44px; }
.fn-arrow span { font-size: 12px; font-weight: 700; color: var(--gold); }

.chart-wrap { margin-top: 24px; }
.chart-legend { display: flex; align-items: center; gap: 18px; font-size: 13px; color: var(--d-muted); margin-bottom: 12px; }
.chart-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: middle; }
.chart-legend .dot-v { background: #5b6472; } .chart-legend .dot-r { background: var(--gold); }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 140px; }
.chart-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.chart-col .bars { display: flex; align-items: flex-end; gap: 3px; height: 100%; width: 100%; justify-content: center; }
.chart .bar { width: 9px; border-radius: 4px 4px 0 0; min-height: 2px; transition: opacity .15s; }
.chart .bar.bv { background: #5b6472; } .chart .bar.br { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); }
.chart-col:hover .bar { opacity: .8; }
.chart-x { font-size: 10px; color: #6f6873; white-space: nowrap; }
@media (max-width: 560px) { .chart-x { display: none; } }

/* Geri bildirim ic notu (CRM) */
.fb-note { margin-top: 8px; }
.fb-note summary { cursor: pointer; font-size: 12px; color: var(--d-muted); list-style: none;
  display: inline-flex; align-items: center; gap: 5px; user-select: none; }
.fb-note summary::-webkit-details-marker { display: none; }
.fb-note summary:hover { color: var(--gold); }
.fb-note form { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.fb-note textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--d-line); border-radius: 10px;
  background: var(--d-panel-2); color: var(--d-ink); font-family: inherit; font-size: 13.5px; resize: vertical; outline: none; }
.fb-note textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,160,7,.12); }
.fb-note button { align-self: flex-start; }
.cat-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px;
  background: rgba(242,160,7,.14); color: var(--gold-deep); border: 1px solid rgba(242,160,7,.3); margin-bottom: 6px; }
.reply-box { margin-top: 8px; display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.reply-box textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--gold); border-radius: 10px;
  background: rgba(242,160,7,.06); color: var(--d-ink); font-family: inherit; font-size: 13.5px; resize: vertical; outline: none; }
.reply-box button { align-self: flex-start; }
.x-btn { background: none; border: none; color: var(--red); cursor: pointer; font-size: 16px; line-height: 1;
  padding: 0; font-family: inherit; }
.x-btn:hover { color: #f0a596; }
.pin { width: 100%; padding: 12px 14px; border: 1px solid var(--d-line); border-radius: 11px;
  background: var(--d-panel-2); color: var(--d-ink); font-family: inherit; font-size: 14px; outline: none; resize: vertical; }
.pin::placeholder { color: #6f6873; }
.pin:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(242,160,7,.12); }
.pcolor { width: 48px; height: 38px; border: 1px solid var(--d-line); border-radius: 9px; background: var(--d-panel-2); cursor: pointer; padding: 2px; }

/* Fiyatlandirma (planlar) */
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; align-items: stretch; }
.plan-card { position: relative; background: var(--d-panel); border: 1px solid var(--d-line); border-radius: 20px;
  padding: 28px 24px; display: flex; flex-direction: column; }
.plan-card.featured { border-color: rgba(242,160,7,.5); box-shadow: 0 20px 50px -24px rgba(242,160,7,.35); }
.plan-card.current { border-color: var(--green); }
.plan-tag { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg,#ffce6b,var(--gold));
  color: #2a1c00; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin: 0 0 10px; }
.plan-price { margin-bottom: 18px; }
.plan-price .amt { font-family: var(--font-display); font-weight: 800; font-size: 34px; letter-spacing: -.02em; }
.plan-price .per { color: var(--d-muted); font-size: 14px; margin-left: 4px; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan-feats li { font-size: 14px; color: var(--d-ink); padding: 7px 0; border-bottom: 1px solid var(--d-line); }
.plan-feats li:last-child { border-bottom: none; }
.plan-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; padding: 3px 10px;
  border-radius: 999px; background: rgba(242,160,7,.14); border: 1px solid rgba(242,160,7,.3); color: #e9c48a; text-decoration: none; }
.plan-badge:hover { background: rgba(242,160,7,.22); }
@media (max-width: 760px) { .plans-grid { grid-template-columns: 1fr; } }

/* ===================== LANDING (modern dark SaaS) ===================== */
body.landing {
  --l-bg: #08070a;
  --l-ink: #f4f1ec;
  --l-muted: #98919c;
  --l-line: rgba(255,255,255,.09);
  --l-line-2: rgba(255,255,255,.14);
  --l-glass: rgba(255,255,255,.035);
  --l-glass-2: rgba(255,255,255,.06);
  background: var(--l-bg);
  color: var(--l-ink);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
.lp-mesh { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(720px 520px at 78% -8%, rgba(242,160,7,.22), transparent 60%),
    radial-gradient(680px 560px at 12% 6%, rgba(255,120,40,.12), transparent 58%),
    radial-gradient(900px 700px at 50% 118%, rgba(242,160,7,.10), transparent 60%);
}
body.landing .grain { opacity: .06; }
.lp-shell { position: relative; z-index: 2; }
.lp-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Floating glass nav */
.lp-nav { position: sticky; top: 16px; z-index: 30; margin-top: 16px; }
.lp-nav-inner { max-width: 1080px; margin: 0 auto; padding: 11px 12px 11px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(16,14,18,.66); backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid var(--l-line); border-radius: 18px;
  box-shadow: 0 18px 50px -24px rgba(0,0,0,.85), inset 0 1px 0 rgba(255,255,255,.04); }
.lp-brand { display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -.01em;
  color: var(--l-ink); text-decoration: none; }
.lp-brand .mark { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  background: linear-gradient(135deg, #ffce6b, var(--gold)); color: #2a1c00; font-size: 14px;
  box-shadow: 0 6px 18px -4px rgba(242,160,7,.7); }
.lp-nav-links { display: flex; align-items: center; gap: 8px; }
.lp-nav-links a.nl { color: var(--l-muted); text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 10px; transition: color .15s, background .15s; }
.lp-nav-links a.nl:hover { color: var(--l-ink); background: var(--l-glass); }
.lp-nav-cta { display: flex; align-items: center; gap: 8px; }
.btn-line { color: var(--l-ink); text-decoration: none; font-weight: 600; font-size: 14px;
  padding: 9px 16px; border-radius: 11px; border: 1px solid var(--l-line-2); background: var(--l-glass);
  transition: background .15s, border-color .15s; }
.btn-line:hover { background: var(--l-glass-2); border-color: rgba(242,160,7,.5); }
.btn-ink { background: linear-gradient(135deg, #ffce6b, var(--gold)); color: #2a1c00; border-radius: 11px;
  padding: 9px 17px; font-weight: 700; font-size: 14px; text-decoration: none; display: inline-flex;
  align-items: center; gap: 7px; box-shadow: 0 8px 22px -8px rgba(242,160,7,.7); transition: transform .12s, box-shadow .15s; }
.btn-ink:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(242,160,7,.85); }

/* Hero (centered) */
.lp-hero { text-align: center; padding: 78px 0 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600;
  color: #ffd98a; padding: 7px 7px 7px 15px; border-radius: 999px;
  background: linear-gradient(rgba(255,255,255,.04), rgba(255,255,255,.04)) padding-box,
              linear-gradient(120deg, rgba(242,160,7,.6), rgba(255,255,255,.12)) border-box;
  border: 1px solid transparent; animation: rise .6s .02s cubic-bezier(.2,.8,.2,1) both; }
.hero-badge .tag { font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
  color: #2a1c00; background: linear-gradient(135deg, #ffce6b, var(--gold)); padding: 3px 9px; border-radius: 999px; }
.lp-h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.035em;
  font-size: clamp(40px, 7vw, 76px); line-height: .98; margin: 24px auto 0; max-width: 14ch;
  background: linear-gradient(180deg, #fffaf2 30%, #d8cbb8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise .6s .08s cubic-bezier(.2,.8,.2,1) both; }
.lp-h1 .hl { background: linear-gradient(120deg, #ffce6b, var(--gold) 60%, #ff8a3d);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { font-size: clamp(16px, 2vw, 20px); color: var(--l-muted); line-height: 1.6;
  max-width: 50ch; margin: 26px auto 0; animation: rise .6s .14s cubic-bezier(.2,.8,.2,1) both; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 34px;
  animation: rise .6s .2s cubic-bezier(.2,.8,.2,1) both; }
.btn-grad { background: linear-gradient(135deg, #ffce6b, var(--gold) 55%, #f08a12); color: #2a1c00;
  border-radius: 14px; padding: 16px 30px; font-weight: 700; font-size: 16px; text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px; box-shadow: 0 16px 38px -12px rgba(242,160,7,.75);
  transition: transform .14s, box-shadow .18s; }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -14px rgba(242,160,7,.9); }
.btn-glass { color: var(--l-ink); text-decoration: none; font-weight: 600; font-size: 15.5px;
  display: inline-flex; align-items: center; gap: 9px; padding: 15px 22px; border-radius: 14px;
  background: var(--l-glass); border: 1px solid var(--l-line-2); transition: background .15s, border-color .15s; }
.btn-glass:hover { background: var(--l-glass-2); border-color: rgba(242,160,7,.5); }
.btn-glass .play { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, #ffce6b, var(--gold)); color: #2a1c00; font-size: 10px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--l-muted);
  animation: rise .6s .26s cubic-bezier(.2,.8,.2,1) both; }
.hero-note b { color: #ffd98a; font-weight: 600; }

/* Product mockup */
.hero-stage { position: relative; margin: 56px auto 0; max-width: 940px; padding: 0 8px;
  animation: rise .8s .3s cubic-bezier(.2,.8,.2,1) both; }
.hero-stage::before { content: ""; position: absolute; inset: -8% 6% 18%;
  background: radial-gradient(60% 60% at 50% 30%, rgba(242,160,7,.4), transparent 70%); filter: blur(50px); z-index: 0; }
.mock { position: relative; z-index: 1; background: linear-gradient(180deg, #151318, #100e12);
  border: 1px solid var(--l-line-2); border-radius: 18px; overflow: hidden;
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.06); }
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--l-line);
  background: rgba(255,255,255,.02); }
.mock-bar .dot { width: 11px; height: 11px; border-radius: 50%; background: #3a353f; }
.mock-bar .dot.r { background: #ff5f57; } .mock-bar .dot.y { background: #febc2e; } .mock-bar .dot.g { background: #28c840; }
.mock-bar .url { margin-left: 12px; font-family: var(--font-mono); font-size: 12px; color: #6f6873;
  background: rgba(255,255,255,.04); padding: 5px 12px; border-radius: 7px; }
.mock-body { padding: 22px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.mock-stat { background: rgba(255,255,255,.03); border: 1px solid var(--l-line); border-radius: 14px; padding: 16px 18px; text-align: left; }
.mock-stat .k { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--l-muted); }
.mock-stat .v { font-family: var(--font-display); font-weight: 800; font-size: 30px; margin-top: 6px; letter-spacing: -.02em; }
.mock-stat .v.gold { background: linear-gradient(120deg,#ffce6b,var(--gold)); -webkit-background-clip:text; background-clip:text; color: transparent; }
.mock-stat .v.green { color: #5fd6a4; } .mock-stat .v.red { color: #f08a78; }
.mock-row { grid-column: 1 / -1; background: rgba(255,255,255,.02); border: 1px solid var(--l-line); border-radius: 14px; overflow: hidden; }
.mr { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--l-line); font-size: 13.5px; }
.mr:last-child { border-bottom: none; }
.mr .nm { font-weight: 600; }
.mr .st { color: var(--gold); letter-spacing: 2px; font-size: 13px; }
.mr .pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.mr .pill.ok { background: rgba(47,158,111,.16); color: #5fd6a4; }
.mr .pill.warn { background: rgba(224,83,61,.16); color: #f08a78; }

/* Stats strip */
.lp-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 70px auto 0; }
.lp-stat { flex: 1; min-width: 200px; max-width: 280px; text-align: center; padding: 22px;
  background: var(--l-glass); border: 1px solid var(--l-line); border-radius: 16px; }
.lp-stat .num { font-family: var(--font-display); font-weight: 800; font-size: 36px; letter-spacing: -.02em;
  background: linear-gradient(120deg,#fffaf2,#ffce6b); -webkit-background-clip:text; background-clip:text; color: transparent; }
.lp-stat .lbl { color: var(--l-muted); font-size: 14px; margin-top: 4px; }

/* Section */
.lp-sec { padding: 96px 0; position: relative; }
.lp-eyebrow { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: linear-gradient(120deg,#ffce6b,var(--gold)); -webkit-background-clip:text; background-clip:text; color: transparent; margin: 0 0 14px; }
.lp-h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.05; text-align: center; margin: 0 auto 16px; max-width: 16ch;
  background: linear-gradient(180deg,#fffaf2,#cdbfac); -webkit-background-clip:text; background-clip:text; color: transparent; }
.lp-h2-sub { text-align: center; color: var(--l-muted); font-size: 17px; max-width: 38ch; margin: 0 auto 56px; line-height: 1.6; }

/* Bento features */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cell { position: relative; background: var(--l-glass); border: 1px solid var(--l-line); border-radius: 20px; padding: 26px;
  overflow: hidden; transition: transform .2s, border-color .2s, background .2s; }
.cell:hover { transform: translateY(-4px); border-color: rgba(242,160,7,.4); background: var(--l-glass-2); }
.cell::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -80px;
  background: radial-gradient(circle, rgba(242,160,7,.16), transparent 70%); opacity: 0; transition: opacity .25s; }
.cell:hover::after { opacity: 1; }
.cell.wide { grid-column: span 2; }
.cell .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 21px;
  background: linear-gradient(135deg, rgba(242,160,7,.22), rgba(242,160,7,.06)); border: 1px solid rgba(242,160,7,.3); margin-bottom: 16px; }
.cell h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 8px; letter-spacing: -.01em; color: var(--l-ink); }
.cell p { color: var(--l-muted); font-size: 14.5px; line-height: 1.6; margin: 0; position: relative; z-index: 1; }

/* Steps */
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--l-glass); border: 1px solid var(--l-line); border-radius: 20px; padding: 28px; counter-increment: step; }
.step .n { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #2a1c00;
  background: linear-gradient(135deg, #ffce6b, var(--gold)); box-shadow: 0 8px 20px -8px rgba(242,160,7,.6); margin-bottom: 16px; }
.step .n::before { content: counter(step); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; margin: 0 0 8px; letter-spacing: -.01em; color: var(--l-ink); }
.step p { color: var(--l-muted); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* CTA */
.lp-cta-band { max-width: 1000px; margin: 0 auto; padding: 0 24px 100px; }
.cta-inner { position: relative; border-radius: 28px; padding: 64px 40px; text-align: center; overflow: hidden;
  background: linear-gradient(135deg, rgba(242,160,7,.16), rgba(255,255,255,.03));
  border: 1px solid rgba(242,160,7,.3); box-shadow: 0 40px 90px -40px rgba(242,160,7,.5); }
.cta-inner::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 260px at 50% -10%, rgba(242,160,7,.3), transparent 60%); }
.cta-inner > * { position: relative; z-index: 1; }
.cta-inner h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 14px; background: linear-gradient(180deg,#fffaf2,#e8d9c2); -webkit-background-clip:text; background-clip:text; color: transparent; }
.cta-inner p { color: var(--l-muted); font-size: 17px; margin: 0 0 30px; }

/* Footer */
.lp-footer { border-top: 1px solid var(--l-line); margin-top: 20px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.015)); }
.lp-footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px;
  max-width: 1160px; margin: 0 auto; padding: 56px 24px 40px; }
.ft-brand .lp-brand { margin-bottom: 14px; }
.ft-brand p { color: var(--l-muted); font-size: 14px; line-height: 1.6; max-width: 30ch; margin: 0 0 16px; }
.ft-made { font-size: 13px; color: #6f6873; }
.ft-made a { color: #cabfb0; text-decoration: none; }
.ft-made a:hover { color: var(--gold); }
.ft-col h4 { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--l-ink); margin: 0 0 14px; }
.ft-col a, .ft-col span { display: block; color: var(--l-muted); text-decoration: none; font-size: 14px;
  line-height: 1.2; padding: 7px 0; transition: color .15s; }
.ft-col a:hover { color: var(--gold); }
.lp-footer-inner { max-width: 1160px; margin: 0 auto; padding: 20px 24px; border-top: 1px solid var(--l-line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--l-muted); font-size: 13.5px; }
.lp-footer-inner a { color: #cabfb0; text-decoration: none; }
.lp-footer-inner a:hover { color: var(--gold); }
.fbottom-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Legal / prose pages */
.legal-hero { padding: 56px 0 10px; text-align: center; }
.legal-hero .lp-eyebrow { margin-bottom: 10px; }
.legal-hero h1 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(30px, 5vw, 46px); margin: 0 auto 10px; max-width: 18ch;
  background: linear-gradient(180deg,#fffaf2,#cdbfac); -webkit-background-clip:text; background-clip:text; color: transparent; }
.legal-hero .updated { color: var(--l-muted); font-size: 14px; }
.legal-wrap { max-width: 820px; margin: 0 auto; padding: 30px 24px 90px; }
.legal-note { background: rgba(242,160,7,.08); border: 1px solid rgba(242,160,7,.3); border-radius: 14px;
  padding: 14px 18px; font-size: 13.5px; color: #ffd98a; margin-bottom: 36px; line-height: 1.6; }
.legal-toc { background: var(--l-glass); border: 1px solid var(--l-line); border-radius: 16px;
  padding: 20px 24px; margin-bottom: 40px; }
.legal-toc h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--l-muted);
  margin: 0 0 12px; font-family: var(--font-display); }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; }
.legal-toc li { margin: 6px 0; font-size: 14px; }
.legal-toc a { color: #cabfb0; text-decoration: none; }
.legal-toc a:hover { color: var(--gold); }
.legal-body { color: #d7d0c6; font-size: 15.5px; line-height: 1.75; }
.legal-body h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em;
  font-size: 21px; color: var(--l-ink); margin: 42px 0 14px; scroll-margin-top: 90px; }
.legal-body h2 .no { color: var(--gold); margin-right: 8px; }
.legal-body h3 { font-size: 16.5px; color: var(--l-ink); margin: 24px 0 10px; font-weight: 700; }
.legal-body p { margin: 0 0 14px; }
.legal-body ul, .legal-body ol { margin: 0 0 16px; padding-left: 22px; }
.legal-body li { margin: 7px 0; }
.legal-body a { color: var(--gold); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 14px; }
.legal-body th, .legal-body td { text-align: left; padding: 11px 14px; border: 1px solid var(--l-line); vertical-align: top; }
.legal-body th { background: rgba(255,255,255,.03); color: var(--l-ink); font-weight: 600; }
.legal-body strong { color: var(--l-ink); }

@media (max-width: 880px) {
  .lp-nav-links { display: none; }
  .mock-body { grid-template-columns: 1fr; }
  .bento, .lp-steps { grid-template-columns: 1fr; }
  .cell.wide { grid-column: span 1; }
}
@media (max-width: 760px) {
  .lp-footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .ft-brand { grid-column: 1 / -1; }
  .legal-toc ol { columns: 1; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } }
