/* main.css — bileşenler. Ham renk/ölçü yok; her şey tokens.css'ten gelir. */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--s5)); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); letter-spacing: -.01em; }
h3 { font-size: var(--fs-h3); letter-spacing: -.005em; line-height: 1.3; }
p  { margin: 0; color: var(--text-2); }

a { color: var(--text); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--gold); }

img, svg { max-width: 100%; display: block; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

/* ---------- Yerleşim ---------- */

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--s5); }

.section { padding-block: var(--section-y); }
.section + .section { border-top: 1px solid var(--line); }

.section-head { margin-bottom: var(--s7); }
.section-head--row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s5); flex-wrap: wrap;
}
.section-head p { margin-top: var(--s3); max-width: 640px; }

/* ---------- Tipografik yardımcılar ---------- */

.meta {
  font-size: var(--fs-meta); font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s3);
}
.lead { font-size: var(--fs-lead); max-width: 640px; }
.gold { color: var(--gold); }

.pill {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 6px var(--s3); border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: var(--fs-meta); font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-2); background: var(--surface);
}
.pill--gold { border-color: var(--gold); color: var(--gold); background: transparent; }

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  height: 44px; padding-inline: var(--s5); border-radius: var(--r-btn);
  font-family: var(--font); font-size: var(--fs-body); font-weight: 500;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.btn--primary { background: var(--gold); color: var(--bg); font-weight: 600; }
.btn--primary:hover { background: var(--gold-hi); color: var(--bg); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--line-hi); color: var(--text); }
.btn--sm { height: 36px; padding-inline: var(--s4); font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.btn-row { display: flex; gap: var(--s3); flex-wrap: wrap; }

/* ---------- Header ---------- */

.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h); background: rgba(11, 14, 17, .92);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
.header .wrap { height: 100%; display: flex; align-items: center; gap: var(--s6); }

.brand {
  font-weight: 700; font-size: var(--fs-sm); letter-spacing: .14em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: var(--s3);
}
.brand:hover { color: var(--text); }
.brand__mark {
  width: 28px; height: 28px; border-radius: 4px; background: var(--gold); color: var(--bg);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0;
}

.nav { display: flex; gap: var(--s5); margin-left: auto; }
.nav a { font-size: var(--fs-sm); color: var(--text-2); }
.nav a:hover { color: var(--text); }
.header .btn { margin-left: var(--s5); }

@media (max-width: 860px) {
  .nav { display: none; }
  .header .btn { margin-left: auto; }
  .header .wrap { gap: var(--s4); }
}

/* ---------- Hero ---------- */

.hero { padding-block: var(--s9) var(--s8); }
.hero h1 { margin: var(--s5) 0 var(--s5); max-width: 15ch; }
.hero .btn-row { margin-top: var(--s7); }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5);
  margin-top: var(--s9); padding-top: var(--s6); border-top: 1px solid var(--line);
}
.stat__n { font-size: var(--fs-stat); font-weight: 600; line-height: 1; color: var(--gold); letter-spacing: -.02em; }
.stat__l { margin-top: var(--s2); font-size: var(--fs-sm); color: var(--muted); }

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; gap: var(--s5); }
}

/* ---------- Araç şeridi ---------- */

.tools { padding-block: var(--s7); border-top: 1px solid var(--line); }
.tools__list {
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s7); margin-top: var(--s4);
  list-style: none; padding: 0;
}
.tools__list li { color: var(--muted); font-size: var(--fs-lead); font-weight: 500; letter-spacing: -.01em; }

/* ---------- Kart ızgaraları ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s5); }

@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--s6); transition: border-color var(--t);
}
.card:hover { border-color: var(--line-hi); }
.card h3 { margin-bottom: var(--s3); }
.card p + p { margin-top: var(--s3); }
.card__quote { color: var(--text); font-weight: 500; }

/* ---------- Adımlar ---------- */

.steps { display: grid; gap: var(--s5); }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: var(--s5);
  padding-top: var(--s5); border-top: 1px solid var(--line);
}
.step__n { font-size: var(--fs-h2); font-weight: 600; color: var(--gold); line-height: 1.1; letter-spacing: -.02em; }
.step p { margin-top: var(--s2); max-width: 60ch; }

@media (max-width: 560px) {
  .step { grid-template-columns: 1fr; gap: var(--s2); }
}

/* ---------- Rehber bloğu ---------- */

.guide { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s8); align-items: center; }
@media (max-width: 860px) { .guide { grid-template-columns: 1fr; gap: var(--s7); } }

.checklist { list-style: none; padding: 0; margin: var(--s5) 0 var(--s6); display: grid; gap: var(--s3); }
.checklist li {
  display: grid; grid-template-columns: 16px 1fr; gap: var(--s3);
  align-items: baseline; color: var(--text-2);
}
.checklist li::before {
  content: "\2713";              /* onay işareti — ikon dosyası veya SVG gerekmiyor */
  color: var(--gold);
  font-weight: 600;
  line-height: inherit;
}
.micro { font-size: var(--fs-sm); color: var(--muted); margin-top: var(--s3); }

