/*
Bismillahirrahmanirrahim
بِسْــــــــــــــــــمِ اﷲِالرَّحْمَنِ اارَّحِيم
Sübhanallahi ve Bihamdihi Sübhanallahil Azim
سُبْحانَ اللّٰهِ وَبِحَمْده۪ سُبْحَانَ اللّٰهِ الْعَظِيمِ
*/

@font-face {
  font-family: "Lexend";
  src: url("../assets/fonts/lexend_regular.ttf") format("truetype");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lexend";
  src: url("../assets/fonts/lexend_bold.ttf") format("truetype");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #16131f;
  --ink-soft: #2e2940;
  --paper: #f6f3fb;
  --muted: #6f6780;
  --hey: #6d28d9;
  --red: #7c3aed;
  --teal: #7c3aed;
  --teal-soft: #c4b5fd;
  --violet: #7c3aed;
  --violet-soft: #c4b5fd;
  --violet-deep: #5b21b6;
  --line: rgba(40, 30, 60, 0.12);
  --font: "Lexend", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

/* —— Home —— */
.page-home {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: #f4f0ff;
  background:
    radial-gradient(80% 55% at 85% 0%, rgba(124, 58, 237, 0.45), transparent 58%),
    radial-gradient(60% 45% at 0% 100%, rgba(91, 33, 182, 0.38), transparent 55%),
    linear-gradient(168deg, #0d0a14 0%, #1a1430 52%, #120c1e 100%);
}

/* Beyaz şerit boydan boya; logo ortada — biraz aşağıda */
.brand-bar {
  width: 100%;
  margin-top: clamp(1.75rem, 6vh, 3.25rem);
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem clamp(0.75rem, 3vw, 1.5rem);
  animation: fadeUp 0.8s ease-out both;
}

.brand-uzun {
  display: block;
  width: min(100%, 42rem);
  height: auto;
  max-height: clamp(2.6rem, 9vw, 4.25rem);
  object-fit: contain;
  object-position: center;
}

/* Slogan: logo şeridinin altında ayrı ince beyaz şerit */
.tag-bar {
  width: 100%;
  margin-top: 0.55rem;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.4rem clamp(0.75rem, 3vw, 1.5rem);
  animation: fadeUp 0.85s ease-out 0.06s both;
}

.tag-bar .tag {
  margin: 0;
  max-width: min(100%, 42rem);
  text-align: center;
  color: var(--violet-deep);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.8vw, 1.28rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.stage {
  width: min(100% - 2rem, 36rem);
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 0 clamp(3.25rem, 8vh, 4.5rem);
}

.intro {
  margin-top: 0;
  text-align: center;
  animation: fadeUp 0.85s ease-out 0.08s both;
}

.intro .lead {
  margin: 0;
  color: rgba(243, 239, 232, 0.88);
  font-weight: 300;
  font-size: clamp(0.98rem, 2.2vw, 1.08rem);
  line-height: 1.45;
}

.intro .blurb {
  margin: 1rem auto 0;
  max-width: 28rem;
  padding: 0;
  list-style: none;
  text-align: left;
  color: rgba(243, 239, 232, 0.72);
  font-weight: 300;
  font-size: 0.92rem;
  line-height: 1.5;
}

.intro .blurb li {
  position: relative;
  padding-left: 1rem;
  margin: 0.35rem 0;
}

.intro .blurb li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--teal-soft);
  opacity: 0.85;
}

.intro .note {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(243, 239, 232, 0.5);
}

.privacy-note {
  margin: 1.1rem auto 0;
  max-width: 28rem;
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: rgba(244, 240, 255, 0.72);
  font-size: clamp(0.78rem, 2vw, 0.88rem);
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
}

.privacy-ico {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.12em;
  color: var(--violet-soft);
  opacity: 0.95;
}

.get {
  margin-top: 1.5rem;
  width: min(100% - 1rem, 40rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: clamp(1.75rem, 5vw, 2.6rem);
  row-gap: 1.15rem;
  align-items: start;
  animation: fadeUp 0.9s ease-out 0.16s both;
}

.brand-col,
.store-col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

/* İsim satırı = mağaza butonu yüksekliği → kare QR ile yan hizalı */
.brand-name {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.2rem 0.15rem;
  text-align: center;
  font-weight: 700;
  font-size: clamp(0.95rem, 2.6vw, 1.28rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #f4f0ff;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Dış kare = yanındaki QR beyaz kutu ile aynı ölçü */
.kare-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  padding: 0.35rem;
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kare {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Resmi mağaza rozeti — iki sütun aynı ölçü */
.store-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  min-height: 2.75rem;
  padding: 0.4rem 0.65rem;
  border-radius: 0.65rem;
  text-decoration: none;
  color: #1a1a1a;
  background: #fff;
  border: 1px solid #b8a0e8;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.store-btn .ico {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  display: block;
}

.store-btn .txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  gap: 0.1rem;
  min-width: 0;
}

.store-btn .eyebrow {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #6b6b6b;
  white-space: nowrap;
}

.store-btn .name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
  text-decoration: none;
  color: rgba(243, 239, 232, 0.7);
  font-size: 0.7rem;
  font-weight: 600;
}

.qr img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 0.35rem;
  border-radius: 0.55rem;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  box-sizing: border-box;
  display: block;
}

.qr:hover { color: var(--teal-soft); }

/* Globe dil seçici — sağ üst */
.lang-picker {
  position: fixed;
  z-index: 30;
  top: max(0.65rem, env(safe-area-inset-top, 0px));
  right: max(0.65rem, env(safe-area-inset-right, 0px));
}

.lang-btn {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.05rem;
  height: 3.05rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 240, 255, 0.22);
  background: rgba(26, 20, 48, 0.72);
  color: var(--violet-soft);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-btn::-webkit-details-marker { display: none; }

.lang-btn:hover { color: #fff; border-color: rgba(196, 181, 253, 0.55); }

.lang-ico {
  display: block;
  width: 1.7rem;
  height: 1.7rem;
}

.lang-panel {
  margin-top: 0.45rem;
  max-height: min(70svh, 22rem);
  width: min(16.5rem, calc(100vw - 1.5rem));
  overflow: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.45rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(244, 240, 255, 0.14);
  background: rgba(18, 12, 30, 0.94);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lang-panel a {
  display: block;
  padding: 0.42rem 0.55rem;
  border-radius: 0.45rem;
  color: rgba(244, 240, 255, 0.78);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.25;
}

.lang-panel a:hover {
  background: rgba(124, 58, 237, 0.28);
  color: #fff;
}

.lang-panel a[aria-current="true"] {
  background: rgba(124, 58, 237, 0.4);
  color: #fff;
  font-weight: 600;
}

.legal-mini {
  position: fixed;
  z-index: 20;
  right: max(0.75rem, env(safe-area-inset-right, 0px));
  bottom: max(0.65rem, env(safe-area-inset-bottom, 0px));
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(0.55rem, 1.6vw, 1rem);
  max-width: min(92vw, 16rem);
  font-size: clamp(0.65rem, 1.9vw, 0.78rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: right;
  pointer-events: none;
  animation: fadeUp 0.9s ease-out 0.24s both;
}

.legal-mini a {
  pointer-events: auto;
  color: rgba(243, 239, 232, 0.38);
  text-decoration: none;
}

.legal-mini a:hover { color: rgba(243, 239, 232, 0.65); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 520px) {
  .get {
    width: min(100% - 0.5rem, 26rem);
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(1.5rem, 6vw, 2.1rem);
  }

  .brand-name {
    font-size: clamp(0.88rem, 3.6vw, 1.05rem);
  }

  .intro .blurb { text-align: left; }
}

/* —— FAQ details —— */
.doc details {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}

.doc details:first-of-type { border-top: 0; }

.doc summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

.doc summary::-webkit-details-marker { display: none; }

.doc summary::before {
  content: "+";
  display: inline-block;
  width: 1.1rem;
  color: var(--teal);
  font-weight: 700;
}

.doc details[open] summary::before { content: "−"; }

.doc details p {
  margin: 0.55rem 0 0.15rem 1.1rem;
}

.doc .qr-link img {
  margin-top: 0.5rem;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.35rem;
}

/* —— Privacy / iç sayfa —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar a.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
}

.topbar img { height: 2rem; width: auto; }

.topbar .links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.topbar .links a { color: var(--teal); text-decoration: none; }
.topbar .links a:hover { color: var(--hey); }

.doc {
  width: min(100% - 2.5rem, 42rem);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.doc h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}

.doc .meta {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.doc h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.1rem;
  color: var(--teal);
}

.doc p, .doc li {
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.55;
}

.doc ul { padding-left: 1.2rem; }
.doc a { color: var(--teal); }

.lang-switch {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.lang-switch a { text-decoration: none; color: var(--muted); }
.lang-switch a[aria-current="true"] { color: var(--hey); }

hr.doc-break {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 3rem 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.5rem 1.25rem 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: var(--ink-soft);
  font-weight: 600;
  text-decoration: none;
}
.site-footer a:hover { color: var(--teal); }

body:not(.page-home) {
  background: var(--paper);
}
