:root {
  --brand-1: #2563eb;
  --brand-2: #06b6d4;
  /* brand-1 is for gradients and fills. As text it fails contrast, so
     text uses brand-ink, which is darkened on light and lifted on dark. */
  --brand-ink: #1d4ed8;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --surface: #ffffff;
  --border: #e4e8ef;
  --text: #0f172a;
  --text-muted: #5a677d;
  --text-faint: #6b7688;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px rgba(15, 23, 42, .07);
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b0d12;
    --bg-soft: #11141b;
    --surface: #141821;
    --border: #232a36;
    --brand-ink: #60a5fa;
    --text: #e9edf5;
    --text-muted: #9aa6b8;
    --text-faint: #8b97a9;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .45);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Language switching: both languages live in the page and CSS shows one.
   Scoped under body deliberately. The <html> element carries its own lang
   attribute, so an unscoped [lang="tr"] rule matches the root element and
   hides the entire page the moment Turkish is selected. */
body [lang="tr"] { display: none; }
html.tr body [lang="en"] { display: none; }
html.tr body [lang="tr"] { display: revert; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.spacer { flex: 1; }
.nav-link { text-decoration: none; color: var(--text-muted); font-size: 14.5px; font-weight: 500; }
.nav-link:hover { color: var(--text); }
.lang-btn {
  border: 1px solid var(--border); background: var(--surface); color: var(--text-muted);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer;
  letter-spacing: .04em;
}
.lang-btn:hover { color: var(--text); border-color: var(--brand-1); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px; border-radius: 14px; font-size: 16.5px; font-weight: 650;
  text-decoration: none; border: none; cursor: pointer; line-height: 1;
}
.btn-primary { background: linear-gradient(135deg, var(--brand-1), var(--brand-2)); color: #fff; box-shadow: 0 8px 22px rgba(37, 99, 235, .28); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--brand-1); }
.btn-block { width: 100%; }

/* sections */
section { padding: 68px 0; }
.section-soft { background: var(--bg-soft); }
h1, h2, h3 { line-height: 1.22; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(32px, 7vw, 50px); font-weight: 760; }
h2 { font-size: clamp(25px, 4.6vw, 34px); font-weight: 720; margin-bottom: 12px; }
h3 { font-size: 17.5px; font-weight: 650; }
.lead { font-size: clamp(16.5px, 2.4vw, 19px); color: var(--text-muted); margin: 16px 0 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--brand-ink); margin-bottom: 10px; }
.section-intro { max-width: 620px; margin-bottom: 36px; }

/* hero */
.hero { padding: 56px 0 28px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 6px 13px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); font-size: 12.5px; color: var(--text-muted); font-weight: 600;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 14px; font-size: 13.5px; color: var(--text-faint); }

/* carousel */
.shots { display: flex; gap: 20px; overflow-x: auto; padding: 6px 2px 20px; scroll-snap-type: x mandatory; }
.shots::-webkit-scrollbar { height: 6px; }
.shots::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
.phone {
  flex: 0 0 auto; width: 236px; scroll-snap-align: center;
  border: 9px solid #1a1d24; border-radius: 34px; background: #1a1d24;
  box-shadow: var(--shadow); overflow: hidden; position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 76px; height: 5px; border-radius: 99px; background: #0b0d12; z-index: 2;
}
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; border-radius: 26px; }
.shots-empty { color: var(--text-faint); font-size: 14px; }

/* feature grid */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.card p { color: var(--text-muted); font-size: 15px; margin: 8px 0 0; }
.icon-dot {
  width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  display: flex; align-items: center; justify-content: center; color: #fff;
}

/* steps */
.steps { display: grid; gap: 18px; counter-reset: step; grid-template-columns: 1fr; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding-top: 10px; border-top: 2px solid var(--border); }
.step-n {
  width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  color: #fff; font-size: 13.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.step p { color: var(--text-muted); font-size: 15px; margin: 6px 0 0; }

/* download */
.dl-card { max-width: 560px; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 16px; font-size: 13.5px; color: var(--text-muted); }
.dl-meta b { color: var(--text); font-weight: 600; }
.checksum {
  margin-top: 14px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 11px;
  color: var(--text-faint); word-break: break-all; line-height: 1.5;
}
.warn {
  margin-top: 18px; padding: 14px 16px; border-radius: 13px;
  background: color-mix(in srgb, #f59e0b 12%, var(--surface));
  border: 1px solid color-mix(in srgb, #f59e0b 34%, transparent);
  font-size: 14px; color: var(--text-muted);
}
.warn b { color: var(--text); }
.ol { padding-left: 20px; margin: 16px 0 0; color: var(--text-muted); font-size: 15px; }
.ol li { margin-bottom: 7px; }
.qr-box { display: none; text-align: center; }
.qr-box img { width: 164px; margin: 0 auto 12px; border-radius: 12px; background: #fff; padding: 10px; }

/* faq */
details {
  border: 1px solid var(--border); border-radius: 13px; background: var(--surface);
  padding: 15px 18px; margin-bottom: 10px;
}
details + details { margin-top: 0; }
summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--text-faint); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { color: var(--text-muted); font-size: 15px; margin: 11px 0 0; }

/* footer */
footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--text-muted); font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
footer a { color: var(--text-muted); }
footer a:hover { color: var(--text); }

/* prose pages */
.prose { max-width: 680px; }
.prose h2 { margin-top: 34px; }
.prose p { color: var(--text-muted); margin: 14px 0 0; }
.prose ul { color: var(--text-muted); padding-left: 20px; }
.prose li { margin-bottom: 7px; }
.placeholder {
  border: 1px dashed var(--brand-1); border-radius: 12px; padding: 13px 15px; margin: 16px 0 0;
  font-size: 14px; color: var(--text-muted);
  background: color-mix(in srgb, var(--brand-1) 7%, transparent);
}
