/*
 * AOS tanıtım sayfası — tek dosya, dış bağımlılık yok.
 *
 * Sayfa kendi kendine yeter: yazı tipi sistemden gelir, görseller aynı
 * kökenden servis edilir, hiçbir CDN'e istek gitmez. Tanıtım sayfası
 * ziyaretçinin ürüne ilk bakışıdır; üçüncü taraf bir istek yavaşlarsa ya da
 * engellenirse sayfa bozulmamalı.
 */

:root {
  --primary: #2251cc;
  --primary-hover: #1a41a6;
  --primary-soft: #eaf0ff;
  --ink: #17233b;
  --muted: #6b7891;
  --surface: #ffffff;
  --surface-alt: #f5f7fb;
  --border: #e3e8f0;
  --dark: #0e1729;
  --dark-soft: #16213a;
  --ok: #1d7f4e;
  --radius: 14px;
  --shadow: 0 0 0 1px rgba(23, 35, 59, 0.045), 0 1px 2px rgba(23, 35, 59, 0.04),
    0 8px 24px -12px rgba(23, 35, 59, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

a { color: var(--primary); }

/* ---------- Üst şerit ---------- */
header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 -1px 0 var(--border);
}
.head-inner {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 22px; max-width: 1080px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; }
.brand svg { flex-shrink: 0; }
.brand-name { font-weight: 700; }
/* Marka etiketi ikincildir; ada bir ayraçla bağlanır, dar ekranda gizlenir. */
.brand-tag { font-weight: 500; font-size: 0.82rem; color: var(--muted); }
.brand-tag::before { content: "— "; }
/* Uzun başlık dar masaüstünü sıkıştırmasın: yalnız geniş ekranda görünür. */
@media (max-width: 960px) { .brand-tag { display: none; } }
.head-spacer { flex: 1; }
.langs { display: flex; gap: 4px; font-size: 0.82rem; }
.langs a {
  color: var(--muted); text-decoration: none; padding: 3px 7px; border-radius: 6px;
}
.langs a:hover { background: var(--surface-alt); }
.langs a[aria-current='true'] { color: var(--ink); font-weight: 700; background: var(--primary-soft); }

.btn {
  display: inline-block; padding: 9px 18px; border-radius: 9px;
  background: var(--primary); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 0.92rem; border: none; cursor: pointer;
  transition: background 0.16s ease;
}
.btn:hover { background: var(--primary-hover); }
.btn-ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--border);
}
.btn-ghost:hover { background: var(--surface-alt); }
.btn-lg { padding: 14px 30px; font-size: 1.02rem; }
/* Urun Rehberi: dikkat cekici ama birincil cagriyla yarismayan yumusak vurgu. */
.btn-guide {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--primary-soft); color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(34, 81, 204, 0.22);
}
.btn-guide:hover { background: #dbe6ff; }
.btn-guide svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-guide .pulse { animation: guidePulse 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes guidePulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .btn-guide .pulse { animation: none; } }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(168deg, #f7f9fe 0%, #eaf0ff 58%, #dfe8ff 100%);
  padding: 74px 0 66px;
  text-align: center;
}
.hero h1 {
  font-size: 2.85rem; line-height: 1.16; letter-spacing: -0.03em;
  margin: 0 auto 18px; max-width: 15ch;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero .lede {
  font-size: 1.13rem; color: #3d4a63; max-width: 62ch; margin: 0 auto 28px;
}
.trust {
  margin-top: 18px; font-size: 0.86rem; color: var(--muted);
}
.trust strong { color: var(--ink); }
.hero-shot { margin: 44px auto 0; max-width: 940px; }

/* ---------- Bölümler ---------- */
section { padding: 66px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { text-align: center; max-width: 62ch; margin: 0 auto 40px; }
.section-head h2 {
  font-size: 1.95rem; letter-spacing: -0.025em; margin: 0 0 10px;
}
.section-head p { color: var(--muted); margin: 0; }

.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-soft);
  padding: 4px 11px; border-radius: 99px;
}

/* ---------- Kartlar ---------- */
.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.card {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px 24px 26px;
}
.card h3 { margin: 14px 0 8px; font-size: 1.06rem; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.card-icon {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary);
  box-shadow: inset 0 0 0 1px rgba(34, 81, 204, 0.09);
}

/* Zincir şeridi: toplantı → gündem → karar → aksiyon */
.chain {
  display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-top: 8px;
}
.chain-step {
  flex: 1 1 190px; background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 20px; text-align: left;
  position: relative;
}
.chain-step::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--primary);
}
.chain-step h4 { margin: 6px 0 5px; font-size: 0.98rem; }
.chain-step p { margin: 0; font-size: 0.87rem; color: var(--muted); }
.chain-num {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--primary); text-transform: uppercase;
}

