:root {
  --navy: #0E0B16;
  --navy-deep: #08060E;
  --card: #15101F;
  --card-top: #261A36;
  --border: #33284A;
  --gold: #FF4D9D;
  --gold-light: #9B6BFF;
  --cream: #F7F2FB;
  --body: #E7E1EE;
  --muted: #B9B2C8;
  --faint: #8F88A3;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--navy-deep);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(255, 77, 157, 0.28), transparent 55%),
              radial-gradient(ellipse at 90% 40%, rgba(155, 107, 255, 0.22), transparent 55%);
  z-index: -1;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: ui-rounded, -apple-system, "SF Pro Rounded", system-ui, sans-serif;
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
}
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand:hover { text-decoration: none; }

nav.links { display: flex; gap: 18px; align-items: center; font-size: 14px; }
nav.links a { color: var(--muted); }
nav.links a:hover { color: var(--gold); text-decoration: none; }

.lang {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.lang button {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.lang button.active { background: var(--gold); color: #fff; }

.hero { text-align: center; padding: 56px 0 40px; }
.hero img.icon { width: 132px; height: 132px; border-radius: 30px; box-shadow: 0 10px 40px rgba(255, 77, 157, 0.3); }
.hero h1 {
  font-family: ui-rounded, -apple-system, "SF Pro Rounded", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 6vw, 48px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 24px 0 8px;
}
.hero p.tagline { font-size: 18px; color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

.button {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 14px;
}
.button:hover { text-decoration: none; opacity: 0.92; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  padding-bottom: 40px;
}

.card {
  background: linear-gradient(135deg, var(--card-top), var(--card) 55%, #090D1F);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}
.card h3 {
  font-family: ui-rounded, -apple-system, "SF Pro Rounded", system-ui, sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin: 0 0 6px;
}
.card p { margin: 0; color: var(--muted); font-size: 14px; }

article.doc {
  background: rgba(14, 11, 22, 0.9);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  margin: 12px 0 40px;
}
article.doc h1 {
  font-family: ui-rounded, -apple-system, "SF Pro Rounded", system-ui, sans-serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.06em;
  color: var(--cream);
  margin: 0 0 4px;
}
article.doc .updated { color: var(--faint); font-size: 13px; margin-bottom: 24px; }
article.doc h2 { color: var(--gold); font-size: 17px; margin: 28px 0 8px; }
article.doc p, article.doc li { color: var(--body); font-size: 15px; }
article.doc ul { padding-left: 20px; }
article.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0; }
article.doc th, article.doc td { text-align: left; border-bottom: 1px solid var(--border); padding: 8px 6px; vertical-align: top; }
article.doc th { color: var(--cream); }

footer.site {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
  color: var(--faint);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
}
footer.site a { color: var(--muted); }

[data-lang] { display: none; }
html[lang="tr"] [data-lang="tr"], html[lang="en"] [data-lang="en"] { display: revert; }

@media (max-width: 560px) {
  nav.links { gap: 12px; }
  nav.links a.hide-sm { display: none; }
  article.doc { padding: 22px 16px; }
}
