/* Koshio tanıtım sitesi — tek stil dosyası.
   Renkler uygulamanın marka paletinden (src/constants/theme.ts → Brand):
   site ve uygulama aynı kimlikte görünsün. Site bilinçli olarak yalnız KOYU
   temada: logo koyu zeminde doğuyor, açık tema varyantı üretmek için ikinci
   bir palet kararı gerekirdi. */

:root {
  --bg: #0d1b2a;
  --surface: #152f49;
  --surface-2: #1c354e;
  --text: #ffffff;
  --text-dim: #a9b7c6;
  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --green: #34d399;
  --radius: 16px;
  --max: 960px;
}

* {
  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 Neue', Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- üst çubuk ---------- */

header.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 27, 42, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  width: 32px;
  height: 32px;
}

.langs {
  display: flex;
  gap: 4px;
  font-size: 14px;
}

.langs a {
  color: var(--text-dim);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
}

.langs a:hover {
  color: var(--text);
  background: var(--surface);
}

.langs a[aria-current='true'] {
  color: var(--bg);
  background: var(--accent-light);
  font-weight: 600;
}

/* ---------- hero ---------- */

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero img.mark {
  width: 96px;
  height: 96px;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.03em;
}

.hero p.lede {
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 32px;
}

.grad {
  background: linear-gradient(100deg, var(--accent-light), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.badge {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--accent-light);
  font-weight: 600;
  font-size: 15px;
}

/* ---------- bölümler ---------- */

section {
  padding: 56px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

h2 {
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

section > .wrap > p.sub {
  color: var(--text-dim);
  margin: 0 0 32px;
  max-width: 620px;
}

.steps {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.step {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
}

.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.step p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
}

.features {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.feature {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 3px solid var(--accent);
}

.feature h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.feature p {
  margin: 0;
  color: var(--text-dim);
  font-size: 15px;
}

/* Oyunu anlatan soyut görsel. GERÇEK EKRAN GÖRÜNTÜSÜ DEĞİL — sahte ekran
   görüntüsü koymaktansa illüstrasyon kullanıldı; gerçekleri hazır olunca
   buranın yerini alacak. */
.illus {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* ---------- hukuki metin sayfaları ---------- */

.legal {
  padding: 48px 0 72px;
}

.legal h1 {
  font-size: clamp(28px, 5vw, 40px);
}

.legal .updated {
  color: var(--text-dim);
  font-size: 15px;
  margin-top: -8px;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 22px;
  margin: 36px 0 8px;
}

.legal h3 {
  font-size: 18px;
  margin: 24px 0 6px;
}

.legal p,
.legal li {
  color: #d6dee7;
}

.legal ul {
  padding-left: 20px;
}

.legal li {
  margin-bottom: 6px;
}

.legal a {
  color: var(--accent-light);
}

.callout {
  background: var(--surface);
  border-left: 3px solid var(--green);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
}

.callout.warn {
  border-left-color: #facc15;
}

.callout p:first-child {
  margin-top: 0;
}

.callout p:last-child {
  margin-bottom: 0;
}

table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

table.data th,
table.data td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  vertical-align: top;
}

table.data th {
  color: var(--text);
  font-weight: 600;
}

table.data td {
  color: var(--text-dim);
}

/* Geniş tablo sayfayı yatay kaydırtmasın — kendi kutusunda kaysın. */
.scroll-x {
  overflow-x: auto;
}

/* ---------- onay sayfası ---------- */

.confirm {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.confirm .tick {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 24px;
}

.confirm h1 {
  font-size: clamp(26px, 5vw, 36px);
}

.confirm p {
  color: var(--text-dim);
  max-width: 460px;
  margin: 0 auto;
}

/* ---------- alt bilgi ---------- */

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 32px 0 48px;
  color: var(--text-dim);
  font-size: 15px;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

footer a {
  color: var(--text-dim);
}

footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
