/* ===========================================================================
   Herkese acik tanitim sitesi — PANELDEN AYRI stil dosyasi.
   style.css'e dokunulmuyor; bu dosya yalnizca templates/public/* tarafindan
   yukleniyor. Marka renkleri bilerek Etsy'nin turuncusundan uzak tutuldu
   (Trademark Policy: Etsy'nin gorunumunu taklit etmeyin).
   ======================================================================== */

:root {
  --ink: #0b1020;
  --ink-2: #1b2340;
  --body: #41496a;
  --muted: #6b7496;
  --line: #e3e7f2;
  --line-soft: #eef1f8;
  --paper: #ffffff;
  --paper-2: #f6f8fc;
  --brand: #3149c7;
  --brand-dark: #22338f;
  --brand-soft: #eef1fe;
  --ok: #1d7a5f;
  --ok-soft: #e7f5f0;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 16, 32, .06), 0 1px 3px rgba(11, 16, 32, .04);
  --shadow: 0 10px 30px rgba(11, 16, 32, .07), 0 2px 8px rgba(11, 16, 32, .04);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.site {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 660; letter-spacing: -.021em; margin: 0; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.2rem); line-height: 1.08; letter-spacing: -.03em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.95rem); line-height: 1.2; }
h3 { font-size: 1.08rem; line-height: 1.35; }
p { margin: 0 0 1em; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--ink-2); font-weight: 620; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em; background: var(--brand-soft); color: var(--brand-dark);
  padding: .1em .38em; border-radius: 5px;
}

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 780px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.tiny { font-size: .82rem; }
.center { text-align: center; }

/* ----------------------------------------------------------------- header */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head-in {
  display: flex; align-items: center; gap: 22px;
  height: 68px; max-width: 1140px; margin: 0 auto; padding: 0 24px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 680; letter-spacing: -.02em; font-size: 1.08rem; }
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto;
  display: grid; place-items: center; color: #fff; font-size: .95rem; font-weight: 700;
  background: linear-gradient(145deg, #4a62dd, #22338f);
  box-shadow: 0 2px 6px rgba(34, 51, 143, .35);
}
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  color: var(--body); font-size: .94rem; font-weight: 520;
  padding: 8px 11px; border-radius: 9px;
}
.site-nav a:hover { background: var(--paper-2); text-decoration: none; color: var(--ink); }
.site-nav a.on { color: var(--brand-dark); background: var(--brand-soft); }
/* Menudeki dugme: .site-nav a kurali .btn-primary'den daha ozgul oldugu icin
   yazi rengini ezip mavi zemin uzerinde okunmaz hale getiriyordu. */
.site-nav a.btn-primary, .site-nav a.btn-primary:hover { color: #fff; }
.site-nav a.btn-primary:hover { background: var(--brand-dark); }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 38px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 1.1rem; color: var(--ink); cursor: pointer;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 19px; border-radius: 11px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 2px 10px rgba(49, 73, 199, .3); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #cfd6e8; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 74px 0 64px; background: var(--paper); }
.hero::before {
  content: ""; position: absolute; inset: -220px 0 auto -10%; height: 620px; z-index: 0;
  background:
    radial-gradient(680px 320px at 22% 38%, rgba(49, 73, 199, .11), transparent 70%),
    radial-gradient(540px 300px at 78% 20%, rgba(29, 122, 95, .09), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: .84rem; font-weight: 580; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.hero h1 { max-width: 20ch; }
.hero-lead { font-size: 1.14rem; max-width: 62ch; margin: 20px 0 30px; color: var(--body); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 26px; font-size: .88rem; color: var(--muted); max-width: 66ch; }

/* --------------------------------------------------------------- sections */
.section { padding: 68px 0; }
.section.alt { background: var(--paper-2); border-block: 1px solid var(--line-soft); }
.section-head { max-width: 68ch; margin-bottom: 36px; }
.section-head p { margin-top: 12px; font-size: 1.04rem; }
.kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px;
}

.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 38px; height: 38px; border-radius: 11px; margin-bottom: 16px;
  display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-dark);
}
.card-icon svg { width: 20px; height: 20px; }

