/* ÜRETİLMİŞ DOSYA — elle düzenlemeyin.
   Kaynak: tools/site/build_site.dart (_css)
   Yeniden üret: dart run tools/site/build_site.dart */

:root, html[data-theme="dark"] {
  --bg: linear-gradient(150deg, #3B1621 0%, #241528 46%, #141731 100%);
  --bg2: #14162C;
  --bg-blur: rgba(26, 20, 36, .9);
  --bg-blur-compact: rgba(26, 20, 36, .96);
  --surface: rgba(255, 255, 255, .055);
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .16);
  --fg: #FFFFFF;
  --muted: rgba(255, 255, 255, .64);
  --navy: #22284A;
  --accent: #2F63A6;
  --accent-text: #9CC4EE;
  --accent-soft: rgba(255, 255, 255, .08);
  --glow: rgba(150, 45, 70, .32);
  --shadow: rgba(20, 18, 40, .46);
  --ok: #7CC08A;
  --btn-fg: #FFFFFF;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: linear-gradient(150deg, #F8F1F3 0%, #F3F0F7 50%, #EDF1F9 100%);
  --bg2: #E9EDF6;
  --bg-blur: rgba(246, 243, 247, .92);
  --bg-blur-compact: rgba(246, 243, 247, .96);
  --surface: #FFFFFF;
  --line: rgba(22, 20, 40, .12);
  --line-strong: rgba(22, 20, 40, .16);
  --fg: #161428;
  --muted: #5A5A72;
  --navy: #22284A;
  --accent: #2F63A6;
  --accent-text: #2F63A6;
  --accent-soft: rgba(47, 99, 166, .10);
  --glow: rgba(150, 45, 70, .10);
  --shadow: rgba(20, 18, 40, .09);
  --ok: #2E8B57;
  --btn-fg: #FFFFFF;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg2);
  background-image: var(--bg);
  color: var(--fg);
  font: 16px/1.6 'Archivo', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.01em; margin: 0; }
p { margin: 0 0 14px; }
img { max-width: 100%; display: block; }
::selection { background: rgba(156, 196, 238, .24); }

.container { max-width: 1040px; margin: 0 auto; padding: 0 28px; }
.container.narrow { max-width: 760px; }

/* --- ilerleme çubuğu --- */

.progress { position: sticky; top: 0; height: 2px; z-index: 60; }
.progress span {
  display: block; height: 2px; width: 0;
  background: var(--accent-text);
  transition: width .12s linear;
}

/* --- başlık --- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 20px 0;
  background: var(--bg-blur);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.compact {
  padding: 11px 0;
  background: var(--bg-blur-compact);
  box-shadow: 0 8px 26px var(--shadow);
}
.header-inner { max-width: 1040px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 32px; }
.brand { font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 14.5px; color: var(--muted); }
.site-nav a { transition: color .2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--fg); }
.spacer { flex: 1; }
.controls { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  display: flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--muted); font: inherit; font-size: 11px; letter-spacing: .08em;
  cursor: pointer; transition: color .2s, border-color .2s;
}
.theme-toggle:hover { color: var(--fg); border-color: var(--accent-text); }
.theme-toggle .dot {
  width: 12px; height: 12px; border-radius: 999px;
  border: 1.5px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}

.lang-pill {
  display: flex; align-items: center; gap: 2px; height: 32px; padding: 3px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 11px; letter-spacing: .08em;
}
.lang-pill a, .lang-pill span {
  display: flex; align-items: center; height: 24px; padding: 0 11px;
  border-radius: 999px; color: var(--muted);
}
.lang-pill a:hover { color: var(--fg); }
.lang-pill .lang-current { background: var(--accent-soft); color: var(--fg); }

@media (max-width: 640px) {
  .site-header { padding: 14px 0; }
  .header-inner { flex-wrap: wrap; gap: 14px 20px; }
  .spacer { display: none; }
  .controls { margin-left: auto; }
  .site-nav { order: 3; width: 100%; gap: 20px; }
}

/* --- ortak parçalar --- */

