/* NOYGG sitesi (6 Kas 2026): tanıtım + hukuk sayfaları. Renkler logodan:
   lacivert zemin, maviden mora geçiş. Tek yazı ailesi (sistem), harici yazı
   tipi yok. Oda/topluluk bağlantısı, doğrulama, sıfırlama ve 404 sayfaları
   hâlâ style.css kullanıyor. */

:root {
  --lacivert: #05082b;
  --lacivert-2: #0b1140;
  --mavi: #1b36e8;
  --indigo: #3b33fa;
  --mor: #8b3ffc;
  --gecis: linear-gradient(100deg, #1b36e8 0%, #3b33fa 55%, #8b3ffc 100%);

  --zemin: #f7f7fc;
  --kart: #ffffff;
  --metin: #0e1030;
  --soluk: #565a78;
  --cizgi: #e4e5f1;
  --vurgu: #3b33fa;
  --golge: 0 1px 2px rgb(14 16 48 / 6%), 0 12px 32px rgb(14 16 48 / 7%);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --zemin: #060922;
    --kart: #0d1235;
    --metin: #eef0ff;
    --soluk: #a4a9cc;
    --cizgi: #1c2350;
    --vurgu: #9a94ff;
    --golge: 0 1px 2px rgb(0 0 0 / 40%), 0 12px 32px rgb(0 0 0 / 35%);
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--zemin);
  color: var(--metin);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

/* ---- Dil ve kapılar (mevcut siteyle aynı sözleşme) ---- */

html[lang="tr"] [data-lang="en"],
html[lang="en"] [data-lang="tr"] {
  display: none;
}

.gizli-metin {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

[data-registration] { display: none !important; }
html[data-registration-mode="open_verified"] [data-registration~="open_verified"],
html[data-registration-mode="invite_only"] [data-registration~="invite_only"],
html[data-registration-mode="closed"] [data-registration~="closed"],
html[data-registration-mode="unavailable"] [data-registration~="unavailable"] {
  display: revert !important;
}

[data-community-release][hidden],
[data-before-communities][hidden],
html:not([data-communities-available="true"]) [data-community-release],
html[data-communities-available="true"] [data-before-communities] {
  display: none !important;
}

[data-dm-release][hidden],
html:not([data-messages-available="true"]) [data-dm-release] {
  display: none !important;
}

/* "Odadan sonra": kartlar kendi kapısıyla açılır; hiçbiri açık değilse
   başlık da tek başına kalmasın. */
.sonra:not(:has(article:not([hidden]))) {
  display: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--vurgu);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: #fff;
  color: var(--indigo);
  padding: 0.6rem 1rem;
  border-radius: 10px;
}

/* ---- Lacivert bant: üst çubuk + giriş ---- */

.band {
  position: relative;
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgb(139 63 252 / 28%), transparent 60%),
    radial-gradient(50rem 28rem at 10% 90%, rgb(27 54 232 / 30%), transparent 60%),
    var(--lacivert);
  color: #fff;
}

.top {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.14em;
  font-size: 1.05rem;
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.langbar {
  display: inline-flex;
  border: 1px solid rgb(255 255 255 / 22%);
  border-radius: 999px;
  overflow: hidden;
}

.langbar button {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgb(255 255 255 / 75%);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
}

.langbar button[aria-pressed="true"] {
  background: #fff;
  color: var(--lacivert);
}

/* Kayıt düğmesi kapıdan `display: revert` ile açılır: ortalamayı flex'e
   değil dolguya bırak, iki düğme her modda aynı boyda kalsın. */
.top-signup,
.top-signin {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.top-signup {
  color: #fff;
  border: 1px solid rgb(255 255 255 / 35%);
}

.top-signin {
  background: #fff;
  color: var(--lacivert);
}

.hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 10%);
  border: 1px solid rgb(255 255 255 / 16%);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgb(255 255 255 / 90%);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d6d;
  box-shadow: 0 0 0 4px rgb(255 77 109 / 22%);
  animation: nabiz 2s ease-in-out infinite;
}

@keyframes nabiz {
  0%, 100% { box-shadow: 0 0 0 3px rgb(255 77 109 / 28%); }
  50% { box-shadow: 0 0 0 7px rgb(255 77 109 / 0%); }
}

