/* Çok sayfalı yapı: iç sayfa açılışı, rehber blokları, SSS, ilgili sayfalar, CTA, yasal metin */

/* ---------- Ortak ---------- */
.section-link { margin-top: clamp(24px, 3vw, 36px); }
.section-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color .2s, border-color .2s;
}
.section-link a:hover { color: var(--akin-plum); border-color: currentColor; }
.section-link svg { width: 16px; height: 16px; }

.page-title {
  font-size: clamp(2.25rem, 1.55rem + 2.6vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.page-title .soft { display: block; color: var(--muted-2); }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: var(--fs-micro); color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: var(--muted-2); }
.breadcrumb a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb [aria-current] { color: var(--ink-2); }

.page-meta { font-size: var(--fs-micro); color: var(--muted); }
.page-meta a { color: var(--akin-plum); }

/* ---------- İç sayfa açılışı ---------- */
.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px);
  border-top: 0;
}
.page-hero::before, .page-hero::after { display: none; }
.page-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; min-width: 0; }
.page-hero__copy .lead { max-width: 36em; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
/* Gölge kapsayıcıda: kürenin clip-path'i kendi gölgesini de keserdi; burada kırpılmış dairenin gölgesi düşer */
.page-hero__visual { justify-self: center; width: min(100%, 380px); filter: drop-shadow(0 30px 60px rgba(54, 25, 57, .18)); }
.page-hero__visual .orb { width: 100%; }
.page-hero--contact { display: block; }

@media (max-width: 900px) {
  .page-hero { grid-template-columns: minmax(0, 1fr); }
  .page-hero__visual { display: none; }
}

/* ---------- Adımlar ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step-card__n { font-size: var(--fs-micro); font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted-2); }
.step-card h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }
.step-card p { font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 900px) { .steps-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Rehber blokları ---------- */
.editorial {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  align-items: start;
  gap: clamp(24px, 5vw, 88px);
}
.editorial__head { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; gap: 14px; }
.editorial__body { display: flex; flex-direction: column; gap: clamp(28px, 3vw, 40px); min-width: 0; }
.qa h3 { font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); letter-spacing: -.02em; margin-bottom: 10px; }
.qa p, .mistakes li { color: var(--ink-2); line-height: 1.7; max-width: 40em; }
.qa a, .faq-item__body a, .compare__item a, .scope-item a, .prose a {
  color: var(--akin-plum);
  text-decoration: underline;
  text-decoration-color: rgba(129, 28, 98, .35);
  text-underline-offset: 3px;
}
.qa a:hover, .faq-item__body a:hover, .compare__item a:hover, .scope-item a:hover, .prose a:hover { text-decoration-color: currentColor; }
.mistakes { padding: clamp(20px, 2.6vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.mistakes h3 { font-size: var(--fs-h3); font-weight: 500; margin-bottom: 12px; }
.mistakes ul { display: flex; flex-direction: column; gap: 8px; }
.mistakes li { position: relative; padding-left: 22px; }
.mistakes li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: var(--akin-ember); }
@media (max-width: 900px) {
  .editorial { grid-template-columns: minmax(0, 1fr); }
  .editorial__head { position: static; }
}

/* ---------- SSS ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 88px); align-items: start; }
.faq__head { display: flex; flex-direction: column; gap: 14px; }
.faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--line); min-width: 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  letter-spacing: -.01em;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); transition: transform .3s var(--ease-out), background-color .2s; }
.faq-item__icon svg { width: 16px; height: 16px; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--surface-2); }
.faq-item__body { padding-bottom: 22px; }
.faq-item__body p { color: var(--ink-2); line-height: 1.7; max-width: 42em; }
@media (max-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- İlgili sayfalar ---------- */
.related { padding-block: clamp(48px, 6vw, 80px); }
.related__label { font-size: var(--fs-small); font-weight: 500; color: var(--muted); margin-bottom: 16px; }
.related__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.related-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: background-color .25s, border-color .25s;
}
.related-link:hover { background: var(--bg); border-color: var(--line-strong); }
.related-link .orb { flex: none; width: 40px; }
.related-link > span:not(.orb) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.related-link strong { font-weight: 500; }
.related-link small { font-size: var(--fs-micro); color: var(--muted); }
.related-link svg { flex: none; width: 18px; height: 18px; color: var(--muted); }
.related-link--hub { background: var(--bg); }
@media (max-width: 900px) { .related__links { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA bandı ---------- */
/* Kapanış sahnesi: koyu bant ve hemen ardından koyu alt bilgi; içerik sayfa kapsayıcısına hizalı, zemin tam genişlik */
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: clamp(72px, 9vw, 128px) max(var(--gutter), calc((100vw - var(--container)) / 2));
  overflow: hidden;
  border-top: 0;
  background:
    radial-gradient(60% 90% at 88% 40%, rgba(249, 126, 41, .22), transparent 70%),
    radial-gradient(50% 80% at 8% 100%, rgba(167, 57, 108, .28), transparent 70%),
    var(--dark);
  color: var(--on-dark);
}
.cta-band::before, .cta-band::after { display: none; }
.cta-band .h2 { color: var(--on-dark); }
.cta-band .h2 .soft { color: rgba(255, 255, 255, .5); }
.cta-band .lead { color: var(--on-dark-muted); }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 640px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.cta-band__actions .btn--glass svg { color: #4ADE80; }
.cta-band__orb { width: clamp(160px, 22vw, 280px); }
@media (max-width: 700px) {
  .cta-band { grid-template-columns: minmax(0, 1fr); }
  .cta-band__orb { display: none; }
}

/* ---------- Karşılaştırma, satırlar, çipler ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.compare__item, .scope-item { padding: clamp(20px, 2.6vw, 28px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg); }
.compare__item h3, .scope-item h3 { font-size: var(--fs-h3); font-weight: 500; margin-bottom: 8px; }
.compare__item p, .scope-item p { color: var(--ink-2); line-height: 1.65; }
@media (max-width: 760px) { .compare { grid-template-columns: minmax(0, 1fr); } }

/* Kapsam: yeteneğin alt hizmetleri (yetenek sayfaları, sayfalar._scope_section) */
.scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .scope-grid { grid-template-columns: minmax(0, 1fr); } }

.cap-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.cap-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.2fr) 24px;
  align-items: center;
  gap: 20px;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  transition: background-color .25s;
}
.cap-row:hover { background: var(--surface); }
.cap-row .orb { width: 44px; }
.cap-row__title { font-size: clamp(1.25rem, 1.1rem + .5vw, 1.625rem); letter-spacing: -.02em; }
.cap-row__desc { color: var(--muted); }
.cap-row__arrow svg { width: 20px; height: 20px; color: var(--muted); transition: transform .3s var(--ease-out); }
.cap-row:hover .cap-row__arrow svg { transform: translateX(4px); color: var(--ink); }
@media (max-width: 700px) {
  .cap-row { grid-template-columns: 40px minmax(0, 1fr) 20px; row-gap: 4px; }
  .cap-row .orb { width: 40px; grid-row: span 2; }
  .cap-row__desc { grid-column: 2; font-size: var(--fs-small); }
  .cap-row__arrow { grid-column: 3; grid-row: 1 / span 2; }
}

