/* ============================================================
   landing.css — Antyna SEO landing sayfaları (tools/landing/build.mjs çıktısı)
   styles.css'ten SONRA yüklenir; renk token'ları styles.css :root'undan gelir.
   Uzun-metin düzeni: ~760px okuma sütunu, rahat satır aralığı, mobil-öncelikli.
   375px'te yatay kaydırma olmamalı (grid'lerde min(…, 100%) kullanılıyor).
   ============================================================ */

:root {
  --lp-ink: #d4d8f5;          /* uzun metin gövdesi (koyu zeminde ~13:1) */
  --lp-cta-a: #6a5af0;        /* CTA degrade: beyaz yazıyla WCAG AA (≥ 4.5:1) */
  --lp-cta-b: #3b6fd8;
  --lp-focus: #9cc2ff;
}

/* ---- temel ------------------------------------------------------------ */
body.landing { font-size: 16px; line-height: 1.7; -webkit-text-size-adjust: 100%; }
.landing a { color: var(--accent-2); text-underline-offset: 3px; }
.landing a:hover { color: var(--lp-focus); }
.landing :focus-visible { outline: 3px solid var(--lp-focus); outline-offset: 3px; border-radius: 6px; }

/* ekran okuyucu için görünmez metin */
.lp-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* klavye kullanıcıları için "içeriğe atla" */
.lp-skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: #181b36; color: var(--text) !important; border: 1px solid var(--accent);
  padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none;
}
.lp-skip:focus { top: 12px; }

/* ---- üst bar ------------------------------------------------------------ */
.lp-top {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 28px; border-bottom: 1px solid var(--panel-border);
  background: rgba(18, 21, 48, 0.5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lp-brand { display: inline-flex; border-radius: 6px; }
.lp-brand img { height: 26px; width: auto; display: block; }
.landing .lp-top-link {
  flex: 0 0 auto; color: var(--text); text-decoration: none; font-size: 13.5px; font-weight: 600;
  padding: 8px 15px; border-radius: 999px; border: 1px solid var(--panel-border);
  background: rgba(139, 123, 255, 0.14); transition: background .15s, border-color .15s;
}
.landing .lp-top-link:hover { color: var(--text); background: rgba(139, 123, 255, 0.26); border-color: var(--accent); }

/* ---- okuma sütunu -------------------------------------------------------- */
.lp-doc {
  position: relative; z-index: 1;
  max-width: 760px; margin: 0 auto; padding: 34px 24px 60px;
  color: var(--text); overflow-wrap: break-word;
}
.lp-doc p, .lp-doc li { color: var(--lp-ink); }
.lp-doc p { margin: 0 0 14px; }
.lp-doc strong, .lp-doc b { color: var(--text); }
.lp-doc ul, .lp-doc ol { margin: 10px 0 16px; padding-left: 22px; }
.lp-doc li { margin: 7px 0; }
.lp-doc li::marker { color: var(--accent-2); }

/* breadcrumb */
.lp-crumbs ol {
  list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px;
  margin: 0 0 22px; padding: 0; font-size: 13px;
}
.lp-crumbs li { margin: 0; color: var(--text-dim); }
.lp-crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--text-dim); }
.lp-crumbs a { color: var(--accent-2); text-decoration: none; }
.lp-crumbs a:hover { text-decoration: underline; }

.lp-eyebrow {
  margin: 0 0 8px !important; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.6px; color: var(--accent-2) !important;
}
.lp-doc h1 {
  margin: 0 0 18px; font-size: clamp(28px, 6.2vw, 42px); line-height: 1.15; letter-spacing: -0.3px;
  background: linear-gradient(135deg, #a698ff, var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-intro p { font-size: 17.5px; line-height: 1.75; }

.lp-sec { scroll-margin-top: 20px; }
.lp-doc h2 {
  margin: 52px 0 14px; padding-top: 22px; border-top: 1px solid var(--panel-border);
  font-size: clamp(21px, 4.6vw, 26px); line-height: 1.25; color: var(--text);
}
.lp-doc h3 { color: var(--text); line-height: 1.3; }

/* ---- CTA ---------------------------------------------------------------- */
.lp-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 26px 0 6px; }
.landing .lp-cta {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 50px; padding: 13px 26px; border-radius: 12px;
  background: linear-gradient(135deg, var(--lp-cta-a), var(--lp-cta-b));
  color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .2px; text-decoration: none;
  box-shadow: 0 10px 26px rgba(110, 95, 255, 0.38);
  transition: transform .12s, box-shadow .2s;
}
.landing .lp-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 32px rgba(110, 95, 255, 0.55); }
.landing .lp-cta:active { transform: translateY(0); }
.lp-cta-note { font-size: 13.5px; color: var(--text-dim); }

.lp-cta-panel {
  margin: 30px 0 0; padding: 24px 22px; text-align: center; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(139, 123, 255, 0.16), rgba(110, 168, 254, 0.10));
  border: 1px solid rgba(139, 123, 255, 0.38);
}
.lp-doc .lp-cta-panel p { margin: 0 0 14px; font-size: 18.5px; font-weight: 650; color: var(--text); }

