/* ════════════════════════════════════════
   SÖZLEŞME SAYFASI - ANA SAYFA UYUMLU STİL
════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  font-family: 'DM Sans', 'Atkinson Hyperlegible', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

#main {
  padding-top: var(--bar-h);
  background-color: var(--bg);
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════════
   KARŞILAMA BÖLÜMÜ
═══════════════════════════════════════════════ */

.welcome-section { 
  padding: 48px 20px 40px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.welcome-eyebrow {
  font-size: calc(11px * var(--fs, 1));
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.welcome-eyebrow::before,
.welcome-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.welcome-title {
  font-family: var(--body-font, 'Cinzel', serif);
  font-size: clamp(26px, 6vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

.welcome-sub {
  font-size: calc(15px * var(--fs, 1));
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   SÖZLEŞME KONTEYNER
═══════════════════════════════════════════════ */

.sozlesme-container {
  padding: 0 20px 60px;
  max-width: 840px;
  margin: 0 auto;
}

.sozlesme-wrapper {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface2) 100%);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.sozlesme-içerik {
  padding: 32px;
}

/* ═══════════════════════════════════════════════
   BÖLÜMLER VE METİN
═══════════════════════════════════════════════ */

.bölüm {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border2);
}

.bölüm:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.bölüm h2 {
  font-family: var(--body-font, 'Cinzel', serif);
  font-size: calc(18px * var(--fs, 1));
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.bölüm p {
  font-size: calc(14px * var(--fs, 1));
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.bölüm p strong {
  color: var(--text);
  font-weight: 600;
}

.bölüm ul {
  list-style: none;
  margin-left: 16px;
  margin-bottom: 12px;
}

.bölüm li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: calc(14px * var(--fs, 1));
  color: var(--text);
  line-height: 1.7;
}

.bölüm li::before {
  content: '▪';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════
   DİNAMİK DEĞERLER
═══════════════════════════════════════════════ */

.dinamik {
  color: var(--accent);
  font-weight: 600;
  padding: 0 4px;
  border-radius: 3px;
  background: var(--accent-dim);
  transition: background 0.2s ease;
}

.dinamik:hover {
  background: var(--accent-glow);
}

/* ═══════════════════════════════════════════════
   ONAY BÖLÜMÜ
═══════════════════════════════════════════════ */

.onay-bölümü {
  border: 2px solid var(--accent-dim);
  border-radius: 8px;
  padding: 24px !important;
  background: var(--accent-dim);
  margin-top: 32px;
  border-bottom: none !important;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 16px;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--accent);
}

.checkbox-label span {
  font-size: calc(14px * var(--fs, 1));
  color: var(--text);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   BUTON
═══════════════════════════════════════════════ */

.btn-confirm {
  width: 100%;
  padding: 14px 24px;
  font-size: calc(14px * var(--fs, 1));
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.btn-confirm:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 168, 67, 0.3);
}

.btn-confirm:active:not(:disabled) {
  transform: translateY(0);
}

.btn-confirm:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════
   UYARI METİNLERİ
═══════════════════════════════════════════════ */

.uyari-text {
  font-size: calc(12px * var(--fs, 1));
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE TASARIM
═══════════════════════════════════════════════ */

@media (max-width: 640px) {
  .welcome-section {
    padding: 32px 16px 24px;
  }

  .welcome-title {
    font-size: clamp(20px, 5vw, 28px);
  }

  .welcome-sub {
    font-size: calc(13px * var(--fs, 1));
  }

  .sozlesme-container {
    padding: 0 16px 40px;
  }

  .sozlesme-içelik {
    padding: 20px;
  }

  .bölüm {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }

  .bölüm h2 {
    font-size: calc(16px * var(--fs, 1));
    margin-bottom: 10px;
  }

  .bölüm p {
    font-size: calc(13px * var(--fs, 1));
  }

  .onay-bölümü {
    padding: 16px !important;
  }

  .checkbox-label {
    gap: 10px;
  }
}