@media (prefers-reduced-motion: reduce) {
  .pill-dot {
    animation: none;
  }
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.4rem, 5.4vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.lead {
  margin: 0;
  max-width: 34rem;
  font-size: 1.15rem;
  color: rgb(255 255 255 / 78%);
}

.note {
  margin: 1.25rem 0 0;
  max-width: 34rem;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 14%);
  color: rgb(255 255 255 / 85%);
  font-size: 0.95rem;
}

/* Rozetler: Apple kuralı — çevresinde yüksekliğin dörtte biri (12 px). */
.app-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 2rem;
}

.badge-appstore {
  display: inline-flex;
  border-radius: 9px;
}

.badge-appstore img {
  display: block;
  height: 48px;
  width: auto;
}

.badge-android {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 4px 16px 4px 12px;
  border: 1px solid #a6a6a6;
  border-radius: 9px;
  background: #000;
  color: #fff;
  text-decoration: none;
}

.badge-android svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.badge-top {
  font-size: 0.7rem;
}

.badge-name {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---- Uygulamanın gerçek oda ekranı, sade telefon çerçevesinde ---- */

.telefon {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(100%, 300px);
  margin: 0 0 -7rem;
  padding: 9px;
  border-radius: 44px;
  background: #0b0e26;
  box-shadow:
    0 0 0 1px rgb(255 255 255 / 16%),
    0 24px 48px rgb(5 8 43 / 22%),
    0 0 120px rgb(139 63 252 / 22%);
}

.telefon img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 35px;
}

/* ---- İçerik ---- */

.icerik {
  max-width: 72rem;
  margin: 0 auto;
  padding: 9rem 1.5rem 0;
}

section + section {
  margin-top: 5rem;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.bolum-alt {
  margin: 0 0 1.75rem;
  color: var(--soluk);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  line-height: 1.3;
}

.ilkeler {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.ilkeler article {
  max-width: 22rem;
}

.tur-izgara article,
.sonra-izgara article {
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--kart);
  border: 1px solid var(--cizgi);
  box-shadow: var(--golge);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) {
  .tur-izgara article:hover,
  .sonra-izgara article:hover {
    transform: translateY(-3px);
    box-shadow: 0 2px 4px rgb(14 16 48 / 6%), 0 18px 40px rgb(59 51 250 / 12%);
  }
}

.ilkeler p,
.tur-izgara p,
.sonra-izgara p,
.steps p {
  margin: 0;
  color: var(--soluk);
}

.ikon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--gecis);
  color: #fff;
}

.ikon svg {
  width: 22px;
  height: 22px;
}

.tur-ikon {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.9rem;
  border-radius: 12px;
  background: color-mix(in srgb, var(--vurgu) 11%, transparent);
  color: var(--vurgu);
}

.tur-ikon svg {
  width: 22px;
  height: 22px;
}

.tur-izgara,
.sonra-izgara {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.sonra-izgara {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1.75rem;
}

/* Tür kartının üst kenarında marka çizgisi. */
.tur-izgara article {
  position: relative;
  overflow: hidden;
}

.tur-izgara article::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gecis);
}

.steps ol {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.steps li {
  position: relative;
  padding-top: 0.25rem;
}

.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: calc(0.25rem + 17px);
  left: 48px;
  right: -0.5rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--vurgu) 45%, transparent), transparent);
}

.num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 0.85rem;
  border-radius: 50%;
  background: var(--gecis);
  color: #fff;
  font-weight: 800;
}

/* ---- SSS ---- */

.faq {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) 2.4fr;
  column-gap: 4rem;
  align-items: start;
}

.faq h2 {
  margin-bottom: 1.5rem;
  position: sticky;
  top: 1.5rem;
}

.faq details {
  border-bottom: 1px solid var(--cizgi);
}

.faq details:first-of-type {
  border-top: 1px solid var(--cizgi);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 2.5rem 1.1rem 0;
  position: relative;
  font-weight: 650;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--vurgu);
  border-bottom: 2px solid var(--vurgu);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq details p {
  margin: 0 0 1.2rem;
  max-width: 48rem;
  color: var(--soluk);
}

.faq a {
  color: var(--vurgu);
}

/* ---- Altbilgi ---- */