/* PDF kapağı — tipografik poster, tamamen CSS. Fotoğraf yok. */
.cover {
  position: relative; aspect-ratio: 3 / 4; border: 1px solid var(--line);
  border-radius: var(--r-card); background: var(--surface);
  padding: var(--s6); display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
}
.cover::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
          mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.cover::after {
  content: ""; position: absolute; top: 0; right: 0; width: 72px; height: 6px; background: var(--gold);
}
.cover > * { position: relative; }
.cover__t { font-size: clamp(26px, 3.4vw, 38px); font-weight: 600; letter-spacing: -.03em; line-height: 1.05; }
.cover__b { font-size: var(--fs-meta); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Paketler ---------- */

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); align-items: stretch; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.plan { display: flex; flex-direction: column; position: relative; }
.plan--featured { border-color: var(--gold); }
.plan__tag { position: absolute; top: calc(var(--s5) * -1); left: var(--s6); }
.plan__price { font-size: var(--fs-stat); font-weight: 600; letter-spacing: -.02em; line-height: 1; margin: var(--s4) 0 var(--s2); }
.plan__per { font-size: var(--fs-sm); color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: var(--s5) 0 var(--s6); display: grid; gap: var(--s3); }
.plan li { color: var(--text-2); font-size: var(--fs-sm); padding-left: var(--s4); position: relative; }
.plan li::before { content: "—"; position: absolute; left: 0; color: var(--muted); }
.plan .btn { margin-top: auto; }

.offer {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5);
  padding: var(--s5) var(--s6); border: 1px solid var(--line); border-radius: var(--r-card);
  background: transparent; transition: border-color var(--t);
}
.offer:hover { border-color: var(--line-hi); }
.offer + .offer { margin-top: var(--s3); }
.offer__price { color: var(--text); font-weight: 600; white-space: nowrap; }
@media (max-width: 640px) { .offer { flex-direction: column; align-items: flex-start; } }

/* ---------- İçerik kartları ---------- */

.post { display: flex; flex-direction: column; gap: var(--s3); }
.post__meta { display: flex; align-items: center; gap: var(--s3); font-size: var(--fs-meta); color: var(--muted); }
.post h3 { font-size: var(--fs-h3); }

/* ---------- Kurumsal ---------- */

.corp { background: var(--surface-2); border-top: 1px solid var(--line); }
.corp .grid-2 { gap: var(--s8); align-items: start; }
.corp .checklist { margin-bottom: var(--s5); }

.form { display: grid; gap: var(--s4); }
.field { display: grid; gap: var(--s2); }
.field label { font-size: var(--fs-sm); color: var(--text-2); }
.field input, .field select, .field textarea {
  width: 100%; padding: var(--s3) var(--s4); min-height: 44px;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--line); border-radius: var(--r-btn);
  font-family: var(--font); font-size: var(--fs-body);
  transition: border-color var(--t);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }

.consent { display: grid; grid-template-columns: 18px 1fr; gap: var(--s3); align-items: start; }
.consent input { width: 18px; height: 18px; min-height: 0; margin-top: 3px; accent-color: var(--gold); }
.consent label { font-size: var(--fs-meta); color: var(--muted); line-height: 1.5; }
.consent a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }

.form__status { font-size: var(--fs-sm); min-height: 1.5em; }
.form__status--ok  { color: var(--mint); }
.form__status--err { color: var(--coral); }

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

.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s8); align-items: start; }
.faq-layout > .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + var(--s6)); }
@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; gap: var(--s6); }
  .faq-layout > .section-head { position: static; }
}

.faq { max-width: none; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--s5) var(--s7) var(--s5) 0;
  position: relative; font-weight: 500; color: var(--text); transition: color var(--t);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: var(--fs-h3); color: var(--muted); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: var(--s5); max-width: 65ch; }

/* ---------- Footer ---------- */

.footer { border-top: 1px solid var(--line); padding-block: var(--s8) var(--s6); }
.footer__cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s6); }
@media (max-width: 860px) { .footer__cols { grid-template-columns: 1fr 1fr; gap: var(--s6); } }
.footer h4 {
  margin: 0 0 var(--s4); font-size: var(--fs-meta); font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted);
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s3); }
.footer a { color: var(--text-2); font-size: var(--fs-sm); }
.footer a:hover { color: var(--gold); }
.footer__bottom {
  margin-top: var(--s8); padding-top: var(--s5); border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: var(--s5); flex-wrap: wrap;
}
.footer__bottom p { font-size: var(--fs-meta); color: var(--muted); max-width: 60ch; }

/* ---------- Okuma sayfaları (yasal metinler) ---------- */

.doc { max-width: var(--max-read); padding-block: var(--s8); }
.doc h1 { font-size: var(--fs-h2); margin-bottom: var(--s5); }
.doc h2 { font-size: var(--fs-h3); margin: var(--s7) 0 var(--s3); }
.doc p, .doc li { color: var(--text-2); }
.doc ul, .doc ol { padding-left: var(--s5); display: grid; gap: var(--s2); margin: var(--s4) 0; }
.doc p + p { margin-top: var(--s4); }
.doc .placeholder {
  border: 1px dashed var(--line-hi); border-radius: var(--r-btn);
  padding: var(--s4); color: var(--muted); font-size: var(--fs-sm);
}

/* ---------- Belirme ---------- */

/* Belirme efekti bilinçli olarak "js" sınıfına bağlı: JavaScript yüklenmezse
   bölümler hiç gizlenmez ve sayfa olduğu gibi görünür. Aksi hâlde tek bir script
   hatası sayfayı sessizce boş gösterirdi. */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