.sec-body > .chip-cloud { justify-content: flex-start; max-width: none; min-height: 0; }

/* ---------- Yapay zekâ demosu (tek kart: brief) ---------- */
.ai-grid--1 { grid-template-columns: minmax(0, 1fr); max-width: 560px; }

/* Yazılım paneli: otomasyon görünümü */
.flow-list { display: flex; flex-direction: column; margin-top: 16px; }
.flow-list .auto-row { padding-block: 12px; }
.soft-view.is-active .flow-list li { animation: rise-in .5s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms); }

/* Sektör panelleri */
.sectors__panels { margin-top: auto; }

/* ---------- İletişim ---------- */
.step__title { font-size: var(--fs-h3); font-weight: 500; }
.nap-block { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.nap-block address, .footer-nap { display: flex; flex-direction: column; gap: 10px; font-style: normal; }
.nap-block a, .nap-block span, .footer-nap a, .footer-nap span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.nap-block svg, .footer-nap svg { flex: none; width: 18px; height: 18px; color: var(--muted); }
.consent a { color: var(--akin-plum); text-decoration: underline; text-underline-offset: 3px; }
.form-success h2 { font-size: 1.75rem; letter-spacing: -.03em; }
.footer-col__title a { color: inherit; }
.footer-col__title a:hover { color: var(--ink); }

/* ---------- Yasal metin ve 404 ---------- */
.legal { display: flex; flex-direction: column; gap: 18px; padding-block: clamp(40px, 6vw, 88px); }
.legal .lead { max-width: 44em; }
.prose { max-width: 44em; margin-top: 12px; }
.prose h2 { margin-top: 36px; margin-bottom: 10px; font-size: clamp(1.25rem, 1.1rem + .4vw, 1.5rem); letter-spacing: -.02em; }
.prose p { color: var(--ink-2); line-height: 1.75; margin-bottom: 12px; }

.notfound { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding-block: clamp(64px, 9vw, 128px); }
.notfound .lead { max-width: 34em; }
.notfound__orb { width: 140px; }
.notfound .page-hero__actions { justify-content: center; }