/* ---------- Ürün görselleri ---------- */
.shots { display: grid; gap: 20px; }
.shot {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
  padding: 13px 20px; font-size: 0.88rem; color: var(--muted);
  box-shadow: inset 0 1px 0 var(--border);
}
.shots-pair { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

/* ---------- Adımlar ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 18px; padding: 18px 0; align-items: flex-start; }
.step + .step { box-shadow: inset 0 1px 0 var(--border); }
.step-no {
  counter-increment: step; flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 0.9rem;
}
.step-no::before { content: counter(step); }
.step h3 { margin: 4px 0 5px; font-size: 1.04rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Koyu güvenlik şeridi ---------- */
.band { background: var(--dark); color: #e6ecf8; }
.band h2 { color: #fff; }
.band .section-head p { color: #9fadc7; }
.band-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.band-item {
  background: var(--dark-soft); border-radius: var(--radius); padding: 20px 22px;
}
.band-item h3 { margin: 0 0 7px; font-size: 1rem; color: #fff; }
.band-item p { margin: 0; color: #9fadc7; font-size: 0.9rem; }
.band-cta { text-align: center; margin-top: 38px; }
.band-checks {
  display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center;
  margin-top: 22px; font-size: 0.87rem; color: #9fadc7;
}

/* ---------- Alt bilgi ---------- */
footer {
  padding: 34px 0; font-size: 0.86rem; color: var(--muted);
  box-shadow: inset 0 1px 0 var(--border);
}
.foot-inner { display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 16px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--primary); text-decoration: underline; }

/* ---------- İletişim kutusu ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(14, 23, 41, 0.55);
  display: grid; place-items: center; padding: 20px;
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: var(--surface); border-radius: var(--radius);
  width: min(480px, 100%); max-height: 90vh; overflow: auto;
  box-shadow: 0 12px 40px rgba(16, 26, 48, 0.28);
}
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; box-shadow: inset 0 -1px 0 var(--border);
  position: sticky; top: 0; background: var(--surface);
}
.modal-head h3 { margin: 0; font-size: 1.02rem; }
.modal-close {
  border: none; background: transparent; font-size: 1.3rem; line-height: 1;
  cursor: pointer; color: var(--muted); padding: 4px 8px; border-radius: 6px;
}
.modal-close:hover { background: var(--surface-alt); }
.modal-body { padding: 18px 20px 22px; }
.modal-body label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 5px; }
.modal-body input,
.modal-body textarea {
  width: 100%; padding: 9px 11px; margin-bottom: 14px;
  border: 1px solid var(--border); border-radius: 8px;
  font: inherit; font-size: 0.93rem; color: var(--ink); background: var(--surface);
}
.modal-body input:focus,
.modal-body textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.modal-status { margin: 12px 0 0; font-size: 0.88rem; }
.modal-status.ok { color: var(--ok); }
.modal-status.err { color: #c22f3d; }

/* Bal küpü: insan görmez, bot doldurur. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Hukuki metin sayfaları ----------
   Tanıtım sayfasıyla aynı stil dosyasını kullanır: metinler ürünün parçasıdır,
   ayrı bir görsel dünya kurmak onları siteden kopuk gösterirdi. Okuma kolonu
   dar tutulur — uzun hukuki metinde satır uzunluğu okunabilirliğin kendisidir. */
.legal { max-width: 820px; margin: 0 auto; padding: 44px 22px 72px; }
.legal h1 { font-size: 1.9rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.legal .updated { color: var(--muted); font-size: 0.86rem; margin: 0 0 30px; }
.legal h2 {
  font-size: 1.12rem; margin: 30px 0 10px; letter-spacing: -0.01em;
  padding-top: 18px; box-shadow: inset 0 1px 0 var(--border);
}
.legal h2:first-of-type { box-shadow: none; padding-top: 0; }
.legal h3 { font-size: 0.98rem; margin: 20px 0 8px; }
.legal p, .legal li { font-size: 0.97rem; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 14px; padding-left: 20px; }
.legal li { margin-bottom: 7px; }

/* Doldurulması gereken alan — yayına çıkmadan önce göze batmalı. */
.legal .placeholder {
  background: #fdf3e0; color: #7a5210; border-radius: 4px;
  padding: 1px 6px; font-weight: 600; font-size: 0.9em;
}
.legal .notice {
  background: var(--primary-soft); border-radius: var(--radius);
  padding: 14px 18px; margin: 0 0 26px; font-size: 0.92rem;
}

@media (max-width: 640px) {
  .hero { padding: 52px 0 46px; }
  .hero h1 { font-size: 2rem; max-width: none; }
  .hero .lede { font-size: 1rem; }
  section { padding: 46px 0; }
  .section-head h2 { font-size: 1.55rem; }
  .head-inner { flex-wrap: wrap; gap: 10px; }
  .head-spacer { flex-basis: 100%; height: 0; order: -1; }
}

/* ── Karşılama botu ───────────────────────────────────────────── */
#aos-chat { position: fixed; right: 18px; bottom: 18px; z-index: 90; font-family: inherit; }
#aos-chat-fab {
  width: 54px; height: 54px; border-radius: 50%;
  border: none; cursor: pointer; font-size: 1.5rem;
  background: #2251cc; color: #fff;
  box-shadow: 0 8px 24px rgba(23, 35, 59, 0.28);
}
/* display:flex, hidden özniteliğinin tarayıcı varsayılanını (display:none)
   ezer — panel kapatma düğmesine rağmen ekranda kalıyordu. Öznitelik kazanır. */
#aos-chat-panel[hidden] { display: none; }
#aos-chat-panel {
  position: absolute; right: 0; bottom: 66px;
  width: min(340px, calc(100vw - 36px));
  display: flex; flex-direction: column;
  background: #fff; color: #17233b;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 16px 48px rgba(23, 35, 59, 0.28);
}
#aos-chat-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px; background: #2251cc; color: #fff;
}
#aos-chat-close { border: none; background: none; color: #fff; font-size: 1.2rem; cursor: pointer; }
#aos-chat-log {
  max-height: 300px; min-height: 120px; overflow-y: auto;
  padding: 12px; display: flex; flex-direction: column; gap: 8px;
}
.aos-chat-msg {
  max-width: 88%; padding: 8px 11px; border-radius: 12px;
  background: #f1f4fa; font-size: 0.88rem; line-height: 1.45;
}
.aos-chat-mine { align-self: flex-end; background: #eaf0ff; }
.aos-chat-contact {
  border: none; cursor: pointer; font: inherit;
  color: #2251cc; font-weight: 600; background: none; padding: 0;
}
#aos-chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 8px; }
#aos-chat-quick button {
  border: 1px solid #d7deeb; background: #fff; cursor: pointer;
  border-radius: 99px; padding: 5px 11px; font-size: 0.78rem; color: #2251cc;
}
#aos-chat-form { display: flex; gap: 6px; padding: 10px 12px; border-top: 1px solid #e6eaf2; }
#aos-chat-form input {
  flex: 1; border: 1px solid #d7deeb; border-radius: 10px;
  padding: 8px 10px; font: inherit;
}
#aos-chat-form button {
  border: none; background: #2251cc; color: #fff;
  border-radius: 10px; padding: 0 13px; cursor: pointer;
}
