/* ═══════════════════════════════════════════════════════════
   Davet — site stilleri (landing, auth, 404)
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #f7f3ec;
  --surface: #fffdf9;
  --ink: #3d3831;
  --muted: #8a8175;
  --gold: #b3905f;
  --gold-dark: #96784a;
  --gold-soft: #ece2cd;
  --sage: #7c8b6f;
  --line: #e5ddcf;
  --danger: #b3564e;
  --shadow: 0 10px 40px rgba(61, 56, 49, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 17px; scroll-behavior: smooth; }

body {
  font-family: "Jost", system-ui, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background:
    radial-gradient(1100px 500px at 50% -10%, rgba(179, 144, 95, 0.10), transparent 60%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

/* ── Floating top bar ─────────────────────────────────── */

.topbar {
  position: sticky;
  top: 14px;
  z-index: 50;
  margin: 14px auto 0;
  width: calc(100% - 28px);
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 24px;
  background: rgba(255, 253, 249, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--ink);
  text-decoration: none;
}
.brand svg { color: var(--gold); width: 22px; height: 22px; }
.brand-dot { color: var(--gold-dark); }

.topbar-actions { display: flex; gap: 10px; align-items: center; }

.tbtn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-dark);
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  transition: background 0.15s ease;
}
.tbtn:hover { background: var(--gold-soft); }
.tbtn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: transparent;
  color: #fff;
}
.tbtn-gold:hover { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); }
.tbtn-out { color: var(--danger); }

/* ── Landing hero ─────────────────────────────────────── */

.lhero {
  text-align: center;
  padding: 84px 20px 60px;
}

.leyebrow {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
}

.lhero h1 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.lhero h1 em {
  font-style: italic;
  color: var(--gold-dark);
}

.lsub {
  max-width: 560px;
  margin: 0 auto 34px;
  font-size: 1.08rem;
  color: var(--muted);
}

.lcta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn-gold, .btn-ghost {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  box-shadow: 0 8px 22px rgba(179, 144, 95, 0.35);
}
.btn-gold:hover { box-shadow: 0 10px 28px rgba(179, 144, 95, 0.45); }

.btn-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--gold); }

.llink-demo {
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.llink-demo strong { color: var(--gold-dark); font-weight: 500; }

/* ── Özellikler ───────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
  width: calc(100% - 40px);
  max-width: 1100px;
  margin: 0 auto 80px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 32px 26px;
}

.feature svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
  margin-bottom: 14px;
}

.feature h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature p { font-size: 0.94rem; color: var(--muted); }

/* ── Adımlar ──────────────────────────────────────────── */

.steps {
  text-align: center;
  padding: 0 20px 90px;
}

.steps h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 40px;
}

.steplist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: left;
}

.steplist li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
}

.stepnum {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 600;
}

.steplist strong { font-weight: 500; display: block; margin-bottom: 4px; }
.steplist p { font-size: 0.9rem; color: var(--muted); }

/* ── SSS ──────────────────────────────────────────────── */

.faq {
  text-align: center;
  padding: 0 20px 90px;
}

.faq h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 36px;
}

.faqlist {
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  display: grid;
  gap: 12px;
}

.faqitem {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px 22px;
}

.faqitem summary {
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.faqitem summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-dark);
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  transition: transform 0.2s;
}

.faqitem[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faqitem summary::-webkit-details-marker { display: none; }

.faqitem p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.65;
}

/* ── İçerik sayfaları (SEO) ──────────────────────────── */

.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 130px 22px 80px;
}

.crumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-dark); }

.doc h1 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 14px;
}

.doc-lead { font-size: 1.02rem; color: var(--muted); line-height: 1.7; margin-bottom: 34px; }

.doc-h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.3rem;
  margin: 38px 0 16px;
}

.doc-ul, .doc-ol { padding-left: 22px; display: grid; gap: 10px; color: var(--muted); font-size: 0.95rem; line-height: 1.65; }
.doc-ul strong, .doc-ol strong { color: var(--ink); }
.doc code { background: var(--gold-soft); padding: 1px 6px; border-radius: 6px; font-size: 0.85em; }
.doc a { color: var(--gold-dark); }