.eyebrow {
  margin: 0 0 30px; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent-text);
}
.section { padding: 88px 0; }
.section-line { border-top: 1px solid var(--line); }
.section-intro { font-size: 17px; line-height: 1.62; color: var(--muted); max-width: 60ch; margin: -14px 0 30px; text-wrap: pretty; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 56px; }
.two-col p { font-size: 17px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.two-col .eyebrow { margin-bottom: 20px; }
.link-accent { font-size: 17px; font-weight: 600; color: var(--accent-text); border-bottom: 1px solid var(--accent-soft); padding-bottom: 2px; }
.small { font-size: 14px; }
.small a { color: var(--accent-text); }

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px;
}
.card h3 { font-size: 17px; font-weight: 600; margin: 0 0 10px; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.card-accent { border-color: var(--accent-soft); background: var(--accent-soft); }
.card-accent .card-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; }
.card-accent p { font-size: 15px; line-height: 1.65; }
.card .eyebrow { margin-bottom: 18px; }

.principle { padding: 26px 24px 28px; }
.principle .num { font-size: 12px; color: var(--muted); }
.principle h3 { font-size: 18px; margin: 14px 0 10px; }
.principle p { font-size: 15px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; height: 46px;
  padding: 0 22px; border-radius: 10px; font-size: 15px; font-weight: 600;
  transition: transform .18s ease, filter .18s ease, border-color .18s ease;
}
.btn-primary { background: var(--accent); color: var(--btn-fg); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn-primary .arrow { font-weight: 400; }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--fg); font-weight: 500; }
.btn-ghost:hover { border-color: var(--accent-text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px;
  border-radius: 999px; border: 1px solid var(--line);
  font-size: 11.5px; color: var(--muted); white-space: nowrap;
}
.pill::before { content: ""; width: 5px; height: 5px; border-radius: 999px; background: currentColor; }
.pill-live { background: var(--accent-soft); color: var(--fg); }
.pill-live::before { background: var(--ok); }
.pill-review { color: var(--fg); }
a.pill:hover { border-color: var(--accent-text); }

.app-icon {
  display: flex; align-items: center; justify-content: center; flex: none;
  overflow: hidden; background: var(--navy); border: 1px solid var(--line-strong);
}
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
/* Tema duyarlı ikon: koyu temada beyaz zeminli, açık temada lacivert zeminli. */
.app-icon .icon-on-light { display: none; }
html[data-theme="light"] .app-icon .icon-on-dark { display: none; }
html[data-theme="light"] .app-icon .icon-on-light { display: block; }
.app-icon.lg { width: 56px; height: 56px; border-radius: 14px; }
.app-icon.md { width: 64px; height: 64px; border-radius: 16px; }
.app-icon.sm { width: 38px; height: 38px; border-radius: 10px; }
/* 3B rozet (8 Eki 2026): lg/md/sm boyutlarını ezer; PNG yalnız yedek. */
.app-icon.logo3d {
  position: relative; width: 100px; height: 100px; border-radius: 0;
  background: none; border: 0; overflow: visible;
}
.app-icon.logo3d::before {
  content: ''; position: absolute; inset: 6px; border-radius: 30%; pointer-events: none;
  background: radial-gradient(circle at 35% 30%, rgba(47,211,200,.55), rgba(30,127,224,.35) 45%, rgba(199,86,107,.25) 70%, transparent 75%);
  filter: blur(14px); animation: odd-logo-glow 3.2s ease-in-out infinite;
}
@keyframes odd-logo-glow { 0%, 100% { opacity: .55; transform: scale(.92) } 50% { opacity: 1; transform: scale(1.06) } }
.app-icon.logo3d img { position: relative; width: 64px; height: 64px; border-radius: 16px; }
.app-icon.logo3d.is-live img { display: none; }
.app-icon.logo3d canvas { position: relative; width: 100%; height: 100%; display: block; }

.crumbs { font-size: 12px; color: var(--muted); margin: 0 0 28px; }
.crumbs a { border-bottom: 1px solid var(--line-strong); }
.crumbs span { margin: 0 6px; opacity: .7; }

/* --- ana sayfa --- */

.hero { position: relative; overflow: hidden; padding: 132px 0 108px; }
.hero .glow {
  position: absolute; top: -180px; left: 50%; width: 900px; height: 520px;
  margin-left: -450px; pointer-events: none;
  background: radial-gradient(ellipse at center, var(--glow) 0%, transparent 68%);
  animation: odd-glow 9s ease-in-out infinite;
}
@keyframes odd-glow { 0%, 100% { opacity: .55 } 50% { opacity: .85 } }
.hero .container { position: relative; }
.hero-title {
  font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -.025em;
  max-width: 15ch; text-wrap: balance;
}
.hero-lead {
  margin: 28px 0 0; font-size: 19px; line-height: 1.62; color: var(--muted);
  max-width: 56ch; text-wrap: pretty;
}
.hero-lead + .hero-lead { margin-top: 16px; }
@media (max-width: 640px) { .hero { padding: 84px 0 72px; } }

.app-card {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; padding: 32px;
  transition: border-color .2s ease, transform .2s ease;
}
.app-card:hover { border-color: var(--accent-text); transform: translateY(-2px); }
.app-card-text { flex: 1; min-width: 220px; }
.app-card-text h3 { font-size: 26px; font-weight: 600; letter-spacing: -.015em; }
.app-card-text .tagline { margin: 8px 0 18px; font-size: 16px; color: var(--muted); }
.app-card .cta, .app-row .cta { align-self: center; font-size: 15px; font-weight: 600; color: var(--accent-text); white-space: nowrap; }

/* --- ürün sayfası --- */

.product-head { padding: 64px 0 40px; }
.title-row { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.title-row h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.08; letter-spacing: -.025em; }
.title-row .lede { margin: 8px 0 0; font-size: 18px; color: var(--muted); }
.product-head .pills { margin-top: 26px; }
.product-head .actions { margin-top: 30px; }
.summary { margin: 26px 0 0; font-size: 18px; line-height: 1.62; max-width: 62ch; text-wrap: pretty; }
.note { margin: 18px 0 0; font-size: 14.5px; line-height: 1.6; max-width: 70ch; color: var(--muted); }
.proverb { margin: 34px 0 0; padding: 2px 0 2px 18px; border-left: 2px solid var(--accent-text); max-width: 62ch; }
.proverb .intro { margin: 0 0 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.proverb .lines { margin: 0; font-size: 17px; line-height: 1.55; font-style: italic; color: var(--fg); }

/* 3B tanıtım bandı: koyu sahne iki temada da kart olarak durur. */
.hero3d-wrap { padding: 8px 0 0; }
.hero3d {
  position: relative; aspect-ratio: 16 / 9; max-height: 640px; width: 100%;
  border-radius: 18px; overflow: hidden; background: #0E1015;
  border: 1px solid var(--line-strong);
}
.hero3d iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .hero3d { aspect-ratio: 4 / 5; border-radius: 14px; } }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 22px; }
.browser {
  margin: 0; display: flex; flex-direction: column;
  border-radius: 14px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line-strong);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.browser:hover, .browser:focus-within { border-color: var(--accent-text); box-shadow: 0 10px 30px var(--shadow); }
