/* ──────────────────────────────────────────────────────────────
   Vanago yan sayfalar (Hakkımızda, Nasıl Çalışır, İletişim, yasal…)
   Sade, siyah-beyaz kurumsal görünüm. Sandbox/Bootstrap'tan bağımsızdır;
   bu dosyayı yükleyen sayfalar style.css / plugins.css yüklemez.
   ────────────────────────────────────────────────────────────── */

/* Poppins (SIL OFL 1.1, lisans: ../fonts/poppins/OFL.txt). Kendi sunucumuzdan yüklenir;
   Latin + Türkçe karakterler ve ₺ ile sınırlı alt küme. Uygulamalarla aynı yazı tipi. */
@font-face { font-family: Poppins; src: url(../fonts/poppins/Poppins-Regular.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Poppins; src: url(../fonts/poppins/Poppins-Medium.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Poppins; src: url(../fonts/poppins/Poppins-SemiBold.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: Poppins; src: url(../fonts/poppins/Poppins-Bold.woff2) format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --vg-black: #000;
  --vg-white: #fff;
  --vg-text: #000;
  --vg-muted: #5e5e5e;
  --vg-line: #e2e2e2;
  --vg-grey: #f3f3f3;
  --vg-grey-2: #eeeeee;
  --vg-brand: #e2626b;      /* logo ve geniş yüzeyler */
  --vg-brand-ink: #c8414b;  /* beyaz üstünde yazı/buton: AA kontrast */
  --vg-brand-soft: #fdf3f4;
  --vg-radius: 16px;
  --vg-header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--vg-white);
  color: var(--vg-text);
  font-family: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--vg-black); outline-offset: 2px; }

/* Bootstrap .container ve ortak üst bar (vg-header) ile aynı genişlikler */
.vg-container { width: 100%; margin: 0 auto; padding: 0 16px; }
@media (min-width: 576px)  { .vg-container { max-width: 540px; padding: 0 12px; } }
@media (min-width: 768px)  { .vg-container { max-width: 720px; } }
@media (min-width: 992px)  { .vg-container { max-width: 960px; } }
@media (min-width: 1200px) { .vg-container { max-width: 1140px; } }
@media (min-width: 1400px) { .vg-container { max-width: 1320px; } }

/* ── Buttons & links ── */
.vg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 500; font-size: 16px; line-height: 1; text-decoration: none; cursor: pointer;
  background: var(--vg-black); color: var(--vg-white); transition: background .15s, color .15s;
}
.vg-btn:hover { background: #333; color: #fff; }
.vg-btn--brand { background: var(--vg-brand-ink); color: var(--vg-white); }
.vg-btn--brand:hover { background: #b03842; color: #fff; }
.vg-btn--sm { min-height: 36px; padding: 8px 16px; font-size: 14px; }
.vg-btn--white { background: var(--vg-white); color: var(--vg-black); }
.vg-btn--white:hover { background: #e2e2e2; color: #000; }
.vg-btn--grey { background: var(--vg-grey-2); color: var(--vg-black); }
.vg-btn--grey:hover { background: #e2e2e2; color: #000; }
.vg-btn svg { width: 18px; height: 18px; }
.vg-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.vg-link { color: var(--vg-black); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; font-weight: 500; }
.vg-link:hover { text-decoration-thickness: 2px; text-decoration-color: var(--vg-brand-ink); }
.vg-arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: none; color: var(--vg-black); }
.vg-arrow-link::after {
  content: ""; width: 14px; height: 14px; flex: none; background: var(--vg-brand-ink); transition: transform .15s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.vg-arrow-link:hover::after { transform: translateX(4px); }

/* ── Typography helpers ── */
.vg-eyebrow { font-size: 14px; font-weight: 600; color: var(--vg-brand-ink); margin-bottom: 12px; letter-spacing: .01em; }
.vg-h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; }
.vg-h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }
.vg-h3 { font-size: 20px; line-height: 1.3; }
.vg-lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--vg-text); max-width: 640px; }
.vg-muted { color: var(--vg-muted); }
.vg-small { font-size: 14px; }

/* ── Breadcrumb ── */
.vg-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; color: var(--vg-muted); }
.vg-breadcrumb a { color: var(--vg-muted); text-decoration: none; }
.vg-breadcrumb a:hover { color: var(--vg-black); text-decoration: underline; }
.vg-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #afafaf; }

