/* ============================================
   Legal Pages Styles
   Privacy, Terms, Security
   ============================================ */

/* Legal Content Section */
.legal-content {
  padding: var(--space-4xl) 0;
  min-height: calc(100vh - 200px);
}

.legal-content h1 {
  font-size: var(--text-4xl);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.legal-updated {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
}

.legal-intro {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-3xl);
}

.legal-intro p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

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

/* Headings */
.legal-content h2 {
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--gold);
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-subtle);
}

.legal-content h3 {
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-content h4 {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

/* Paragraphs */
.legal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* Lists */
.legal-content ul {
  list-style: none;
  margin-bottom: var(--space-lg);
  padding-left: 0;
}

.legal-content ul li {
  position: relative;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.legal-content ul li strong {
  color: var(--text-primary);
}

/* Links */
.legal-content a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.legal-content a:hover {
  color: var(--gold-light);
}

/* Contact Info Box */
.contact-info {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

.contact-info p {
  margin-bottom: var(--space-sm);
}

.contact-info p:last-child {
  margin-bottom: 0;
}

/* Legal Footer */
.legal-footer {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-3xl);
  text-align: center;
}

.legal-footer p {
  margin-bottom: 0;
  font-style: italic;
}

/* Security Page Specific */
.security-overview {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-2xl);
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: var(--space-md) var(--space-xl);
}

.security-badge svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.security-badge span {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--gold);
}

/* Security Features Grid */
.security-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-xl) 0;
}

.security-feature {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: border-color 0.2s ease;
}

.security-feature:hover {
  border-color: var(--border-gold);
}

.security-feature h4 {
  color: var(--gold);
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

.security-feature p {
  font-size: var(--text-sm);
  margin-bottom: 0;
}

/* Security Commitment */
.security-commitment {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.05));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-2xl) 0;
  text-align: center;
}

.security-commitment h3 {
  color: var(--gold);
  margin-top: 0;
}

.security-commitment p {
  margin-bottom: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-content {
    padding: var(--space-2xl) 0;
  }
  
  .legal-content h1 {
    font-size: var(--text-3xl);
  }
  
  .legal-content h2 {
    font-size: var(--text-xl);
  }
  
  .legal-intro,
  .contact-info,
  .legal-footer {
    padding: var(--space-lg);
  }
  
  .security-features-grid {
    grid-template-columns: 1fr;
  }
}
