/* Furniture shared by the tool detail pages: the dark hero, the stat tiles,
   the light content sections, tables, cards and the FAQ accordion. A tool's
   own stylesheet only carries what is unique to that tool. */

.tp-hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.tp-hero h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 600;
  line-height: 48px;
  letter-spacing: -0.8px;
  margin: 0;
}

.tp-hero p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 17px;
  line-height: 26px;
  margin: 0;
}

.tp-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tp-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  border-radius: 16px;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.tp-stat-value {
  color: #fff;
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: -0.6px;
}

.tp-stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.tp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  /* A pill button that breaks its label across two lines grows taller than the
     row it sits in; the English labels are longer than the Turkish ones, so
     this only ever showed up on /en/. */
  white-space: nowrap;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.tp-btn--primary {
  background: #6e00ff;
  color: #fff;
}

.tp-btn--primary:hover {
  opacity: 0.88;
}

.tp-btn--ghost {
  border: 0.5px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.tp-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.tp-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 64px 0;
}

.tp-section h2 {
  color: #0d001f;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 0;
}

.tp-section h3 {
  color: #0d001f;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.tp-section p {
  color: rgba(13, 0, 31, 0.66);
  font-size: 16px;
  line-height: 26px;
  margin: 0;
}

.tp-lead {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 860px;
}

.tp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: tt-step;
}

.tp-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #e8e8f0;
  background: #fff;
}

.tp-step::before {
  counter-increment: tt-step;
  content: counter(tt-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(110, 0, 255, 0.1);
  color: #6e00ff;
  font-size: 15px;
  font-weight: 600;
}

.tp-table-wrap {
  overflow-x: auto;
}

.tp-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
}

.tp-table th,
.tp-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8e8f0;
  font-size: 15px;
  line-height: 24px;
}

.tp-table th {
  color: #0d001f;
  font-weight: 600;
  background: #f7f7fa;
}

.tp-table td {
  color: rgba(13, 0, 31, 0.66);
}

.tp-table td:first-child {
  color: #0d001f;
  font-weight: 600;
  white-space: nowrap;
}

.tp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tp-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid #e8e8f0;
  background: #fff;
}

.tp-card--link {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.tp-card--link:hover {
  border-color: #6e00ff;
  transform: translateY(-2px);
  text-decoration: none;
}

.tp-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(110, 0, 255, 0.1);
  color: #6e00ff;
  font-size: 22px;
}

.tp-faq {
  display: flex;
  flex-direction: column;
  padding: 64px 0;
}

.tp-faq h2 {
  color: #0d001f;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 0 0 24px 0;
}

.tp-faq-item {
  border-bottom: 1px solid #e8e8f0;
}

.tp-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  border: none;
  background: transparent;
  color: #0d001f;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.tp-faq-question i {
  color: rgba(13, 0, 31, 0.52);
  font-size: 22px;
}

.tp-faq-answer {
  display: none;
  padding-bottom: 20px;
  color: rgba(13, 0, 31, 0.66);
  font-size: 16px;
  line-height: 26px;
}

.tp-faq-item.is-open .tp-faq-answer {
  display: block;
}

@media (max-width: 1200px) {
  .tp-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .tp-steps,
  .tp-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tp-hero {
    margin-bottom: 24px;
  }

  .tp-hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .tp-hero p {
    font-size: 15px;
  }

  .tp-stat {
    padding: 12px 16px;
  }

  .tp-stat-value {
    font-size: 24px;
    line-height: 32px;
  }

  .tp-section,
  .tp-faq {
    padding: 40px 0;
  }

  .tp-section h2,
  .tp-faq h2 {
    font-size: 24px;
  }

  .tp-steps,
  .tp-cards {
    grid-template-columns: 1fr;
  }
}