/* ── Sections ── */
.vg-section { padding: 64px 0; }
.vg-section--grey { background: var(--vg-grey); }
.vg-section--black { background: var(--vg-black); color: var(--vg-white); }
.vg-section--black .vg-muted, .vg-section--black .vg-eyebrow { color: #afafaf; }
.vg-section__head { max-width: 720px; margin-bottom: 40px; }
.vg-section__head .vg-h2 + p { margin-top: 16px; }
@media (min-width: 992px) { .vg-section { padding: 96px 0; } }

.vg-hero { padding: 48px 0 56px; }
.vg-hero .vg-lead { margin-top: 20px; }
@media (min-width: 992px) { .vg-hero { padding: 72px 0 88px; } }

.vg-split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 992px) {
  .vg-split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .vg-split--reverse > :first-child { order: 2; }
}
.vg-media { border-radius: var(--vg-radius); overflow: hidden; background: var(--vg-grey); position: relative; }
.vg-media img { width: 100%; height: 100%; object-fit: cover; }

.vg-divider { border: 0; border-top: 1px solid var(--vg-line); margin: 0; }

/* ── Grids & cards ── */
.vg-grid { display: grid; gap: 24px; }
@media (min-width: 768px) {
  .vg-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .vg-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .vg-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .vg-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .vg-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.vg-feature .vg-icon { margin-bottom: 20px; }
.vg-feature h3 { margin-bottom: 8px; }
.vg-feature p { color: var(--vg-muted); margin: 0; }

.vg-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--vg-grey);
  display: inline-flex; align-items: center; justify-content: center; color: var(--vg-brand-ink);
}
.vg-section--grey .vg-icon { background: var(--vg-white); }
.vg-icon svg { width: 24px; height: 24px; }

.vg-card {
  background: var(--vg-grey); border-radius: var(--vg-radius); padding: 28px;
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit;
  transition: background .15s;
}
.vg-section--grey .vg-card { background: var(--vg-white); }
a.vg-card:hover { background: var(--vg-grey-2); }
.vg-section--grey a.vg-card:hover { background: #fafafa; }
.vg-card p { color: var(--vg-muted); margin: 0; }
.vg-card .vg-arrow-link { margin-top: auto; padding-top: 12px; }

/* ── Steps ── */
.vg-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 32px; counter-reset: vg-step; }
@media (min-width: 992px) { .vg-steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.vg-steps li { counter-increment: vg-step; border-top: 2px solid var(--vg-black); padding-top: 20px; }
.vg-steps li::before {
  content: counter(vg-step, decimal-leading-zero);
  display: block; font-size: 14px; font-weight: 700; color: var(--vg-brand-ink); margin-bottom: 12px;
}
.vg-steps h3 { margin-bottom: 8px; }
.vg-steps p { color: var(--vg-muted); margin: 0; }

/* ── Stat row ── */
.vg-stats { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 992px) { .vg-stats { grid-template-columns: repeat(4, 1fr); } }
.vg-stat strong { display: block; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; }
.vg-stat span { color: var(--vg-muted); font-size: 15px; }
.vg-section--black .vg-stat span { color: #afafaf; }

/* ── FAQ (details/summary, JS gerekmez) ── */
.vg-faq { border-top: 1px solid var(--vg-line); }
.vg-faq details { border-bottom: 1px solid var(--vg-line); }
.vg-faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: 18px; font-weight: 500;
}
.vg-faq summary::-webkit-details-marker { display: none; }
.vg-faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-4px); transition: transform .2s;
}
.vg-faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.vg-faq .vg-faq__body { padding: 0 0 24px; color: var(--vg-muted); max-width: 760px; }

/* ── Contact list ── */
.vg-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--vg-line); }
.vg-list > li { display: flex; gap: 20px; align-items: flex-start; padding: 24px 0; border-bottom: 1px solid var(--vg-line); }
.vg-list h3 { font-size: 16px; margin-bottom: 4px; }
.vg-list p, .vg-list address { margin: 0; color: var(--vg-muted); font-style: normal; }
.vg-list a:not(.vg-btn) { color: var(--vg-black); }

/* ── Callout / chip ── */
.vg-chip {
  position: absolute; left: 20px; bottom: 20px; right: 20px;
  display: flex; align-items: center; gap: 14px;
  background: var(--vg-white); border-radius: 12px; padding: 14px 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.vg-chip small { display: block; color: var(--vg-muted); font-size: 13px; line-height: 1.3; }
.vg-chip strong { display: block; font-size: 16px; line-height: 1.3; }
.vg-chip .vg-icon { width: 40px; height: 40px; flex: none; }
@media (min-width: 576px) { .vg-chip { right: auto; } }

.vg-tag--brand { background: var(--vg-brand-soft); color: var(--vg-brand-ink); }
.vg-tag { display: inline-block; font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--vg-grey); }