footer {
  margin-top: 6rem;
  padding: 3rem 1.5rem 3.25rem;
  text-align: center;
  background:
    radial-gradient(40rem 18rem at 50% 0%, rgb(59 51 250 / 22%), transparent 70%),
    var(--lacivert);
  color: rgb(255 255 255 / 70%);
}

.foot-brand {
  margin-bottom: 1.5rem;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.fine {
  margin: 0.35rem auto;
  max-width: 44rem;
  color: rgb(255 255 255 / 66%);
  font-size: 0.88rem;
}

.fine-legal {
  margin-top: 1.25rem;
  max-width: 38rem;
  font-size: 0.74rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 50%);
}

/* ---- Hukuki belge sayfaları: aynı bant ve altbilgi, okunur açık sütun ---- */

.band-ince {
  padding-bottom: 0.25rem;
}

/* Kısa belgede (Impressum) altbilgi ekranın dibine otursun. */
body:has(> main.belge) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body:has(> main.belge) > main {
  flex: 1 0 auto;
  width: 100%;
}

.belge {
  max-width: 46rem;
  margin-inline: auto;
  padding: 0.5rem 1.5rem 1rem;
}

.belge h1 {
  margin: 2.75rem 0 0.4rem;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.belge h1 + p {
  margin-top: 0;
  color: var(--soluk);
  font-size: 0.92rem;
}

.belge h2 {
  margin: 2.4rem 0 0.5rem;
  font-size: 1.12rem;
  color: var(--vurgu);
}

.belge h3 {
  margin: 1.6rem 0 0.4rem;
  font-size: 1rem;
}

.belge p,
.belge li {
  color: var(--soluk);
}

.belge li {
  margin-bottom: 0.35rem;
}

.belge a {
  color: var(--vurgu);
}

/* ---- Dar ekran ---- */

@media (max-width: 900px) {
  .ilkeler,
  .tur-izgara,
  .sonra-izgara,
  .steps ol {
    grid-template-columns: 1fr;
  }

  .ilkeler {
    gap: 1.75rem;
  }

  .ilkeler article,
  .tur-izgara article,
  .sonra-izgara article {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
    max-width: none;
  }

  .ilkeler article > :not(.ikon),
  .tur-izgara article > :not(.tur-ikon),
  .sonra-izgara article > :not(.tur-ikon) {
    grid-column: 2;
  }

  .ikon,
  .tur-ikon {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .tur-izgara article,
  .sonra-izgara article {
    padding: 1.1rem 1.25rem;
  }

  .tur-izgara,
  .sonra-izgara {
    gap: 0.85rem;
  }

  .steps ol {
    gap: 1.5rem;
  }

  .steps li:not(:last-child)::after {
    top: calc(0.25rem + 40px);
    bottom: -1.5rem;
    left: 17px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, color-mix(in srgb, var(--vurgu) 45%, transparent), transparent);
  }

  .faq {
    grid-template-columns: 1fr;
  }

  .faq h2 {
    position: static;
  }

  .steps li {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 1rem;
  }

  .steps li > :not(.num) {
    grid-column: 2;
  }

  .num {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    padding: 1.5rem 1.25rem 3.5rem;
    text-align: center;
  }

  .lead,
  .note {
    margin-inline: auto;
  }

  .app-badges {
    justify-content: center;
  }

  .telefon {
    justify-self: center;
    width: min(78%, 280px);
    margin-bottom: -4.5rem;
  }

  .top {
    padding: 1rem 1.25rem;
  }

  .icerik {
    padding: 7rem 1.25rem 0;
  }
}

@media (max-width: 420px) {
  /* Yalnız düğmeli üst çubukta yer açmak için; altbilgide ad kalır. */
  .top:has(.top-actions) .brand-name {
    display: none;
  }

  .top-signup,
  .top-signin {
    padding-inline: 0.85rem;
  }
}

/* 360 px telefonlarda üst çubuk tek satırda kalsın (logo + dil + iki düğme). */
@media (max-width: 380px) {
  .top {
    gap: 0.5rem;
    padding-inline: 1rem;
  }

  .top-actions {
    gap: 0.4rem;
  }

  .langbar button {
    padding: 0.4rem 0.55rem;
  }

  .top-signup,
  .top-signin {
    padding-inline: 0.7rem;
  }
}
