:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #efede6;
  --text: #15172b;
  --muted: #5d6075;
  --line: #e1ded4;
  --brand: #1f2a6b;
  --brand-ink: #ffffff;
  --accent: #f29a2e;
  --accent-ink: #2a1600;
  --ok: #1f7a4d;
  --soon: #8a5a00;
  --soon-bg: #fbecd2;
  --shadow: 0 1px 2px rgba(21, 23, 43, 0.06), 0 8px 24px rgba(21, 23, 43, 0.06);
  --radius: 18px;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e1024;
    --surface: #171a35;
    --surface-2: #1f2344;
    --text: #eceaf6;
    --muted: #a3a5c2;
    --line: #2b2f55;
    --brand: #c9ceff;
    --brand-ink: #10133a;
    --accent: #ffad4a;
    --ok: #5fd39a;
    --soon: #ffc874;
    --soon-bg: #3a2c12;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e1024;
  --surface: #171a35;
  --surface-2: #1f2344;
  --text: #eceaf6;
  --muted: #a3a5c2;
  --line: #2b2f55;
  --brand: #c9ceff;
  --brand-ink: #10133a;
  --accent: #ffad4a;
  --ok: #5fd39a;
  --soon: #ffc874;
  --soon-bg: #3a2c12;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.25);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Üst menü */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px var(--display); letter-spacing: -0.02em; }
.logo svg { width: 32px; height: 32px; flex: none; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
@media (max-width: 560px) { .nav a.hide-sm { display: none; } }
.theme-btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  width: 38px; height: 38px; border-radius: 10px; cursor: pointer; display: grid; place-items: center;
}
.theme-btn svg { width: 18px; height: 18px; }

/* Giriş */
.hero { padding: 56px 0 32px; position: relative; overflow: hidden; }
@media (min-width: 720px) { .hero { padding: 88px 0 48px; } }
.hero .eyebrow { font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.hero h1 { font-size: clamp(38px, 7vw, 76px); font-weight: 700; max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 54ch; margin: 20px 0 0; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 32px; }
.hero-stats div { font-size: 14px; color: var(--muted); }
.hero-stats b { display: block; font: 700 28px var(--display); color: var(--text); }
.orbit { position: absolute; right: -120px; top: 40px; width: 460px; height: 460px; pointer-events: none; opacity: 0.9; }
@media (max-width: 900px) { .orbit { right: -220px; top: 10px; opacity: 0.35; } }
.orbit .ring { fill: none; stroke: var(--line); stroke-width: 2; }
.orbit .dot { transform-origin: 230px 230px; animation: spin 14s linear infinite; }
.orbit .dot.b { animation-duration: 22s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .orbit .dot { animation: none; } }

/* Bölümler */
section { padding: 32px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 36px); }
.sec-head p { margin: 6px 0 0; color: var(--muted); }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  font: 600 14px var(--body); padding: 7px 14px; border-radius: 999px; cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Uygulama kartları */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--app, var(--brand)) 45%, var(--line)); }
.card-top { display: flex; gap: 14px; align-items: center; }
.app-icon { width: 64px; height: 64px; border-radius: 22%; flex: none; box-shadow: 0 2px 8px rgba(0,0,0,0.12); background: var(--surface-2); }
.card h3 { font-size: 20px; }
.card .cat { font-size: 13px; color: var(--muted); font-weight: 600; }
.card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.tag.soon { background: var(--soon-bg); color: var(--soon); }
.tag.apk { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.card .go { font-weight: 700; font-size: 14px; color: var(--text); white-space: nowrap; }
.empty { color: var(--muted); padding: 24px 0; }

/* Düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px var(--body); text-decoration: none; cursor: pointer;
  padding: 13px 20px; border-radius: 14px; border: 1px solid transparent; min-height: 50px;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn small { font-weight: 500; opacity: 0.8; font-size: 13px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.05); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* Kurulum adımları */
.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: s; padding: 0; margin: 0; list-style: none; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; counter-increment: s; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  background: var(--text); color: var(--bg); font: 700 15px var(--display); margin-bottom: 12px;
}
.steps h3 { font-size: 17px; margin-bottom: 6px; font-family: var(--body); letter-spacing: 0; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.note { margin-top: 16px; font-size: 14px; color: var(--muted); }

.about { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 820px) { .about { grid-template-columns: 1.2fr 1fr; } }
.about p { color: var(--muted); margin: 12px 0 0; }
.principles { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.principles li { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.principles b { display: block; }
.principles span { color: var(--muted); font-size: 15px; }

/* Alt bilgi */
.foot { border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
.foot nav { display: flex; gap: 16px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* Uygulama sayfası */
.crumb { padding-top: 24px; font-size: 14px; color: var(--muted); }
.crumb a { text-decoration: none; font-weight: 600; }
.app-hero { display: grid; gap: 24px; padding: 24px 0 8px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .app-hero { grid-template-columns: 1fr 340px; align-items: start; gap: 40px; } }
.app-id { display: flex; gap: 20px; align-items: center; }
.app-id .app-icon { width: 96px; height: 96px; }
@media (min-width: 720px) { .app-id .app-icon { width: 120px; height: 120px; } }
.app-id h1 { font-size: clamp(34px, 5vw, 52px); }
.app-id .sub { color: var(--muted); font-weight: 600; margin-top: 6px; }
.app-desc { font-size: 18px; color: var(--muted); max-width: 62ch; margin: 20px 0 0; }
.app-hl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.app-hl span { font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }

.get {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); display: grid; gap: 10px;
}
.get .btn { width: 100%; flex-direction: column; gap: 0; }
.get .btn .row { display: flex; gap: 10px; align-items: center; }
.meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 6px 0 0; font-size: 14px; }
.meta dt { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.meta dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.get .small { font-size: 13px; color: var(--muted); margin: 0; }
.get .small a { font-weight: 600; }
details.hash { font-size: 13px; color: var(--muted); }
details.hash summary { cursor: pointer; font-weight: 600; }
details.hash code { display: block; margin-top: 8px; padding: 10px; border-radius: 10px; background: var(--surface-2); color: var(--text); font-size: 12px; overflow-wrap: anywhere; }

.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 220px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 14px; margin: 0 -2px;
  scrollbar-width: thin;
}
.shots img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); scroll-snap-align: start; background: var(--surface-2); }
.banner { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; }

.features { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); padding: 0; margin: 0; list-style: none; }
.features li { display: flex; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.features li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--app, var(--accent)); }

.soon-box { background: var(--soon-bg); color: var(--soon); border-radius: 14px; padding: 14px 16px; font-weight: 600; font-size: 15px; }

/* Metin sayfaları */
.prose { max-width: 720px; padding: 32px 0; }
.prose h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose .date { color: var(--muted); font-size: 14px; }
.prose strong { color: var(--text); }

/* Koyu temada uygulama rengi zeminde kaybolmasın */
:root[data-theme="dark"] .features li::before { background: var(--accent); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .features li::before { background: var(--accent); }
}

.app-id .sub { margin: 6px 0 0; }

/* Sık sorulanlar */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; list-style-position: inside; }
.faq details[open] summary { margin-bottom: 6px; }
.faq p { margin: 0; color: var(--muted); }
