/* ── Legal Pages Shared Styles ──────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #060B18;
  color: #CBD5E1;
  min-height: 100vh;
  line-height: 1.7;
}

/* ── Topbar ───────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 2rem;
  background: rgba(6, 11, 24, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.08);
}
.topbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.topbar-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.topbar-brand span {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #38BDF8, #1565C0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Language Switcher ────────────────────── */
.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.lang-btn {
  padding: 5px 12px;
  border: none;
  background: transparent;
  color: #94A3B8;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.5px;
}
.lang-btn.active {
  background: linear-gradient(135deg, #1565C0, #1E40AF);
  color: #fff;
  box-shadow: 0 2px 10px rgba(21, 101, 192, 0.35);
}
.lang-btn:hover:not(.active) {
  color: #E2E8F0;
  background: rgba(255, 255, 255, 0.06);
}

/* ── Legal Container ─────────────────────── */
.legal-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.legal-content {
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Typography ──────────────────────────── */
.legal-content h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #F1F5F9;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.legal-content .meta {
  color: #64748B;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #E2E8F0;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  padding-top: 0.5rem;
}
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-content p {
  margin-bottom: 1rem;
  color: #94A3B8;
  font-size: 0.95rem;
}
.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.legal-content li {
  margin-bottom: 0.5rem;
  color: #94A3B8;
  font-size: 0.95rem;
}
.legal-content li strong {
  color: #CBD5E1;
}
.legal-content a {
  color: #38BDF8;
  text-decoration: none;
  transition: color 0.2s;
}
.legal-content a:hover {
  color: #7DD3FC;
  text-decoration: underline;
}

/* ── Contact Box ─────────────────────────── */
.contact-box {
  background: rgba(21, 101, 192, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  margin: 1rem 0;
}
.contact-box p {
  margin-bottom: 0.3rem;
  color: #CBD5E1;
  font-size: 0.9rem;
}
.contact-box .small {
  font-size: 0.8rem;
  color: #64748B;
  margin-top: 0.3rem;
}

/* ── Warning Box ─────────────────────────── */
.warning-box {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  margin: 1rem 0;
}
.warning-box p {
  color: #FCD34D;
  margin-bottom: 0;
  font-size: 0.92rem;
}

/* ── Steps Box ───────────────────────────── */
.steps-box {
  margin: 1rem 0 1.5rem;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.step:last-child {
  border-bottom: none;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #1565C0, #1E40AF);
  color: #fff;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step p {
  margin: 0;
  padding-top: 4px;
}

/* ── FAQ Items ───────────────────────────── */
.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.8rem;
  transition: all 0.25s ease;
}
.faq-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(56, 189, 248, 0.1);
}
.faq-item h3 {
  margin-top: 0;
  color: #E2E8F0;
}
.faq-item p {
  margin-bottom: 0;
}

/* ── Footer ──────────────────────────────── */
.legal-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.legal-footer p {
  color: #475569;
  font-size: 0.82rem;
}
.legal-footer a {
  color: #38BDF8;
  text-decoration: none;
}
.legal-footer a:hover {
  text-decoration: underline;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 600px) {
  .topbar { padding: 0.75rem 1rem; }
  .legal-container { padding: 2rem 1.25rem 3rem; }
  .contact-box { padding: 1rem; }
  .step { gap: 0.75rem; }
}
