/* Base Styles */
body {
  align-items: center;
  background: #fafafa;
  color: #333;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  min-height: 100vh;
}

/* Layout Modifiers */
.layout-centered {
  justify-content: center;
}

.layout-faq {
  justify-content: flex-start;
  padding: 4rem 1rem;
}

/* Card Component */
.card {
  background: white;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
}

.card-home {
  max-width: 320px;
  padding: 3.5rem 2.5rem 2rem;
  position: relative;
  text-align: center;
  width: 100%;
}

.card-faq {
  max-width: 650px;
  padding: 2.5rem 3rem;
  width: 100%;
}

.card-badge {
  align-items: center;
  background: white;
  border: 1px solid #eaeaea;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  height: 110px;
  justify-content: center;
  left: calc(50% - 55px);
  position: absolute;
  top: -55px;
  width: 110px;
}

.card-logo {
  display: block;
  height: auto;
  max-height: 75%;
  max-width: 75%;
  object-fit: contain;
  width: auto;
}

.card-logo-small {
  height: 60px;
  margin-bottom: 1rem;
  width: 60px;
}

.card-header {
  margin-bottom: 2.5rem;
  text-align: center;
}

.card-title {
  color: #222;
  font-weight: 700;
  margin: 0;
}

.card-title-home {
  font-size: 1.8rem;
  letter-spacing: -1px;
}

.card-title-faq {
  font-size: 1.6rem;
  letter-spacing: -0.5px;
}

.card-text {
  color: #777;
  font-size: 1.05rem;
  line-height: 1.4;
  margin-top: 0.6rem;
}

.card-separator {
  border: 0;
  border-bottom: 1px solid #ffffff;
  border-top: 1px solid #e0e0e0;
  height: 0;
  margin: 2rem auto 1.5rem;
  width: 65%;
}

.card-footer {
  margin-top: 1rem;
}

.contact-email {
  color: #aaa;
  font-size: 0.85rem;
  letter-spacing: 0.2px;
  margin-right: 0.5rem;
}

/* FAQ Components */
.faq-toc {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
}

.faq-toc-title {
  color: #888;
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.faq-toc-list {
  margin: 0;
  padding-left: 1.5rem;
}

.faq-toc-item {
  margin-bottom: 0.75rem;
  padding: 0;
}

.faq-toc-link {
  color: #007aff;
  display: block;
  font-size: 0.95rem;
  line-height: 1.4;
  text-decoration: none;
}

.faq-toc-link:hover {
  text-decoration: underline;
}

.faq-list {
  margin-top: 1rem;
  padding-left: 1.5rem;
}

.faq-item {
  border-radius: 8px;
  margin-bottom: 2rem;
  padding: 1rem;
  transition: background 0.3s ease;
}

.faq-item:target {
  background: #f0f7ff;
  border: 1px solid #007aff;
}

.faq-item:target .faq-question {
  color: #0056b3;
}

.faq-question {
  color: #007aff;
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.faq-question:hover {
  text-decoration: underline;
}

.faq-answer {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Navigation Component */
.nav {
  margin-top: 2rem;
  text-align: center;
}

.nav-link {
  color: #007aff;
  font-size: 0.85rem;
  text-decoration: none;
}

.nav-link-muted {
  color: #aaa;
}

.nav-link:hover {
  text-decoration: underline;
}

/* Utility */
.back-link {
  color: #aaa;
  font-size: 0.85rem;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}
