/* Sahtekar web sitesi. Tanıtım sayfası her zaman koyu (oyunun tiyatro sahnesi); belge sayfaları sistem temasına
   uyar ve okunabilirlik için Apple'ın yasal sayfaları gibi sade. Sistem fontu (SF Pro / Segoe / Roboto). */
:root {
  --bg: #fbfbfd;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --card: #ffffff;
  --accent: #8a2433;
  --paper: #f3efe6;
  --ink: #1c1a17;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0f12;
    --fg: #f5f5f7;
    --muted: #a1a1a6;
    --line: #2c2c30;
    --card: #19191e;
    --accent: #e0707e;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- üst çubuk ---------- */
.nav {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.nav-in { max-width: 980px; margin: 0 auto; padding: 0 20px; height: 52px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--fg); }

/* ---------- belge sayfaları ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 20px 88px; }
.doc h1 { font-size: 40px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 8px; }
.doc .updated { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc .lead { font-size: 21px; line-height: 1.45; margin: 0 0 8px; }
.doc h2 { font-size: 24px; letter-spacing: -0.01em; margin: 44px 0 10px; }
.doc p, .doc li { color: var(--fg); }
.doc ul { padding-left: 22px; margin: 8px 0; }
.doc li { margin: 8px 0; }
.doc li strong { font-weight: 600; }
.doc details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.doc summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::after { content: '+'; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.doc details[open] summary::after { content: '–'; }
.doc details p { margin: 10px 0 0; color: var(--muted); }
.contact { margin-top: 40px; padding: 22px 24px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.contact h2 { margin-top: 0; }

/* ---------- alt bilgi ---------- */
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot-in { max-width: 980px; margin: 0 auto; padding: 22px 20px 40px; display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }

/* ---------- tanıtım (her zaman koyu tiyatro) ---------- */
.home { --bg: #0b0a0d; --fg: #f5f2ec; --muted: #a8a29a; --line: #26222a; --card: #16141a; background: var(--bg); color: var(--fg); color-scheme: dark; }
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 72px 20px 72px;
  background:
    radial-gradient(60% 50% at 50% 8%, rgba(177, 34, 52, 0.42), transparent 70%),
    repeating-linear-gradient(90deg, rgba(120, 18, 32, 0.20) 0 36px, rgba(60, 8, 16, 0.20) 36px 72px);
}
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 220px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 22px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); }
.hero h1 { font-size: clamp(40px, 7vw, 72px); line-height: 1.04; letter-spacing: -0.03em; margin: 0 auto 16px; max-width: 12ch; }
.hero p { font-size: clamp(19px, 2.4vw, 24px); line-height: 1.4; color: var(--muted); margin: 0 auto 28px; max-width: 30ch; }
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
/* Mağaza rozetleri: resmî rozetlerin düzeni (siyah zemin, ince çerçeve, büyük logo, iki satır yazı). */
.store {
  display: inline-flex; align-items: center; gap: 12px; width: 212px; height: 60px; padding: 0 22px 0 18px;
  border-radius: 14px; background: #000; color: #fff; text-decoration: none; text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.35); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; line-height: 1.1;
  transition: border-color 0.15s, transform 0.15s;
}
a.store:hover { border-color: #fff; transform: translateY(-1px); }
.store.soon { cursor: default; }
.store small { display: block; font-weight: 500; font-size: 12px; letter-spacing: 0; opacity: 0.8; margin-bottom: 1px; }
.store svg { width: 30px; height: 30px; flex: none; }
.phones { position: relative; z-index: 1; display: flex; justify-content: center; gap: 28px; max-width: 760px; margin: 0 auto; }
.phone {
  width: min(300px, 44vw); aspect-ratio: 390 / 844; border-radius: 44px; padding: 10px;
  background: #1b1a1f; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; }
.section { max-width: 980px; margin: 0 auto; padding: 120px 20px 0; }
.section h2 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.02em; line-height: 1.08; text-align: center; margin: 0 auto 48px; max-width: 18ch; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px; }
.feature svg { width: 30px; height: 30px; color: #e0707e; margin-bottom: 16px; }
.feature h3 { font-size: 21px; margin: 0 0 8px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); color: var(--ink); font-weight: 700; margin-bottom: 14px;
}
.steps h3 { font-size: 19px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }
.promise { text-align: center; padding-bottom: 120px; }
.promise p { font-size: 21px; color: var(--muted); max-width: 34ch; margin: 0 auto; }
@media (max-width: 760px) {
  .features, .steps { grid-template-columns: 1fr; }
  .phones { gap: 14px; }
  .section { padding-top: 88px; }
  .nav-links { gap: 14px; }
  .doc h1 { font-size: 32px; }
}

/* Dar telefonda üç bağlantı markayla çakışıyor; Destek alt bilgide de var. */

/* Tanıtım ilk ekranı tam doldurur: telefonlar açılışta kenardan kesik görünmesin, kaydırınca gelsin.
   Geliş kaydırmaya bağlı CSS animasyonu (betik yok); desteklemeyen tarayıcıda telefonlar düz görünür. */
.hero { padding-top: 0; }
.hero-intro { min-height: calc(100svh - 52px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 0; box-sizing: border-box; }
.hero-intro .stores { margin-bottom: 0; }
/* Telefonlar kendi ekranlarında: her zaman görünür alana sığar (yükseklikten türetilen genişlik), dikeyde ortalı.
   Geliş: reveal.js görünür olunca .in ekler; betik yoksa (html.js yok) telefonlar düz görünür. */
.phones { min-height: calc(100svh - 52px); align-items: center; padding: 32px 0; box-sizing: border-box; }
.phone { width: min(300px, 44vw, calc((100svh - 52px - 64px) * 390 / 844 - 20px)); }
.js .phone { opacity: 0; transform: translateY(80px) scale(0.95); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.js .phone:nth-child(2) { transition-delay: 0.15s; }
.js .phones.in .phone { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .phone { opacity: 1; transform: none; transition: none; } }

/* Tanıtım telefonları artık tek görsel (cihaz çizimi + ekran, scripts/assets/make-mockups.py): çerçeve CSS'i yok. */
.phone { padding: 0; background: none; border-radius: 0; height: auto; aspect-ratio: auto; box-shadow: none; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.55));
  width: min(300px, 44vw, calc((100svh - 52px - 64px) * 0.455)); }

/* Marka: HK Lab (vitrine döner) | Sahtekar. Aynı satırda, logo yeri sabit. */
.brand, .brand a, .nav-links a { white-space: nowrap; flex-shrink: 0; }
.brand a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand .lab { color: var(--muted); font-weight: 600; transition: color .2s; }
.brand .lab:hover { color: var(--fg); }
.brand .sep { width: 1px; height: 18px; background: currentColor; opacity: .22; margin: 0 12px; }
@media (max-width: 420px) { .nav-links a[href$="/destek"] { display: none; } }
@media (max-width: 380px) {
  .brand .sep { margin: 0 9px; }
  .brand img { width: 24px; height: 24px; }
  .nav-links { gap: 12px; }
}
