/* Styles for .about-page (used by about.ejs) */
    /* Sourced from web/src/app/components/about/about.component.ts */
    /* General .btn styles are in landing-styles.css and are not duplicated here. */
    .about-page {
      padding: 4rem 1.5rem;
      max-width: 900px;
      margin: 2rem auto;
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .about-header {
      text-align: center;
      margin-bottom: 3rem;
    }
    
    .about-header h1 {
      font-size: 2.5rem;
      margin-bottom: 0.5rem;
      color: #333;
    }
    
    .subtitle { /* Shared with contact page, ensure consistency or scope if needed */
      font-size: 1.25rem;
      color: #666;
      margin-bottom: 1rem;
    }
    
    .about-section {
      margin-bottom: 3rem;
    }
    
    .about-section h2 {
      font-size: 1.8rem;
      margin-bottom: 1.25rem;
      color: #4a6fa5;
      position: relative;
      padding-bottom: 0.5rem;
    }
    
    .about-section h2:after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 60px;
      height: 3px;
      background: linear-gradient(90deg, #4a6fa5, #16a085);
      border-radius: 3px;
    }
    
    .about-section p {
      line-height: 1.7;
      color: #555;
      margin-bottom: 1rem;
      font-size: 1.1rem;
    }
    
    .values-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .values-list li {
      padding: 1rem 0;
      border-bottom: 1px solid #eee;
      line-height: 1.6;
      color: #555;
      font-size: 1.1rem;
    }
    
    .values-list li:last-child {
      border-bottom: none;
    }
    
    .values-list strong {
      color: #333;
      margin-right: 0.5rem;
    }
    
    .cta-section { /* Shared with contact page, ensure consistency or scope if needed */
      background: #f8f9fa;
      padding: 2rem;
      border-radius: 8px;
      text-align: center;
    }
    
    .cta-buttons { /* Shared with contact page, ensure consistency or scope if needed */
      display: flex;
      gap: 1rem;
      justify-content: center;
      margin-top: 1.5rem;
    }
        
    .back-link { /* Shared with contact page, ensure consistency or scope if needed */
      text-align: center;
      margin-top: 2rem;
    }
    
    .back-link a {
      color: #4a6fa5;
      text-decoration: none;
      font-weight: 600;
    }
    
    .back-link a:hover {
      text-decoration: underline;
    }
    
    @media (max-width: 768px) {
      .cta-buttons { /* This rule might be shared if .cta-buttons is global */
        flex-direction: column;
      }
      
      .about-section h2 {
        font-size: 1.5rem;
      }
      
      .about-header h1 {
        font-size: 2rem;
      }
    }

/* Styles for .legal-page (used by terms.ejs, gdpr.ejs, privacy.ejs) */
/* Sourced from web/src/app/components/terms/terms.component.ts & others */
.legal-page {
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: 2rem auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.legal-page h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
  border-bottom: 2px solid #eee;
  padding-bottom: 0.5rem;
}
.legal-page h2 {
  font-size: 1.8rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #444;
}
.legal-page p, .legal-page li {
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}
.legal-page ul {
  padding-left: 2rem;
  margin-bottom: 1rem;
}
.legal-page a {
  color: #4a6fa5;
  text-decoration: none;
}
.legal-page a:hover {
  text-decoration: underline;
}

/* Styles for .simple-page (used by api-docs.ejs) */
/* Sourced from web/src/app/components/api-docs/api-docs.component.ts */
.simple-page {
  padding: 4rem 1.5rem;
  max-width: 900px;
  margin: 2rem auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}
.simple-page h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #333;
}
.simple-page p {
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.simple-page a {
  color: #4a6fa5;
  text-decoration: none;
  font-weight: 600;
}
.simple-page a:hover {
  text-decoration: underline;
}

/* Styles for .contact-page (used by contact.ejs) */
/* Sourced from web/src/app/components/contact/contact.component.ts */
.contact-page {
  padding: 4rem 1.5rem;
  max-width: 1000px;
  margin: 2rem auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

/* .subtitle is defined above for .about-page, ensure it's suitable or scope if needed */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a6fa5, #16a085);
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.contact-card p {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  color: #4a6fa5;
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-link i {
  margin-right: 0.5rem;
}

.contact-link:hover {
  text-decoration: underline;
}

.response-time {
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
}

.faq-section { /* Used in contact.ejs */
  margin-bottom: 3rem;
}

.faq-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #4a6fa5;
  position: relative;
  padding-bottom: 0.5rem;
}

.faq-section h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4a6fa5, #16a085);
  border-radius: 3px;
}

.faq-item { /* Used in contact.ejs */
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #333;
}

.faq-item p {
  color: #666;
  line-height: 1.6;
}

/* .cta-section and .cta-buttons are defined above for .about-page, ensure they are suitable or scope if needed */

@media (max-width: 768px) {
  .contact-grid { /* From contact.component.ts */
    grid-template-columns: 1fr;
  }
  /* .cta-buttons flex-direction: column is already defined for .about-page */
  
  /* Enhanced mobile styles for all content pages */
  .about-page, .legal-page, .simple-page, .contact-page {
    padding: 2rem 1rem;
    margin: 1rem auto;
  }
  
  .about-header h1, .contact-header h1, .legal-page h1, .simple-page h1 {
    font-size: 2rem;
  }
  
  .about-section h2, .faq-section h2, .legal-page h2 {
    font-size: 1.5rem;
  }
  
  .contact-grid {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .contact-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .contact-card h2 {
    font-size: 1.3rem;
  }
  
  .contact-card p {
    font-size: 0.95rem;
  }
  
  .contact-link {
    font-size: 1rem;
  }
  
  .faq-item h3 {
    font-size: 1.1rem;
  }
  
  .faq-item p {
    font-size: 0.95rem;
  }
  
  .cta-section {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .about-page, .legal-page, .simple-page, .contact-page {
    padding: 1.5rem 0.75rem;
    margin: 0.5rem auto;
    border-radius: 4px;
  }
  
  .about-header h1, .contact-header h1, .legal-page h1, .simple-page h1 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .about-section h2, .faq-section h2, .legal-page h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
  }
  
  .about-section p, .legal-page p, .simple-page p, .contact-card p, .faq-item p {
    font-size: 0.9rem;
    line-height: 1.6;
  }
  
  .contact-grid {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-card {
    padding: 1.25rem;
  }
  
  .contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .contact-card h2 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  
  .contact-link {
    font-size: 0.9rem;
  }
  
  .response-time {
    font-size: 0.8rem;
  }
  
  .faq-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
  
  .faq-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .cta-section {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .cta-section h2 {
    font-size: 1.5rem;
  }
  
  .cta-section p {
    font-size: 0.9rem;
  }
  
  .back-link {
    margin-top: 1.5rem;
  }
  
  .back-link a {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .about-page, .legal-page, .simple-page, .contact-page {
    padding: 1rem 0.5rem;
    margin: 0.25rem auto;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  }
  
  .about-header h1, .contact-header h1, .legal-page h1, .simple-page h1 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }
  
  .subtitle {
    font-size: 0.9rem;
  }
  
  .about-section h2, .faq-section h2, .legal-page h2 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .about-section p, .legal-page p, .simple-page p, .contact-card p, .faq-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }
  
  .contact-card {
    padding: 1rem;
  }
  
  .contact-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-card h2 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .contact-link {
    font-size: 0.85rem;
  }
  
  .response-time {
    font-size: 0.75rem;
  }
  
  .faq-item h3 {
    font-size: 0.95rem;
  }
  
  .faq-item p {
    font-size: 0.8rem;
  }
  
  .cta-section {
    padding: 1rem;
  }
  
  .cta-section h2 {
    font-size: 1.3rem;
  }
  
  .cta-section p {
    font-size: 0.85rem;
  }
  
  .cta-buttons .btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .back-link a {
    font-size: 0.85rem;
  }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
  .contact-card {
    cursor: pointer;
  }
  
  .contact-card:active {
    transform: scale(0.98);
  }
  
  .contact-link {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .cta-buttons .btn {
    min-height: 44px;
    padding: 0.875rem 1.5rem;
  }
  
  .back-link a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
