/* Omnivity web sitesi — renkler lib/core/app_colors.dart ile aynı (CLAUDE.md §3). */

@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/Outfit-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

:root {
  --background: #f3eef6;
  --surface: #ffffff;
  --primary: #7f77dd;
  --primary-dark: #534ab7;
  --primary-soft: #efe7f7;
  --text: #2e2640;
  --muted: #7a6f92;
  --ring: #c8bce6;
  --line: rgba(122, 111, 146, 0.22);
  --cloud-1: #9a7fe0;
  --cloud-2: #e4a8c4;
  --cloud-3: #7f77dd;
  --heading: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);
  font: 400 16px/1.6 var(--body);
  overflow-x: hidden;
}

/* Renk bulutları: uygulamadaki OBg ile aynı renkler; belgelerde soluk, ana sayfada belirgin. */
.cloud {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}
.c1 {
  width: 400px;
  height: 400px;
  top: -130px;
  left: -100px;
  background: radial-gradient(circle, rgba(154, 127, 224, 0.55) 0%, rgba(154, 127, 224, 0) 75%);
}
.c2 {
  width: 360px;
  height: 360px;
  bottom: -110px;
  right: -130px;
  background: radial-gradient(circle, rgba(228, 168, 196, 0.45) 0%, rgba(228, 168, 196, 0) 75%);
}
.c3 {
  width: 320px;
  height: 320px;
  top: 160px;
  right: -150px;
  background: radial-gradient(circle, rgba(127, 119, 221, 0.35) 0%, rgba(127, 119, 221, 0) 75%);
}
.doc .cloud {
  opacity: 0.38;
}

/* Üst bant */
.top {
  max-width: 808px;
  margin: 0 auto;
  padding: 24px 24px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
}
.rings {
  width: 32px;
  height: 32px;
  flex: none;
}
.wordmark {
  font: 600 20px/1 var(--heading);
  letter-spacing: 0.08em;
}
.wordmark span {
  color: var(--primary);
}
.lang {
  display: flex;
  gap: 4px;
  font-size: 13px;
}
.lang a,
.lang span {
  padding: 4px 8px;
  border-radius: 12px;
  color: var(--muted);
  text-decoration: none;
}
.lang span[aria-current] {
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 500;
}
.lang a:hover {
  color: var(--text);
}

/* Cam kart (form seviyesi: beyaz ~0.5, bulanıklık ~15) */
.card {
  display: block;
  max-width: 760px;
  margin: 16px auto;
  padding: 32px;
  background: rgba(255, 255, 255, 0.56);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  overflow-wrap: anywhere;
}

h1,
h2,
h3,
h4 {
  font-family: var(--heading);
  color: var(--text);
  line-height: 1.25;
  font-weight: 600;
}
h1 {
  font-size: 26px;
  margin: 0 0 8px;
}
h2 {
  font-size: 20px;
  margin: 32px 0 8px;
}
h3,
h4 {
  font-size: 16px;
  margin: 24px 0 8px;
}
p,
ul,
ol {
  margin: 0 0 16px;
}
ul,
ol {
  padding-left: 24px;
}
li {
  margin: 0 0 8px;
}
strong {
  font-weight: 600;
}
a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--ring);
  text-underline-offset: 2px;
}
a:hover {
  text-decoration-color: var(--text);
}
hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 24px 0;
}
blockquote {
  margin: 0 0 16px;
  padding: 8px 16px;
  border-left: 3px solid var(--ring);
  color: var(--muted);
}
code {
  font-size: 0.92em;
}

/* Tablolar telefonda yatay kaydırılır; sayfa kaymaz. */
.table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--line);
  min-width: 120px;
}
th {
  font-weight: 600;
}

/* Ana sayfa */
.home .card {
  padding: 40px 32px;
}
.home h1 {
  margin-bottom: 8px;
}
.home h1 + p {
  font-size: 20px;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 24px;
}
.home ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 24px;
}
.home li {
  margin: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  color: var(--muted);
}
.home li strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--heading);
  font-weight: 600;
  color: var(--text);
}
/* Etiket: mor yalnız buton, ilerleme ve seçili durumda (CLAUDE.md §3, 27 Ekim); etiket metni ana metin renginde. */
.home ul + p {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}

/* Alt bilgi ve künye */
.foot {
  max-width: 808px;
  margin: 0 auto;
  padding: 8px 24px 40px;
  font-size: 13px;
  color: var(--muted);
}
.foot .links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 8px;
}
.foot a {
  color: var(--muted);
}
.foot .imprint {
  margin: 0;
}

@media (max-width: 600px) {
  .top {
    padding: 16px 16px 8px;
  }
  .card,
  .home .card {
    margin: 8px 16px;
    padding: 24px 16px;
  }
  .home ul {
    grid-template-columns: 1fr;
  }
  .foot {
    padding: 8px 16px 32px;
  }
}