.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { position: relative; padding: 0 0 0 26px; margin-bottom: 11px; }
.feature-list li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px; border-radius: 2px; background: var(--brand);
}
.feature-list li:last-child { margin-bottom: 0; }

/* panel / spotlight */
.spotlight {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center;
}
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; }
.steps li {
  counter-increment: s; position: relative; padding: 0 0 22px 52px;
  border-left: 2px solid var(--line); margin-left: 15px;
}
.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps li::before {
  content: counter(s); position: absolute; left: -16px; top: -2px;
  width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--brand-dark);
  font-weight: 680; font-size: .88rem; box-shadow: var(--shadow-sm);
}
.steps li strong { display: block; color: var(--ink); margin-bottom: 3px; }
.steps li p { margin: 0; font-size: .96rem; }

.stage {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden;
}
.stage-bar {
  display: flex; align-items: center; gap: 6px; padding: 12px 16px;
  border-bottom: 1px solid var(--line-soft); background: var(--paper-2);
}
.stage-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d6dcec; }
.stage-bar em {
  margin-left: 8px; font-style: normal; font-size: .82rem; color: var(--muted);
}
.stage-body { padding: 22px; }
.stage-row {
  display: flex; align-items: center; gap: 12px; padding: 11px 0;
  border-bottom: 1px solid var(--line-soft); font-size: .92rem;
}
.stage-row:last-child { border-bottom: 0; }
.stage-thumb {
  width: 42px; height: 42px; border-radius: 9px; flex: 0 0 auto;
  background: linear-gradient(135deg, #e8ecfb, #dbe3f7);
  border: 1px solid var(--line);
}
.stage-row b { color: var(--ink); font-weight: 600; display: block; }
.stage-tag {
  margin-left: auto; font-size: .76rem; font-weight: 640; padding: 3px 9px;
  border-radius: 999px; background: var(--ok-soft); color: var(--ok); white-space: nowrap;
}
.stage-tag.neutral { background: var(--brand-soft); color: var(--brand-dark); }

/* ------------------------------------------------------------- row cards */
.rowcards { display: grid; gap: 14px; }
.rowcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.rowcard-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.rowcard-head h3 { font-size: 1rem; }
.rowcard dl { display: grid; grid-template-columns: 190px 1fr; gap: 8px 20px; margin: 0; }
.rowcard dt { color: var(--muted); font-size: .86rem; font-weight: 600; }
.rowcard dd { margin: 0; font-size: .95rem; }

.badge {
  font-size: .74rem; font-weight: 680; letter-spacing: .02em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-dark);
}
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.plan { background: #eff1f6; color: #5b6482; }

.callout {
  border: 1px solid var(--line); border-left: 3px solid var(--brand);
  background: var(--paper-2); border-radius: 10px; padding: 18px 20px; margin: 24px 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout h3 { font-size: .98rem; margin-bottom: 7px; }

.disclaimer-box {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 20px 22px; margin: 26px 0;
}
.disclaimer-box p { margin: 0; font-size: .95rem; }
.legalese {
  font-size: .85rem; line-height: 1.6; letter-spacing: .01em;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 20px; color: var(--ink-2);
}

/* ------------------------------------------------------------ legal pages */
.page-head { padding: 54px 0 10px; }
.page-head h1 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); }
.page-head .lead { font-size: 1.08rem; margin-top: 14px; max-width: 70ch; }
.page-meta { margin-top: 16px; font-size: .86rem; color: var(--muted); }
.prose { padding: 26px 0 70px; }
.prose h2 { margin: 38px 0 12px; font-size: 1.28rem; }
.prose h3 { margin: 26px 0 8px; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 22px; }
.prose li { margin-bottom: 7px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: .93rem; }
.prose th, .prose td {
  text-align: left; vertical-align: top; padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
}
.prose th { color: var(--ink); font-weight: 640; background: var(--paper-2); }
.toc {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px;
  background: var(--paper-2); margin: 26px 0 8px;
}
.toc h2 { margin: 0 0 10px; font-size: .95rem; }
.toc ol { margin: 0; padding-left: 20px; font-size: .94rem; }
.toc li { margin-bottom: 5px; }