.browser .shot-link { overflow: hidden; }
.browser .shot-link img { transition: transform .35s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.browser:hover .shot-link img, .browser:focus-within .shot-link img { transform: scale(1.02); filter: brightness(1.06); }
@media (prefers-reduced-motion: reduce) {
  .browser, .browser .shot-link img { transition: none; }
  .browser:hover .shot-link img, .browser:focus-within .shot-link img { transform: none; filter: none; }
}
.browser .bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.browser .bar i { width: 9px; height: 9px; border-radius: 999px; background: var(--line-strong); }
.browser img { width: 100%; height: auto; aspect-ratio: 1440 / 780; object-fit: cover; display: block; background: #fff; }
.browser figcaption { padding: 10px 14px 12px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.shot-link { display: block; cursor: zoom-in; }
.shot-link:focus-visible { outline: 2px solid var(--accent-text); outline-offset: -2px; }

/* --- lightbox --- */

body.lb-open { overflow: hidden; }
.lightbox {
  margin: auto; padding: 0; border: 0; background: transparent; color: var(--fg);
  max-width: none; max-height: none; width: 100vw; height: 100vh;
  display: none; align-items: center; justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(10, 8, 20, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(96vw, 1800px); }
.lightbox img { max-width: min(96vw, 1800px); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); transition: opacity .2s ease; }
.lightbox.loading img { opacity: .5; }
.lightbox figcaption { display: flex; gap: 16px; align-items: baseline; font-size: 14px; color: #FFFFFF; text-align: center; padding: 0 56px; }
.lightbox .lb-count { color: rgba(255, 255, 255, .6); font-variant-numeric: tabular-nums; white-space: nowrap; }
.lightbox button {
  position: fixed; width: 44px; height: 44px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .10); color: #FFFFFF;
  font: inherit; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255, 255, 255, .22); border-color: #FFFFFF; outline: none; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
@media (max-width: 640px) {
  .lightbox img { max-height: 70vh; }
  .lightbox figcaption { flex-direction: column; gap: 4px; padding: 0 12px; font-size: 13px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 18px; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .lightbox button { transition: none; } }

.price { padding: 28px; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin: 0 0 16px !important; }
.price .price { font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: var(--fg); padding: 0; background: none; border: 0; }
.price .per { font-size: 15px; color: var(--muted); }
.price-annual { font-size: 15px !important; margin: 0 0 18px !important; }
.price-annual strong { color: var(--fg); font-weight: 600; }
.price .small { font-size: 14px !important; }

.legal-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.legal-list a { color: var(--fg); transition: color .2s; }
.legal-list a:hover { color: var(--accent-text); }
.tag { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; margin-left: 6px; }

/* --- dar sayfalar (destek, hukuki) --- */

.narrow-page { padding: 96px 0 72px; }
.narrow-page h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.12; letter-spacing: -.025em; }
.narrow-page .eyebrow { margin-bottom: 22px; }
.narrow-page .lede { margin: 22px 0 0; font-size: 18px; line-height: 1.62; color: var(--muted); text-wrap: pretty; }
.narrow-page .lede.meta { margin-top: 16px; font-size: 12.5px; }
.narrow-page h2 { font-size: 20px; font-weight: 600; margin: 34px 0 12px; }
.narrow-page p, .narrow-page li { font-size: 16.5px; line-height: 1.7; color: var(--muted); text-wrap: pretty; }
.narrow-page ul, .narrow-page ol { margin: 0 0 14px; padding-left: 22px; }
.narrow-page li { margin-bottom: 6px; }
.narrow-page .card { margin: 22px 0; }
.narrow-page .card li { color: var(--fg); }
.narrow-page a:not(.btn):not(.app-row) { color: var(--accent-text); }
.narrow-page strong { color: var(--fg); }
.legal { margin-top: 12px; }
.legal h2:first-child { margin-top: 24px; }
@media (max-width: 640px) { .narrow-page { padding: 64px 0 56px; } }

.support-card {
  margin: 36px 0 0; padding: 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.support-card .label { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.support-card .email { font-size: 19px; font-weight: 600; color: var(--fg) !important; }
.support-card .btn { height: 42px; padding: 0 20px; font-size: 14.5px; }
.support-inline { margin: 0; }
.support-inline .eyebrow { margin-bottom: 12px; }
.support-inline p { margin: 0 0 8px; }
.block { margin-top: 44px; }
.block .eyebrow { margin-bottom: 16px; }
.block p { font-size: 17px; line-height: 1.65; }
.app-row {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; color: var(--fg) !important; transition: border-color .2s;
}
.app-row:hover { border-color: var(--accent-text); }
.app-row .name { font-size: 16px; font-weight: 600; flex: 1; }

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

.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; background: var(--bg2); }
.footer-inner {
  max-width: 1040px; margin: 0 auto; padding: 0 28px;
  display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; justify-content: space-between;
}
.footer-brand .brand-name { margin: 0 0 12px; font-weight: 700; font-size: 15px; }
.footer-brand .trade-name { margin: 0; font-size: 13.5px; color: var(--muted); }
.footer-brand .disclaimer { margin-top: 8px; max-width: 56ch; text-wrap: pretty; }
.footer-brand a { display: inline-block; margin-top: 10px; font-size: 13.5px; color: var(--accent-text); }
.footer-legal { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; color: var(--muted); }
.footer-legal a { transition: color .2s; }
.footer-legal a:hover { color: var(--fg); }

/* --- kaydırma animasyonu (yalnız JS sınıfı eklediğinde) --- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .glow { animation: none; }
  .app-icon.logo3d::before { animation: none; }
  html { scroll-behavior: auto; }
}
