:root {
  --c1: #3b5bdb;
  --c2: #5b3fd0;
  --c3: #7a4fe0;
  --grad: linear-gradient(120deg, #3b5bdb, #6a45e0);
  --ink: #1a1637;
  --ink-2: #55507a;
  --ink-3: #8a84a8;
  --sand: #f6f4fc;
  --sand-2: #ebe7f7;
  --sand-3: #d9d3ee;
  --paper: #ffffff;
  --plum: #17133f;
  --plum-2: #241d63;
  --bg: #f3f1fa;
  --bg-soft: #ebe8f7;
  --line: #dcd8ee;
  --ok: #3f7d58;
  --warn: #a8741f;
  --danger: #a8403a;
  --radius: 14px;
  --shadow: 0 24px 60px -28px rgba(47, 42, 63, .35);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--c2); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.muted { color: var(--ink-2); }
.small { font-size: .875rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.grad-text { color: var(--c2); font-style: italic; }

/* butonlar */
.btn { --pad: 13px 26px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: var(--pad); border-radius: 999px; border: 1px solid transparent; font: 500 .95rem var(--font); cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .15s; text-decoration: none !important; white-space: nowrap; letter-spacing: .005em; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; border-color: #bdb5e0; color: var(--ink); }
.btn-ghost:hover { border-color: var(--plum); background: rgba(47, 42, 63, .05); }
.btn-danger { background: transparent; border-color: #d9b3ae; color: var(--danger); }
.btn-danger:hover { background: #f6e7e5; }
.btn-sm { --pad: 8px 16px; font-size: .85rem; }
.btn-lg { --pad: 16px 34px; font-size: 1rem; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* üst çubuk */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--sand); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 1.2rem var(--serif); color: var(--ink); text-decoration: none !important; letter-spacing: -.01em; }
.brand img { height: 40px; width: auto; mix-blend-mode: multiply; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a.link { color: var(--ink-2); font-weight: 500; font-size: .92rem; white-space: nowrap; }
.nav a.link:hover { color: var(--ink); text-decoration: none; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
@media (max-width: 960px) {
  .burger { display: block; }
  .nav { position: absolute; inset: 76px 0 auto 0; background: var(--sand); flex-direction: column; align-items: stretch; padding: 12px 24px 24px; gap: 0; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a.link { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-actions { margin-top: 16px; }
}

/* formlar */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 500; font-size: .88rem; color: var(--ink-2); }
.field .hint { font-size: .8rem; color: var(--ink-3); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url], input[type=date], input[type=color], input[type=search], select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfc9e6; border-radius: 10px; font: 400 .95rem var(--font); color: var(--ink); background: var(--paper); outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { border-color: var(--c2); box-shadow: 0 0 0 3px rgba(91, 75, 138, .15); }
textarea { resize: vertical; min-height: 96px; }
input[type=color] { padding: 4px; height: 46px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); }
.check input { margin-top: 4px; accent-color: var(--c2); }

/* alt bilgi */
.site-footer { background: var(--plum); color: #cfc7dc; padding: 72px 0 0; }
.site-footer a { color: #cfc7dc; }
.site-footer a:hover { color: #fff; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.foot h4 { color: #fff; font: 600 .78rem var(--font); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .92rem; }
.foot .brand { color: #fff; }
.copy { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0 26px; font-size: .84rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; }
.copy .credit { margin-left: auto; text-align: right; }
.copy .credit a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.copy .credit a:hover { text-decoration: none; border-color: #fff; }
@media (max-width: 800px) { .foot { grid-template-columns: 1fr 1fr; } .copy .credit { margin-left: 0; text-align: left; } }

/* tablet model önizleme */
.tabart svg { width: 100%; height: auto; display: block; }

/* bildirim */
.toast-wrap { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 999; display: grid; gap: 8px; width: min(420px, 100% - 32px); }
.toast { padding: 13px 18px; border-radius: 12px; background: var(--plum); color: #fff; font-weight: 500; font-size: .92rem; box-shadow: 0 12px 32px rgba(0, 0, 0, .25); animation: toastIn .25s; }
.toast.err { background: var(--danger); }
.toast.ok { background: var(--ok); }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }

.notice { padding: 12px 16px; border-radius: 10px; background: #f3e6c8; border: 1px solid #e0cd9f; color: #6b4f14; font-size: .9rem; }
.legal-body { max-width: 780px; margin: 0 auto; padding: 56px 0; }
.legal-body h2 { margin-top: 1.8em; font-size: 1.4rem; }

/* tema renk örneği */
.swatch { display: flex; width: 44px; height: 30px; border-radius: 8px; overflow: hidden; border: 1px solid rgba(0, 0, 0, .12); flex: none; }
.swatch i { flex: 1; }
.brand img { height: 30px; width: auto; mix-blend-mode: normal; }
.brand-sub { font: 600 .7rem var(--font); letter-spacing: .14em; text-transform: uppercase; opacity: .7; padding-left: 10px; margin-left: 2px; border-left: 1px solid currentColor; line-height: 1.6; }
.app-top .brand img { height: 26px; }
