/* Styles for legal pages (Privacy Policy and Terms of Service) */

body {
  padding: 0;
}

.container {
  max-width: 1200px;
  padding: 20px;
}

header {
  text-align: center;
  padding: 60px 20px 40px;
  color: white;
}

.logo {
  width: 128px;
  height: 128px;
  margin: 0 auto 20px;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

header .site-title {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  color: white;
  border-bottom: none;
  padding-bottom: 0;
}

.tagline {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.btn {
  padding: 15px 35px;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-primary {
  background: white;
  color: #4c5fd8; /* Darker purple for WCAG AA contrast */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  text-decoration: none;
}

.content {
  background: white;
  border-radius: 20px;
  padding: 60px 40px;
  margin-top: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

h1 {
  color: #4c5fd8; /* Darker for WCAG AA contrast */
  border-bottom: 3px solid #4c5fd8;
  padding-bottom: 15px;
  margin-bottom: 20px;
  font-size: 2.5rem;
}

h2 {
  color: #4c5fd8; /* Darker for WCAG AA contrast */
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

h3 {
  color: #333;
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.summary {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  border-left: 4px solid #4c5fd8; /* Updated for consistency */
  padding: 25px;
  margin: 30px 0;
  border-radius: 10px;
}

.summary h3 {
  margin-top: 0;
  color: #4c5fd8; /* Darker for better contrast */
}

.summary ul {
  margin-top: 15px;
}

.highlight {
  background: #fff3cd;
  padding: 2px 6px;
  border-radius: 3px;
}

ul {
  line-height: 1.8;
  margin: 15px 0 15px 20px;
}

ol {
  line-height: 1.8;
  margin: 15px 0 15px 20px;
}

p {
  margin: 15px 0;
}

.date {
  color: #666;
  font-style: italic;
  font-size: 1rem;
}

code {
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.9em;
}

hr {
  margin: 40px 0;
  border: none;
  border-top: 2px solid #e0e0e0;
}

footer {
  text-align: center;
  padding: 40px 20px;
  color: white;
}

footer nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

footer span {
  color: rgba(255, 255, 255, 0.7);
}

footer a {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: border-color 0.3s ease;
}

footer a:hover {
  border-bottom-color: white;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  .tagline {
    font-size: 1.2rem;
  }

  .content {
    padding: 40px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }
}
