/* ==========================================================================
   TERAPİYLE - LEGAL & POLICY PAGES STYLESHEET (legal.css)
   ========================================================================== */

.legal-page-body {
  background-color: #f8fafc;
  color: #1e293b;
  padding-top: 130px;
  min-height: 100vh;
}

/* --------------------------------------------------------------------------
   1. LEGAL HERO & HEADER
   -------------------------------------------------------------------------- */
.legal-hero-section {
  padding: 24px 0 36px;
  background: linear-gradient(180deg, rgba(240, 247, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 36px;
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 16px;
}

.legal-breadcrumb a {
  color: #0e82fd;
  text-decoration: none;
  transition: color 0.2s;
}

.legal-breadcrumb a:hover {
  text-decoration: underline;
}

.legal-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 130, 253, 0.08);
  color: #0e82fd;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 9999px;
  margin-bottom: 12px;
  border: 1px solid rgba(14, 130, 253, 0.18);
  letter-spacing: 0.02em;
}

.legal-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.legal-hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #64748b;
}

.legal-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-meta-item i {
  color: #0e82fd;
}

/* --------------------------------------------------------------------------
   2. LEGAL NAV PILLS
   -------------------------------------------------------------------------- */
.legal-nav-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 28px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.legal-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.legal-nav-link:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}

.legal-nav-link.active {
  background: #0e82fd;
  color: #ffffff;
  border-color: #0e82fd;
  box-shadow: 0 4px 12px rgba(14, 130, 253, 0.25);
}

/* --------------------------------------------------------------------------
   3. LEGAL CONTENT CARD
   -------------------------------------------------------------------------- */
.legal-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  margin-bottom: 60px;
}

@media (max-width: 768px) {
  .legal-page-body {
    padding-top: 110px;
  }
  .legal-content-card {
    padding: 26px 20px;
    border-radius: 18px;
  }
  .legal-hero-title {
    font-size: 1.75rem;
  }
}

.legal-content-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #334155;
}

.legal-content-body h2,
.legal-content-body h3,
.legal-content-body h4 {
  color: #0f172a;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 32px;
  margin-bottom: 14px;
}

.legal-content-body h2 {
  font-size: 1.45rem;
  border-bottom: 1.5px solid #f1f5f9;
  padding-bottom: 10px;
}

.legal-content-body h3 {
  font-size: 1.2rem;
}

.legal-content-body p {
  margin-bottom: 18px;
}

.legal-content-body strong {
  color: #0f172a;
  font-weight: 700;
}

.legal-content-body ul,
.legal-content-body ol {
  margin-bottom: 22px;
  padding-left: 24px;
}

.legal-content-body li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.legal-content-body a {
  color: #0e82fd;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content-body a:hover {
  color: #0b6bc7;
}

.legal-callout-box {
  background: #f0f7ff;
  border-left: 4px solid #0e82fd;
  border-radius: 0 16px 16px 0;
  padding: 20px 24px;
  margin: 28px 0;
}

.legal-callout-box h4 {
  margin-top: 0;
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 8px;
}

.legal-callout-box p:last-child {
  margin-bottom: 0;
}
