/* FikirAI — ortak yüzey dili (docs / gizlilik / share) */
:root {
  --bg0: #061018;
  --bg1: #0b1822;
  --text: #eef6f8;
  --muted: #8aa0ab;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #5ee0c5;
  --accent-deep: #1f9e8a;
  --card: rgba(255, 255, 255, 0.03);
  --font: "Outfit", "Sora", system-ui, sans-serif;
  --font-display: "Sora", "Outfit", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
*,
*::before,
*::after { box-sizing: border-box; }
html { height: 100%; }
body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  background: var(--bg0);
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(90vw 50vh at 50% -8%, rgba(31, 158, 138, 0.22), transparent 58%),
    radial-gradient(48vw 36vh at 100% 70%, rgba(16, 70, 95, 0.18), transparent 60%),
    linear-gradient(180deg, #051019 0%, #061018 55%, #07141c 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  mix-blend-mode: soft-light;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}
a { color: var(--accent); }
::selection { background: rgba(94, 224, 197, 0.28); color: #fff; }
:focus-visible {
  outline: 2px solid rgba(94, 224, 197, 0.55);
  outline-offset: 2px;
}
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: calc(12px + var(--safe-top)) 18px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(6, 16, 24, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  letter-spacing: -0.045em;
  text-decoration: none;
  color: var(--text);
  line-height: 1;
}
.page h1 {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
}
.brand em {
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
}
.brand-f {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  flex-shrink: 0;
  display: block;
}
.brand-f-lg {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
.top-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.top-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.15s, background 0.15s;
}
.top-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
.top-links a.btn,
a.btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(180deg, #5ee0c5, #2bb89f);
  color: #041016;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 0;
  transition: filter 0.15s, transform 0.15s;
}
.top-links a.btn:hover,
a.btn:hover { filter: brightness(1.05); }
a.btn.soft {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}
.page {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 28px 18px 40px;
  animation: rise 0.45s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.page h1 {
  font-size: clamp(34px, 7vw, 46px);
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.slogan {
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.lead {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 16px;
}
.page h2 {
  font-size: 12px;
  font-weight: 600;
  margin: 28px 0 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9db3bc;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin: 0 0 10px;
  backdrop-filter: blur(8px);
}
.card p { margin: 0; color: #d7e4ea; font-size: 15px; }
.card strong { color: #fff; }
.page ul { margin: 0; padding-left: 1.15em; }
.page li { margin: 8px 0; color: #d7e4ea; }
.actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.updated { color: var(--muted); font-size: 12px; margin-top: 18px; }
.site-foot {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #5f7380;
  font-size: 12px;
  padding: 8px 16px calc(28px + var(--safe-bottom));
}
.site-foot em {
  font-style: normal;
  font-weight: 600;
  color: rgba(94, 224, 197, 0.75);
}
.site-foot a {
  color: #7d93a0;
  text-decoration: none;
  margin: 0 6px;
}
.site-foot a:hover { color: var(--accent); }

/* Share transcript */
.share-main {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 22px 16px 40px;
  animation: rise 0.45s var(--ease) both;
}
.share-main h1 {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -0.03em;
}
.share-main .sub {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 22px;
}
.share-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
}
.share-row.user { align-items: flex-end; }
.share-row.bot { align-items: flex-start; }
.share-bubble {
  max-width: 92%;
  padding: 13px 15px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.share-row.user .share-bubble {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.07));
  border-bottom-right-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}
.share-row.bot .share-bubble {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 2px 2px 2px 0;
  width: 100%;
  max-width: 100%;
}
.share-empty {
  color: var(--muted);
  padding: 48px 0;
  text-align: center;
}
.share-empty h1 { margin-bottom: 8px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
