/* Legal pages styles */
.legal-page {
  padding: 120px 0 80px;
  min-height: 100vh;
  background: var(--bg);
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px;
}

.legal-content h1 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--purple-light), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-updated {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.legal-intro {
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 40px;
}

.legal-intro p {
  color: rgba(232,232,240,0.9);
  line-height: 1.8;
  font-size: 15px;
}

.legal-intro p + p { margin-top: 12px; }

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 36px 0 16px;
  color: #fff;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 20px 0 10px;
  color: var(--purple-light);
}

.legal-content p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 15px;
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 12px 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-content ul li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
}

.legal-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--purple-light);
}

.legal-content a {
  color: var(--purple-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content a:hover { color: #fff; }

.legal-footer-note {
  margin-top: 40px;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.legal-footer-note p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Legal table */
.legal-table {
  margin: 16px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.legal-table table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table th {
  background: rgba(124,58,237,0.1);
  padding: 12px 20px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--purple-light);
}

.legal-table td {
  padding: 12px 20px;
  font-size: 14px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* Contacts page */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 20px 0 36px;
}

.contact-card {
  display: block;
  background: rgba(124,58,237,0.08);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all 0.3s;
}

.contact-card:hover {
  border-color: var(--purple-light);
  transform: translateY(-4px);
}

.contact-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.contact-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.contact-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 12px; }
.contact-link { color: var(--purple-light); font-weight: 600; font-size: 14px; }

.requisites-block {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin: 16px 0;
}

.requisites-block p {
  margin-bottom: 8px !important;
  font-size: 15px;
}

.requisites-note {
  margin-top: 16px !important;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px !important;
  font-style: italic;
}

@media (max-width: 768px) {
  .legal-content { padding: 32px 24px; }
  .legal-content h1 { font-size: 28px; }
  .contacts-grid { grid-template-columns: 1fr; }
}