/* ----------------------------------------------------------------- pricing */
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow); max-width: 560px;
}
.plan-price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 18px; }
.plan-price b { font-size: 2.1rem; color: var(--ink); letter-spacing: -.03em; }

/* ------------------------------------------------------------------ footer */
.site-foot { background: var(--ink); color: #aab3cf; padding: 54px 0 34px; }
.site-foot a { color: #dfe4f3; font-size: .94rem; }
.site-foot a:hover { color: #fff; }
.foot-cols {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.foot-cols h4 {
  color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 14px; font-weight: 640;
}
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin-bottom: 9px; }
.foot-brand .logo { color: #fff; }
.foot-brand p { margin: 14px 0 0; font-size: .92rem; max-width: 34ch; color: #99a2c0; }
.foot-legal { padding-top: 26px; font-size: .86rem; color: #8b94b4; }
.foot-legal p { margin: 0 0 8px; max-width: 86ch; }
.foot-legal strong { color: #cfd6ea; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr 1fr; }
  .spotlight { grid-template-columns: 1fr; gap: 32px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 26px; }
}

@media (max-width: 760px) {
  body.site { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-head-in { padding: 0 16px; gap: 12px; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 10px 16px 16px; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 11px 12px; font-size: 1rem; }
  .site-nav .btn { margin-top: 8px; }
  .hero { padding: 48px 0 44px; }
  .hero h1 { max-width: none; }
  .section { padding: 48px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .rowcard dl { grid-template-columns: 1fr; gap: 2px 0; }
  .rowcard dt { margin-top: 10px; }
  .rowcard dl > dt:first-child { margin-top: 0; }
  .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; }
  .prose thead { display: none; }
  .prose tr {
    border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; margin-bottom: 12px;
  }
  .prose td { border: 0; padding: 7px 0; }
  .prose td::before {
    content: attr(data-label); display: block; font-size: .8rem; font-weight: 640;
    color: var(--muted); margin-bottom: 2px;
  }
  .steps li { padding-left: 44px; }
  .foot-cols { grid-template-columns: 1fr; }
  .plan { padding: 24px; }
}

/* ---- Sartlari kabul ekrani (/accept-terms) ---------------------------- */
.flash-wrap { margin: 18px 0 0; }
.flash-msg {
  border: 1px solid var(--line); border-left: 3px solid var(--brand);
  background: var(--paper-2); border-radius: 10px; padding: 12px 16px;
  margin-bottom: 10px; font-size: .95rem;
}
.flash-msg.error { border-left-color: #c0392b; background: #fdf3f2; color: #7d241a; }

.accept-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-sm); margin: 26px 0;
}
.accept-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.accept-check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 auto; }
.accept-check span { line-height: 1.55; }
.accept-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 14px; }

/* ---- Sayfa ici gezinme cipleri (/features) --------------------------- */
.toc-chips-title {
  font-size: .78rem; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 10px;
}
.toc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 38px; }
.toc-chips a {
  display: inline-block; padding: 6px 13px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--paper-2); color: var(--ink-2);
  font-size: .9rem; text-decoration: none; transition: border-color .15s, color .15s;
}
.toc-chips a:hover { border-color: var(--brand); color: var(--brand); }

/* ---- Giris / ilk kurulum ekrani (site gorunumunde) ------------------- */
body.auth {
  min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(900px 480px at 50% -10%, var(--brand-soft) 0%, rgba(255,255,255,0) 62%),
    var(--paper);
}
.auth-wrap {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 48px 16px;
}
.auth-box { width: 100%; max-width: 410px; }
.auth-logo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 26px; font-weight: 700; font-size: 1.12rem; color: var(--ink);
  text-decoration: none; letter-spacing: -.01em;
}
.auth-card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 30px; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.32rem; margin: 0 0 8px; letter-spacing: -.015em; }
.auth-card > p { margin: 0 0 20px; font-size: .95rem; color: var(--muted); }
.auth-field { display: block; margin-bottom: 15px; }
.auth-field span {
  display: block; font-size: .85rem; font-weight: 600; color: var(--ink-2);
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%; padding: 11px 13px; font: inherit; font-size: .98rem;
  color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.auth-field input:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft);
}
.auth-check {
  display: flex; align-items: center; gap: 9px; font-size: .92rem;
  color: var(--body); margin: 2px 0 20px; cursor: pointer;
}
.auth-check input { width: 16px; height: 16px; margin: 0; }
.auth-card .btn { width: 100%; justify-content: center; }
.auth-code input { letter-spacing: .4em; text-align: center; font-size: 1.2rem; }
.auth-qr { text-align: center; margin: 4px 0 14px; }
.auth-qr img {
  width: 178px; height: 178px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; padding: 8px;
}
.auth-secret {
  display: block; text-align: center; font-size: .95rem; letter-spacing: .06em;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px; margin: 0 0 18px; word-break: break-all;
}
.auth-foot {
  text-align: center; font-size: .86rem; color: var(--muted);
  padding: 0 16px 34px; line-height: 1.7;
}
.auth-foot a { color: var(--muted); }
.auth-alt { text-align: center; margin: 16px 0 0; font-size: .9rem; }

