/* =============================================================================
   /tdpyesor — TDP'ye Sor tanıtım (landing) sayfası.
   Sohbet ekranı ayrı (/tdpyesor/sohbet, page-tdpyesor.css). Bu sayfa site
   kimliğiyle konuşur; Bricolage yalnız büyük başlıklarda.
   ============================================================================= */

:root {
  --ask-red: #c41e3a;
  --ask-red-deep: #9a1730;
  --ask-ink: #0f0f14;
  --ask-ink-2: #1a1a2e;
  --ask-muted: #5f6672;
  --ask-line: #e6e8ee;
  --ask-soft: #f6f7fa;
  --ask-display: 'Bricolage Grotesque', 'Roboto', system-ui, sans-serif;
}

/* ───── Ortak ───── */

.tdp-ask-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ask-red);
}

.tdp-ask-kicker--line::before {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--ask-red);
}

.tdp-ask-section-head {
  max-width: 720px;
  margin: 0 auto 44px;
  text-align: center;
}

.tdp-ask-section-head .tdp-ask-kicker--line::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--ask-red);
}

.tdp-ask-section-head h2 {
  margin: 14px 0 12px;
  font-family: var(--ask-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ask-ink-2);
}

.tdp-ask-section-head p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ask-muted);
}

.tdp-ask-btn-primary,
.tdp-ask-btn-white,
.tdp-ask-btn-outline,
.tdp-ask-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tdp-ask-btn-primary {
  background: var(--ask-red);
  color: #fff;
  box-shadow: 0 12px 30px rgba(196, 30, 58, 0.28);
}

.tdp-ask-btn-primary:hover,
.tdp-ask-btn-primary:focus-visible {
  background: var(--ask-red-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(196, 30, 58, 0.34);
}

.tdp-ask-btn-ghost {
  padding-left: 12px;
  padding-right: 12px;
  color: var(--ask-ink-2);
}

.tdp-ask-btn-ghost:hover {
  color: var(--ask-red);
}

.tdp-ask-btn-white {
  background: #fff;
  color: var(--ask-red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tdp-ask-btn-white:hover,
.tdp-ask-btn-white:focus-visible {
  color: var(--ask-red-deep);
  transform: translateY(-2px);
}

.tdp-ask-btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}

.tdp-ask-btn-outline:hover,
.tdp-ask-btn-outline:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* ───── Hero ───── */

.tdp-ask-hero {
  position: relative;
  padding: clamp(150px, 16vw, 190px) 0 clamp(60px, 7vw, 96px);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(196, 30, 58, 0.14), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(26, 26, 46, 0.08), transparent 60%),
    #fff;
  overflow: hidden;
}

.tdp-ask-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.tdp-ask-hero-copy h1 {
  margin: 18px 0 20px;
  font-family: var(--ask-display);
  font-size: clamp(52px, 7.5vw, 96px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--ask-ink);
}

.tdp-ask-dot {
  color: var(--ask-red);
}

.tdp-ask-lead {
  max-width: 560px;
  margin: 0 0 30px;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.7;
  color: var(--ask-muted);
}

.tdp-ask-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-bottom: 30px;
}

.tdp-ask-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.tdp-ask-chips-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ask-muted);
  margin-right: 4px;
}

.tdp-ask-chip {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border: 1px solid var(--ask-line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ask-ink-2);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tdp-ask-chip:hover,
.tdp-ask-chip:focus-visible {
  border-color: var(--ask-red);
  color: var(--ask-red);
  transform: translateY(-1px);
}

/* Sohbet önizlemesi */

.tdp-ask-preview {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  border: 1px solid var(--ask-line);
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 30px 80px rgba(15, 15, 20, 0.12),
    0 4px 14px rgba(15, 15, 20, 0.05);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transform: rotate(-1deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tdp-ask-preview:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow:
    0 36px 90px rgba(15, 15, 20, 0.16),
    0 4px 14px rgba(15, 15, 20, 0.06);
}

.tdp-ask-preview-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ask-line);
}

.tdp-ask-preview-head img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.tdp-ask-preview-head strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ask-ink);
}

.tdp-ask-preview-head span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ask-muted);
}

.tdp-ask-preview-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}

.tdp-ask-preview-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  background: var(--ask-soft);
}

.tdp-ask-bubble {
  max-width: 86%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
}

.tdp-ask-bubble--user {
  align-self: flex-end;
  background: var(--ask-red);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.tdp-ask-bubble--bot {
  align-self: flex-start;
  background: #fff;
  color: var(--ask-ink-2);
  border: 1px solid var(--ask-line);
  border-bottom-left-radius: 4px;
}

.tdp-ask-typing {
  display: inline-flex;
  gap: 5px;
  align-self: flex-start;
  padding: 12px 16px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  background: #fff;
  border: 1px solid var(--ask-line);
}

.tdp-ask-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b8bcc6;
  animation: tdp-ask-blink 1.2s infinite ease-in-out;
}