/* ---- ilham isimleri (çipler) ---------------------------------------------- */
.lp-doc .lp-names { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 12px; padding: 0; }
.lp-doc .lp-names li {
  margin: 0; padding: 6px 15px; border-radius: 999px;
  background: rgba(139, 123, 255, 0.12); border: 1px solid var(--panel-border);
  color: var(--text); font-weight: 600; font-size: 15px; line-height: 1.5;
}
.lp-doc .lp-fine { font-size: 13.5px; color: var(--text-dim); }

/* ---- kullanım kartları ------------------------------------------------------ */
.lp-cards {
  display: grid; gap: 14px; margin: 18px 0 4px;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
}
.lp-card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-top: 3px solid var(--accent); border-radius: 14px; padding: 16px 18px;
}
.lp-card h3 { margin: 0 0 6px; font-size: 16.5px; }
.lp-doc .lp-card p { margin: 0; font-size: 15px; line-height: 1.6; }

/* ---- nasıl (numaralı adımlar) ------------------------------------------------ */
.lp-how ol { list-style: none; counter-reset: lp-step; padding-left: 0; }
.lp-how ol > li { counter-increment: lp-step; position: relative; padding-left: 44px; margin: 14px 0; }
.lp-how ol > li::before {
  content: counter(lp-step); position: absolute; left: 0; top: 1px;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0d17; font-weight: 800; font-size: 14px; line-height: 1;
}
.lp-doc .lp-note {
  margin: 22px 0 0; padding: 14px 16px; border-radius: 12px; font-size: 14.5px;
  background: rgba(110, 168, 254, 0.10); border: 1px solid rgba(110, 168, 254, 0.28);
}
.lp-note strong { color: var(--accent-2); }

/* ---- SSS (details/summary) ---------------------------------------------------- */
.lp-faq {
  margin: 10px 0; border-radius: 12px;
  background: rgba(15, 18, 42, 0.6); border: 1px solid var(--panel-border);
}
.lp-faq[open] { border-color: rgba(139, 123, 255, 0.4); }
.lp-faq summary {
  position: relative; cursor: pointer; list-style: none;
  padding: 14px 50px 14px 18px; font-weight: 650; color: var(--text); line-height: 1.45;
  border-radius: 12px;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--accent-2); line-height: 1;
}
.lp-faq[open] summary::after { content: "−"; }
.lp-faq summary:hover { color: var(--lp-focus); }
.lp-faq-a { padding: 0 18px 14px; }
.lp-doc .lp-faq-a p { margin: 0; }

/* ---- diğer üreticiler ---------------------------------------------------------- */
.lp-doc .lp-more-grid {
  list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(min(215px, 100%), 1fr));
}
.lp-doc .lp-more-grid li { margin: 0; }
.landing .lp-more-grid a {
  display: flex; flex-direction: column; gap: 2px; height: 100%;
  padding: 12px 14px; border-radius: 12px; text-decoration: none;
  background: rgba(15, 18, 42, 0.6); border: 1px solid var(--panel-border);
  transition: border-color .15s, background .15s;
}
.landing .lp-more-grid a:hover { border-color: var(--accent); background: rgba(139, 123, 255, 0.12); }
.lp-more-grid .is-related a { border-color: rgba(139, 123, 255, 0.5); background: rgba(139, 123, 255, 0.10); }
.lp-more-t { color: var(--text); font-weight: 650; font-size: 15px; line-height: 1.35; }
.lp-more-s { color: var(--text-dim); font-size: 13px; line-height: 1.4; }

/* ---- footer ----------------------------------------------------------------- */
.lp-foot {
  position: relative; z-index: 1; text-align: center;
  padding: 24px 20px 40px; border-top: 1px solid var(--panel-border);
  color: var(--text-dim); font-size: 12.5px; line-height: 1.6;
}
.lp-foot p { max-width: 760px; margin: 0 auto 10px; }
.lp-foot a { color: var(--accent-2); text-decoration: none; font-weight: 600; }
.lp-foot a:hover { text-decoration: underline; }
.lp-foot-links { font-size: 13.5px; }
.lp-foot .lp-credit { font-size: 11.5px; margin-bottom: 0; }

/* ---- mobil ------------------------------------------------------------------ */
@media (max-width: 640px) {
  .lp-top { padding: 11px 16px; }
  .lp-brand img { height: 22px; }
  .landing .lp-top-link { font-size: 12.5px; padding: 7px 12px; }
  .lp-doc { padding: 22px 16px 44px; }
  .lp-intro p { font-size: 16.5px; }
  .lp-doc h2 { margin-top: 42px; padding-top: 18px; }
  .lp-cta-panel { padding: 20px 16px; }
}
@media (max-width: 480px) {
  .lp-cta-row .lp-cta, .lp-cta-panel .lp-cta { width: 100%; padding-left: 12px; padding-right: 12px; }
  .landing .lp-more-grid a { padding: 10px 13px; }
  .lp-cta-note { width: 100%; text-align: center; }
}

/* hareket azaltma tercihi: orb animasyonu ve geçişler kapalı */
@media (prefers-reduced-motion: reduce) {
  .landing .orb { animation: none; }
  .landing *, .landing *::before, .landing *::after { transition: none !important; }
}

/* Windows yüksek kontrast: degrade-yazı başlık görünür kalsın */
@media (forced-colors: active) {
  .lp-doc h1 { background: none; color: CanvasText; }
  .landing .lp-cta { border: 2px solid ButtonText; }
}
