:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #16181d;
  --muted: #5f6672;
  --line: #e3e6eb;
  --accent: #0f9e8e;
  --accent-soft: rgba(20, 184, 166, 0.12);
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1013;
    --surface: #171a1f;
    --text: #f1f3f5;
    --muted: #a3aab5;
    --line: #262a31;
    --accent: #2dd4bf;
    --accent-soft: rgba(45, 212, 191, 0.12);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* Language: both show without script; the script keeps one. */
body.lang-tr [lang="en"], body.lang-en [lang="tr"] { display: none !important; }

/* Header */
.bar {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--line);
}
.bar-inner {
  max-width: 1040px; margin: 0 auto; padding: 12px 16px;
  display: flex; align-items: center; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.bar nav { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 15px; }
.bar nav a { color: var(--muted); }
.bar nav a:hover, .bar nav a.active { color: var(--text); text-decoration: none; }
.lang-switch {
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 13px; cursor: pointer;
}
@media (max-width: 640px) {
  .bar nav .nav-page { display: none; }
}

/* Layout */
main { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h2 { font-size: 30px; margin: 0 0 8px; }
.lead { color: var(--muted); font-size: 19px; max-width: 640px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* Hero */
.hero { text-align: center; padding: 72px 0 40px; }
.hero img.icon { width: 128px; height: 128px; border-radius: 28px; box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(38px, 7vw, 60px); margin: 22px 0 10px; }
.hero .lead { margin: 0 auto 26px; }
.button {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff; font-weight: 600;
  padding: 12px 22px; border-radius: 999px;
}
.button:hover { text-decoration: none; filter: brightness(1.05); }
.button.ghost { background: var(--accent-soft); color: var(--accent); }
.platforms { margin-top: 18px; color: var(--muted); font-size: 15px; }

/* Cards */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 28px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; box-shadow: var(--shadow);
}
.card h3 { margin: 10px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.symbol {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 22px;
}

/* Privacy strip */
.privacy {
  display: flex; gap: 20px; align-items: center;
  background: var(--accent-soft); border-radius: 22px; padding: 28px;
}
.privacy .symbol { flex: none; width: 56px; height: 56px; font-size: 28px; background: var(--surface); }
.privacy p { margin: 4px 0 0; color: var(--muted); }
@media (max-width: 640px) { .privacy { flex-direction: column; align-items: flex-start; } }

/* Document pages (privacy, terms, support) */
.doc { max-width: 720px; margin: 0 auto; padding: 48px 0 24px; }
.doc h1 { font-size: 38px; margin: 0 0 4px; }
.doc .date { color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.doc h2 { font-size: 21px; margin: 34px 0 6px; }
.doc p, .doc li { color: var(--muted); }
.doc strong { color: var(--text); }
details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; margin: 10px 0;
}
details summary { cursor: pointer; font-weight: 600; color: var(--text); }
details p { margin: 10px 0 0; }

/* Footer */
footer { border-top: 1px solid var(--line); margin-top: 40px; }
.foot {
  max-width: 1040px; margin: 0 auto; padding: 24px 16px 40px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; color: var(--muted); font-size: 14px;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.foot a { color: var(--muted); }
