/* MB Solutions LLC - Legal Pages Styles */
/* Used by: privacy-policy.html, terms-of-service.html */

/* Header */
header {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 6, 12, 0.85);
}

.header-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo img {
  height: 48px;
}

.logo span {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.back-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: var(--secondary);
}

/* Main Content */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px 80px;
}

.page-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

main h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.last-updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.intro {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 16px;
}

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

.notice-box {
  background: linear-gradient(135deg, rgba(47,107,255,0.15), rgba(0,229,255,0.08));
  border: 1px solid rgba(47,107,255,0.3);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--muted);
}

.notice-box a {
  color: var(--secondary);
  text-decoration: none;
}

.notice-box a:hover {
  text-decoration: underline;
}

/* Sections */
.section {
  margin-bottom: 40px;
}

main h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

main h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 12px;
  color: var(--text);
}

main p {
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.7;
}

main strong {
  color: var(--text);
  font-weight: 600;
}

main ul, main ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--muted);
}

main li {
  margin-bottom: 10px;
  line-height: 1.7;
}

main li::marker {
  color: var(--primary);
}

/* Warning Box (PHI, important notices) */
.warning-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(220, 38, 38, 0.08));
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}

.warning-box strong {
  color: #fca5a5;
}

.warning-box p,
.warning-box li {
  color: #fecaca;
}

/* Contact Section */
.contact-box {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 40px;
}

.contact-box h2 {
  border: none;
  padding-bottom: 0;
  margin-bottom: 16px;
}

.contact-info {
  color: var(--muted);
  line-height: 1.8;
}

.contact-info a {
  color: var(--secondary);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Page Footer */
body > footer {
  text-align: center;
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

body > footer a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 12px;
  transition: color 0.2s ease;
}

body > footer a:hover {
  color: var(--secondary);
}

body > footer .footer-links {
  margin-bottom: 12px;
}

body > footer p {
  margin: 0;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 600px) {
  main {
    padding: 40px 20px 60px;
  }

  main h1 {
    font-size: 1.8rem;
  }

  main h2 {
    font-size: 1.2rem;
  }

  .header-container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .contact-box {
    padding: 24px 20px;
  }
}
