/* ============================================================
   AdSnap — paylaşılan tema (Claude design system)
   Tüm alt sayfalar bunu kullanır. Anasayfa ile birebir uyumlu.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --accent: #D97757;
  --accent-ink: #C45D3A;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html[data-theme="dark"] {
  --bg: #100F0D; --bg-2: #16140F; --surface: #1C1A16; --surface-2: rgba(255,255,255,0.04);
  --text: #F4EFE6; --text-strong: #FFFFFF; --muted: #A49C8C;
  --border: rgba(255,255,255,0.12); --border-strong: rgba(255,255,255,0.22);
  --chip: rgba(255,255,255,0.06); --shadow: 0 20px 60px rgba(0,0,0,0.45);
  color-scheme: dark;
}
html[data-theme="light"] {
  --bg: #F6F2EA; --bg-2: #F0EADD; --surface: #FFFFFF; --surface-2: rgba(0,0,0,0.025);
  --text: #211E1A; --text-strong: #14110D; --muted: #756E62;
  --border: rgba(0,0,0,0.10); --border-strong: rgba(0,0,0,0.18);
  --chip: rgba(0,0,0,0.04); --shadow: 0 20px 60px rgba(60,40,20,0.12);
  color-scheme: light;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans); background: var(--bg); color: var(--text);
  line-height: 1.7; -webkit-font-smoothing: antialiased; min-height: 100vh;
  transition: background 0.4s var(--ease), color 0.4s var(--ease); overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.hidden { display: none !important; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; }

/* ---- Typography ---- */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; color: var(--text-strong); line-height: 1.08; letter-spacing: -0.5px; }
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
  padding: 7px 14px; border: 1px solid var(--border-strong); border-radius: 980px;
  background: var(--surface-2); margin-bottom: 22px;
}

/* ---- Buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-sans); font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 980px; cursor: pointer; text-decoration: none; border: 1px solid transparent; transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(217,119,87,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(217,119,87,0.45); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--accent); }
.btn svg { width: 18px; height: 18px; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: 1320px; margin: 0 auto;
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.site-header::after { content:''; position:absolute; inset:0; background: var(--bg); opacity: 0.72; z-index:-1; }
.nav-logo { font-family: var(--font-serif); font-size: 26px; font-weight: 400; color: var(--text-strong); text-decoration: none; letter-spacing: -0.5px; }
.nav-logo:hover { text-decoration: none; }
.nav-logo span { color: var(--accent); }
.nav-left { display: flex; align-items: center; gap: 26px; }
.site-header nav { display: flex; align-items: center; gap: 6px; }
.site-header nav a:not(.btn) { color: var(--muted); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 10px; transition: color 0.2s, background 0.2s; }
.site-header nav a:not(.btn):hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.theme-toggle { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.2s; }
.theme-toggle:hover { background: var(--chip); }
.theme-toggle svg { width: 18px; height: 18px; }
@media (max-width: 720px) { .nav-hide { display: none; } }

/* ---- Page hero (legal/simple pages) ---- */
.page-hero { padding: clamp(48px, 7vw, 90px) 0 clamp(24px, 4vw, 44px); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; font-weight: 500; margin-bottom: 28px; }
.back-link:hover { color: var(--text); text-decoration: none; }
.back-link svg { width: 15px; height: 15px; }
.page-updated { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* ---- Prose (legal text) ---- */
.prose { padding-bottom: 80px; }
.prose h2 { font-size: clamp(20px, 2.4vw, 24px); margin: 40px 0 14px; }
.prose p { font-size: 16px; color: var(--muted); margin-bottom: 14px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul { list-style: none; padding: 0; margin-bottom: 16px; }
.prose ul li { font-size: 16px; color: var(--muted); padding: 6px 0 6px 24px; position: relative; }
.prose ul li::before { content: ''; position: absolute; left: 4px; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose .divider { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

/* ---- Cards ---- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }

/* ---- Forms ---- */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.input, input[type="text"], input[type="email"], input[type="password"], textarea, select {
  width: 100%; font-family: var(--font-sans); font-size: 15px; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color 0.2s, background 0.2s;
}
.input:focus, input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; min-height: 120px; }
.input::placeholder, input::placeholder, textarea::placeholder { color: var(--muted); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding: 36px 24px; display: flex; align-items: center; justify-content: space-between; max-width: var(--maxw); margin: 0 auto; flex-wrap: wrap; gap: 16px; }
.site-footer, .site-footer a { color: var(--muted); font-size: 13.5px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--accent); }

/* ---- Reveal ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
