.legal-page {
  padding: 120px 24px 60px;
}

.legal-container {
  max-width: 760px;
  margin: 0 auto;
}

.legal-container h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.legal-container h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.legal-container h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-container p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.legal-container ul,
.legal-container ol {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
  font-size: 0.95rem;
}

.legal-container li {
  margin-bottom: 6px;
}

.legal-container a {
  color: var(--accent-light);
  text-decoration: none;
}

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

.legal-container table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.9rem;
}

.legal-container th {
  text-align: left;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-container td {
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-muted);
}

.legal-container strong {
  color: var(--text);
}

/* Security page highlights */
.security-highlight {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
}

.security-stats {
  display: flex;
  justify-content: space-around;
  text-align: center;
}

.sec-stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sec-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  margin-left: 4px;
  vertical-align: middle;
  animation: live-pulse 2s ease-in-out infinite;
}
.live-pulse-good { background: #22c55e; box-shadow: 0 0 8px rgba(34,197,94,.6); }
.live-pulse-bad { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,.6); }
@keyframes live-pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

.live-status-detail {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.live-status-detail a { color: var(--accent-light); text-decoration: none; }
.live-status-detail a:hover { text-decoration: underline; }

/* Step Guide */
.step-guide {
  margin: 32px 0;
}

.guide-step {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
}

.guide-step:hover {
  border-color: rgba(99, 102, 241, 0.2);
}

.guide-step-number {
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.guide-step-content h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text);
}

.guide-step-content ol,
.guide-step-content ul {
  padding-left: 20px;
}

.guide-step-content li {
  margin-bottom: 8px;
}

.guide-step-content code {
  background: rgba(255,255,255,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--accent-light);
}

.guide-warning {
  margin-top: 12px;
  padding: 12px 16px;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 8px;
  font-size: 0.9rem;
  color: #fca5a5;
}

@media (max-width: 768px) {
  .legal-container h1 { font-size: 1.8rem; }
  .security-stats { flex-wrap: wrap; gap: 24px; }
  .sec-stat { flex: 0 0 45%; }
  .guide-step { flex-direction: column; }
}