.tdp-ask-typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.tdp-ask-typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes tdp-ask-blink {
  0%,
  80%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.tdp-ask-preview-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: 14px;
  color: #9aa0ab;
  border-top: 1px solid var(--ask-line);
}

.tdp-ask-preview-input b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ask-red);
  color: #fff;
  font-weight: 700;
}

/* ───── Neden ───── */

.tdp-ask-why {
  padding: clamp(64px, 8vw, 100px) 0;
  background: var(--ask-ink-2);
  color: #fff;
}

.tdp-ask-why .tdp-ask-section-head h2 {
  color: #fff;
}

.tdp-ask-why .tdp-ask-section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.tdp-ask-why .tdp-ask-kicker {
  color: #ff6b81;
}

.tdp-ask-why .tdp-ask-kicker--line::before,
.tdp-ask-why .tdp-ask-kicker--line::after {
  background: #ff6b81;
}

.tdp-ask-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tdp-ask-why-card {
  position: relative;
  padding: 32px 28px 30px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tdp-ask-why-num {
  display: block;
  margin-bottom: 18px;
  font-family: var(--ask-display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ff6b81;
}

.tdp-ask-why-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}

.tdp-ask-why-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.74);
}

/* ───── Nasıl çalışır ───── */

.tdp-ask-how {
  padding: clamp(64px, 8vw, 100px) 0;
  background: #fff;
  scroll-margin-top: 90px;
}

.tdp-ask-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.tdp-ask-steps li {
  position: relative;
  list-style: none;
  padding: 30px 26px 28px;
  border-radius: 18px;
  background: var(--ask-soft);
  border: 1px solid var(--ask-line);
}

/* Site CSS'i li::before ile sayaç basıyor — burada rozet kullanıyoruz */
.tdp-ask-steps li::before,
.tdp-ask-steps li::marker {
  content: none;
  display: none;
}

.tdp-ask-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--ask-red);
  color: #fff;
  font-family: var(--ask-display);
  font-size: 18px;
  font-weight: 800;
}

.tdp-ask-steps h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
  color: var(--ask-ink-2);
}

.tdp-ask-steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ask-muted);
}

/* ───── Konular ───── */

.tdp-ask-topics {
  padding: clamp(64px, 8vw, 100px) 0;
  background: var(--ask-soft);
}

.tdp-ask-topics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tdp-ask-topic {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--ask-line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.tdp-ask-topic:hover,
.tdp-ask-topic:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(196, 30, 58, 0.4);
  box-shadow: 0 20px 50px rgba(26, 26, 46, 0.1);
}

.tdp-ask-topic-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 13px;
  background: rgba(196, 30, 58, 0.08);
  color: var(--ask-red);
}

.tdp-ask-topic h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ask-ink-2);
}

.tdp-ask-topic p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ask-muted);
}

.tdp-ask-topic-q {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--ask-line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ask-red);
}

.tdp-ask-trust {
  max-width: 760px;
  margin: 36px auto 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: #8a909b;
}

/* ───── Alt CTA ───── */

.tdp-ask-cta {
  padding: clamp(56px, 7vw, 84px) 0;
  background: linear-gradient(135deg, var(--ask-red) 0%, var(--ask-red-deep) 100%);
}

.tdp-ask-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  max-width: 1040px;
  margin: 0 auto;
}

.tdp-ask-cta h2 {
  margin: 0 0 8px;
  font-family: var(--ask-display);
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
}

.tdp-ask-cta p {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.tdp-ask-cta-actions {
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

/* ───── Responsive ───── */

@media (max-width: 991px) {
  .tdp-ask-hero-grid {
    grid-template-columns: 1fr;
  }

  .tdp-ask-preview {
    margin: 8px 0 0;
    max-width: 520px;
    transform: none;
  }

  .tdp-ask-why-grid,
  .tdp-ask-steps,
  .tdp-ask-topics-grid {
    grid-template-columns: 1fr;
  }

  .tdp-ask-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575px) {
  .tdp-ask-hero {
    padding-top: 120px;
  }

  .tdp-ask-hero-actions .tdp-ask-btn-primary {
    width: 100%;
  }

  .tdp-ask-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .tdp-ask-cta-actions a {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tdp-ask-typing span {
    animation: none;
    opacity: 0.6;
  }

  .tdp-ask-preview,
  .tdp-ask-topic,
  .tdp-ask-btn-primary,
  .tdp-ask-btn-white,
  .tdp-ask-chip {
    transition: none;
  }
}