/* ── App CTA ── */
.vg-cta { display: grid; gap: 32px; align-items: center; }
@media (min-width: 992px) { .vg-cta { grid-template-columns: 1.4fr 1fr; } }
.vg-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.vg-badges img { height: 44px; width: auto; }
@media (min-width: 992px) { .vg-cta .vg-badges { justify-content: flex-end; } }

/* ── Legal ── */
.vg-legal { display: grid; gap: 40px; padding-bottom: 96px; }
@media (min-width: 992px) { .vg-legal { grid-template-columns: 260px minmax(0, 1fr); gap: 80px; } }
.vg-toc { font-size: 14px; }
.vg-toc__title { font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.vg-toc ol { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--vg-line); }
.vg-toc a {
  display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 2px solid transparent;
  color: var(--vg-muted); text-decoration: none; line-height: 1.4;
}
.vg-toc a:hover { color: var(--vg-black); }
.vg-toc a.is-active { color: var(--vg-black); border-left-color: var(--vg-brand); font-weight: 500; }
@media (min-width: 992px) {
  .vg-toc { position: sticky; top: calc(var(--vg-header-h) + 32px); align-self: start; max-height: calc(100vh - var(--vg-header-h) - 64px); overflow: auto; }
}
@media (max-width: 991.98px) {
  .vg-toc { background: var(--vg-grey); border-radius: var(--vg-radius); padding: 20px; }
  .vg-toc ol { border: 0; }
  .vg-toc a { padding-left: 0; border: 0; }
}
.vg-prose { max-width: 760px; color: #333; }
.vg-prose h2 { font-size: 24px; color: var(--vg-black); margin: 48px 0 16px; }
.vg-prose h2:first-child { margin-top: 0; }
.vg-prose h3 { font-size: 18px; color: var(--vg-black); margin: 32px 0 12px; }
.vg-prose li { margin-bottom: 10px; }
.vg-prose a { color: var(--vg-black); text-underline-offset: 3px; }
.vg-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: 15px; }
.vg-prose th, .vg-prose td { text-align: left; padding: 12px; border-bottom: 1px solid var(--vg-line); vertical-align: top; }
.vg-prose th { font-weight: 700; color: var(--vg-black); }
.vg-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-size: 14px; color: var(--vg-muted); }

/* ── Yardım merkezi ── */
.vg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Yardım hero: solda başlık ve arama; sağda illüstrasyon (mobilde gizli) */
.vg-help-hero .vg-h1 { margin-bottom: 28px; }
.vg-help-hero__grid { display: grid; gap: 40px; align-items: center; }
.vg-help-hero__img { display: none; width: 100%; max-width: 520px; height: auto; justify-self: end; border-radius: 16px; }
@media (min-width: 992px) {
  .vg-help-hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; }
  .vg-help-hero__img { display: block; }
}
.vg-search { position: relative; max-width: 680px; }
.vg-search svg { position: absolute; left: 20px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: var(--vg-muted); pointer-events: none; }
.vg-search input {
  width: 100%; height: 60px; padding: 0 20px 0 56px; border: 2px solid transparent; border-radius: 999px;
  background: var(--vg-grey); font: inherit; font-size: 17px; color: var(--vg-black); -webkit-appearance: none; appearance: none;
}
.vg-search input:focus { outline: none; border-color: var(--vg-black); background: var(--vg-white); }
#vg-help-status { margin: 12px 0 0 4px; min-height: 1.6em; }
.vg-section .vg-topic { gap: 6px; }
.vg-topic .vg-icon { margin-bottom: 12px; }
.vg-help { display: grid; gap: 56px; }
.vg-help > * { max-width: 920px; }
.vg-help-group { scroll-margin-top: calc(var(--vg-header-h) + 24px); }
.vg-help-group__title { font-size: 24px; margin-bottom: 8px; }
/* Sorular bittikten sonra uygulama içi destek yönlendirmesi */
.vg-help-more { margin: 0; padding-top: 28px; border-top: 1px solid var(--vg-line); font-size: 16px; color: var(--vg-muted); }
.vg-faq__body a { color: var(--vg-black); text-underline-offset: 3px; }
.vg-faq__body ul { margin-top: 8px; }
.vg-faq__body p:last-child { margin-bottom: 0; }