/* ---- Ozellik vitrini (ana sayfa): yazi + ekran gorseli siralari --------
   Gorseller urunun GERCEK ozelliklerini anlatan temsili arayuz cizimleri;
   her birinin altinda ve icinde ornek veri oldugu yaziyor. ------------- */
.showcase-nav {
  padding: 26px 0; border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.showcase-nav ul {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  margin: 12px 0 0; padding: 0; list-style: none;
}
.showcase-nav a {
  font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
}
.showcase-nav a:hover { color: var(--brand); }

.showcase-row {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr);
  gap: 52px; align-items: center;
  padding: 64px 0; border-bottom: 1px solid var(--line);
}
.showcase-row:last-child { border-bottom: 0; }
.showcase-copy h3 {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem); color: var(--ink);
  letter-spacing: -.025em; line-height: 1.18; margin: 14px 0 12px;
}
.showcase-copy p { max-width: 42ch; margin: 0; }
.showcase-fig { margin: 0; min-width: 0; }
.showcase-fig img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--paper-2);
}
.showcase-fig figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  font-size: .8rem; color: var(--muted); padding: 13px 4px 0;
}
.showcase-fig figcaption b { color: var(--ink-2); font-weight: 600; }
.demo-note {
  font-size: .85rem; color: var(--muted); max-width: 62ch; margin: 22px 0 0;
}

@media (max-width: 960px) {
  .showcase-row { grid-template-columns: 1fr; gap: 22px; padding: 46px 0; }
  .showcase-copy p { max-width: 60ch; }
}
@media (max-width: 760px) {
  .showcase-row { padding: 36px 0; }
  .showcase-fig figcaption { display: block; }
  .showcase-fig figcaption b { display: block; margin-bottom: 3px; }
}

/* ---- Marka gorseli ---------------------------------------------------
   Basligda ve giriste yatay logo (koyu lacivert yazi, acik zemin icin).
   ALT BILGI KOYU ZEMINLI: oradaki yazi HTML metni ve beyaz; yatay logonun
   yazisi orada okunmaz, o yuzden alt bilgide yalnizca kare isaret var. */
.logo-img { display: block; height: 30px; width: auto; }
.logo-mark-img { display: block; height: 30px; width: auto; flex: 0 0 auto; }
.auth-logo .logo-img { height: 34px; }
@media (max-width: 760px) {
  .logo-img { height: 26px; }
  .logo-mark-img { height: 26px; }
}
