/* Feel Good Apps — ortak stil */
:root {
  --violet: #7B4DFF;
  --blue: #5A8BEA;
  --teal: #3FD1C4;
  --grad: linear-gradient(120deg, #7B4DFF 0%, #5A8BEA 50%, #3FD1C4 100%);
  --night: #120d2b;
  --night-2: #1b1440;
  --ink: #f4f1ff;
  --muted: rgba(244, 241, 255, .68);
  --line: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .07);
  --radius: 22px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--night);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: #b9a6ff; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }

/* ---------- Üst çubuk ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px clamp(18px, 4vw, 44px);
}
.topbar.solid { position: sticky; background: rgba(18, 13, 43, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: .01em;
  white-space: nowrap;
}
.topbar nav a { white-space: nowrap; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  background: var(--grad); box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset;
  display: grid; place-items: center; font-size: .8rem; font-weight: 800; letter-spacing: -.02em;
}
.brand b { font-weight: 300; }
.topbar nav { display: flex; align-items: center; gap: clamp(10px, 2.4vw, 26px); font-size: .95rem; }
.topbar nav a { color: rgba(255,255,255,.88); text-decoration: none; }
.topbar nav a:hover { color: #fff; text-decoration: underline; }
.lang {
  border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: 3px 12px; font-size: .85rem;
}

/* ---------- Vitrin (ana sayfa) ---------- */
.showcase { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--night); }
.track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.65, 0, .25, 1); }
.slide {
  position: relative; flex: 0 0 100%; height: 100%;
  display: grid; place-items: center; text-align: center;
  padding: 90px clamp(70px, 11vw, 160px) 110px;
  color: #fff; text-decoration: none; overflow: hidden; isolation: isolate;
  background: var(--slide-bg, var(--grad));
}
.slide::before { /* yavaşça dolaşan ışık */
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background:
    radial-gradient(40% 35% at 30% 30%, rgba(255,255,255,.28), transparent 70%),
    radial-gradient(35% 30% at 75% 70%, rgba(255,255,255,.16), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { to { transform: translate(6%, -4%) rotate(8deg); } }
.slide::after { /* ekranı kaplayan düğmenin iç çerçevesi */
  content: ""; position: absolute; inset: clamp(10px, 1.6vw, 22px); z-index: -1;
  border-radius: clamp(24px, 3vw, 40px);
  border: 1.5px solid rgba(255,255,255,.35);
  box-shadow: 0 0 0 0 rgba(255,255,255,0), inset 0 0 80px rgba(255,255,255,.08);
  transition: border-color .3s, box-shadow .3s, inset .3s;
}
a.slide:hover::after, a.slide:focus-visible::after {
  border-color: rgba(255,255,255,.75);
  box-shadow: 0 0 40px rgba(255,255,255,.25), inset 0 0 120px rgba(255,255,255,.14);
}
a.slide:focus-visible { outline: none; }
.slide-inner { max-width: 760px; }
.slide-logo { width: clamp(120px, 18vw, 200px); height: auto; filter: drop-shadow(0 8px 30px rgba(40, 10, 120, .35)); }
.slide h1, .slide h2 {
  margin: .25em 0 .2em; font-weight: 300; letter-spacing: -.01em;
  font-size: clamp(2.1rem, 5.6vw, 4.6rem); line-height: 1.08;
}
.slide .tag { font-size: clamp(1.05rem, 2vw, 1.4rem); margin: 0 auto 1.6em; max-width: 34em; opacity: .95; }
.slide .cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 1.05rem;
  background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.7);
  backdrop-filter: blur(6px); transition: background .25s, transform .25s;
}
a.slide:hover .cta { background: rgba(255,255,255,.3); transform: translateY(-2px); }
.slide .small { font-size: .9rem; opacity: .85; margin-top: 1.2em; }
.slide.soon { --slide-bg: linear-gradient(120deg, #2a1d6e 0%, #4a3aa8 55%, #2f8f9a 100%); }
.soon-mark { font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1; opacity: .9; }

.arrow {
  position: absolute; top: 50%; z-index: 10; transform: translateY(-50%);
  width: clamp(48px, 5vw, 64px); height: clamp(48px, 5vw, 64px); border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.6);
  backdrop-filter: blur(8px); transition: background .2s, transform .2s;
}
.arrow:hover { background: rgba(255,255,255,.32); transform: translateY(-50%) scale(1.06); }
.arrow svg { width: 44%; height: 44%; }
.arrow.prev { left: clamp(14px, 2.6vw, 40px); }
.arrow.next { right: clamp(14px, 2.6vw, 40px); }
.arrow[hidden] { display: none; }

.dots { position: absolute; left: 0; right: 0; bottom: 62px; z-index: 10; display: flex; justify-content: center; gap: 10px; }
.dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.45); border: 0; transition: width .3s, background .3s;
}
.dots button[aria-current="true"] { width: 28px; background: #fff; }

.showcase-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 10;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px;
  padding: 14px 20px 18px; font-size: .82rem; color: rgba(255,255,255,.8);
}
.showcase-foot a { color: rgba(255,255,255,.85); text-decoration: none; }
.showcase-foot a:hover { color: #fff; text-decoration: underline; }

/* ---------- İç sayfalar ---------- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 60px) clamp(48px, 7vw, 80px);
  text-align: center; background: var(--grad);
}
.page-hero::before {
  content: ""; position: absolute; inset: -30%; z-index: -1;
  background: radial-gradient(40% 40% at 25% 30%, rgba(255,255,255,.25), transparent 70%);
}
.page-hero img { width: 120px; height: auto; }
.page-hero h1 { margin: .2em 0 .15em; font-weight: 300; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; }
.page-hero p { margin: 0 auto; max-width: 36em; font-size: 1.12rem; }
.page-hero .buttons { margin-top: 1.6em; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; text-decoration: none;
  color: #fff; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.75);
}
.btn:hover { background: rgba(255,255,255,.3); color: #fff; }
.btn.solid { background: #fff; color: #4b2fc4; border-color: #fff; }
.btn.solid:hover { background: #efeaff; color: #3a20a8; }
.hero-note { margin-top: 1em !important; font-size: .9rem !important; opacity: .9; }

main.wrap { max-width: 900px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 32px) 64px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 8px 0 28px; }
.card {
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px;
}
.card h3 { margin: 0 0 .35em; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.links-card { display: flex; flex-wrap: wrap; gap: 10px 22px; }

.doc h1 { font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0 0 .1em; line-height: 1.15; }
.doc h2 { margin: 2em 0 .5em; font-size: 1.25rem; font-weight: 600; }
.doc .meta { color: var(--muted); margin: 0 0 1.6em; }
.doc ul { padding-left: 1.3em; }
.doc li { margin: .35em 0; }
.note {
  border-radius: 16px; padding: 16px 20px; margin: 1.2em 0;
  background: linear-gradient(120deg, rgba(123,77,255,.22), rgba(63,209,196,.14));
  border: 1px solid rgba(185,166,255,.35);
}
.table-wrap { overflow-x: auto; margin: 1em 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
th { color: #fff; font-weight: 600; background: rgba(255,255,255,.05); }
td { color: rgba(244,241,255,.86); }

footer.site {
  border-top: 1px solid var(--line); padding: 28px clamp(18px, 4vw, 44px) 36px;
  color: var(--muted); font-size: .9rem;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 640px) {
  .topbar nav .hide-sm { display: none; }
  .topbar { padding: 14px 16px; gap: 10px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand-mark { width: 26px; height: 26px; font-size: .72rem; }
  .topbar nav { gap: 12px; font-size: .88rem; }
  .lang { padding: 2px 9px; }
  .slide { padding: 84px 22px 120px; }
  .arrow { top: auto; bottom: 92px; transform: none; }
  .arrow:hover { transform: scale(1.06); }
  .dots { bottom: 112px; }
}
/* Alçak ekranlar: içerik alttaki ok/nokta/bağlantıların altına girmesin */
@media (max-height: 820px) and (max-width: 640px) {
  .slide { padding-top: 64px; padding-bottom: 150px; align-items: center; }
  .slide-logo { width: 96px; }
  .slide h1, .slide h2 { font-size: 2rem; margin: .2em 0 .15em; }
  .slide .tag { font-size: 1rem; margin-bottom: 1em; }
  .slide .cta { padding: 10px 22px; font-size: .98rem; }
  .slide .small { display: none; }
  .soon-mark { font-size: 2.6rem; }
}
@media (max-height: 640px) {
  .slide { padding-top: 64px; padding-bottom: 120px; }
  .slide-logo { width: 80px; }
  .slide h1, .slide h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
  .slide .tag { font-size: .95rem; margin-bottom: .8em; }
  .slide .small { display: none; }
}
@media (max-height: 640px) and (max-width: 640px) {
  .dots { bottom: 74px; }
  .arrow { bottom: 58px; width: 42px; height: 42px; }
  .slide { padding-bottom: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .track { transition: none; }
  .slide::before { animation: none; }
}
