/* Silent Solve Legal Page Theme */
/* Shared visual design for Terms of Service & Privacy Policy */

:root {
  --color-bg: #0f0f17;
  --color-bg-secondary: #161621;
  --color-text: #f5f5f7;
  --color-muted: #a1a1b5;
  --color-accent: #7600ff;
  --color-accent-light: #a56cff;
  --max-width: 900px;
  --radius: 14px;
  --transition: 0.3s ease;
}

/* Reset defaults */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Container structure */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1rem;
}

/* Legal container */
.legal-container {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: linear-gradient(180deg, #12121c 0%, #0f0f17 100%);
  background-attachment: fixed;
}

/* Main content bubble */
.content-bubble {
  background: var(--color-bg-secondary);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: 0 0 30px rgba(118, 0, 255, 0.15);
  transition: var(--transition);
}

.content-bubble:hover {
  box-shadow: 0 0 40px rgba(118, 0, 255, 0.25);
}

/* Typography */
.legal-content h1 {
  font-size: 2.3rem;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  text-align: center;
}

.legal-updated {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-size: 1.4rem;
  color: var(--color-accent-light);
  margin-bottom: 0.6rem;
}

.legal-section h3 {
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

.legal-section p {
  color: var(--color-text);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.legal-section ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.legal-section li {
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

/* Links */
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent-light);
  text-decoration: underline;
}

/* Highlighted strong text */
strong {
  color: var(--color-accent-light);
  font-weight: 600;
}

/* Scrollbar styling (Chrome/Edge) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(118, 0, 255, 0.4);
  border-radius: 10px;
}

::-webkit-scrollbar-track {
  background: #111;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .content-bubble {
    padding: 1.5rem;
  }

  .legal-content h1 {
    font-size: 1.9rem;
  }

  .legal-section h2 {
    font-size: 1.2rem;
  }

  .legal-section h3 {
    font-size: 1.1rem;
  }
}