.faqitem { margin-bottom: 10px; }

/* Kopyalanabilir metin kartları */
.txtgrid { display: grid; gap: 14px; }
.txtcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 20px 22px;
}
.txtbody { font-size: 0.95rem; line-height: 1.7; color: var(--ink); margin-bottom: 14px; }
.copybtn {
  background: none;
  border: 1px solid var(--gold-dark);
  color: var(--gold-dark);
  font-family: "Jost", sans-serif;
  font-size: 0.82rem;
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.copybtn:hover { background: var(--gold-dark); color: #fff; }
.copybtn.copied { border-color: #2e7d32; color: #2e7d32; }

/* CTA bloğu */
.doc-cta {
  margin-top: 56px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 40px 26px;
}
.doc-cta h2 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.doc-cta p { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }

/* ── Footer ───────────────────────────────────────────── */

.lfoot {
  text-align: center;
  padding: 30px 20px 46px;
  border-top: 1px solid var(--line);
}

.foot-script {
  font-family: "Dancing Script", cursive;
  font-size: 1.8rem;
  color: var(--gold-dark);
}

.lfoot p { font-size: 0.86rem; color: var(--muted); margin-top: 4px; }
.foot-links a { color: var(--muted); text-decoration: none; margin: 0 2px; }
.foot-links a:hover { color: var(--gold-dark); }

/* ── Auth ─────────────────────────────────────────────── */

.auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.auth-card {
  width: calc(100% - 32px);
  max-width: 400px;
  margin: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 38px 34px;
  text-align: center;
}

.auth-card h1 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.55rem;
  margin-bottom: 6px;
}

.auth-sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 24px; }

.afield { display: block; text-align: left; margin-bottom: 16px; }
.afield > span {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.afield em {
  font-style: normal;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 300;
}

.afield input,
.afield textarea,
.afield select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
}
.afield select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3905f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center/16px;
}
.afield input:focus,
.afield textarea:focus,
.afield select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(179, 144, 95, 0.15);
}
.afield textarea { resize: vertical; }

.abtn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.err {
  background: rgba(179, 86, 78, 0.1);
  color: var(--danger);
  font-size: 0.92rem;
  border-radius: 10px;
  padding: 9px 14px;
  margin-bottom: 16px;
  text-align: left;
}

.okbox {
  background: #eef2e9;
  color: #55634c;
  font-size: 0.92rem;
  border-radius: 10px;
  padding: 9px 14px;
  margin-bottom: 16px;
  text-align: left;
}

.auth-swap { margin-top: 20px; font-size: 0.92rem; color: var(--muted); }
.auth-swap a { color: var(--gold-dark); font-weight: 500; }

.auth-legal { margin-top: 14px; font-size: 0.8rem; color: var(--muted); }
.auth-legal a { color: var(--gold-dark); }

/* ── KVKK / hukuki sayfa ──────────────────────────────── */

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.legal h1 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.legal-sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 32px; }
.legal h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 10px;
}
.legal p, .legal li { font-size: 0.92rem; line-height: 1.7; color: #4a4436; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }

/* ── 404 ──────────────────────────────────────────────── */

.nf {
  min-height: 80vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
}
.nf h1 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 10px;
}
.nf p { color: var(--muted); margin-bottom: 26px; }
.nf code { background: var(--gold-soft); padding: 2px 8px; border-radius: 6px; }

@media (max-width: 640px) {
  .topbar { flex-wrap: wrap; border-radius: 20px; }
  .topbar-actions { width: 100%; justify-content: flex-end; }
  .lhero { padding-top: 60px; }
}

@media (max-width: 480px) {
  .lcta { flex-direction: column; align-items: stretch; }
}

@media (max-width: 380px) {
  .topbar { padding: 11px 15px; }
  .tbtn { padding: 9px 14px; font-size: 0.88rem; }
  .lhero { padding-left: 12px; padding-right: 12px; }
  .feature { padding: 24px 20px; }
  .steplist li { padding: 20px 16px; }
}
